diff --git a/go.mod b/go.mod
index 8f15e5c239d..541c0a1eade 100644
--- a/go.mod
+++ b/go.mod
@@ -76,6 +76,6 @@ require (
)
// Uncomment this line to get OCI Go SDK from local source instead of github
-//replace github.com/oracle/oci-go-sdk => ../../oracle/oci-go-sdk
+replace github.com/oracle/oci-go-sdk/v65 v65.47.2 => ./vendor/github.com/oracle/oci-go-sdk
go 1.18
diff --git a/go.sum b/go.sum
index 9772923415d..aaeb6a3ea56 100644
--- a/go.sum
+++ b/go.sum
@@ -289,8 +289,6 @@ github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQ
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/oracle/oci-go-sdk/v65 v65.47.2 h1:tSb37xxw9T3CggDhQMsbLkwqx7v2U3z402Lg/xVLY1Y=
-github.com/oracle/oci-go-sdk/v65 v65.47.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0=
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/adm/adm_applicationdependencymanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/adm/adm_applicationdependencymanagement_client.go
index 07506be2e91..a0c2a008924 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/adm/adm_applicationdependencymanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/adm/adm_applicationdependencymanagement_client.go
@@ -80,7 +80,7 @@ func (client *ApplicationDependencyManagementClient) setConfigurationProvider(co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/adm/create_vulnerability_audit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/adm/create_vulnerability_audit_details.go
index 44f7e100a53..0bed5fcedcb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/adm/create_vulnerability_audit_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/adm/create_vulnerability_audit_details.go
@@ -89,10 +89,7 @@ func (m *CreateVulnerabilityAuditDetails) UnmarshalJSON(data []byte) (e error) {
m.CompartmentId = model.CompartmentId
m.ApplicationDependencies = make([]ApplicationDependency, len(model.ApplicationDependencies))
- for i, n := range model.ApplicationDependencies {
- m.ApplicationDependencies[i] = n
- }
-
+ copy(m.ApplicationDependencies, model.ApplicationDependencies)
m.Configuration = model.Configuration
m.DisplayName = model.DisplayName
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/adm/vulnerability_audit.go b/vendor/github.com/oracle/oci-go-sdk/v65/adm/vulnerability_audit.go
index dd7c033faa1..4ac3449c20f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/adm/vulnerability_audit.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/adm/vulnerability_audit.go
@@ -163,10 +163,7 @@ func (m *VulnerabilityAudit) UnmarshalJSON(data []byte) (e error) {
m.LifecycleState = model.LifecycleState
m.Vulnerabilities = make([]Vulnerability, len(model.Vulnerabilities))
- for i, n := range model.Vulnerabilities {
- m.Vulnerabilities[i] = n
- }
-
+ copy(m.Vulnerabilities, model.Vulnerabilities)
m.MaxObservedCvssV2Score = model.MaxObservedCvssV2Score
m.MaxObservedCvssV3Score = model.MaxObservedCvssV3Score
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/aianomalydetection_anomalydetection_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/aianomalydetection_anomalydetection_client.go
index 319151f27f6..199316ff000 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/aianomalydetection_anomalydetection_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/aianomalydetection_anomalydetection_client.go
@@ -82,7 +82,7 @@ func (client *AnomalyDetectionClient) setConfigurationProvider(configProvider co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/detect_anomalies_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/detect_anomalies_details.go
index a5bf66809c5..a274d47c84f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/detect_anomalies_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aianomalydetection/detect_anomalies_details.go
@@ -31,8 +31,8 @@ type DetectAnomaliesDetails interface {
type detectanomaliesdetails struct {
JsonData []byte
- ModelId *string `mandatory:"true" json:"modelId"`
Sensitivity *float32 `mandatory:"false" json:"sensitivity"`
+ ModelId *string `mandatory:"true" json:"modelId"`
RequestType string `json:"requestType"`
}
@@ -77,16 +77,16 @@ func (m *detectanomaliesdetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetModelId returns ModelId
-func (m detectanomaliesdetails) GetModelId() *string {
- return m.ModelId
-}
-
-//GetSensitivity returns Sensitivity
+// GetSensitivity returns Sensitivity
func (m detectanomaliesdetails) GetSensitivity() *float32 {
return m.Sensitivity
}
+// GetModelId returns ModelId
+func (m detectanomaliesdetails) GetModelId() *string {
+ return m.ModelId
+}
+
func (m detectanomaliesdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/aidocument_aiservicedocument_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/aidocument_aiservicedocument_client.go
index ed27534e57c..bb9b1b25ebc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/aidocument_aiservicedocument_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/aidocument_aiservicedocument_client.go
@@ -80,7 +80,7 @@ func (client *AIServiceDocumentClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/analyze_document_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/analyze_document_details.go
index a14f54c4c69..d4d1144e6fe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/analyze_document_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/analyze_document_details.go
@@ -96,7 +96,6 @@ func (m *AnalyzeDocumentDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
nn, e = model.Document.UnmarshalPolymorphicJSON(model.Document.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/create_model_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/create_model_details.go
index 14d2b998a8f..2f4d5ced5a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/create_model_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/create_model_details.go
@@ -149,10 +149,7 @@ func (m *CreateModelDetails) UnmarshalJSON(data []byte) (e error) {
}
m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
- for i, n := range model.ComponentModels {
- m.ComponentModels[i] = n
- }
-
+ copy(m.ComponentModels, model.ComponentModels)
m.AliasName = model.AliasName
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/field_value.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/field_value.go
index 846e50ef541..14a22bc61ba 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/field_value.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/field_value.go
@@ -33,10 +33,10 @@ type FieldValue interface {
type fieldvalue struct {
JsonData []byte
+ Text *string `mandatory:"false" json:"text"`
Confidence *float32 `mandatory:"true" json:"confidence"`
BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"`
WordIndexes []int `mandatory:"true" json:"wordIndexes"`
- Text *string `mandatory:"false" json:"text"`
ValueType string `json:"valueType"`
}
@@ -103,26 +103,26 @@ func (m *fieldvalue) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetConfidence returns Confidence
+// GetText returns Text
+func (m fieldvalue) GetText() *string {
+ return m.Text
+}
+
+// GetConfidence returns Confidence
func (m fieldvalue) GetConfidence() *float32 {
return m.Confidence
}
-//GetBoundingPolygon returns BoundingPolygon
+// GetBoundingPolygon returns BoundingPolygon
func (m fieldvalue) GetBoundingPolygon() *BoundingPolygon {
return m.BoundingPolygon
}
-//GetWordIndexes returns WordIndexes
+// GetWordIndexes returns WordIndexes
func (m fieldvalue) GetWordIndexes() []int {
return m.WordIndexes
}
-//GetText returns Text
-func (m fieldvalue) GetText() *string {
- return m.Text
-}
-
func (m fieldvalue) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/general_processor_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/general_processor_config.go
index f614070a240..ab8f7f50f92 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/general_processor_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/general_processor_config.go
@@ -97,6 +97,5 @@ func (m *GeneralProcessorConfig) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model.go
index 3b920d0a30e..d9fcfc133fe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model.go
@@ -164,10 +164,7 @@ func (m *Model) UnmarshalJSON(data []byte) (e error) {
m.AliasName = model.AliasName
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.IsQuickMode = model.IsQuickMode
m.MaxTrainingTimeInHours = model.MaxTrainingTimeInHours
@@ -205,10 +202,7 @@ func (m *Model) UnmarshalJSON(data []byte) (e error) {
}
m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
- for i, n := range model.ComponentModels {
- m.ComponentModels[i] = n
- }
-
+ copy(m.ComponentModels, model.ComponentModels)
m.IsComposedModel = model.IsComposedModel
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_metrics.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_metrics.go
index 3775c94f8c0..2ae603b0200 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_metrics.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_metrics.go
@@ -67,7 +67,7 @@ func (m *modelmetrics) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetDatasetSummary returns DatasetSummary
+// GetDatasetSummary returns DatasetSummary
func (m modelmetrics) GetDatasetSummary() *DatasetSummary {
return m.DatasetSummary
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_summary.go
index 7beec7e6a73..99637d1b15c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aidocument/model_summary.go
@@ -185,10 +185,7 @@ func (m *ModelSummary) UnmarshalJSON(data []byte) (e error) {
}
m.ComponentModels = make([]ComponentModel, len(model.ComponentModels))
- for i, n := range model.ComponentModels {
- m.ComponentModels[i] = n
- }
-
+ copy(m.ComponentModels, model.ComponentModels)
m.IsComposedModel = model.IsComposedModel
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/ailanguage_aiservicelanguage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/ailanguage_aiservicelanguage_client.go
index 474db2799bd..29fd30df068 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/ailanguage_aiservicelanguage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/ailanguage_aiservicelanguage_client.go
@@ -82,7 +82,7 @@ func (client *AIServiceLanguageClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/batch_detect_language_pii_entities_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/batch_detect_language_pii_entities_details.go
index 97ed23f3b62..3a4cbca3c6a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/batch_detect_language_pii_entities_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/batch_detect_language_pii_entities_details.go
@@ -76,9 +76,6 @@ func (m *BatchDetectLanguagePiiEntitiesDetails) UnmarshalJSON(data []byte) (e er
}
m.Documents = make([]TextDocument, len(model.Documents))
- for i, n := range model.Documents {
- m.Documents[i] = n
- }
-
+ copy(m.Documents, model.Documents)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_collection.go
index 4ab447f1ec1..85c5c182434 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_collection.go
@@ -64,6 +64,5 @@ func (m *EvaluationResultCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_summary.go
index 879c06cc45d..ec14abf747e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/evaluation_result_summary.go
@@ -78,12 +78,12 @@ func (m *evaluationresultsummary) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m evaluationresultsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m evaluationresultsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/model_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/model_details.go
index f8ef1d6cb0b..207b5484907 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/model_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ailanguage/model_details.go
@@ -111,7 +111,7 @@ func (m *modeldetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetLanguageCode returns LanguageCode
+// GetLanguageCode returns LanguageCode
func (m modeldetails) GetLanguageCode() *string {
return m.LanguageCode
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/aivision_aiservicevision_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/aivision_aiservicevision_client.go
index ed73ef37b27..63d20972c47 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/aivision_aiservicevision_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/aivision_aiservicevision_client.go
@@ -80,7 +80,7 @@ func (client *AIServiceVisionClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_document_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_document_details.go
index c75dd76ac80..656342f951c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_document_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_document_details.go
@@ -94,7 +94,6 @@ func (m *AnalyzeDocumentDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
nn, e = model.Document.UnmarshalPolymorphicJSON(model.Document.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_image_details.go
index 5868bc2525d..0c6dcc3dc6b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_image_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/analyze_image_details.go
@@ -71,7 +71,6 @@ func (m *AnalyzeImageDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
nn, e = model.Image.UnmarshalPolymorphicJSON(model.Image.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_document_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_document_job_details.go
index 78f84823f7f..1813bce2605 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_document_job_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_document_job_details.go
@@ -113,7 +113,6 @@ func (m *CreateDocumentJobDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
m.OutputLocation = model.OutputLocation
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_image_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_image_job_details.go
index 721a7f0e9a7..3913033ed24 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_image_job_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/create_image_job_details.go
@@ -95,7 +95,6 @@ func (m *CreateImageJobDetails) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
m.OutputLocation = model.OutputLocation
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/document_job.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/document_job.go
index 016adb92b20..0762d971ef5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/document_job.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/document_job.go
@@ -158,7 +158,6 @@ func (m *DocumentJob) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
m.TimeAccepted = model.TimeAccepted
m.OutputLocation = model.OutputLocation
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/field_value.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/field_value.go
index c4ace8b1b0e..63c738a886d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/field_value.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/field_value.go
@@ -33,10 +33,10 @@ type FieldValue interface {
type fieldvalue struct {
JsonData []byte
+ Text *string `mandatory:"false" json:"text"`
Confidence *float32 `mandatory:"true" json:"confidence"`
BoundingPolygon *BoundingPolygon `mandatory:"true" json:"boundingPolygon"`
WordIndexes []int `mandatory:"true" json:"wordIndexes"`
- Text *string `mandatory:"false" json:"text"`
ValueType string `json:"valueType"`
}
@@ -103,26 +103,26 @@ func (m *fieldvalue) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetConfidence returns Confidence
+// GetText returns Text
+func (m fieldvalue) GetText() *string {
+ return m.Text
+}
+
+// GetConfidence returns Confidence
func (m fieldvalue) GetConfidence() *float32 {
return m.Confidence
}
-//GetBoundingPolygon returns BoundingPolygon
+// GetBoundingPolygon returns BoundingPolygon
func (m fieldvalue) GetBoundingPolygon() *BoundingPolygon {
return m.BoundingPolygon
}
-//GetWordIndexes returns WordIndexes
+// GetWordIndexes returns WordIndexes
func (m fieldvalue) GetWordIndexes() []int {
return m.WordIndexes
}
-//GetText returns Text
-func (m fieldvalue) GetText() *string {
- return m.Text
-}
-
func (m fieldvalue) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/image_job.go b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/image_job.go
index 4921472c301..ae2ee2bb43d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/aivision/image_job.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/aivision/image_job.go
@@ -140,7 +140,6 @@ func (m *ImageJob) UnmarshalJSON(data []byte) (e error) {
m.Features[i] = nil
}
}
-
m.TimeAccepted = model.TimeAccepted
m.OutputLocation = model.OutputLocation
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/analytics/analytics_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/analytics/analytics_client.go
index 97d7934b369..a666cbca95f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/analytics/analytics_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/analytics/analytics_client.go
@@ -80,7 +80,7 @@ func (client *AnalyticsClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcement_client.go
index e83a9c96139..f7be72e515f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcement_client.go
@@ -80,7 +80,7 @@ func (client *AnnouncementClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementspreferences_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementspreferences_client.go
index c208095b87b..678853f053a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementspreferences_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementspreferences_client.go
@@ -80,7 +80,7 @@ func (client *AnnouncementsPreferencesClient) setConfigurationProvider(configPro
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementsubscription_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementsubscription_client.go
index 63a669d70ed..3faf44e5fce 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementsubscription_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/announcementsservice_announcementsubscription_client.go
@@ -80,7 +80,7 @@ func (client *AnnouncementSubscriptionClient) setConfigurationProvider(configPro
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcement.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcement.go
index 6479a6ea0c3..5d8bed61e89 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcement.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcement.go
@@ -85,14 +85,6 @@ type BaseAnnouncement interface {
type baseannouncement struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ReferenceTicketNumber *string `mandatory:"true" json:"referenceTicketNumber"`
- Summary *string `mandatory:"true" json:"summary"`
- Services []string `mandatory:"true" json:"services"`
- AffectedRegions []string `mandatory:"true" json:"affectedRegions"`
- AnnouncementType BaseAnnouncementAnnouncementTypeEnum `mandatory:"true" json:"announcementType"`
- LifecycleState BaseAnnouncementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- IsBanner *bool `mandatory:"true" json:"isBanner"`
TimeOneTitle *string `mandatory:"false" json:"timeOneTitle"`
TimeOneType BaseAnnouncementTimeOneTypeEnum `mandatory:"false" json:"timeOneType,omitempty"`
TimeOneValue *common.SDKTime `mandatory:"false" json:"timeOneValue"`
@@ -103,6 +95,14 @@ type baseannouncement struct {
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
EnvironmentName *string `mandatory:"false" json:"environmentName"`
PlatformType BaseAnnouncementPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
+ Id *string `mandatory:"true" json:"id"`
+ ReferenceTicketNumber *string `mandatory:"true" json:"referenceTicketNumber"`
+ Summary *string `mandatory:"true" json:"summary"`
+ Services []string `mandatory:"true" json:"services"`
+ AffectedRegions []string `mandatory:"true" json:"affectedRegions"`
+ AnnouncementType BaseAnnouncementAnnouncementTypeEnum `mandatory:"true" json:"announcementType"`
+ LifecycleState BaseAnnouncementLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
+ IsBanner *bool `mandatory:"true" json:"isBanner"`
Type string `json:"type"`
}
@@ -163,96 +163,96 @@ func (m *baseannouncement) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetId returns Id
-func (m baseannouncement) GetId() *string {
- return m.Id
-}
-
-//GetReferenceTicketNumber returns ReferenceTicketNumber
-func (m baseannouncement) GetReferenceTicketNumber() *string {
- return m.ReferenceTicketNumber
-}
-
-//GetSummary returns Summary
-func (m baseannouncement) GetSummary() *string {
- return m.Summary
-}
-
-//GetServices returns Services
-func (m baseannouncement) GetServices() []string {
- return m.Services
-}
-
-//GetAffectedRegions returns AffectedRegions
-func (m baseannouncement) GetAffectedRegions() []string {
- return m.AffectedRegions
-}
-
-//GetAnnouncementType returns AnnouncementType
-func (m baseannouncement) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum {
- return m.AnnouncementType
-}
-
-//GetLifecycleState returns LifecycleState
-func (m baseannouncement) GetLifecycleState() BaseAnnouncementLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetIsBanner returns IsBanner
-func (m baseannouncement) GetIsBanner() *bool {
- return m.IsBanner
-}
-
-//GetTimeOneTitle returns TimeOneTitle
+// GetTimeOneTitle returns TimeOneTitle
func (m baseannouncement) GetTimeOneTitle() *string {
return m.TimeOneTitle
}
-//GetTimeOneType returns TimeOneType
+// GetTimeOneType returns TimeOneType
func (m baseannouncement) GetTimeOneType() BaseAnnouncementTimeOneTypeEnum {
return m.TimeOneType
}
-//GetTimeOneValue returns TimeOneValue
+// GetTimeOneValue returns TimeOneValue
func (m baseannouncement) GetTimeOneValue() *common.SDKTime {
return m.TimeOneValue
}
-//GetTimeTwoTitle returns TimeTwoTitle
+// GetTimeTwoTitle returns TimeTwoTitle
func (m baseannouncement) GetTimeTwoTitle() *string {
return m.TimeTwoTitle
}
-//GetTimeTwoType returns TimeTwoType
+// GetTimeTwoType returns TimeTwoType
func (m baseannouncement) GetTimeTwoType() BaseAnnouncementTimeTwoTypeEnum {
return m.TimeTwoType
}
-//GetTimeTwoValue returns TimeTwoValue
+// GetTimeTwoValue returns TimeTwoValue
func (m baseannouncement) GetTimeTwoValue() *common.SDKTime {
return m.TimeTwoValue
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m baseannouncement) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m baseannouncement) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetEnvironmentName returns EnvironmentName
+// GetEnvironmentName returns EnvironmentName
func (m baseannouncement) GetEnvironmentName() *string {
return m.EnvironmentName
}
-//GetPlatformType returns PlatformType
+// GetPlatformType returns PlatformType
func (m baseannouncement) GetPlatformType() BaseAnnouncementPlatformTypeEnum {
return m.PlatformType
}
+// GetId returns Id
+func (m baseannouncement) GetId() *string {
+ return m.Id
+}
+
+// GetReferenceTicketNumber returns ReferenceTicketNumber
+func (m baseannouncement) GetReferenceTicketNumber() *string {
+ return m.ReferenceTicketNumber
+}
+
+// GetSummary returns Summary
+func (m baseannouncement) GetSummary() *string {
+ return m.Summary
+}
+
+// GetServices returns Services
+func (m baseannouncement) GetServices() []string {
+ return m.Services
+}
+
+// GetAffectedRegions returns AffectedRegions
+func (m baseannouncement) GetAffectedRegions() []string {
+ return m.AffectedRegions
+}
+
+// GetAnnouncementType returns AnnouncementType
+func (m baseannouncement) GetAnnouncementType() BaseAnnouncementAnnouncementTypeEnum {
+ return m.AnnouncementType
+}
+
+// GetLifecycleState returns LifecycleState
+func (m baseannouncement) GetLifecycleState() BaseAnnouncementLifecycleStateEnum {
+ return m.LifecycleState
+}
+
+// GetIsBanner returns IsBanner
+func (m baseannouncement) GetIsBanner() *bool {
+ return m.IsBanner
+}
+
func (m baseannouncement) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcements_preferences.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcements_preferences.go
index 4c646aef6f0..7d6ee5cba7f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcements_preferences.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_announcements_preferences.go
@@ -101,37 +101,37 @@ func (m *baseannouncementspreferences) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m baseannouncementspreferences) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetId returns Id
+// GetId returns Id
func (m baseannouncementspreferences) GetId() *string {
return m.Id
}
-//GetIsUnsubscribed returns IsUnsubscribed
+// GetIsUnsubscribed returns IsUnsubscribed
func (m baseannouncementspreferences) GetIsUnsubscribed() *bool {
return m.IsUnsubscribed
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m baseannouncementspreferences) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m baseannouncementspreferences) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetPreferenceType returns PreferenceType
+// GetPreferenceType returns PreferenceType
func (m baseannouncementspreferences) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum {
return m.PreferenceType
}
-//GetPreferredTimeZone returns PreferredTimeZone
+// GetPreferredTimeZone returns PreferredTimeZone
func (m baseannouncementspreferences) GetPreferredTimeZone() *string {
return m.PreferredTimeZone
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_create_announcements_preferences_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_create_announcements_preferences_details.go
index 4ae4c5058a2..621e9c21107 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_create_announcements_preferences_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/announcementsservice/base_create_announcements_preferences_details.go
@@ -36,10 +36,10 @@ type BaseCreateAnnouncementsPreferencesDetails interface {
type basecreateannouncementspreferencesdetails struct {
JsonData []byte
- PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"true" json:"preferenceType"`
IsUnsubscribed *bool `mandatory:"false" json:"isUnsubscribed"`
CompartmentId *string `mandatory:"false" json:"compartmentId"`
PreferredTimeZone *string `mandatory:"false" json:"preferredTimeZone"`
+ PreferenceType BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum `mandatory:"true" json:"preferenceType"`
Type string `json:"type"`
}
@@ -86,26 +86,26 @@ func (m *basecreateannouncementspreferencesdetails) UnmarshalPolymorphicJSON(dat
}
}
-//GetPreferenceType returns PreferenceType
-func (m basecreateannouncementspreferencesdetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum {
- return m.PreferenceType
-}
-
-//GetIsUnsubscribed returns IsUnsubscribed
+// GetIsUnsubscribed returns IsUnsubscribed
func (m basecreateannouncementspreferencesdetails) GetIsUnsubscribed() *bool {
return m.IsUnsubscribed
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m basecreateannouncementspreferencesdetails) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetPreferredTimeZone returns PreferredTimeZone
+// GetPreferredTimeZone returns PreferredTimeZone
func (m basecreateannouncementspreferencesdetails) GetPreferredTimeZone() *string {
return m.PreferredTimeZone
}
+// GetPreferenceType returns PreferenceType
+func (m basecreateannouncementspreferencesdetails) GetPreferenceType() BaseCreateAnnouncementsPreferencesDetailsPreferenceTypeEnum {
+ return m.PreferenceType
+}
+
func (m basecreateannouncementspreferencesdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/api_specification_route.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/api_specification_route.go
index 44233e48fc0..af039c3fc43 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/api_specification_route.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/api_specification_route.go
@@ -76,10 +76,7 @@ func (m *ApiSpecificationRoute) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Methods = make([]ApiSpecificationRouteMethodsEnum, len(model.Methods))
- for i, n := range model.Methods {
- m.Methods[i] = n
- }
-
+ copy(m.Methods, model.Methods)
m.RequestPolicies = model.RequestPolicies
m.ResponsePolicies = model.ResponsePolicies
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_client.go
index c2ac6691f5f..057de130c9b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_client.go
@@ -82,7 +82,7 @@ func (client *ApiGatewayClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_deployment_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_deployment_client.go
index 73ea63c9378..98b3c4de2aa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_deployment_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_deployment_client.go
@@ -82,7 +82,7 @@ func (client *DeploymentClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_gateway_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_gateway_client.go
index f90ca94b557..ec6170ad263 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_gateway_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_gateway_client.go
@@ -82,7 +82,7 @@ func (client *GatewayClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_subscribers_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_subscribers_client.go
index 2d7c01840cf..37687505dab 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_subscribers_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_subscribers_client.go
@@ -82,7 +82,7 @@ func (client *SubscribersClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_usageplans_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_usageplans_client.go
index 89cf6896af4..9329ebf8d55 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_usageplans_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_usageplans_client.go
@@ -82,7 +82,7 @@ func (client *UsagePlansClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_workrequests_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_workrequests_client.go
index 65992a3b237..9250c0b208d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_workrequests_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/apigateway_workrequests_client.go
@@ -82,7 +82,7 @@ func (client *WorkRequestsClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/authentication_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/authentication_policy.go
index 9ce448c8a62..f8196576313 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/authentication_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/authentication_policy.go
@@ -76,7 +76,7 @@ func (m *authenticationpolicy) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetIsAnonymousAccessAllowed returns IsAnonymousAccessAllowed
+// GetIsAnonymousAccessAllowed returns IsAnonymousAccessAllowed
func (m authenticationpolicy) GetIsAnonymousAccessAllowed() *bool {
return m.IsAnonymousAccessAllowed
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/create_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/create_gateway_details.go
index 68bb3cec75b..880daafb441 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/create_gateway_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/create_gateway_details.go
@@ -105,10 +105,7 @@ func (m *CreateGatewayDetails) UnmarshalJSON(data []byte) (e error) {
m.DisplayName = model.DisplayName
m.NetworkSecurityGroupIds = make([]string, len(model.NetworkSecurityGroupIds))
- for i, n := range model.NetworkSecurityGroupIds {
- m.NetworkSecurityGroupIds[i] = n
- }
-
+ copy(m.NetworkSecurityGroupIds, model.NetworkSecurityGroupIds)
m.CertificateId = model.CertificateId
nn, e = model.ResponseCacheDetails.UnmarshalPolymorphicJSON(model.ResponseCacheDetails.JsonData)
@@ -137,7 +134,6 @@ func (m *CreateGatewayDetails) UnmarshalJSON(data []byte) (e error) {
m.CaBundles[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
m.EndpointType = model.EndpointType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/custom_authentication_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/custom_authentication_policy.go
index 0d2d0282a14..3c4fd357528 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/custom_authentication_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/custom_authentication_policy.go
@@ -106,10 +106,7 @@ func (m *CustomAuthenticationPolicy) UnmarshalJSON(data []byte) (e error) {
m.Parameters = model.Parameters
m.CacheKey = make([]string, len(model.CacheKey))
- for i, n := range model.CacheKey {
- m.CacheKey[i] = n
- }
-
+ copy(m.CacheKey, model.CacheKey)
nn, e = model.ValidationFailurePolicy.UnmarshalPolymorphicJSON(model.ValidationFailurePolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_authentication_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_authentication_policy.go
index 56cd1988e68..afbc5b7570e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_authentication_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_authentication_policy.go
@@ -65,9 +65,6 @@ func (m *DynamicAuthenticationPolicy) UnmarshalJSON(data []byte) (e error) {
}
m.AuthenticationServers = make([]AuthenticationServerPolicy, len(model.AuthenticationServers))
- for i, n := range model.AuthenticationServers {
- m.AuthenticationServers[i] = n
- }
-
+ copy(m.AuthenticationServers, model.AuthenticationServers)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_routing_backend.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_routing_backend.go
index 95b8239fee8..88b0d223322 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_routing_backend.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_routing_backend.go
@@ -79,9 +79,6 @@ func (m *DynamicRoutingBackend) UnmarshalJSON(data []byte) (e error) {
}
m.RoutingBackends = make([]DynamicRoutingTypeRoutingBackend, len(model.RoutingBackends))
- for i, n := range model.RoutingBackends {
- m.RoutingBackends[i] = n
- }
-
+ copy(m.RoutingBackends, model.RoutingBackends)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_selection_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_selection_key.go
index fd25670b935..e0843099ffb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_selection_key.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/dynamic_selection_key.go
@@ -30,8 +30,8 @@ type DynamicSelectionKey interface {
type dynamicselectionkey struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
IsDefault *bool `mandatory:"false" json:"isDefault"`
+ Name *string `mandatory:"true" json:"name"`
Type string `json:"type"`
}
@@ -76,16 +76,16 @@ func (m *dynamicselectionkey) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetName returns Name
-func (m dynamicselectionkey) GetName() *string {
- return m.Name
-}
-
-//GetIsDefault returns IsDefault
+// GetIsDefault returns IsDefault
func (m dynamicselectionkey) GetIsDefault() *bool {
return m.IsDefault
}
+// GetName returns Name
+func (m dynamicselectionkey) GetName() *string {
+ return m.Name
+}
+
func (m dynamicselectionkey) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/gateway.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/gateway.go
index 1209a359b0d..a077b5b2f19 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/gateway.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/gateway.go
@@ -141,10 +141,7 @@ func (m *Gateway) UnmarshalJSON(data []byte) (e error) {
m.SubnetId = model.SubnetId
m.NetworkSecurityGroupIds = make([]string, len(model.NetworkSecurityGroupIds))
- for i, n := range model.NetworkSecurityGroupIds {
- m.NetworkSecurityGroupIds[i] = n
- }
-
+ copy(m.NetworkSecurityGroupIds, model.NetworkSecurityGroupIds)
m.TimeCreated = model.TimeCreated
m.TimeUpdated = model.TimeUpdated
@@ -158,10 +155,7 @@ func (m *Gateway) UnmarshalJSON(data []byte) (e error) {
m.CertificateId = model.CertificateId
m.IpAddresses = make([]IpAddress, len(model.IpAddresses))
- for i, n := range model.IpAddresses {
- m.IpAddresses[i] = n
- }
-
+ copy(m.IpAddresses, model.IpAddresses)
nn, e = model.ResponseCacheDetails.UnmarshalPolymorphicJSON(model.ResponseCacheDetails.JsonData)
if e != nil {
return
@@ -188,7 +182,6 @@ func (m *Gateway) UnmarshalJSON(data []byte) (e error) {
m.CaBundles[i] = nil
}
}
-
m.Id = model.Id
m.CompartmentId = model.CompartmentId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/jwt_authentication_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/jwt_authentication_policy.go
index b8c6f4eef02..adaa598240c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/jwt_authentication_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/jwt_authentication_policy.go
@@ -117,20 +117,11 @@ func (m *JwtAuthenticationPolicy) UnmarshalJSON(data []byte) (e error) {
m.MaxClockSkewInSeconds = model.MaxClockSkewInSeconds
m.VerifyClaims = make([]JsonWebTokenClaim, len(model.VerifyClaims))
- for i, n := range model.VerifyClaims {
- m.VerifyClaims[i] = n
- }
-
+ copy(m.VerifyClaims, model.VerifyClaims)
m.Issuers = make([]string, len(model.Issuers))
- for i, n := range model.Issuers {
- m.Issuers[i] = n
- }
-
+ copy(m.Issuers, model.Issuers)
m.Audiences = make([]string, len(model.Audiences))
- for i, n := range model.Audiences {
- m.Audiences[i] = n
- }
-
+ copy(m.Audiences, model.Audiences)
nn, e = model.PublicKeys.UnmarshalPolymorphicJSON(model.PublicKeys.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/o_auth2_response_validation_failure_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/o_auth2_response_validation_failure_policy.go
index 336946db154..ebee4e44f0a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/o_auth2_response_validation_failure_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/o_auth2_response_validation_failure_policy.go
@@ -136,10 +136,7 @@ func (m *OAuth2ResponseValidationFailurePolicy) UnmarshalJSON(data []byte) (e er
}
m.Scopes = make([]string, len(model.Scopes))
- for i, n := range model.Scopes {
- m.Scopes[i] = n
- }
-
+ copy(m.Scopes, model.Scopes)
m.ResponseType = model.ResponseType
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/response_cache_lookup_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/response_cache_lookup_policy.go
index 4e96a9b7cc8..8c0cc5b1084 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/response_cache_lookup_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/response_cache_lookup_policy.go
@@ -75,12 +75,12 @@ func (m *responsecachelookuppolicy) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetIsEnabled returns IsEnabled
+// GetIsEnabled returns IsEnabled
func (m responsecachelookuppolicy) GetIsEnabled() *bool {
return m.IsEnabled
}
-//GetIsPrivateCachingEnabled returns IsPrivateCachingEnabled
+// GetIsPrivateCachingEnabled returns IsPrivateCachingEnabled
func (m responsecachelookuppolicy) GetIsPrivateCachingEnabled() *bool {
return m.IsPrivateCachingEnabled
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key.go
index 48ac0fc7b04..fb59c46aa69 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key.go
@@ -72,7 +72,7 @@ func (m *staticpublickey) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetKid returns Kid
+// GetKid returns Kid
func (m staticpublickey) GetKid() *string {
return m.Kid
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key_set.go
index 5c82f528d4f..ec4e11377e5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key_set.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/static_public_key_set.go
@@ -78,6 +78,5 @@ func (m *StaticPublicKeySet) UnmarshalJSON(data []byte) (e error) {
m.Keys[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_static_keys_validation_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_static_keys_validation_policy.go
index 2ef88964fb2..d714147f7ce 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_static_keys_validation_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_static_keys_validation_policy.go
@@ -87,6 +87,5 @@ func (m *TokenAuthenticationStaticKeysValidationPolicy) UnmarshalJSON(data []byt
m.Keys[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_validation_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_validation_policy.go
index 879bc5cf3fa..652f820627b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_validation_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/token_authentication_validation_policy.go
@@ -73,7 +73,7 @@ func (m *tokenauthenticationvalidationpolicy) UnmarshalPolymorphicJSON(data []by
}
}
-//GetAdditionalValidationPolicy returns AdditionalValidationPolicy
+// GetAdditionalValidationPolicy returns AdditionalValidationPolicy
func (m tokenauthenticationvalidationpolicy) GetAdditionalValidationPolicy() *AdditionalValidationPolicy {
return m.AdditionalValidationPolicy
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/update_gateway_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/update_gateway_details.go
index b7854247aff..bf306ae89f7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/update_gateway_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apigateway/update_gateway_details.go
@@ -86,10 +86,7 @@ func (m *UpdateGatewayDetails) UnmarshalJSON(data []byte) (e error) {
m.DisplayName = model.DisplayName
m.NetworkSecurityGroupIds = make([]string, len(model.NetworkSecurityGroupIds))
- for i, n := range model.NetworkSecurityGroupIds {
- m.NetworkSecurityGroupIds[i] = n
- }
-
+ copy(m.NetworkSecurityGroupIds, model.NetworkSecurityGroupIds)
m.CertificateId = model.CertificateId
nn, e = model.ResponseCacheDetails.UnmarshalPolymorphicJSON(model.ResponseCacheDetails.JsonData)
@@ -118,6 +115,5 @@ func (m *UpdateGatewayDetails) UnmarshalJSON(data []byte) (e error) {
m.CaBundles[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/apmconfig_config_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/apmconfig_config_client.go
index 5b5d1364a7a..7106158c884 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/apmconfig_config_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/apmconfig_config_client.go
@@ -81,7 +81,7 @@ func (client *ConfigClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config.go
index 607ee0d9ba5..bc28ee851cb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config.go
@@ -121,42 +121,42 @@ func (m *config) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
+// GetId returns Id
func (m config) GetId() *string {
return m.Id
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m config) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m config) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetCreatedBy returns CreatedBy
+// GetCreatedBy returns CreatedBy
func (m config) GetCreatedBy() *string {
return m.CreatedBy
}
-//GetUpdatedBy returns UpdatedBy
+// GetUpdatedBy returns UpdatedBy
func (m config) GetUpdatedBy() *string {
return m.UpdatedBy
}
-//GetEtag returns Etag
+// GetEtag returns Etag
func (m config) GetEtag() *string {
return m.Etag
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m config) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m config) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_collection.go
index 6b87cbeace8..7e64a180b00 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_collection.go
@@ -61,6 +61,5 @@ func (m *ConfigCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_summary.go
index c4943d58b81..0f1a188c24a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/config_summary.go
@@ -120,42 +120,42 @@ func (m *configsummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetId returns Id
+// GetId returns Id
func (m configsummary) GetId() *string {
return m.Id
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m configsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m configsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetCreatedBy returns CreatedBy
+// GetCreatedBy returns CreatedBy
func (m configsummary) GetCreatedBy() *string {
return m.CreatedBy
}
-//GetUpdatedBy returns UpdatedBy
+// GetUpdatedBy returns UpdatedBy
func (m configsummary) GetUpdatedBy() *string {
return m.UpdatedBy
}
-//GetEtag returns Etag
+// GetEtag returns Etag
func (m configsummary) GetEtag() *string {
return m.Etag
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m configsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m configsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/create_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/create_config_details.go
index fcccbc0e33a..8cf552436c0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/create_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/create_config_details.go
@@ -86,12 +86,12 @@ func (m *createconfigdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createconfigdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createconfigdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/update_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/update_config_details.go
index 0f5fab7673d..fd04ba3bb70 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/update_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmconfig/update_config_details.go
@@ -85,12 +85,12 @@ func (m *updateconfigdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateconfigdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateconfigdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmcontrolplane/apmcontrolplane_apmdomain_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmcontrolplane/apmcontrolplane_apmdomain_client.go
index 9c379245a2c..df5c585ea21 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmcontrolplane/apmcontrolplane_apmdomain_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmcontrolplane/apmcontrolplane_apmdomain_client.go
@@ -81,7 +81,7 @@ func (client *ApmDomainClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/apmsynthetics_apmsynthetic_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/apmsynthetics_apmsynthetic_client.go
index e3b51f56d39..de41ce0583d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/apmsynthetics_apmsynthetic_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/apmsynthetics_apmsynthetic_client.go
@@ -80,7 +80,7 @@ func (client *ApmSyntheticClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/browser_monitor_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/browser_monitor_configuration.go
index aa265132795..720ae9b7629 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/browser_monitor_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/browser_monitor_configuration.go
@@ -27,7 +27,7 @@ type BrowserMonitorConfiguration struct {
// If certificate validation is enabled, then the call will fail in case of certification errors.
IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"`
- // If disabled then auto snapshots are not collected.
+ // If disabled, auto snapshots are not collected.
IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"`
// Verifies all the search strings present in the response.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/client_certificate.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/client_certificate.go
index 9d75d1df786..663bb513920 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/client_certificate.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/client_certificate.go
@@ -15,7 +15,7 @@ import (
"strings"
)
-// ClientCertificate Client certificate in pem format.
+// ClientCertificate Client certificate in PEM format.
type ClientCertificate struct {
// Name of the certificate file. The name should not contain any confidential information.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/create_monitor_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/create_monitor_details.go
index 90c97146d6e..b62f5bf7c30 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/create_monitor_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/create_monitor_details.go
@@ -53,6 +53,7 @@ type CreateMonitorDetails struct {
// For BROWSER and REST monitor types, target is mandatory.
// If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
// If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
+ // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
Target *string `mandatory:"false" json:"target"`
// List of script parameters in the monitor.
@@ -148,10 +149,7 @@ func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error) {
m.Target = model.Target
m.ScriptParameters = make([]MonitorScriptParameter, len(model.ScriptParameters))
- for i, n := range model.ScriptParameters {
- m.ScriptParameters[i] = n
- }
-
+ copy(m.ScriptParameters, model.ScriptParameters)
nn, e = model.Configuration.UnmarshalPolymorphicJSON(model.Configuration.JsonData)
if e != nil {
return
@@ -181,10 +179,7 @@ func (m *CreateMonitorDetails) UnmarshalJSON(data []byte) (e error) {
m.MonitorType = model.MonitorType
m.VantagePoints = make([]string, len(model.VantagePoints))
- for i, n := range model.VantagePoints {
- m.VantagePoints[i] = n
- }
-
+ copy(m.VantagePoints, model.VantagePoints)
m.RepeatIntervalInSeconds = model.RepeatIntervalInSeconds
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/dvp_stack_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/dvp_stack_details.go
index 4ce6b07cde5..d37c3484228 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/dvp_stack_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/dvp_stack_details.go
@@ -65,7 +65,7 @@ func (m *dvpstackdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetDvpVersion returns DvpVersion
+// GetDvpVersion returns DvpVersion
func (m dvpstackdetails) GetDvpVersion() *string {
return m.DvpVersion
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/link.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/link.go
index 95b3dae1f59..63afa3a5271 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/link.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/link.go
@@ -42,7 +42,7 @@ type Link struct {
// Maximum delay in milliseconds.
MaxDelayInMilliseconds *float64 `mandatory:"false" json:"maxDelayInMilliseconds"`
- // List of all path ids of which this link is part of.
+ // List of all path IDs of which this link is part of.
Paths []string `mandatory:"false" json:"paths"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor.go
index bbafc6ef902..3f8cbd5cc08 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor.go
@@ -70,6 +70,7 @@ type Monitor struct {
// For BROWSER and REST monitor types, target is mandatory.
// If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
// If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
+ // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
Target *string `mandatory:"false" json:"target"`
// List of script parameters. Example: `[{"monitorScriptParameter": {"paramName": "userid", "paramValue":"testuser"}, "isSecret": false, "isOverwritten": false}]`
@@ -161,10 +162,7 @@ func (m *Monitor) UnmarshalJSON(data []byte) (e error) {
m.Target = model.Target
m.ScriptParameters = make([]MonitorScriptParameterInfo, len(model.ScriptParameters))
- for i, n := range model.ScriptParameters {
- m.ScriptParameters[i] = n
- }
-
+ copy(m.ScriptParameters, model.ScriptParameters)
nn, e = model.Configuration.UnmarshalPolymorphicJSON(model.Configuration.JsonData)
if e != nil {
return
@@ -194,10 +192,7 @@ func (m *Monitor) UnmarshalJSON(data []byte) (e error) {
m.MonitorType = model.MonitorType
m.VantagePoints = make([]VantagePointInfo, len(model.VantagePoints))
- for i, n := range model.VantagePoints {
- m.VantagePoints[i] = n
- }
-
+ copy(m.VantagePoints, model.VantagePoints)
m.VantagePointCount = model.VantagePointCount
m.ScriptId = model.ScriptId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_configuration.go
index c86b8053cc0..fe0906a0155 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_configuration.go
@@ -75,18 +75,22 @@ func (m *monitorconfiguration) UnmarshalPolymorphicJSON(data []byte) (interface{
mm := BrowserMonitorConfiguration{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "NETWORK_CONFIG":
+ mm := NetworkMonitorConfiguration{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
default:
common.Logf("Recieved unsupported enum value for MonitorConfiguration: %s.", m.ConfigType)
return *m, nil
}
}
-//GetIsFailureRetried returns IsFailureRetried
+// GetIsFailureRetried returns IsFailureRetried
func (m monitorconfiguration) GetIsFailureRetried() *bool {
return m.IsFailureRetried
}
-//GetDnsConfiguration returns DnsConfiguration
+// GetDnsConfiguration returns DnsConfiguration
func (m monitorconfiguration) GetDnsConfiguration() *DnsConfiguration {
return m.DnsConfiguration
}
@@ -116,6 +120,7 @@ const (
MonitorConfigurationConfigTypeScriptedBrowserConfig MonitorConfigurationConfigTypeEnum = "SCRIPTED_BROWSER_CONFIG"
MonitorConfigurationConfigTypeRestConfig MonitorConfigurationConfigTypeEnum = "REST_CONFIG"
MonitorConfigurationConfigTypeScriptedRestConfig MonitorConfigurationConfigTypeEnum = "SCRIPTED_REST_CONFIG"
+ MonitorConfigurationConfigTypeNetworkConfig MonitorConfigurationConfigTypeEnum = "NETWORK_CONFIG"
)
var mappingMonitorConfigurationConfigTypeEnum = map[string]MonitorConfigurationConfigTypeEnum{
@@ -123,6 +128,7 @@ var mappingMonitorConfigurationConfigTypeEnum = map[string]MonitorConfigurationC
"SCRIPTED_BROWSER_CONFIG": MonitorConfigurationConfigTypeScriptedBrowserConfig,
"REST_CONFIG": MonitorConfigurationConfigTypeRestConfig,
"SCRIPTED_REST_CONFIG": MonitorConfigurationConfigTypeScriptedRestConfig,
+ "NETWORK_CONFIG": MonitorConfigurationConfigTypeNetworkConfig,
}
var mappingMonitorConfigurationConfigTypeEnumLowerCase = map[string]MonitorConfigurationConfigTypeEnum{
@@ -130,6 +136,7 @@ var mappingMonitorConfigurationConfigTypeEnumLowerCase = map[string]MonitorConfi
"scripted_browser_config": MonitorConfigurationConfigTypeScriptedBrowserConfig,
"rest_config": MonitorConfigurationConfigTypeRestConfig,
"scripted_rest_config": MonitorConfigurationConfigTypeScriptedRestConfig,
+ "network_config": MonitorConfigurationConfigTypeNetworkConfig,
}
// GetMonitorConfigurationConfigTypeEnumValues Enumerates the set of values for MonitorConfigurationConfigTypeEnum
@@ -148,6 +155,7 @@ func GetMonitorConfigurationConfigTypeEnumStringValues() []string {
"SCRIPTED_BROWSER_CONFIG",
"REST_CONFIG",
"SCRIPTED_REST_CONFIG",
+ "NETWORK_CONFIG",
}
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_summary.go
index eb970e33a1a..cf5d0f537e6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_summary.go
@@ -69,6 +69,7 @@ type MonitorSummary struct {
// For BROWSER and REST monitor types, target is mandatory.
// If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
// If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
+ // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
Target *string `mandatory:"false" json:"target"`
MaintenanceWindowSchedule *MaintenanceWindowSchedule `mandatory:"false" json:"maintenanceWindowSchedule"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_types.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_types.go
index 189092efa40..dcf94167399 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_types.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/monitor_types.go
@@ -22,6 +22,7 @@ const (
MonitorTypesBrowser MonitorTypesEnum = "BROWSER"
MonitorTypesScriptedRest MonitorTypesEnum = "SCRIPTED_REST"
MonitorTypesRest MonitorTypesEnum = "REST"
+ MonitorTypesNetwork MonitorTypesEnum = "NETWORK"
)
var mappingMonitorTypesEnum = map[string]MonitorTypesEnum{
@@ -29,6 +30,7 @@ var mappingMonitorTypesEnum = map[string]MonitorTypesEnum{
"BROWSER": MonitorTypesBrowser,
"SCRIPTED_REST": MonitorTypesScriptedRest,
"REST": MonitorTypesRest,
+ "NETWORK": MonitorTypesNetwork,
}
var mappingMonitorTypesEnumLowerCase = map[string]MonitorTypesEnum{
@@ -36,6 +38,7 @@ var mappingMonitorTypesEnumLowerCase = map[string]MonitorTypesEnum{
"browser": MonitorTypesBrowser,
"scripted_rest": MonitorTypesScriptedRest,
"rest": MonitorTypesRest,
+ "network": MonitorTypesNetwork,
}
// GetMonitorTypesEnumValues Enumerates the set of values for MonitorTypesEnum
@@ -54,6 +57,7 @@ func GetMonitorTypesEnumStringValues() []string {
"BROWSER",
"SCRIPTED_REST",
"REST",
+ "NETWORK",
}
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/network_monitor_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/network_monitor_configuration.go
new file mode 100644
index 00000000000..dda76445f13
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/network_monitor_configuration.go
@@ -0,0 +1,67 @@
+// Copyright (c) 2016, 2018, 2023, 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.
+
+// Application Performance Monitoring Synthetic Monitoring API
+//
+// Use the Application Performance Monitoring Synthetic Monitoring API to query synthetic scripts and monitors. For more information, see Application Performance Monitoring (https://docs.oracle.com/iaas/application-performance-monitoring/index.html).
+//
+
+package apmsynthetics
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// NetworkMonitorConfiguration Request configuration details for the NETWORK monitor type.
+type NetworkMonitorConfiguration struct {
+ NetworkConfiguration *NetworkConfiguration `mandatory:"true" json:"networkConfiguration"`
+
+ // If isFailureRetried is enabled, then a failed call will be retried.
+ IsFailureRetried *bool `mandatory:"false" json:"isFailureRetried"`
+
+ DnsConfiguration *DnsConfiguration `mandatory:"false" json:"dnsConfiguration"`
+}
+
+//GetIsFailureRetried returns IsFailureRetried
+func (m NetworkMonitorConfiguration) GetIsFailureRetried() *bool {
+ return m.IsFailureRetried
+}
+
+//GetDnsConfiguration returns DnsConfiguration
+func (m NetworkMonitorConfiguration) GetDnsConfiguration() *DnsConfiguration {
+ return m.DnsConfiguration
+}
+
+func (m NetworkMonitorConfiguration) 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 NetworkMonitorConfiguration) 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 NetworkMonitorConfiguration) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeNetworkMonitorConfiguration NetworkMonitorConfiguration
+ s := struct {
+ DiscriminatorParam string `json:"configType"`
+ MarshalTypeNetworkMonitorConfiguration
+ }{
+ "NETWORK_CONFIG",
+ (MarshalTypeNetworkMonitorConfiguration)(m),
+ }
+
+ return json.Marshal(&s)
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/private_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/private_key.go
index d855b083d54..e7ebdab7afb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/private_key.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/private_key.go
@@ -15,7 +15,7 @@ import (
"strings"
)
-// PrivateKey The private key associated with the client certificate in pem format.
+// PrivateKey The private key associated with the client certificate in PEM format.
type PrivateKey struct {
// Name of the private key file.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/scripted_browser_monitor_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/scripted_browser_monitor_configuration.go
index 8141557a7d0..8e2e2b58d4f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/scripted_browser_monitor_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/scripted_browser_monitor_configuration.go
@@ -27,7 +27,7 @@ type ScriptedBrowserMonitorConfiguration struct {
// If certificate validation is enabled, then the call will fail in case of certification errors.
IsCertificateValidationEnabled *bool `mandatory:"false" json:"isCertificateValidationEnabled"`
- // If disabled then auto snapshots are not collected.
+ // If disabled, auto snapshots are not collected.
IsDefaultSnapshotEnabled *bool `mandatory:"false" json:"isDefaultSnapshotEnabled"`
NetworkConfiguration *NetworkConfiguration `mandatory:"false" json:"networkConfiguration"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/update_monitor_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/update_monitor_details.go
index 0d691d215f3..aa657d69a3e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/update_monitor_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmsynthetics/update_monitor_details.go
@@ -50,6 +50,7 @@ type UpdateMonitorDetails struct {
// For BROWSER and REST monitor types, target is mandatory.
// If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint.
// If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is.
+ // For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80
Target *string `mandatory:"false" json:"target"`
// List of script parameters in the monitor.
@@ -133,10 +134,7 @@ func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error) {
m.DisplayName = model.DisplayName
m.VantagePoints = make([]string, len(model.VantagePoints))
- for i, n := range model.VantagePoints {
- m.VantagePoints[i] = n
- }
-
+ copy(m.VantagePoints, model.VantagePoints)
m.ScriptId = model.ScriptId
m.Status = model.Status
@@ -150,10 +148,7 @@ func (m *UpdateMonitorDetails) UnmarshalJSON(data []byte) (e error) {
m.Target = model.Target
m.ScriptParameters = make([]MonitorScriptParameter, len(model.ScriptParameters))
- for i, n := range model.ScriptParameters {
- m.ScriptParameters[i] = n
- }
-
+ copy(m.ScriptParameters, model.ScriptParameters)
nn, e = model.Configuration.UnmarshalPolymorphicJSON(model.Configuration.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_query_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_query_client.go
index 3947415e5c5..2449e961350 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_query_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_query_client.go
@@ -80,7 +80,7 @@ func (client *QueryClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_trace_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_trace_client.go
index bfa432b3bfe..229b50cdfc3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_trace_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/apmtraces/apmtraces_trace_client.go
@@ -80,7 +80,7 @@ func (client *TraceClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/appmgmtcontrol/appmgmtcontrol_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/appmgmtcontrol/appmgmtcontrol_client.go
index bb75b93eb85..b2773760ebd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/appmgmtcontrol/appmgmtcontrol_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/appmgmtcontrol/appmgmtcontrol_client.go
@@ -80,7 +80,7 @@ func (client *AppmgmtControlClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/artifacts_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/artifacts_client.go
index 6b46d6849ec..97838471408 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/artifacts_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/artifacts_client.go
@@ -81,7 +81,7 @@ func (client *ArtifactsClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/create_repository_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/create_repository_details.go
index 1eb1ddb7f96..da04b77ddc3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/create_repository_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/create_repository_details.go
@@ -45,12 +45,12 @@ type CreateRepositoryDetails interface {
type createrepositorydetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- IsImmutable *bool `mandatory:"true" json:"isImmutable"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ IsImmutable *bool `mandatory:"true" json:"isImmutable"`
RepositoryType string `json:"repositoryType"`
}
@@ -95,36 +95,36 @@ func (m *createrepositorydetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetCompartmentId returns CompartmentId
-func (m createrepositorydetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetIsImmutable returns IsImmutable
-func (m createrepositorydetails) GetIsImmutable() *bool {
- return m.IsImmutable
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createrepositorydetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createrepositorydetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createrepositorydetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createrepositorydetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createrepositorydetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetIsImmutable returns IsImmutable
+func (m createrepositorydetails) GetIsImmutable() *bool {
+ return m.IsImmutable
+}
+
func (m createrepositorydetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository.go
index cf2e228ad80..7d45141c0e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository.go
@@ -111,47 +111,47 @@ func (m *repository) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
+// GetId returns Id
func (m repository) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m repository) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m repository) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m repository) GetDescription() *string {
return m.Description
}
-//GetIsImmutable returns IsImmutable
+// GetIsImmutable returns IsImmutable
func (m repository) GetIsImmutable() *bool {
return m.IsImmutable
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m repository) GetLifecycleState() RepositoryLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m repository) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m repository) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m repository) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_collection.go
index aeba36abe77..67e0d914c34 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_collection.go
@@ -63,6 +63,5 @@ func (m *RepositoryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_summary.go
index 605142843f3..2a402434e28 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/repository_summary.go
@@ -55,6 +55,7 @@ type RepositorySummary interface {
type repositorysummary struct {
JsonData []byte
+ Description *string `mandatory:"false" json:"description"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -63,7 +64,6 @@ type repositorysummary struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- Description *string `mandatory:"false" json:"description"`
RepositoryType string `json:"repositoryType"`
}
@@ -111,51 +111,51 @@ func (m *repositorysummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetDescription returns Description
+func (m repositorysummary) GetDescription() *string {
+ return m.Description
+}
+
+// GetId returns Id
func (m repositorysummary) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m repositorysummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m repositorysummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetIsImmutable returns IsImmutable
+// GetIsImmutable returns IsImmutable
func (m repositorysummary) GetIsImmutable() *bool {
return m.IsImmutable
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m repositorysummary) GetLifecycleState() RepositoryLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m repositorysummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m repositorysummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m repositorysummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetDescription returns Description
-func (m repositorysummary) GetDescription() *string {
- return m.Description
-}
-
func (m repositorysummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/update_repository_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/update_repository_details.go
index 6856dacda4f..9a9ec410389 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/update_repository_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/artifacts/update_repository_details.go
@@ -85,22 +85,22 @@ func (m *updaterepositorydetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updaterepositorydetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updaterepositorydetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updaterepositorydetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updaterepositorydetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/audit/audit_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/audit/audit_client.go
index 768d126dff7..6194bf4f925 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/audit/audit_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/audit/audit_client.go
@@ -82,7 +82,7 @@ func (client *AuditClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_configuration.go
index 5b69f7c530a..1eeac5c9ec4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_configuration.go
@@ -147,7 +147,6 @@ func (m *AutoScalingConfiguration) UnmarshalJSON(data []byte) (e error) {
m.Policies[i] = nil
}
}
-
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_policy.go
index bf31c2b9085..1cd98ee618c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/auto_scaling_policy.go
@@ -48,11 +48,11 @@ type AutoScalingPolicy interface {
type autoscalingpolicy struct {
JsonData []byte
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
Capacity *Capacity `mandatory:"false" json:"capacity"`
Id *string `mandatory:"false" json:"id"`
DisplayName *string `mandatory:"false" json:"displayName"`
IsEnabled *bool `mandatory:"false" json:"isEnabled"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
PolicyType string `json:"policyType"`
}
@@ -100,31 +100,31 @@ func (m *autoscalingpolicy) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetTimeCreated returns TimeCreated
-func (m autoscalingpolicy) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetCapacity returns Capacity
+// GetCapacity returns Capacity
func (m autoscalingpolicy) GetCapacity() *Capacity {
return m.Capacity
}
-//GetId returns Id
+// GetId returns Id
func (m autoscalingpolicy) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m autoscalingpolicy) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsEnabled returns IsEnabled
+// GetIsEnabled returns IsEnabled
func (m autoscalingpolicy) GetIsEnabled() *bool {
return m.IsEnabled
}
+// GetTimeCreated returns TimeCreated
+func (m autoscalingpolicy) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
func (m autoscalingpolicy) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/autoscaling_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/autoscaling_client.go
index bee281280a8..0101d632a1d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/autoscaling_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/autoscaling_client.go
@@ -84,7 +84,7 @@ func (client *AutoScalingClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_configuration_details.go
index 6a08d0ca7eb..d985c8606ce 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_configuration_details.go
@@ -111,7 +111,6 @@ func (m *CreateAutoScalingConfigurationDetails) UnmarshalJSON(data []byte) (e er
m.Policies[i] = nil
}
}
-
nn, e = model.Resource.UnmarshalPolymorphicJSON(model.Resource.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_policy_details.go
index 06e8222cf71..bdb9bc62441 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/create_auto_scaling_policy_details.go
@@ -88,17 +88,17 @@ func (m *createautoscalingpolicydetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetCapacity returns Capacity
+// GetCapacity returns Capacity
func (m createautoscalingpolicydetails) GetCapacity() *Capacity {
return m.Capacity
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createautoscalingpolicydetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsEnabled returns IsEnabled
+// GetIsEnabled returns IsEnabled
func (m createautoscalingpolicydetails) GetIsEnabled() *bool {
return m.IsEnabled
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/execution_schedule.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/execution_schedule.go
index 228e333781f..d265dffde68 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/execution_schedule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/execution_schedule.go
@@ -69,7 +69,7 @@ func (m *executionschedule) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetTimezone returns Timezone
+// GetTimezone returns Timezone
func (m executionschedule) GetTimezone() ExecutionScheduleTimezoneEnum {
return m.Timezone
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/resource.go
index caae60f17b6..8854753d145 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/resource.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/resource.go
@@ -70,7 +70,7 @@ func (m *resource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
+// GetId returns Id
func (m resource) GetId() *string {
return m.Id
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/update_auto_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/update_auto_scaling_policy_details.go
index 3295c5a1965..b527160fc2d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/update_auto_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/autoscaling/update_auto_scaling_policy_details.go
@@ -83,17 +83,17 @@ func (m *updateautoscalingpolicydetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateautoscalingpolicydetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetCapacity returns Capacity
+// GetCapacity returns Capacity
func (m updateautoscalingpolicydetails) GetCapacity() *Capacity {
return m.Capacity
}
-//GetIsEnabled returns IsEnabled
+// GetIsEnabled returns IsEnabled
func (m updateautoscalingpolicydetails) GetIsEnabled() *bool {
return m.IsEnabled
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bastion/bastion_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/bastion/bastion_client.go
index 0a1c1ad3075..8550ed85e85 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bastion/bastion_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bastion/bastion_client.go
@@ -80,7 +80,7 @@ func (client *BastionClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_horizontal_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_horizontal_scaling_policy_details.go
index c4351d1198e..0e9f4502da4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_horizontal_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_horizontal_scaling_policy_details.go
@@ -83,6 +83,5 @@ func (m *AddScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON(data []by
m.ScheduleDetails[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_vertical_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_vertical_scaling_policy_details.go
index 59e49769092..630e42a9a62 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_vertical_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/add_schedule_based_vertical_scaling_policy_details.go
@@ -83,6 +83,5 @@ func (m *AddScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON(data []byte
m.ScheduleDetails[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/auto_scale_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/auto_scale_policy_details.go
index e40cfc869a1..851a8801f0c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/auto_scale_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/auto_scale_policy_details.go
@@ -87,12 +87,12 @@ func (m *autoscalepolicydetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetTriggerType returns TriggerType
+// GetTriggerType returns TriggerType
func (m autoscalepolicydetails) GetTriggerType() AutoScalePolicyDetailsTriggerTypeEnum {
return m.TriggerType
}
-//GetActionType returns ActionType
+// GetActionType returns ActionType
func (m autoscalepolicydetails) GetActionType() AutoScalePolicyDetailsActionTypeEnum {
return m.ActionType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/bds_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/bds_client.go
index 06fdc3883fb..13b5ee068fa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/bds_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/bds_client.go
@@ -80,7 +80,7 @@ func (client *BdsClient) setConfigurationProvider(configProvider common.Configur
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_horizontal_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_horizontal_scaling_policy_details.go
index 30b8b034eb5..0291e9e1ceb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_horizontal_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_horizontal_scaling_policy_details.go
@@ -107,7 +107,6 @@ func (m *ScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON(data []byte)
m.ScheduleDetails[i] = nil
}
}
-
m.TriggerType = model.TriggerType
m.ActionType = model.ActionType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_vertical_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_vertical_scaling_policy_details.go
index 476c96825dc..86eaef14952 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_vertical_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/schedule_based_vertical_scaling_policy_details.go
@@ -107,7 +107,6 @@ func (m *ScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON(data []byte) (
m.ScheduleDetails[i] = nil
}
}
-
m.TriggerType = model.TriggerType
m.ActionType = model.ActionType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_horizontal_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_horizontal_scaling_policy_details.go
index e628783733b..bbdfe0db67f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_horizontal_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_horizontal_scaling_policy_details.go
@@ -83,6 +83,5 @@ func (m *UpdateScheduleBasedHorizontalScalingPolicyDetails) UnmarshalJSON(data [
m.ScheduleDetails[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_vertical_scaling_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_vertical_scaling_policy_details.go
index e7b53f4a250..bc0004f6b8a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_vertical_scaling_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/bds/update_schedule_based_vertical_scaling_policy_details.go
@@ -83,6 +83,5 @@ func (m *UpdateScheduleBasedVerticalScalingPolicyDetails) UnmarshalJSON(data []b
m.ScheduleDetails[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/blockchain/blockchain_blockchainplatform_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/blockchain/blockchain_blockchainplatform_client.go
index 698fdbab773..4544fda1db7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/blockchain/blockchain_blockchainplatform_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/blockchain/blockchain_blockchainplatform_client.go
@@ -80,7 +80,7 @@ func (client *BlockchainPlatformClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/budget/budget_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/budget/budget_client.go
index 95af1b3e853..646f8035b7d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/budget/budget_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/budget/budget_client.go
@@ -80,7 +80,7 @@ func (client *BudgetClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate.go
index 46d68fd5122..3a0dd509686 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate.go
@@ -156,7 +156,6 @@ func (m *Certificate) UnmarshalJSON(data []byte) (e error) {
m.CertificateRules[i] = nil
}
}
-
m.TimeOfDeletion = model.TimeOfDeletion
m.LifecycleDetails = model.LifecycleDetails
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority.go
index fbe54e2db1a..6784445f2ee 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority.go
@@ -150,7 +150,6 @@ func (m *CertificateAuthority) UnmarshalJSON(data []byte) (e error) {
m.CertificateAuthorityRules[i] = nil
}
}
-
m.CurrentVersion = model.CurrentVersion
m.CertificateRevocationListDetails = model.CertificateRevocationListDetails
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority_summary.go
index 365e7c8b83d..ea0dbebabff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_authority_summary.go
@@ -141,7 +141,6 @@ func (m *CertificateAuthoritySummary) UnmarshalJSON(data []byte) (e error) {
m.CertificateAuthorityRules[i] = nil
}
}
-
m.CurrentVersionSummary = model.CurrentVersionSummary
m.Subject = model.Subject
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_summary.go
index 34c2de6d333..a0456fa1a4a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificate_summary.go
@@ -151,7 +151,6 @@ func (m *CertificateSummary) UnmarshalJSON(data []byte) (e error) {
m.CertificateRules[i] = nil
}
}
-
m.CurrentVersionSummary = model.CurrentVersionSummary
m.Subject = model.Subject
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificatesmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificatesmanagement_client.go
index 85e4b98a020..a93107ce22d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificatesmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/certificatesmanagement_client.go
@@ -80,7 +80,7 @@ func (client *CertificatesManagementClient) setConfigurationProvider(configProvi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_config_details.go
index cbfbb7e6e4a..923cc52b408 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_config_details.go
@@ -69,7 +69,7 @@ func (m *createcertificateauthorityconfigdetails) UnmarshalPolymorphicJSON(data
}
}
-//GetVersionName returns VersionName
+// GetVersionName returns VersionName
func (m createcertificateauthorityconfigdetails) GetVersionName() *string {
return m.VersionName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_details.go
index f56cc3fd43e..3c9cfe489e2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_authority_details.go
@@ -96,7 +96,6 @@ func (m *CreateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)
m.CertificateAuthorityRules[i] = nil
}
}
-
m.CertificateRevocationListDetails = model.CertificateRevocationListDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_config_details.go
index f6f69c3b442..290d0298a86 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_config_details.go
@@ -73,7 +73,7 @@ func (m *createcertificateconfigdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetVersionName returns VersionName
+// GetVersionName returns VersionName
func (m createcertificateconfigdetails) GetVersionName() *string {
return m.VersionName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_details.go
index 83410c69a98..6e3d598e788 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/create_certificate_details.go
@@ -91,7 +91,6 @@ func (m *CreateCertificateDetails) UnmarshalJSON(data []byte) (e error) {
m.CertificateRules[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_config_details.go
index 3f500cd5a31..72010ac3933 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_config_details.go
@@ -76,12 +76,12 @@ func (m *updatecertificateauthorityconfigdetails) UnmarshalPolymorphicJSON(data
}
}
-//GetVersionName returns VersionName
+// GetVersionName returns VersionName
func (m updatecertificateauthorityconfigdetails) GetVersionName() *string {
return m.VersionName
}
-//GetStage returns Stage
+// GetStage returns Stage
func (m updatecertificateauthorityconfigdetails) GetStage() UpdateCertificateAuthorityConfigDetailsStageEnum {
return m.Stage
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_details.go
index 303d2fc1b00..b6a4f377c93 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_authority_details.go
@@ -106,6 +106,5 @@ func (m *UpdateCertificateAuthorityDetails) UnmarshalJSON(data []byte) (e error)
m.CertificateAuthorityRules[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_config_details.go
index 16fb94a273d..d917fd41d3a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_config_details.go
@@ -80,12 +80,12 @@ func (m *updatecertificateconfigdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetVersionName returns VersionName
+// GetVersionName returns VersionName
func (m updatecertificateconfigdetails) GetVersionName() *string {
return m.VersionName
}
-//GetStage returns Stage
+// GetStage returns Stage
func (m updatecertificateconfigdetails) GetStage() UpdateCertificateConfigDetailsStageEnum {
return m.Stage
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_details.go
index d8e7c507157..811aac3f6d7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/certificatesmanagement/update_certificate_details.go
@@ -103,6 +103,5 @@ func (m *UpdateCertificateDetails) UnmarshalJSON(data []byte) (e error) {
m.CertificateRules[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset.go
index 156f319c1ea..8ae6bded746 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset.go
@@ -67,6 +67,11 @@ type Asset interface {
type asset struct {
JsonData []byte
+ DisplayName *string `mandatory:"false" json:"displayName"`
+ AssetSourceIds []string `mandatory:"false" json:"assetSourceIds"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
InventoryId *string `mandatory:"true" json:"inventoryId"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -75,11 +80,6 @@ type asset struct {
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
LifecycleState AssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- DisplayName *string `mandatory:"false" json:"displayName"`
- AssetSourceIds []string `mandatory:"false" json:"assetSourceIds"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
AssetType string `json:"assetType"`
}
@@ -135,71 +135,71 @@ func (m *asset) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetInventoryId returns InventoryId
+// GetDisplayName returns DisplayName
+func (m asset) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetAssetSourceIds returns AssetSourceIds
+func (m asset) GetAssetSourceIds() []string {
+ return m.AssetSourceIds
+}
+
+// GetFreeformTags returns FreeformTags
+func (m asset) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m asset) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m asset) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetInventoryId returns InventoryId
func (m asset) GetInventoryId() *string {
return m.InventoryId
}
-//GetId returns Id
+// GetId returns Id
func (m asset) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m asset) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetSourceKey returns SourceKey
+// GetSourceKey returns SourceKey
func (m asset) GetSourceKey() *string {
return m.SourceKey
}
-//GetExternalAssetKey returns ExternalAssetKey
+// GetExternalAssetKey returns ExternalAssetKey
func (m asset) GetExternalAssetKey() *string {
return m.ExternalAssetKey
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m asset) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m asset) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m asset) GetLifecycleState() AssetLifecycleStateEnum {
return m.LifecycleState
}
-//GetDisplayName returns DisplayName
-func (m asset) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetAssetSourceIds returns AssetSourceIds
-func (m asset) GetAssetSourceIds() []string {
- return m.AssetSourceIds
-}
-
-//GetFreeformTags returns FreeformTags
-func (m asset) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m asset) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m asset) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m asset) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source.go
index 21bd209fc10..1bfd6db0cc6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source.go
@@ -71,6 +71,10 @@ type AssetSource interface {
type assetsource struct {
JsonData []byte
+ DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"true" json:"displayName"`
@@ -81,10 +85,6 @@ type assetsource struct {
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -137,76 +137,76 @@ func (m *assetsource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
+// GetDiscoveryScheduleId returns DiscoveryScheduleId
+func (m assetsource) GetDiscoveryScheduleId() *string {
+ return m.DiscoveryScheduleId
+}
+
+// GetFreeformTags returns FreeformTags
+func (m assetsource) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m assetsource) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m assetsource) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m assetsource) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m assetsource) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m assetsource) GetDisplayName() *string {
return m.DisplayName
}
-//GetEnvironmentId returns EnvironmentId
+// GetEnvironmentId returns EnvironmentId
func (m assetsource) GetEnvironmentId() *string {
return m.EnvironmentId
}
-//GetInventoryId returns InventoryId
+// GetInventoryId returns InventoryId
func (m assetsource) GetInventoryId() *string {
return m.InventoryId
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m assetsource) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m assetsource) GetLifecycleState() AssetSourceLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m assetsource) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m assetsource) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m assetsource) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetDiscoveryScheduleId returns DiscoveryScheduleId
-func (m assetsource) GetDiscoveryScheduleId() *string {
- return m.DiscoveryScheduleId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m assetsource) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m assetsource) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m assetsource) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m assetsource) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_collection.go
index 3bed45d5e11..037ebc1c502 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_collection.go
@@ -62,6 +62,5 @@ func (m *AssetSourceCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_summary.go
index 8fa4d3b52b3..04e3c98b464 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/asset_source_summary.go
@@ -68,6 +68,11 @@ type AssetSourceSummary interface {
type assetsourcesummary struct {
JsonData []byte
+ TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
EnvironmentId *string `mandatory:"true" json:"environmentId"`
@@ -76,11 +81,6 @@ type assetsourcesummary struct {
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
InventoryId *string `mandatory:"true" json:"inventoryId"`
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -132,71 +132,71 @@ func (m *assetsourcesummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetTimeCreated returns TimeCreated
+func (m assetsourcesummary) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m assetsourcesummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetFreeformTags returns FreeformTags
+func (m assetsourcesummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m assetsourcesummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m assetsourcesummary) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m assetsourcesummary) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m assetsourcesummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetEnvironmentId returns EnvironmentId
+// GetEnvironmentId returns EnvironmentId
func (m assetsourcesummary) GetEnvironmentId() *string {
return m.EnvironmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m assetsourcesummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m assetsourcesummary) GetLifecycleState() AssetSourceLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m assetsourcesummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetInventoryId returns InventoryId
+// GetInventoryId returns InventoryId
func (m assetsourcesummary) GetInventoryId() *string {
return m.InventoryId
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m assetsourcesummary) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetTimeCreated returns TimeCreated
-func (m assetsourcesummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m assetsourcesummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetFreeformTags returns FreeformTags
-func (m assetsourcesummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m assetsourcesummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m assetsourcesummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m assetsourcesummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_common_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_common_client.go
index 05b9e86d088..abba3a7b0f1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_common_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_common_client.go
@@ -80,7 +80,7 @@ func (client *CommonClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_discovery_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_discovery_client.go
index 483d8830cd3..1ca90f42e4a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_discovery_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_discovery_client.go
@@ -80,7 +80,7 @@ func (client *DiscoveryClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_inventory_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_inventory_client.go
index 17f55a9e442..ec8ffdb2c8f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_inventory_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_inventory_client.go
@@ -80,7 +80,7 @@ func (client *InventoryClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_ocbagentsvc_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_ocbagentsvc_client.go
index 92d83659527..9d3d9ed88e6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_ocbagentsvc_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/cloudbridge_ocbagentsvc_client.go
@@ -80,7 +80,7 @@ func (client *OcbAgentSvcClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_details.go
index 7d38e9bb636..7f6bb1dfae6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_details.go
@@ -50,14 +50,14 @@ type CreateAssetDetails interface {
type createassetdetails struct {
JsonData []byte
- InventoryId *string `mandatory:"true" json:"inventoryId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- SourceKey *string `mandatory:"true" json:"sourceKey"`
- ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
DisplayName *string `mandatory:"false" json:"displayName"`
AssetSourceIds []string `mandatory:"false" json:"assetSourceIds"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ InventoryId *string `mandatory:"true" json:"inventoryId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ SourceKey *string `mandatory:"true" json:"sourceKey"`
+ ExternalAssetKey *string `mandatory:"true" json:"externalAssetKey"`
AssetType string `json:"assetType"`
}
@@ -104,46 +104,46 @@ func (m *createassetdetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetInventoryId returns InventoryId
-func (m createassetdetails) GetInventoryId() *string {
- return m.InventoryId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createassetdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetSourceKey returns SourceKey
-func (m createassetdetails) GetSourceKey() *string {
- return m.SourceKey
-}
-
-//GetExternalAssetKey returns ExternalAssetKey
-func (m createassetdetails) GetExternalAssetKey() *string {
- return m.ExternalAssetKey
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createassetdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetAssetSourceIds returns AssetSourceIds
+// GetAssetSourceIds returns AssetSourceIds
func (m createassetdetails) GetAssetSourceIds() []string {
return m.AssetSourceIds
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createassetdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createassetdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetInventoryId returns InventoryId
+func (m createassetdetails) GetInventoryId() *string {
+ return m.InventoryId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createassetdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetSourceKey returns SourceKey
+func (m createassetdetails) GetSourceKey() *string {
+ return m.SourceKey
+}
+
+// GetExternalAssetKey returns ExternalAssetKey
+func (m createassetdetails) GetExternalAssetKey() *string {
+ return m.ExternalAssetKey
+}
+
func (m createassetdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_source_details.go
index 59e7b7d5883..7757de26ba8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/create_asset_source_details.go
@@ -57,15 +57,15 @@ type CreateAssetSourceDetails interface {
type createassetsourcedetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- EnvironmentId *string `mandatory:"true" json:"environmentId"`
- InventoryId *string `mandatory:"true" json:"inventoryId"`
- AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ EnvironmentId *string `mandatory:"true" json:"environmentId"`
+ InventoryId *string `mandatory:"true" json:"inventoryId"`
+ AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
Type string `json:"type"`
}
@@ -113,51 +113,51 @@ func (m *createassetsourcedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetCompartmentId returns CompartmentId
-func (m createassetsourcedetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetEnvironmentId returns EnvironmentId
-func (m createassetsourcedetails) GetEnvironmentId() *string {
- return m.EnvironmentId
-}
-
-//GetInventoryId returns InventoryId
-func (m createassetsourcedetails) GetInventoryId() *string {
- return m.InventoryId
-}
-
-//GetAssetsCompartmentId returns AssetsCompartmentId
-func (m createassetsourcedetails) GetAssetsCompartmentId() *string {
- return m.AssetsCompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createassetsourcedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDiscoveryScheduleId returns DiscoveryScheduleId
+// GetDiscoveryScheduleId returns DiscoveryScheduleId
func (m createassetsourcedetails) GetDiscoveryScheduleId() *string {
return m.DiscoveryScheduleId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createassetsourcedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createassetsourcedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createassetsourcedetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetCompartmentId returns CompartmentId
+func (m createassetsourcedetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetEnvironmentId returns EnvironmentId
+func (m createassetsourcedetails) GetEnvironmentId() *string {
+ return m.EnvironmentId
+}
+
+// GetInventoryId returns InventoryId
+func (m createassetsourcedetails) GetInventoryId() *string {
+ return m.InventoryId
+}
+
+// GetAssetsCompartmentId returns AssetsCompartmentId
+func (m createassetsourcedetails) GetAssetsCompartmentId() *string {
+ return m.AssetsCompartmentId
+}
+
func (m createassetsourcedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/import_inventory_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/import_inventory_details.go
index 3a65def4051..072b970e3bb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/import_inventory_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/import_inventory_details.go
@@ -35,9 +35,9 @@ type ImportInventoryDetails interface {
type importinventorydetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
ResourceType string `json:"resourceType"`
}
@@ -79,21 +79,21 @@ func (m *importinventorydetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetCompartmentId returns CompartmentId
-func (m importinventorydetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m importinventorydetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m importinventorydetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m importinventorydetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m importinventorydetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_details.go
index 1166f5d6a3b..c81578a6a2b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_details.go
@@ -88,22 +88,22 @@ func (m *updateassetdetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateassetdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetAssetSourceIds returns AssetSourceIds
+// GetAssetSourceIds returns AssetSourceIds
func (m updateassetdetails) GetAssetSourceIds() []string {
return m.AssetSourceIds
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateassetdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateassetdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_source_details.go
index 0a02be76d15..cd174b59c7b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudbridge/update_asset_source_details.go
@@ -92,27 +92,27 @@ func (m *updateassetsourcedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateassetsourcedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m updateassetsourcedetails) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateassetsourcedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateassetsourcedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m updateassetsourcedetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/cloudguard_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/cloudguard_client.go
index fee5cb58500..9f5c2da75d2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/cloudguard_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/cloudguard_client.go
@@ -81,7 +81,7 @@ func (client *CloudGuardClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_data_mask_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_data_mask_rule_details.go
index 4d7329f3686..668a236dabb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_data_mask_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_data_mask_rule_details.go
@@ -129,9 +129,6 @@ func (m *CreateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error) {
}
m.DataMaskCategories = make([]DataMaskCategoryEnum, len(model.DataMaskCategories))
- for i, n := range model.DataMaskCategories {
- m.DataMaskCategories[i] = n
- }
-
+ copy(m.DataMaskCategories, model.DataMaskCategories)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_detector_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_detector_rule_details.go
index 4b84ef7d10b..3d02c0dfe00 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_detector_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/create_detector_rule_details.go
@@ -102,10 +102,7 @@ func (m *CreateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error) {
m.RiskLevel = model.RiskLevel
m.Configurations = make([]DetectorConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
nn, e = model.Condition.UnmarshalPolymorphicJSON(model.Condition.JsonData)
if e != nil {
return
@@ -117,19 +114,13 @@ func (m *CreateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.Recommendation = model.Recommendation
m.DataSourceId = model.DataSourceId
m.EntitiesMappings = make([]EntitiesMapping, len(model.EntitiesMappings))
- for i, n := range model.EntitiesMappings {
- m.EntitiesMappings[i] = n
- }
-
+ copy(m.EntitiesMappings, model.EntitiesMappings)
m.Name = model.Name
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule.go
index 7b9684ae16d..e78a635055a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule.go
@@ -129,10 +129,7 @@ func (m *DataMaskRule) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description
m.DataMaskCategories = make([]DataMaskCategoryEnum, len(model.DataMaskCategories))
- for i, n := range model.DataMaskCategories {
- m.DataMaskCategories[i] = n
- }
-
+ copy(m.DataMaskCategories, model.DataMaskCategories)
m.TimeCreated = model.TimeCreated
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule_summary.go
index fb08f27ea40..15f9a4fdde0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_mask_rule_summary.go
@@ -129,10 +129,7 @@ func (m *DataMaskRuleSummary) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description
m.DataMaskCategories = make([]DataMaskCategoryEnum, len(model.DataMaskCategories))
- for i, n := range model.DataMaskCategories {
- m.DataMaskCategories[i] = n
- }
-
+ copy(m.DataMaskCategories, model.DataMaskCategories)
m.TimeCreated = model.TimeCreated
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_source.go
index 09da6efeab3..fb8e274bca5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/data_source.go
@@ -134,15 +134,9 @@ func (m *DataSource) UnmarshalJSON(data []byte) (e error) {
m.Status = model.Status
m.DataSourceDetectorMappingInfo = make([]DataSourceMappingInfo, len(model.DataSourceDetectorMappingInfo))
- for i, n := range model.DataSourceDetectorMappingInfo {
- m.DataSourceDetectorMappingInfo[i] = n
- }
-
+ copy(m.DataSourceDetectorMappingInfo, model.DataSourceDetectorMappingInfo)
m.RegionStatusDetail = make([]RegionStatusDetail, len(model.RegionStatusDetail))
- for i, n := range model.RegionStatusDetail {
- m.RegionStatusDetail[i] = n
- }
-
+ copy(m.RegionStatusDetail, model.RegionStatusDetail)
m.LifecycleState = model.LifecycleState
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/detector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/detector_details.go
index 75796ac3595..4170914a20c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/detector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/detector_details.go
@@ -88,10 +88,7 @@ func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error) {
m.RiskLevel = model.RiskLevel
m.Configurations = make([]DetectorConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
nn, e = model.Condition.UnmarshalPolymorphicJSON(model.Condition.JsonData)
if e != nil {
return
@@ -103,24 +100,15 @@ func (m *DetectorDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.IsConfigurationAllowed = model.IsConfigurationAllowed
m.ProblemThreshold = model.ProblemThreshold
m.TargetTypes = make([]string, len(model.TargetTypes))
- for i, n := range model.TargetTypes {
- m.TargetTypes[i] = n
- }
-
+ copy(m.TargetTypes, model.TargetTypes)
m.SightingTypes = make([]SightingType, len(model.SightingTypes))
- for i, n := range model.SightingTypes {
- m.SightingTypes[i] = n
- }
-
+ copy(m.SightingTypes, model.SightingTypes)
m.IsEnabled = model.IsEnabled
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/logging_query_data_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/logging_query_data_source_details.go
index 9be6ee6547e..e2d9b28558f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/logging_query_data_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/logging_query_data_source_details.go
@@ -102,10 +102,7 @@ func (m *LoggingQueryDataSourceDetails) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Regions = make([]string, len(model.Regions))
- for i, n := range model.Regions {
- m.Regions[i] = n
- }
-
+ copy(m.Regions, model.Regions)
m.Query = model.Query
m.IntervalInMinutes = model.IntervalInMinutes
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_details.go
index ed4d47b1010..f14d09a79e0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_details.go
@@ -76,10 +76,7 @@ func (m *ResponderRuleDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Configurations = make([]ResponderConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
m.Mode = model.Mode
m.IsEnabled = model.IsEnabled
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_execution_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_execution_details.go
index f46ec66987a..3a01b7454a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_execution_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/responder_rule_execution_details.go
@@ -64,9 +64,6 @@ func (m *ResponderRuleExecutionDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Configurations = make([]ResponderConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/target.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/target.go
index ade1d2f84a4..96363f674e3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/target.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/target.go
@@ -135,15 +135,9 @@ func (m *Target) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description
m.TargetDetectorRecipes = make([]TargetDetectorRecipe, len(model.TargetDetectorRecipes))
- for i, n := range model.TargetDetectorRecipes {
- m.TargetDetectorRecipes[i] = n
- }
-
+ copy(m.TargetDetectorRecipes, model.TargetDetectorRecipes)
m.TargetResponderRecipes = make([]TargetResponderRecipe, len(model.TargetResponderRecipes))
- for i, n := range model.TargetResponderRecipes {
- m.TargetResponderRecipes[i] = n
- }
-
+ copy(m.TargetResponderRecipes, model.TargetResponderRecipes)
nn, e = model.TargetDetails.UnmarshalPolymorphicJSON(model.TargetDetails.JsonData)
if e != nil {
return
@@ -155,10 +149,7 @@ func (m *Target) UnmarshalJSON(data []byte) (e error) {
}
m.InheritedByCompartments = make([]string, len(model.InheritedByCompartments))
- for i, n := range model.InheritedByCompartments {
- m.InheritedByCompartments[i] = n
- }
-
+ copy(m.InheritedByCompartments, model.InheritedByCompartments)
m.TimeCreated = model.TimeCreated
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_data_mask_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_data_mask_rule_details.go
index 9bf4f24bb0f..343545b8806 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_data_mask_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_data_mask_rule_details.go
@@ -108,10 +108,7 @@ func (m *UpdateDataMaskRuleDetails) UnmarshalJSON(data []byte) (e error) {
}
m.DataMaskCategories = make([]DataMaskCategoryEnum, len(model.DataMaskCategories))
- for i, n := range model.DataMaskCategories {
- m.DataMaskCategories[i] = n
- }
-
+ copy(m.DataMaskCategories, model.DataMaskCategories)
m.DataMaskRuleStatus = model.DataMaskRuleStatus
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_detector_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_detector_rule_details.go
index 207694f8b0c..dacefd95f3e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_detector_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_detector_rule_details.go
@@ -88,10 +88,7 @@ func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error) {
m.RiskLevel = model.RiskLevel
m.Configurations = make([]DetectorConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
nn, e = model.Condition.UnmarshalPolymorphicJSON(model.Condition.JsonData)
if e != nil {
return
@@ -103,10 +100,7 @@ func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.Description = model.Description
m.Recommendation = model.Recommendation
@@ -114,10 +108,7 @@ func (m *UpdateDetectorRuleDetails) UnmarshalJSON(data []byte) (e error) {
m.DataSourceId = model.DataSourceId
m.EntitiesMappings = make([]EntitiesMapping, len(model.EntitiesMappings))
- for i, n := range model.EntitiesMappings {
- m.EntitiesMappings[i] = n
- }
-
+ copy(m.EntitiesMappings, model.EntitiesMappings)
m.IsEnabled = model.IsEnabled
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_target_responder_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_target_responder_rule_details.go
index 4839500d5de..8cfcb493ba4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_target_responder_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudguard/update_target_responder_rule_details.go
@@ -71,10 +71,7 @@ func (m *UpdateTargetResponderRuleDetails) UnmarshalJSON(data []byte) (e error)
}
m.Configurations = make([]ResponderConfiguration, len(model.Configurations))
- for i, n := range model.Configurations {
- m.Configurations[i] = n
- }
-
+ copy(m.Configurations, model.Configurations)
m.Mode = model.Mode
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source.go
index 45e0f738c6d..1805fafad36 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source.go
@@ -68,6 +68,10 @@ type AssetSource interface {
type assetsource struct {
JsonData []byte
+ DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"true" json:"displayName"`
@@ -78,10 +82,6 @@ type assetsource struct {
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -134,76 +134,76 @@ func (m *assetsource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
+// GetDiscoveryScheduleId returns DiscoveryScheduleId
+func (m assetsource) GetDiscoveryScheduleId() *string {
+ return m.DiscoveryScheduleId
+}
+
+// GetFreeformTags returns FreeformTags
+func (m assetsource) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m assetsource) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m assetsource) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m assetsource) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m assetsource) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m assetsource) GetDisplayName() *string {
return m.DisplayName
}
-//GetEnvironmentId returns EnvironmentId
+// GetEnvironmentId returns EnvironmentId
func (m assetsource) GetEnvironmentId() *string {
return m.EnvironmentId
}
-//GetInventoryId returns InventoryId
+// GetInventoryId returns InventoryId
func (m assetsource) GetInventoryId() *string {
return m.InventoryId
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m assetsource) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m assetsource) GetLifecycleState() AssetSourceLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m assetsource) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m assetsource) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m assetsource) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetDiscoveryScheduleId returns DiscoveryScheduleId
-func (m assetsource) GetDiscoveryScheduleId() *string {
- return m.DiscoveryScheduleId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m assetsource) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m assetsource) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m assetsource) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m assetsource) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_collection.go
index 9a8a7c4e643..0651139f424 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_collection.go
@@ -62,6 +62,5 @@ func (m *AssetSourceCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_summary.go
index bf3f66d9b0b..3388d78ecb2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/asset_source_summary.go
@@ -65,6 +65,11 @@ type AssetSourceSummary interface {
type assetsourcesummary struct {
JsonData []byte
+ TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
EnvironmentId *string `mandatory:"true" json:"environmentId"`
@@ -73,11 +78,6 @@ type assetsourcesummary struct {
LifecycleDetails *string `mandatory:"true" json:"lifecycleDetails"`
InventoryId *string `mandatory:"true" json:"inventoryId"`
AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -129,71 +129,71 @@ func (m *assetsourcesummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetTimeCreated returns TimeCreated
+func (m assetsourcesummary) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m assetsourcesummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetFreeformTags returns FreeformTags
+func (m assetsourcesummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m assetsourcesummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m assetsourcesummary) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m assetsourcesummary) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m assetsourcesummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetEnvironmentId returns EnvironmentId
+// GetEnvironmentId returns EnvironmentId
func (m assetsourcesummary) GetEnvironmentId() *string {
return m.EnvironmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m assetsourcesummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m assetsourcesummary) GetLifecycleState() AssetSourceLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m assetsourcesummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetInventoryId returns InventoryId
+// GetInventoryId returns InventoryId
func (m assetsourcesummary) GetInventoryId() *string {
return m.InventoryId
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m assetsourcesummary) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetTimeCreated returns TimeCreated
-func (m assetsourcesummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m assetsourcesummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetFreeformTags returns FreeformTags
-func (m assetsourcesummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m assetsourcesummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m assetsourcesummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m assetsourcesummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/cloudmigrations_migration_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/cloudmigrations_migration_client.go
index f331f9af8d6..f36972741fa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/cloudmigrations_migration_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/cloudmigrations_migration_client.go
@@ -80,7 +80,7 @@ func (client *MigrationClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_asset_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_asset_source_details.go
index a543e5b8c52..559129a32a4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_asset_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_asset_source_details.go
@@ -54,15 +54,15 @@ type CreateAssetSourceDetails interface {
type createassetsourcedetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- EnvironmentId *string `mandatory:"true" json:"environmentId"`
- InventoryId *string `mandatory:"true" json:"inventoryId"`
- AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
DiscoveryScheduleId *string `mandatory:"false" json:"discoveryScheduleId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ EnvironmentId *string `mandatory:"true" json:"environmentId"`
+ InventoryId *string `mandatory:"true" json:"inventoryId"`
+ AssetsCompartmentId *string `mandatory:"true" json:"assetsCompartmentId"`
Type string `json:"type"`
}
@@ -110,51 +110,51 @@ func (m *createassetsourcedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetCompartmentId returns CompartmentId
-func (m createassetsourcedetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetEnvironmentId returns EnvironmentId
-func (m createassetsourcedetails) GetEnvironmentId() *string {
- return m.EnvironmentId
-}
-
-//GetInventoryId returns InventoryId
-func (m createassetsourcedetails) GetInventoryId() *string {
- return m.InventoryId
-}
-
-//GetAssetsCompartmentId returns AssetsCompartmentId
-func (m createassetsourcedetails) GetAssetsCompartmentId() *string {
- return m.AssetsCompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createassetsourcedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDiscoveryScheduleId returns DiscoveryScheduleId
+// GetDiscoveryScheduleId returns DiscoveryScheduleId
func (m createassetsourcedetails) GetDiscoveryScheduleId() *string {
return m.DiscoveryScheduleId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createassetsourcedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createassetsourcedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createassetsourcedetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetCompartmentId returns CompartmentId
+func (m createassetsourcedetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetEnvironmentId returns EnvironmentId
+func (m createassetsourcedetails) GetEnvironmentId() *string {
+ return m.EnvironmentId
+}
+
+// GetInventoryId returns InventoryId
+func (m createassetsourcedetails) GetInventoryId() *string {
+ return m.InventoryId
+}
+
+// GetAssetsCompartmentId returns AssetsCompartmentId
+func (m createassetsourcedetails) GetAssetsCompartmentId() *string {
+ return m.AssetsCompartmentId
+}
+
func (m createassetsourcedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_migration_plan_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_migration_plan_details.go
index 311f5312803..7f86a94200a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_migration_plan_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_migration_plan_details.go
@@ -94,7 +94,6 @@ func (m *CreateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error) {
m.Strategies[i] = nil
}
}
-
m.TargetEnvironments = make([]TargetEnvironment, len(model.TargetEnvironments))
for i, n := range model.TargetEnvironments {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -107,7 +106,6 @@ func (m *CreateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error) {
m.TargetEnvironments[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_target_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_target_asset_details.go
index 9470a53269b..56b4e4735dd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_target_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/create_target_asset_details.go
@@ -70,12 +70,12 @@ func (m *createtargetassetdetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetMigrationPlanId returns MigrationPlanId
+// GetMigrationPlanId returns MigrationPlanId
func (m createtargetassetdetails) GetMigrationPlanId() *string {
return m.MigrationPlanId
}
-//GetIsExcludedFromExecution returns IsExcludedFromExecution
+// GetIsExcludedFromExecution returns IsExcludedFromExecution
func (m createtargetassetdetails) GetIsExcludedFromExecution() *bool {
return m.IsExcludedFromExecution
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan.go
index 4ccef393ca3..8f2da962036 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan.go
@@ -159,7 +159,6 @@ func (m *MigrationPlan) UnmarshalJSON(data []byte) (e error) {
m.Strategies[i] = nil
}
}
-
m.CalculatedLimits = model.CalculatedLimits
m.TargetEnvironments = make([]TargetEnvironment, len(model.TargetEnvironments))
@@ -174,7 +173,6 @@ func (m *MigrationPlan) UnmarshalJSON(data []byte) (e error) {
m.TargetEnvironments[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan_summary.go
index 60194a621e1..76469afb5a3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/migration_plan_summary.go
@@ -159,7 +159,6 @@ func (m *MigrationPlanSummary) UnmarshalJSON(data []byte) (e error) {
m.Strategies[i] = nil
}
}
-
m.CalculatedLimits = model.CalculatedLimits
m.TargetEnvironments = make([]TargetEnvironment, len(model.TargetEnvironments))
@@ -174,6 +173,5 @@ func (m *MigrationPlanSummary) UnmarshalJSON(data []byte) (e error) {
m.TargetEnvironments[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/resource_assessment_strategy.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/resource_assessment_strategy.go
index a3c8c936800..7041177b60a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/resource_assessment_strategy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/resource_assessment_strategy.go
@@ -77,7 +77,7 @@ func (m *resourceassessmentstrategy) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetResourceType returns ResourceType
+// GetResourceType returns ResourceType
func (m resourceassessmentstrategy) GetResourceType() ResourceAssessmentStrategyResourceTypeEnum {
return m.ResourceType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset.go
index 1a02f8b7773..896c08a032b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset.go
@@ -62,6 +62,12 @@ type TargetAsset interface {
type targetasset struct {
JsonData []byte
+ DisplayName *string `mandatory:"false" json:"displayName"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ CompartmentId *string `mandatory:"false" json:"compartmentId"`
+ CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`
+ CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`
+ MigrationAsset *MigrationAsset `mandatory:"false" json:"migrationAsset"`
Id *string `mandatory:"true" json:"id"`
LifecycleState TargetAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
MigrationPlanId *string `mandatory:"true" json:"migrationPlanId"`
@@ -70,12 +76,6 @@ type targetasset struct {
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
TimeAssessed *common.SDKTime `mandatory:"true" json:"timeAssessed"`
- DisplayName *string `mandatory:"false" json:"displayName"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
- CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`
- CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`
- MigrationAsset *MigrationAsset `mandatory:"false" json:"migrationAsset"`
Type string `json:"type"`
}
@@ -128,76 +128,76 @@ func (m *targetasset) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
+// GetDisplayName returns DisplayName
+func (m targetasset) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m targetasset) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetCompartmentId returns CompartmentId
+func (m targetasset) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetCreatedResourceId returns CreatedResourceId
+func (m targetasset) GetCreatedResourceId() *string {
+ return m.CreatedResourceId
+}
+
+// GetCompatibilityMessages returns CompatibilityMessages
+func (m targetasset) GetCompatibilityMessages() []CompatibilityMessage {
+ return m.CompatibilityMessages
+}
+
+// GetMigrationAsset returns MigrationAsset
+func (m targetasset) GetMigrationAsset() *MigrationAsset {
+ return m.MigrationAsset
+}
+
+// GetId returns Id
func (m targetasset) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m targetasset) GetLifecycleState() TargetAssetLifecycleStateEnum {
return m.LifecycleState
}
-//GetMigrationPlanId returns MigrationPlanId
+// GetMigrationPlanId returns MigrationPlanId
func (m targetasset) GetMigrationPlanId() *string {
return m.MigrationPlanId
}
-//GetIsExcludedFromExecution returns IsExcludedFromExecution
+// GetIsExcludedFromExecution returns IsExcludedFromExecution
func (m targetasset) GetIsExcludedFromExecution() *bool {
return m.IsExcludedFromExecution
}
-//GetEstimatedCost returns EstimatedCost
+// GetEstimatedCost returns EstimatedCost
func (m targetasset) GetEstimatedCost() *CostEstimation {
return m.EstimatedCost
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m targetasset) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m targetasset) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetTimeAssessed returns TimeAssessed
+// GetTimeAssessed returns TimeAssessed
func (m targetasset) GetTimeAssessed() *common.SDKTime {
return m.TimeAssessed
}
-//GetDisplayName returns DisplayName
-func (m targetasset) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m targetasset) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetCompartmentId returns CompartmentId
-func (m targetasset) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetCreatedResourceId returns CreatedResourceId
-func (m targetasset) GetCreatedResourceId() *string {
- return m.CreatedResourceId
-}
-
-//GetCompatibilityMessages returns CompatibilityMessages
-func (m targetasset) GetCompatibilityMessages() []CompatibilityMessage {
- return m.CompatibilityMessages
-}
-
-//GetMigrationAsset returns MigrationAsset
-func (m targetasset) GetMigrationAsset() *MigrationAsset {
- return m.MigrationAsset
-}
-
func (m targetasset) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_collection.go
index 028d464e90d..af7e93872fb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_collection.go
@@ -62,6 +62,5 @@ func (m *TargetAssetCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_summary.go
index 121abae9198..fb1882a9d5d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_asset_summary.go
@@ -62,6 +62,12 @@ type TargetAssetSummary interface {
type targetassetsummary struct {
JsonData []byte
+ DisplayName *string `mandatory:"false" json:"displayName"`
+ CompartmentId *string `mandatory:"false" json:"compartmentId"`
+ CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`
+ CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ MigrationAsset *MigrationAssetSummary `mandatory:"false" json:"migrationAsset"`
Id *string `mandatory:"true" json:"id"`
LifecycleState TargetAssetLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
MigrationPlanId *string `mandatory:"true" json:"migrationPlanId"`
@@ -70,12 +76,6 @@ type targetassetsummary struct {
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
TimeAssessed *common.SDKTime `mandatory:"true" json:"timeAssessed"`
- DisplayName *string `mandatory:"false" json:"displayName"`
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
- CreatedResourceId *string `mandatory:"false" json:"createdResourceId"`
- CompatibilityMessages []CompatibilityMessage `mandatory:"false" json:"compatibilityMessages"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
- MigrationAsset *MigrationAssetSummary `mandatory:"false" json:"migrationAsset"`
Type string `json:"type"`
}
@@ -128,76 +128,76 @@ func (m *targetassetsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetDisplayName returns DisplayName
+func (m targetassetsummary) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m targetassetsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetCreatedResourceId returns CreatedResourceId
+func (m targetassetsummary) GetCreatedResourceId() *string {
+ return m.CreatedResourceId
+}
+
+// GetCompatibilityMessages returns CompatibilityMessages
+func (m targetassetsummary) GetCompatibilityMessages() []CompatibilityMessage {
+ return m.CompatibilityMessages
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m targetassetsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetMigrationAsset returns MigrationAsset
+func (m targetassetsummary) GetMigrationAsset() *MigrationAssetSummary {
+ return m.MigrationAsset
+}
+
+// GetId returns Id
func (m targetassetsummary) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m targetassetsummary) GetLifecycleState() TargetAssetLifecycleStateEnum {
return m.LifecycleState
}
-//GetMigrationPlanId returns MigrationPlanId
+// GetMigrationPlanId returns MigrationPlanId
func (m targetassetsummary) GetMigrationPlanId() *string {
return m.MigrationPlanId
}
-//GetIsExcludedFromExecution returns IsExcludedFromExecution
+// GetIsExcludedFromExecution returns IsExcludedFromExecution
func (m targetassetsummary) GetIsExcludedFromExecution() *bool {
return m.IsExcludedFromExecution
}
-//GetEstimatedCost returns EstimatedCost
+// GetEstimatedCost returns EstimatedCost
func (m targetassetsummary) GetEstimatedCost() *CostEstimation {
return m.EstimatedCost
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m targetassetsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m targetassetsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetTimeAssessed returns TimeAssessed
+// GetTimeAssessed returns TimeAssessed
func (m targetassetsummary) GetTimeAssessed() *common.SDKTime {
return m.TimeAssessed
}
-//GetDisplayName returns DisplayName
-func (m targetassetsummary) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m targetassetsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetCreatedResourceId returns CreatedResourceId
-func (m targetassetsummary) GetCreatedResourceId() *string {
- return m.CreatedResourceId
-}
-
-//GetCompatibilityMessages returns CompatibilityMessages
-func (m targetassetsummary) GetCompatibilityMessages() []CompatibilityMessage {
- return m.CompatibilityMessages
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m targetassetsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetMigrationAsset returns MigrationAsset
-func (m targetassetsummary) GetMigrationAsset() *MigrationAssetSummary {
- return m.MigrationAsset
-}
-
func (m targetassetsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_environment.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_environment.go
index 2850cf9b5d0..b15ab5ec606 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_environment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/target_environment.go
@@ -65,7 +65,7 @@ func (m *targetenvironment) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetTargetCompartmentId returns TargetCompartmentId
+// GetTargetCompartmentId returns TargetCompartmentId
func (m targetenvironment) GetTargetCompartmentId() *string {
return m.TargetCompartmentId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_asset_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_asset_source_details.go
index efc7f827864..c56d0b24897 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_asset_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_asset_source_details.go
@@ -89,27 +89,27 @@ func (m *updateassetsourcedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateassetsourcedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetAssetsCompartmentId returns AssetsCompartmentId
+// GetAssetsCompartmentId returns AssetsCompartmentId
func (m updateassetsourcedetails) GetAssetsCompartmentId() *string {
return m.AssetsCompartmentId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateassetsourcedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateassetsourcedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m updateassetsourcedetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_migration_plan_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_migration_plan_details.go
index 9721b6e3b98..704318eaa5d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_migration_plan_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_migration_plan_details.go
@@ -82,7 +82,6 @@ func (m *UpdateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error) {
m.Strategies[i] = nil
}
}
-
m.TargetEnvironments = make([]TargetEnvironment, len(model.TargetEnvironments))
for i, n := range model.TargetEnvironments {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -95,7 +94,6 @@ func (m *UpdateMigrationPlanDetails) UnmarshalJSON(data []byte) (e error) {
m.TargetEnvironments[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_target_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_target_asset_details.go
index f26a16d9415..e839bd3c0cf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_target_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/cloudmigrations/update_target_asset_details.go
@@ -65,7 +65,7 @@ func (m *updatetargetassetdetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetIsExcludedFromExecution returns IsExcludedFromExecution
+// GetIsExcludedFromExecution returns IsExcludedFromExecution
func (m updatetargetassetdetails) GetIsExcludedFromExecution() *bool {
return m.IsExcludedFromExecution
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go
index c886d3f7e79..6cd55860cff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/federation_client_oke_workload_identity.go
@@ -11,12 +11,13 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "github.com/oracle/oci-go-sdk/v65/common/utils"
"io"
"net/http"
"sync"
"time"
+
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "github.com/oracle/oci-go-sdk/v65/common/utils"
)
const (
@@ -146,7 +147,7 @@ func (c *x509FederationClientForOkeWorkloadIdentity) getSecurityToken() (securit
}
token := parsedBody.Token
- if &token == nil || len(token) == 0 {
+ if len(token) == 0 {
return nil, fmt.Errorf("invalid (empty) token received from Proxymux")
}
if len(token) < 3 {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go
index d4a4f97a968..fc871211abd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/instance_principal_key_provider.go
@@ -8,6 +8,7 @@ import (
"crypto/rsa"
"fmt"
"net/http"
+ "os"
"strings"
"time"
@@ -15,7 +16,8 @@ import (
)
const (
- metadataBaseURL = `http://169.254.169.254/opc/v2`
+ defaultMetadataBaseURL = `http://169.254.169.254/opc/v2`
+ metadataBaseURLEnvVar = `OCI_METADATA_BASE_URL`
metadataFallbackURL = `http://169.254.169.254/opc/v1`
regionPath = `/instance/region`
leafCertificatePath = `/identity/cert.pem`
@@ -59,7 +61,7 @@ func (ipe instancePrincipalError) Error() string {
// KeyID that is not expired at the moment, the PrivateRSAKey that the client acquires at a next moment could be
// invalid because the KeyID could be already expired.
func newInstancePrincipalKeyProvider(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (provider *instancePrincipalKeyProvider, err error) {
- updateX509CertRetrieverURLParas(metadataBaseURL)
+ updateX509CertRetrieverURLParas(getMetadataBaseURL())
clientModifier := newDispatcherModifier(modifier)
client, err := clientModifier.Modify(&http.Client{})
@@ -111,8 +113,8 @@ func getRegionForFederationClient(dispatcher common.HTTPRequestDispatcher, url s
return common.StringToRegion(body.String()), nil
}
common.Logf("Error in getting region from url: %s, Status code: %v, Error: %s", url, statusCode, err.Error())
- if statusCode == 404 && strings.Compare(url, metadataBaseURL+regionPath) == 0 {
- common.Logf("Falling back to http://169.254.169.254/opc/v1 to try again...")
+ if statusCode == 404 && strings.Compare(url, getMetadataBaseURL()+regionPath) == 0 {
+ common.Logf("Falling back to http://169.254.169.254/opc/v1 to try again...\n")
updateX509CertRetrieverURLParas(metadataFallbackURL)
url = regionURL
}
@@ -157,3 +159,12 @@ func (p *instancePrincipalKeyProvider) TenancyOCID() (string, error) {
func (p *instancePrincipalKeyProvider) Refreshable() bool {
return true
}
+
+// Gets the Meta Data Base url from the Environment variable SNTL_METADATA_BASE_URL
+// If it is not present, returns default value instead
+func getMetadataBaseURL() string {
+ if baseURL := os.Getenv(metadataBaseURLEnvVar); baseURL != "" {
+ return baseURL
+ }
+ return defaultMetadataBaseURL
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_delegation_token_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_delegation_token_provider.go
new file mode 100644
index 00000000000..ee993ca3524
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/auth/resouce_principal_delegation_token_provider.go
@@ -0,0 +1,90 @@
+// Copyright (c) 2016, 2018, 2023, 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.
+
+package auth
+
+import (
+ "crypto/rsa"
+ "fmt"
+
+ "github.com/oracle/oci-go-sdk/v65/common"
+)
+
+type resourcePrincipalDelegationTokenConfigurationProvider struct {
+ resourcePrincipalKeyProvider ConfigurationProviderWithClaimAccess
+ delegationToken string
+ region *common.Region
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) PrivateRSAKey() (*rsa.PrivateKey, error) {
+ return r.resourcePrincipalKeyProvider.PrivateRSAKey()
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) KeyID() (string, error) {
+ return r.resourcePrincipalKeyProvider.KeyID()
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) TenancyOCID() (string, error) {
+ return r.resourcePrincipalKeyProvider.TenancyOCID()
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) UserOCID() (string, error) {
+ return "", nil
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) KeyFingerprint() (string, error) {
+ return "", nil
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) Region() (string, error) {
+ if r.region == nil {
+ common.Debugf("Region in resource principal delegation token configuration provider is nil. Returning configuration provider region: %s", r.region)
+ return r.resourcePrincipalKeyProvider.Region()
+ }
+ return string(*r.region), nil
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) AuthType() (common.AuthConfig, error) {
+ token := r.delegationToken
+ return common.AuthConfig{AuthType: common.ResourcePrincipalDelegationToken, OboToken: &token}, nil
+}
+
+func (r resourcePrincipalDelegationTokenConfigurationProvider) GetClaim(key string) (interface{}, error) {
+ return r.resourcePrincipalKeyProvider.GetClaim(key)
+}
+
+type resourcePrincipalDelegationTokenError struct {
+ err error
+}
+
+func (rpe resourcePrincipalDelegationTokenError) Error() string {
+ return fmt.Sprintf("%s\nResource principals delegation token authentication can only be used on specific OCI services. Please confirm this code is running on the correct environment", rpe.err.Error())
+}
+
+// ResourcePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token resource principals
+func ResourcePrincipalDelegationTokenConfigurationProvider(delegationToken *string) (ConfigurationProviderWithClaimAccess, error) {
+ if delegationToken == nil || len(*delegationToken) == 0 {
+ return nil, resourcePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mandatory input parameter")}
+ }
+ return newResourcePrincipalDelegationTokenConfigurationProvider(delegationToken, "", nil)
+}
+
+// ResourcePrincipalDelegationTokenConfigurationProviderForRegion returns a configuration for obo token resource principals with a given region
+func ResourcePrincipalDelegationTokenConfigurationProviderForRegion(delegationToken *string, region common.Region) (ConfigurationProviderWithClaimAccess, error) {
+ if delegationToken == nil || len(*delegationToken) == 0 {
+ return nil, resourcePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mandatory input parameter")}
+ }
+ return newResourcePrincipalDelegationTokenConfigurationProvider(delegationToken, region, nil)
+}
+
+func newResourcePrincipalDelegationTokenConfigurationProvider(delegationToken *string, region common.Region, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (ConfigurationProviderWithClaimAccess, error) {
+
+ keyProvider, err := ResourcePrincipalConfigurationProvider()
+ if err != nil {
+ return nil, resourcePrincipalDelegationTokenError{err: fmt.Errorf("failed to create a new key provider for resource principal: %s", err.Error())}
+ }
+ if len(region) > 0 {
+ return resourcePrincipalDelegationTokenConfigurationProvider{keyProvider, *delegationToken, ®ion}, err
+ }
+ return resourcePrincipalDelegationTokenConfigurationProvider{keyProvider, *delegationToken, nil}, err
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go
index 85633f4a930..46b68b3a469 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/circuit_breaker.go
@@ -62,7 +62,7 @@ type CircuitBreakerSetting struct {
numberOfRecordedHistoryResponse int
}
-// Convert CircuitBreakerSetting to human-readable string representation
+// String Converts CircuitBreakerSetting to human-readable string representation
func (cbst CircuitBreakerSetting) String() string {
return fmt.Sprintf("{name=%v, isEnabled=%v, closeStateWindow=%v, openStateWindow=%v, failureRateThreshold=%v, minimumRequests=%v, successStatCodeMap=%v, successStatErrCodeMap=%v, serviceName=%v, historyCount=%v}",
cbst.name, cbst.isEnabled, cbst.closeStateWindow, cbst.openStateWindow, cbst.failureRateThreshold, cbst.minimumRequests, cbst.successStatCodeMap, cbst.successStatErrCodeMap, cbst.serviceName, cbst.numberOfRecordedHistoryResponse)
@@ -77,7 +77,7 @@ type ResponseHistory struct {
statusCode int
}
-// Convert ResponseHistory to human-readable string representation
+// String Converts ResponseHistory to human-readable string representation
func (rh ResponseHistory) String() string {
return fmt.Sprintf("Opc-Req-id - %v\nErrorCode - %v - %v\nErrorMessage - %v\n\n", rh.opcReqID, rh.statusCode, rh.errorCode, rh.errorMessage)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go
index ff02e129d1c..c474c102aa3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/client.go
@@ -494,10 +494,7 @@ func logResponse(response *http.Response, fn func(format string, v ...interface{
}
func checkBodyLengthExceedLimit(contentLength int64) bool {
- if contentLength > maxBodyLenForDebug {
- return true
- }
- return false
+ return contentLength > maxBodyLenForDebug
}
// OCIRequest is any request made to an OCI service.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go
index 95544c6eb8e..1a247ae972b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/common.go
@@ -137,7 +137,7 @@ func (region Region) EndpointForTemplateDottedRegion(service string, serviceEndp
return endpoint, fmt.Errorf("Endpoint service name not present in endpoint template")
}
} else {
- return endpoint, fmt.Errorf("Invalid serviceEndpointTemplates. ServiceEndpointTemplate should start with https://")
+ return endpoint, fmt.Errorf("invalid serviceEndpointTemplates. ServiceEndpointTemplate should start with https://")
}
return endpoint, nil
}
@@ -207,7 +207,7 @@ func StringToRegion(stringRegion string) (r Region) {
// canStringBeRegion test if the string can be a region, if it can, returns the string as is, otherwise it
// returns an error
-var blankRegex = regexp.MustCompile("\\s")
+var blankRegex = regexp.MustCompile(`\s`)
func canStringBeRegion(stringRegion string) (region string, err error) {
if blankRegex.MatchString(stringRegion) || stringRegion == "" {
@@ -240,7 +240,7 @@ func EnableInstanceMetadataServiceLookup() {
// Once successfully find the expected region(region name or short code), return true, region name will be stored in
// the input pointer.
func setRegionMetadataFromEnvVar(region *string) bool {
- if readEnvVar == false {
+ if !readEnvVar {
Debugf("metadata region env variable had already been checked, no need to check again.")
return false //no need to check it again.
}
@@ -285,7 +285,7 @@ func setRegionMetadataFromCfgFile(region *string) bool {
// Once successfully find the expected region(region name or short code), return true, region name will be stored in
// the input pointer.
func setRegionMetadataFromRegionCfgFile(region *string) bool {
- if readCfgFile == false {
+ if !readCfgFile {
Debugf("metadata region config file had already been checked, no need to check again.")
return false //no need to check it again.
}
@@ -473,7 +473,7 @@ func setRegionFromInstanceMetadataService(region *string) bool {
// "regionIdentifier" : "ca-montreal-1"
// }
// Mark visitIMDS Flag as false since it has already been visited.
- if visitIMDS == false {
+ if !visitIMDS {
Debugf("check from IMDS is disabled or IMDS had already been successfully visited, no need to check again.")
return false
}
@@ -509,7 +509,7 @@ func setRegionFromInstanceMetadataService(region *string) bool {
// getRegionInfoFromInstanceMetadataServiceProd calls instance metadata service and get the region information
func getRegionInfoFromInstanceMetadataServiceProd() ([]byte, error) {
- request, err := http.NewRequest(http.MethodGet, instanceMetadataRegionInfoURLV2, nil)
+ request, _ := http.NewRequest(http.MethodGet, instanceMetadataRegionInfoURLV2, nil)
request.Header.Add("Authorization", "Bearer Oracle")
client := &http.Client{
@@ -517,7 +517,7 @@ func getRegionInfoFromInstanceMetadataServiceProd() ([]byte, error) {
}
resp, err := client.Do(request)
if err != nil {
- return nil, fmt.Errorf("Failed to call instance metadata service. Error: %v", err)
+ return nil, fmt.Errorf("failed to call instance metadata service. Error: %v", err)
}
statusCode := resp.StatusCode
@@ -526,7 +526,7 @@ func getRegionInfoFromInstanceMetadataServiceProd() ([]byte, error) {
content, err := ioutil.ReadAll(resp.Body)
if err != nil {
- return nil, fmt.Errorf("Failed to get region information from response body. Error: %v", err)
+ return nil, fmt.Errorf("failed to get region information from response body. Error: %v", err)
}
if statusCode != http.StatusOK {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go
index 4cd1d7edd12..1748ecff015 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/configuration.go
@@ -21,10 +21,12 @@ type AuthenticationType string
const (
// UserPrincipal is default auth type
UserPrincipal AuthenticationType = "user_principal"
- // InstancePrincipal is used for instance principle auth type
+ // InstancePrincipal is used for instance principal auth type
InstancePrincipal AuthenticationType = "instance_principal"
- // InstancePrincipalDelegationToken is used for instance principle delegation token auth type
+ // InstancePrincipalDelegationToken is used for instance principal delegation token auth type
InstancePrincipalDelegationToken AuthenticationType = "instance_principle_delegation_token"
+ // ResourcePrincipalDelegationToken is used for resource principal delegation token auth type
+ ResourcePrincipalDelegationToken AuthenticationType = "resource_principle_delegation_token"
// UnknownAuthenticationType is used for none meaningful auth type
UnknownAuthenticationType AuthenticationType = "unknown_auth_type"
)
@@ -343,7 +345,7 @@ func parseConfigFile(data []byte, profile string) (info *configFileInfo, err err
//Look for profile
for i, line := range splitContent {
- if match := profileRegex.FindStringSubmatch(line); match != nil && len(match) > 1 && match[1] == profile {
+ if match := profileRegex.FindStringSubmatch(line); len(match) > 1 && match[1] == profile {
start := i + 1
return parseConfigAtLine(start, splitContent)
}
@@ -589,7 +591,7 @@ func (p fileConfigurationProvider) AuthType() (AuthConfig, error) {
err = fmt.Errorf("can not read tenancy configuration due to: %s", err.Error())
return AuthConfig{UnknownAuthenticationType, true, nil}, err
}
- val, err := presentOrError(info.AuthenticationType, hasAuthenticationType, info.PresentConfiguration, "authentication_type")
+ val, _ := presentOrError(info.AuthenticationType, hasAuthenticationType, info.PresentConfiguration, "authentication_type")
if val == "instance_principal" {
if filePath, err := presentOrError(info.DelegationTokenFilePath, hasDelegationTokenFile, info.PresentConfiguration, "delegationTokenFilePath"); err == nil {
@@ -615,7 +617,7 @@ func getTokenContent(filePath string) (string, error) {
err = fileConfigurationProviderError{err: fmt.Errorf("can not read token content from configuration file due to: %s", err.Error())}
return "", err
}
- return fmt.Sprintf("%s", tokenFileContent), nil
+ return string(tokenFileContent), nil
}
// A configuration provider that look for information in multiple configuration providers
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go
index 75b59ff3f1b..24dfc4f4cdc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/errors.go
@@ -255,7 +255,7 @@ type NonSeekableRequestRetryFailure struct {
func (ne NonSeekableRequestRetryFailure) Error() string {
if ne.err == nil {
- return fmt.Sprintf("Unable to perform Retry on this request body type, which did not implement seek() interface")
+ return "Unable to perform Retry on this request body type, which did not implement seek() interface"
}
return fmt.Sprintf("%s. Unable to perform Retry on this request body type, which did not implement seek() interface", ne.err.Error())
}
@@ -287,7 +287,7 @@ func IsCircuitBreakerError(err error) bool {
func getCircuitBreakerError(request *http.Request, err error, cbr *OciCircuitBreaker) error {
cbErr := fmt.Errorf("%s, so this request was not sent to the %s service.\n\n The circuit breaker was opened because the %s service failed too many times recently. "+
"Because the circuit breaker has been opened, requests within a %.2f second window of when the circuit breaker opened will not be sent to the %s service.\n\n"+
- "URL which circuit breaker prevented request to - %s \n Circuit Breaker Info \n Name - %s \n State - %s \n\n Errors from %s service which opened the circuit breaker:\n\n%s \n",
+ "URL which circuit breaker prevented request to - %s \n Circuit Breaker Info \n Name - %s \n State - %s \n\n Errors from %s service which opened the circuit breaker:\n\n%s",
err, cbr.Cbst.serviceName, cbr.Cbst.serviceName, cbr.Cbst.openStateWindow.Seconds(), cbr.Cbst.serviceName, request.URL.Host+request.URL.Path, cbr.Cbst.name, cbr.Cb.State().String(), cbr.Cbst.serviceName, cbr.GetHistory())
return cbErr
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go
index d120065de9e..7732c1c1d0e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/helpers.go
@@ -149,7 +149,7 @@ func tryParsing(data []byte, layouts ...string) (tm time.Time, err error) {
return
}
}
- err = fmt.Errorf("Could not parse time: %s with formats: %s", datestring, layouts[:])
+ err = fmt.Errorf("could not parse time: %s with formats: %s", datestring, layouts[:])
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go
index f2d01ac9292..80d75c4d656 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/http.go
@@ -320,9 +320,8 @@ func checkBinaryBodyLength(request *http.Request) (contentLen int64, err error)
}
func getNormalBinaryBodyLength(request *http.Request) (contentLen int64, err error) {
- dumpRequestBody := ioutil.NopCloser(bytes.NewBuffer(nil))
+ var dumpRequestBody io.ReadCloser
if dumpRequestBody, request.Body, err = drainBody(request.Body); err != nil {
- dumpRequestBody = ioutil.NopCloser(bytes.NewBuffer(nil))
return contentLen, err
}
contentBody, err := ioutil.ReadAll(dumpRequestBody)
@@ -972,7 +971,7 @@ func addFromHeaderCollection(response *http.Response, value *reflect.Value, fiel
Debugln("Unmarshaling from header-collection to field:", field.Name)
var headerPrefix string
if headerPrefix = field.Tag.Get("prefix"); headerPrefix == "" {
- return fmt.Errorf("Unmarshaling response to a header-collection requires the 'prefix' tag for field: %s", field.Name)
+ return fmt.Errorf("unmarshaling response to a header-collection requires the 'prefix' tag for field: %s", field.Name)
}
mapCollection := make(map[string]string)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go
index 225845785aa..b8a2c4c5eb1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/http_signer.go
@@ -197,7 +197,7 @@ func GetBodyHash(request *http.Request) (hashString string, err error) {
}
var data []byte
- bReader := request.Body
+ var bReader io.Reader
bReader, request.Body, err = drainBody(request.Body)
if err != nil {
return "", fmt.Errorf("can not read body of request while calculating body hash: %s", err.Error())
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go
index 782b12ef90a..12ef50b80bd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/retry.go
@@ -184,7 +184,7 @@ var GlobalRetry *RetryPolicy = nil
// RetryPolicyOption is the type of the options for NewRetryPolicy.
type RetryPolicyOption func(rp *RetryPolicy)
-// Convert retry policy to human-readable string representation
+// String Converts retry policy to human-readable string representation
func (rp RetryPolicy) String() string {
return fmt.Sprintf("{MaximumNumberAttempts=%v, MinSleepBetween=%v, MaxSleepBetween=%v, ExponentialBackoffBase=%v, NonEventuallyConsistentPolicy=%v}",
rp.MaximumNumberAttempts, rp.MinSleepBetween, rp.MaxSleepBetween, rp.ExponentialBackoffBase, rp.NonEventuallyConsistentPolicy)
@@ -753,7 +753,7 @@ func determinePolicyToUse(policy RetryPolicy) (RetryPolicy, *time.Time, float64)
var useDefaultTimingInstead = true
var endOfWindowTime = (*time.Time)(nil)
var backoffScalingFactor = 1.0
- var policyToUse RetryPolicy = policy
+ var policyToUse = policy
eowt := EcContext.GetEndOfWindow()
if eowt != nil {
@@ -774,17 +774,17 @@ func determinePolicyToUse(policy RetryPolicy) (RetryPolicy, *time.Time, float64)
Debugln(fmt.Sprintf("Use eventually consistent timing, durationToEndOfWindow = %v, maximumCumulativeBackoffWithoutJitter = %v, backoffScalingFactor = %.2f",
durationToEndOfWindow, maximumCumulativeBackoffWithoutJitter, backoffScalingFactor))
} else {
- Debugln(fmt.Sprintf("Use default timing, end of EC window is sooner than default retries"))
+ Debugln("Use default timing, end of EC window is sooner than default retries")
}
} else {
useDefaultTimingInstead = false
policyToUse = *policy.NonEventuallyConsistentPolicy
- Debugln(fmt.Sprintf("Use default timing and strategy, end of EC window is in the past"))
+ Debugln("Use default timing and strategy, end of EC window is in the past")
}
} else {
useDefaultTimingInstead = false
policyToUse = *policy.NonEventuallyConsistentPolicy
- Debugln(fmt.Sprintf("Use default timing and strategy, no EC window set"))
+ Debugln("Use default timing and strategy, no EC window set")
}
if useDefaultTimingInstead {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go b/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go
index 55615503a00..d82f0bf5e7c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/common/utils/opc_request_id.go
@@ -6,8 +6,7 @@ import (
"fmt"
)
-// GenerateOpcRequestId
-// Reference: https://confluence.oci.oraclecorp.com/display/DEX/Request+IDs
+// GenerateOpcRequestID - Reference: https://confluence.oci.oraclecorp.com/display/DEX/Request+IDs
// Maximum segment length: 32 characters
// Allowed segment contents: regular expression pattern /^[a-zA-Z0-9]{0,32}$/
func GenerateOpcRequestID() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_client.go
index d2ae83ef727..9a7fda5b1f3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_client.go
@@ -81,7 +81,7 @@ func (client *ComputeInstanceAgentClient) setConfigurationProvider(configProvide
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_plugin_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_plugin_client.go
index 4fd9addecf5..080651b43e5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_plugin_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_plugin_client.go
@@ -81,7 +81,7 @@ func (client *PluginClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_pluginconfig_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_pluginconfig_client.go
index 8602a9482ad..a9d59696678 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_pluginconfig_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/computeinstanceagent_pluginconfig_client.go
@@ -81,7 +81,7 @@ func (client *PluginconfigClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/instance_agent_command_execution_output_content.go b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/instance_agent_command_execution_output_content.go
index abb61d6109f..33c39d2e1c4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/instance_agent_command_execution_output_content.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/computeinstanceagent/instance_agent_command_execution_output_content.go
@@ -29,8 +29,8 @@ type InstanceAgentCommandExecutionOutputContent interface {
type instanceagentcommandexecutionoutputcontent struct {
JsonData []byte
- ExitCode *int `mandatory:"true" json:"exitCode"`
Message *string `mandatory:"false" json:"message"`
+ ExitCode *int `mandatory:"true" json:"exitCode"`
OutputType string `json:"outputType"`
}
@@ -79,16 +79,16 @@ func (m *instanceagentcommandexecutionoutputcontent) UnmarshalPolymorphicJSON(da
}
}
-//GetExitCode returns ExitCode
-func (m instanceagentcommandexecutionoutputcontent) GetExitCode() *int {
- return m.ExitCode
-}
-
-//GetMessage returns Message
+// GetMessage returns Message
func (m instanceagentcommandexecutionoutputcontent) GetMessage() *string {
return m.Message
}
+// GetExitCode returns ExitCode
+func (m instanceagentcommandexecutionoutputcontent) GetExitCode() *int {
+ return m.ExitCode
+}
+
func (m instanceagentcommandexecutionoutputcontent) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go
index fd88409158d..eb251348ced 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster.go
@@ -166,10 +166,7 @@ func (m *Cluster) UnmarshalJSON(data []byte) (e error) {
m.Endpoints = model.Endpoints
m.AvailableKubernetesUpgrades = make([]string, len(model.AvailableKubernetesUpgrades))
- for i, n := range model.AvailableKubernetesUpgrades {
- m.AvailableKubernetesUpgrades[i] = n
- }
-
+ copy(m.AvailableKubernetesUpgrades, model.AvailableKubernetesUpgrades)
m.ImagePolicyConfig = model.ImagePolicyConfig
m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions))
@@ -184,7 +181,6 @@ func (m *Cluster) UnmarshalJSON(data []byte) (e error) {
m.ClusterPodNetworkOptions[i] = nil
}
}
-
m.Type = model.Type
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go
index 76243acf7db..6ed2597b387 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_options.go
@@ -57,10 +57,7 @@ func (m *ClusterOptions) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.KubernetesVersions = make([]string, len(model.KubernetesVersions))
- for i, n := range model.KubernetesVersions {
- m.KubernetesVersions[i] = n
- }
-
+ copy(m.KubernetesVersions, model.KubernetesVersions)
m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions))
for i, n := range model.ClusterPodNetworkOptions {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -73,6 +70,5 @@ func (m *ClusterOptions) UnmarshalJSON(data []byte) (e error) {
m.ClusterPodNetworkOptions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go
index 3a1e9e46726..37f5337ba0c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/cluster_summary.go
@@ -160,10 +160,7 @@ func (m *ClusterSummary) UnmarshalJSON(data []byte) (e error) {
m.Endpoints = model.Endpoints
m.AvailableKubernetesUpgrades = make([]string, len(model.AvailableKubernetesUpgrades))
- for i, n := range model.AvailableKubernetesUpgrades {
- m.AvailableKubernetesUpgrades[i] = n
- }
-
+ copy(m.AvailableKubernetesUpgrades, model.AvailableKubernetesUpgrades)
m.ImagePolicyConfig = model.ImagePolicyConfig
m.ClusterPodNetworkOptions = make([]ClusterPodNetworkOptionDetails, len(model.ClusterPodNetworkOptions))
@@ -178,7 +175,6 @@ func (m *ClusterSummary) UnmarshalJSON(data []byte) (e error) {
m.ClusterPodNetworkOptions[i] = nil
}
}
-
m.Type = model.Type
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go
index 43f9dfc7c69..93206a888db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/containerengine_client.go
@@ -82,7 +82,7 @@ func (client *ContainerEngineClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go
index b2fd3a8daaf..e7a978615dd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_cluster_details.go
@@ -130,7 +130,6 @@ func (m *CreateClusterDetails) UnmarshalJSON(data []byte) (e error) {
m.ClusterPodNetworkOptions[i] = nil
}
}
-
m.Type = model.Type
m.Name = model.Name
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go
index ab2d638597c..1e4bf92ef77 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_details.go
@@ -147,19 +147,13 @@ func (m *CreateNodePoolDetails) UnmarshalJSON(data []byte) (e error) {
m.NodeShapeConfig = model.NodeShapeConfig
m.InitialNodeLabels = make([]KeyValue, len(model.InitialNodeLabels))
- for i, n := range model.InitialNodeLabels {
- m.InitialNodeLabels[i] = n
- }
-
+ copy(m.InitialNodeLabels, model.InitialNodeLabels)
m.SshPublicKey = model.SshPublicKey
m.QuantityPerSubnet = model.QuantityPerSubnet
m.SubnetIds = make([]string, len(model.SubnetIds))
- for i, n := range model.SubnetIds {
- m.SubnetIds[i] = n
- }
-
+ copy(m.SubnetIds, model.SubnetIds)
m.NodeConfigDetails = model.NodeConfigDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go
index c11bb326051..2f55e950532 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/create_node_pool_node_config_details.go
@@ -89,10 +89,7 @@ func (m *CreateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.NsgIds = make([]string, len(model.NsgIds))
- for i, n := range model.NsgIds {
- m.NsgIds[i] = n
- }
-
+ copy(m.NsgIds, model.NsgIds)
m.KmsKeyId = model.KmsKeyId
m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled
@@ -114,9 +111,6 @@ func (m *CreateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
m.Size = model.Size
m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs))
- for i, n := range model.PlacementConfigs {
- m.PlacementConfigs[i] = n
- }
-
+ copy(m.PlacementConfigs, model.PlacementConfigs)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go
index 5d4c30e6e67..71b46672cd3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool.go
@@ -199,24 +199,15 @@ func (m *NodePool) UnmarshalJSON(data []byte) (e error) {
m.NodeShape = model.NodeShape
m.InitialNodeLabels = make([]KeyValue, len(model.InitialNodeLabels))
- for i, n := range model.InitialNodeLabels {
- m.InitialNodeLabels[i] = n
- }
-
+ copy(m.InitialNodeLabels, model.InitialNodeLabels)
m.SshPublicKey = model.SshPublicKey
m.QuantityPerSubnet = model.QuantityPerSubnet
m.SubnetIds = make([]string, len(model.SubnetIds))
- for i, n := range model.SubnetIds {
- m.SubnetIds[i] = n
- }
-
+ copy(m.SubnetIds, model.SubnetIds)
m.Nodes = make([]Node, len(model.Nodes))
- for i, n := range model.Nodes {
- m.Nodes[i] = n
- }
-
+ copy(m.Nodes, model.Nodes)
m.NodeConfigDetails = model.NodeConfigDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go
index 15acc38fa8f..4c3ecca1641 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_node_config_details.go
@@ -91,10 +91,7 @@ func (m *NodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
m.Size = model.Size
m.NsgIds = make([]string, len(model.NsgIds))
- for i, n := range model.NsgIds {
- m.NsgIds[i] = n
- }
-
+ copy(m.NsgIds, model.NsgIds)
m.KmsKeyId = model.KmsKeyId
m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled
@@ -104,10 +101,7 @@ func (m *NodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs))
- for i, n := range model.PlacementConfigs {
- m.PlacementConfigs[i] = n
- }
-
+ copy(m.PlacementConfigs, model.PlacementConfigs)
nn, e = model.NodePoolPodNetworkOptionDetails.UnmarshalPolymorphicJSON(model.NodePoolPodNetworkOptionDetails.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go
index 4f8d6224c6b..efbb1258fbe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_options.go
@@ -67,20 +67,11 @@ func (m *NodePoolOptions) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.KubernetesVersions = make([]string, len(model.KubernetesVersions))
- for i, n := range model.KubernetesVersions {
- m.KubernetesVersions[i] = n
- }
-
+ copy(m.KubernetesVersions, model.KubernetesVersions)
m.Shapes = make([]string, len(model.Shapes))
- for i, n := range model.Shapes {
- m.Shapes[i] = n
- }
-
+ copy(m.Shapes, model.Shapes)
m.Images = make([]string, len(model.Images))
- for i, n := range model.Images {
- m.Images[i] = n
- }
-
+ copy(m.Images, model.Images)
m.Sources = make([]NodeSourceOption, len(model.Sources))
for i, n := range model.Sources {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -93,6 +84,5 @@ func (m *NodePoolOptions) UnmarshalJSON(data []byte) (e error) {
m.Sources[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go
index 9719769a47d..fae97a6bdea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_pool_summary.go
@@ -189,19 +189,13 @@ func (m *NodePoolSummary) UnmarshalJSON(data []byte) (e error) {
m.NodeShape = model.NodeShape
m.InitialNodeLabels = make([]KeyValue, len(model.InitialNodeLabels))
- for i, n := range model.InitialNodeLabels {
- m.InitialNodeLabels[i] = n
- }
-
+ copy(m.InitialNodeLabels, model.InitialNodeLabels)
m.SshPublicKey = model.SshPublicKey
m.QuantityPerSubnet = model.QuantityPerSubnet
m.SubnetIds = make([]string, len(model.SubnetIds))
- for i, n := range model.SubnetIds {
- m.SubnetIds[i] = n
- }
-
+ copy(m.SubnetIds, model.SubnetIds)
m.NodeConfigDetails = model.NodeConfigDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go
index 31b39820e58..7633cf2219f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/node_source_option.go
@@ -67,7 +67,7 @@ func (m *nodesourceoption) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetSourceName returns SourceName
+// GetSourceName returns SourceName
func (m nodesourceoption) GetSourceName() *string {
return m.SourceName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go
index b790e5ad5a6..34d3d2f95d6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_details.go
@@ -124,17 +124,11 @@ func (m *UpdateNodePoolDetails) UnmarshalJSON(data []byte) (e error) {
m.KubernetesVersion = model.KubernetesVersion
m.InitialNodeLabels = make([]KeyValue, len(model.InitialNodeLabels))
- for i, n := range model.InitialNodeLabels {
- m.InitialNodeLabels[i] = n
- }
-
+ copy(m.InitialNodeLabels, model.InitialNodeLabels)
m.QuantityPerSubnet = model.QuantityPerSubnet
m.SubnetIds = make([]string, len(model.SubnetIds))
- for i, n := range model.SubnetIds {
- m.SubnetIds[i] = n
- }
-
+ copy(m.SubnetIds, model.SubnetIds)
m.NodeConfigDetails = model.NodeConfigDetails
m.NodeMetadata = model.NodeMetadata
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go
index b77a9d71701..55a970130b1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerengine/update_node_pool_node_config_details.go
@@ -91,10 +91,7 @@ func (m *UpdateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
m.Size = model.Size
m.NsgIds = make([]string, len(model.NsgIds))
- for i, n := range model.NsgIds {
- m.NsgIds[i] = n
- }
-
+ copy(m.NsgIds, model.NsgIds)
m.KmsKeyId = model.KmsKeyId
m.IsPvEncryptionInTransitEnabled = model.IsPvEncryptionInTransitEnabled
@@ -104,10 +101,7 @@ func (m *UpdateNodePoolNodeConfigDetails) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.PlacementConfigs = make([]NodePoolPlacementConfigDetails, len(model.PlacementConfigs))
- for i, n := range model.PlacementConfigs {
- m.PlacementConfigs[i] = n
- }
-
+ copy(m.PlacementConfigs, model.PlacementConfigs)
nn, e = model.NodePoolPodNetworkOptionDetails.UnmarshalPolymorphicJSON(model.NodePoolPodNetworkOptionDetails.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container.go
index 2f8c7f8d8b6..c9ca246831d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container.go
@@ -187,24 +187,15 @@ func (m *Container) UnmarshalJSON(data []byte) (e error) {
m.TimeUpdated = model.TimeUpdated
m.Command = make([]string, len(model.Command))
- for i, n := range model.Command {
- m.Command[i] = n
- }
-
+ copy(m.Command, model.Command)
m.Arguments = make([]string, len(model.Arguments))
- for i, n := range model.Arguments {
- m.Arguments[i] = n
- }
-
+ copy(m.Arguments, model.Arguments)
m.WorkingDirectory = model.WorkingDirectory
m.EnvironmentVariables = model.EnvironmentVariables
m.VolumeMounts = make([]VolumeMount, len(model.VolumeMounts))
- for i, n := range model.VolumeMounts {
- m.VolumeMounts[i] = n
- }
-
+ copy(m.VolumeMounts, model.VolumeMounts)
m.HealthChecks = make([]ContainerHealthCheck, len(model.HealthChecks))
for i, n := range model.HealthChecks {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -217,7 +208,6 @@ func (m *Container) UnmarshalJSON(data []byte) (e error) {
m.HealthChecks[i] = nil
}
}
-
m.IsResourcePrincipalDisabled = model.IsResourcePrincipalDisabled
m.ResourceConfig = model.ResourceConfig
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_health_check.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_health_check.go
index 748a963e957..3d9fed541e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_health_check.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_health_check.go
@@ -114,47 +114,47 @@ func (m *containerhealthcheck) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetName returns Name
+// GetName returns Name
func (m containerhealthcheck) GetName() *string {
return m.Name
}
-//GetInitialDelayInSeconds returns InitialDelayInSeconds
+// GetInitialDelayInSeconds returns InitialDelayInSeconds
func (m containerhealthcheck) GetInitialDelayInSeconds() *int {
return m.InitialDelayInSeconds
}
-//GetIntervalInSeconds returns IntervalInSeconds
+// GetIntervalInSeconds returns IntervalInSeconds
func (m containerhealthcheck) GetIntervalInSeconds() *int {
return m.IntervalInSeconds
}
-//GetFailureThreshold returns FailureThreshold
+// GetFailureThreshold returns FailureThreshold
func (m containerhealthcheck) GetFailureThreshold() *int {
return m.FailureThreshold
}
-//GetSuccessThreshold returns SuccessThreshold
+// GetSuccessThreshold returns SuccessThreshold
func (m containerhealthcheck) GetSuccessThreshold() *int {
return m.SuccessThreshold
}
-//GetTimeoutInSeconds returns TimeoutInSeconds
+// GetTimeoutInSeconds returns TimeoutInSeconds
func (m containerhealthcheck) GetTimeoutInSeconds() *int {
return m.TimeoutInSeconds
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m containerhealthcheck) GetStatus() ContainerHealthCheckStatusEnum {
return m.Status
}
-//GetStatusDetails returns StatusDetails
+// GetStatusDetails returns StatusDetails
func (m containerhealthcheck) GetStatusDetails() *string {
return m.StatusDetails
}
-//GetFailureAction returns FailureAction
+// GetFailureAction returns FailureAction
func (m containerhealthcheck) GetFailureAction() ContainerHealthCheckFailureActionEnum {
return m.FailureAction
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_instance.go
index 75034693e92..647cc3b60c4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_instance.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_instance.go
@@ -171,7 +171,6 @@ func (m *ContainerInstance) UnmarshalJSON(data []byte) (e error) {
m.Volumes[i] = nil
}
}
-
m.VolumeCount = model.VolumeCount
m.TimeUpdated = model.TimeUpdated
@@ -192,7 +191,6 @@ func (m *ContainerInstance) UnmarshalJSON(data []byte) (e error) {
m.ImagePullSecrets[i] = nil
}
}
-
m.Id = model.Id
m.DisplayName = model.DisplayName
@@ -204,10 +202,7 @@ func (m *ContainerInstance) UnmarshalJSON(data []byte) (e error) {
m.LifecycleState = model.LifecycleState
m.Containers = make([]ContainerInstanceContainer, len(model.Containers))
- for i, n := range model.Containers {
- m.Containers[i] = n
- }
-
+ copy(m.Containers, model.Containers)
m.ContainerCount = model.ContainerCount
m.TimeCreated = model.TimeCreated
@@ -217,10 +212,7 @@ func (m *ContainerInstance) UnmarshalJSON(data []byte) (e error) {
m.ShapeConfig = model.ShapeConfig
m.Vnics = make([]ContainerVnic, len(model.Vnics))
- for i, n := range model.Vnics {
- m.Vnics[i] = n
- }
-
+ copy(m.Vnics, model.Vnics)
m.ContainerRestartPolicy = model.ContainerRestartPolicy
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_volume.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_volume.go
index 25465e03c7f..1669ee8b1fe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_volume.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/container_volume.go
@@ -70,7 +70,7 @@ func (m *containervolume) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetName returns Name
+// GetName returns Name
func (m containervolume) GetName() *string {
return m.Name
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/containerinstances_containerinstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/containerinstances_containerinstance_client.go
index decee894950..58055bce46d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/containerinstances_containerinstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/containerinstances_containerinstance_client.go
@@ -80,7 +80,7 @@ func (client *ContainerInstanceClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_details.go
index 91a50d4f165..cce171a6a46 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_details.go
@@ -121,24 +121,15 @@ func (m *CreateContainerDetails) UnmarshalJSON(data []byte) (e error) {
m.DisplayName = model.DisplayName
m.Command = make([]string, len(model.Command))
- for i, n := range model.Command {
- m.Command[i] = n
- }
-
+ copy(m.Command, model.Command)
m.Arguments = make([]string, len(model.Arguments))
- for i, n := range model.Arguments {
- m.Arguments[i] = n
- }
-
+ copy(m.Arguments, model.Arguments)
m.WorkingDirectory = model.WorkingDirectory
m.EnvironmentVariables = model.EnvironmentVariables
m.VolumeMounts = make([]CreateVolumeMountDetails, len(model.VolumeMounts))
- for i, n := range model.VolumeMounts {
- m.VolumeMounts[i] = n
- }
-
+ copy(m.VolumeMounts, model.VolumeMounts)
m.IsResourcePrincipalDisabled = model.IsResourcePrincipalDisabled
m.ResourceConfig = model.ResourceConfig
@@ -155,7 +146,6 @@ func (m *CreateContainerDetails) UnmarshalJSON(data []byte) (e error) {
m.HealthChecks[i] = nil
}
}
-
nn, e = model.SecurityContext.UnmarshalPolymorphicJSON(model.SecurityContext.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_health_check_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_health_check_details.go
index 7ee345d6b6e..c4da8f354e6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_health_check_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_health_check_details.go
@@ -104,37 +104,37 @@ func (m *createcontainerhealthcheckdetails) UnmarshalPolymorphicJSON(data []byte
}
}
-//GetName returns Name
+// GetName returns Name
func (m createcontainerhealthcheckdetails) GetName() *string {
return m.Name
}
-//GetInitialDelayInSeconds returns InitialDelayInSeconds
+// GetInitialDelayInSeconds returns InitialDelayInSeconds
func (m createcontainerhealthcheckdetails) GetInitialDelayInSeconds() *int {
return m.InitialDelayInSeconds
}
-//GetIntervalInSeconds returns IntervalInSeconds
+// GetIntervalInSeconds returns IntervalInSeconds
func (m createcontainerhealthcheckdetails) GetIntervalInSeconds() *int {
return m.IntervalInSeconds
}
-//GetFailureThreshold returns FailureThreshold
+// GetFailureThreshold returns FailureThreshold
func (m createcontainerhealthcheckdetails) GetFailureThreshold() *int {
return m.FailureThreshold
}
-//GetSuccessThreshold returns SuccessThreshold
+// GetSuccessThreshold returns SuccessThreshold
func (m createcontainerhealthcheckdetails) GetSuccessThreshold() *int {
return m.SuccessThreshold
}
-//GetTimeoutInSeconds returns TimeoutInSeconds
+// GetTimeoutInSeconds returns TimeoutInSeconds
func (m createcontainerhealthcheckdetails) GetTimeoutInSeconds() *int {
return m.TimeoutInSeconds
}
-//GetFailureAction returns FailureAction
+// GetFailureAction returns FailureAction
func (m createcontainerhealthcheckdetails) GetFailureAction() ContainerHealthCheckFailureActionEnum {
return m.FailureAction
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_instance_details.go
index 9fe36641405..53b8b01e90f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_instance_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_instance_details.go
@@ -127,7 +127,6 @@ func (m *CreateContainerInstanceDetails) UnmarshalJSON(data []byte) (e error) {
m.Volumes[i] = nil
}
}
-
m.DnsConfig = model.DnsConfig
m.GracefulShutdownTimeoutInSeconds = model.GracefulShutdownTimeoutInSeconds
@@ -144,7 +143,6 @@ func (m *CreateContainerInstanceDetails) UnmarshalJSON(data []byte) (e error) {
m.ImagePullSecrets[i] = nil
}
}
-
m.ContainerRestartPolicy = model.ContainerRestartPolicy
m.FreeformTags = model.FreeformTags
@@ -160,14 +158,8 @@ func (m *CreateContainerInstanceDetails) UnmarshalJSON(data []byte) (e error) {
m.ShapeConfig = model.ShapeConfig
m.Containers = make([]CreateContainerDetails, len(model.Containers))
- for i, n := range model.Containers {
- m.Containers[i] = n
- }
-
+ copy(m.Containers, model.Containers)
m.Vnics = make([]CreateContainerVnicDetails, len(model.Vnics))
- for i, n := range model.Vnics {
- m.Vnics[i] = n
- }
-
+ copy(m.Vnics, model.Vnics)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_volume_details.go
index 7de642b9a38..af1e3126b33 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_container_volume_details.go
@@ -70,7 +70,7 @@ func (m *createcontainervolumedetails) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetName returns Name
+// GetName returns Name
func (m createcontainervolumedetails) GetName() *string {
return m.Name
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_image_pull_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_image_pull_secret_details.go
index a47fb8e75c6..4a8c329b270 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_image_pull_secret_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/create_image_pull_secret_details.go
@@ -69,7 +69,7 @@ func (m *createimagepullsecretdetails) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetRegistryEndpoint returns RegistryEndpoint
+// GetRegistryEndpoint returns RegistryEndpoint
func (m createimagepullsecretdetails) GetRegistryEndpoint() *string {
return m.RegistryEndpoint
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/image_pull_secret.go b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/image_pull_secret.go
index 08f77fb9946..f283c1c6dd2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/image_pull_secret.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/containerinstances/image_pull_secret.go
@@ -69,7 +69,7 @@ func (m *imagepullsecret) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetRegistryEndpoint returns RegistryEndpoint
+// GetRegistryEndpoint returns RegistryEndpoint
func (m imagepullsecret) GetRegistryEndpoint() *string {
return m.RegistryEndpoint
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go
index d615fd3d0b9..b1756228db4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/add_drg_route_distribution_statement_details.go
@@ -83,7 +83,6 @@ func (m *AddDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte) (e
m.MatchCriteria[i] = nil
}
}
-
m.Action = model.Action
m.Priority = model.Priority
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go
index 11857a7479e..6ecf57ee9cc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type AmdMilanBmGpuLaunchInstancePlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go
index 9f5865f36f2..808b9d28105 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_gpu_platform_config.go
@@ -57,6 +57,9 @@ type AmdMilanBmGpuPlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdMilanBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go
index 6aaba54d460..f3ff83a9e58 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_launch_instance_platform_config.go
@@ -65,6 +65,9 @@ type AmdMilanBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go
index fe9a6ec96a5..ab0a3b8abe5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_milan_bm_platform_config.go
@@ -65,6 +65,9 @@ type AmdMilanBmPlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdMilanBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go
index fffc58eec7a..4e83514f753 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type AmdRomeBmGpuLaunchInstancePlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go
index 4ca90734059..60343228d9c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_gpu_platform_config.go
@@ -57,6 +57,9 @@ type AmdRomeBmGpuPlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdRomeBmGpuPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go
index a7e79f10ed9..9b51c6c4f05 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_launch_instance_platform_config.go
@@ -65,6 +65,9 @@ type AmdRomeBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go
index 1d8f02bd649..a756f8f513d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/amd_rome_bm_platform_config.go
@@ -64,6 +64,9 @@ type AmdRomeBmPlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket AmdRomeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go
index 51e891a9667..c9a3f9bdf64 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/attach_volume_details.go
@@ -50,12 +50,12 @@ type AttachVolumeDetails interface {
type attachvolumedetails struct {
JsonData []byte
- InstanceId *string `mandatory:"true" json:"instanceId"`
- VolumeId *string `mandatory:"true" json:"volumeId"`
Device *string `mandatory:"false" json:"device"`
DisplayName *string `mandatory:"false" json:"displayName"`
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
IsShareable *bool `mandatory:"false" json:"isShareable"`
+ InstanceId *string `mandatory:"true" json:"instanceId"`
+ VolumeId *string `mandatory:"true" json:"volumeId"`
Type string `json:"type"`
}
@@ -112,36 +112,36 @@ func (m *attachvolumedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetInstanceId returns InstanceId
-func (m attachvolumedetails) GetInstanceId() *string {
- return m.InstanceId
-}
-
-//GetVolumeId returns VolumeId
-func (m attachvolumedetails) GetVolumeId() *string {
- return m.VolumeId
-}
-
-//GetDevice returns Device
+// GetDevice returns Device
func (m attachvolumedetails) GetDevice() *string {
return m.Device
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m attachvolumedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsReadOnly returns IsReadOnly
+// GetIsReadOnly returns IsReadOnly
func (m attachvolumedetails) GetIsReadOnly() *bool {
return m.IsReadOnly
}
-//GetIsShareable returns IsShareable
+// GetIsShareable returns IsShareable
func (m attachvolumedetails) GetIsShareable() *bool {
return m.IsShareable
}
+// GetInstanceId returns InstanceId
+func (m attachvolumedetails) GetInstanceId() *string {
+ return m.InstanceId
+}
+
+// GetVolumeId returns VolumeId
+func (m attachvolumedetails) GetVolumeId() *string {
+ return m.VolumeId
+}
+
func (m attachvolumedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go
index 21add48e6a3..da19cea90ed 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/boot_volume.go
@@ -197,10 +197,7 @@ func (m *BootVolume) UnmarshalJSON(data []byte) (e error) {
m.AutoTunedVpusPerGB = model.AutoTunedVpusPerGB
m.BootVolumeReplicas = make([]BootVolumeReplicaInfo, len(model.BootVolumeReplicas))
- for i, n := range model.BootVolumeReplicas {
- m.BootVolumeReplicas[i] = n
- }
-
+ copy(m.BootVolumeReplicas, model.BootVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -213,7 +210,6 @@ func (m *BootVolume) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
m.AvailabilityDomain = model.AvailabilityDomain
m.CompartmentId = model.CompartmentId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go
index f8afe72646d..200512cfce5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/capture_filter.go
@@ -21,8 +21,9 @@ import (
"strings"
)
-// CaptureFilter A capture filter contains a set of *CaptureFilterRuleDetails* governing what traffic a *Vtap* mirrors.
-// The capture filter is created with no rules defined, and it must have at least one rule for the VTAP to start mirroring traffic.
+// CaptureFilter A capture filter contains a set of *CaptureFilterRuleDetails* governing what traffic is
+// mirrored for a *Vtap* or captured for a *VCN Flow Log (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/vcn-flow-logs.htm)*.
+// The capture filter is created with no rules defined, and it must have at least one rule to mirror traffic for the VTAP or collect VCN flow logs.
type CaptureFilter struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go
index 883b8d2c8ec..21f9e75c1af 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/change_capture_filter_compartment_details.go
@@ -21,7 +21,7 @@ import (
"strings"
)
-// ChangeCaptureFilterCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a virtual test access point (VTAP) capture filter.
+// ChangeCaptureFilterCompartmentDetails These configuration details are used in the move operation when changing the compartment containing a capture filter.
type ChangeCaptureFilterCompartmentDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the destination compartment for the VTAP
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go
index 4e8d57f97df..54febd508b9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cluster_network_placement_configuration_details.go
@@ -28,13 +28,15 @@ type ClusterNetworkPlacementConfigurationDetails struct {
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place
- // instances.
- PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"`
-
// The placement constraint when reserving hosts.
PlacementConstraint ClusterNetworkPlacementConfigurationDetailsPlacementConstraintEnum `mandatory:"false" json:"placementConstraint,omitempty"`
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet to place instances. This field is deprecated.
+ // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
+ PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`
+
+ PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`
+
// The set of secondary VNIC data for instances in the pool.
SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go
index d72f41063b8..894b03573a7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_blockstorage_client.go
@@ -86,7 +86,7 @@ func (client *BlockstorageClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go
index 114a832779e..3451c7e7ee4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_compute_client.go
@@ -84,7 +84,7 @@ func (client *ComputeClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go
index 14594dd83b4..04219c9a5e3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_computemanagement_client.go
@@ -86,7 +86,7 @@ func (client *ComputeManagementClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go
index fe999c930b5..3510649e506 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/core_virtualnetwork_client.go
@@ -86,7 +86,7 @@ func (client *VirtualNetworkClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
@@ -11713,6 +11713,64 @@ func (client VirtualNetworkClient) listVcns(ctx context.Context, request common.
return response, err
}
+// ListVirtualCircuitAssociatedTunnels Gets the specified virtual circuit's associatedTunnelsInfo.
+//
+// See also
+//
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnels API.
+// A default retry strategy applies to this operation ListVirtualCircuitAssociatedTunnels()
+func (client VirtualNetworkClient) ListVirtualCircuitAssociatedTunnels(ctx context.Context, request ListVirtualCircuitAssociatedTunnelsRequest) (response ListVirtualCircuitAssociatedTunnelsResponse, 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.listVirtualCircuitAssociatedTunnels, policy)
+ if err != nil {
+ if ociResponse != nil {
+ if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
+ opcRequestId := httpResponse.Header.Get("opc-request-id")
+ response = ListVirtualCircuitAssociatedTunnelsResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
+ } else {
+ response = ListVirtualCircuitAssociatedTunnelsResponse{}
+ }
+ }
+ return
+ }
+ if convertedResponse, ok := ociResponse.(ListVirtualCircuitAssociatedTunnelsResponse); ok {
+ response = convertedResponse
+ } else {
+ err = fmt.Errorf("failed to convert OCIResponse into ListVirtualCircuitAssociatedTunnelsResponse")
+ }
+ return
+}
+
+// listVirtualCircuitAssociatedTunnels implements the OCIOperation interface (enables retrying operations)
+func (client VirtualNetworkClient) listVirtualCircuitAssociatedTunnels(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
+
+ httpRequest, err := request.HTTPRequest(http.MethodGet, "/virtualCircuits/{virtualCircuitId}/associatedTunnels", binaryReqBody, extraHeaders)
+ if err != nil {
+ return nil, err
+ }
+
+ var response ListVirtualCircuitAssociatedTunnelsResponse
+ 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/iaas/20160918/VirtualCircuitAssociatedTunnelDetails/ListVirtualCircuitAssociatedTunnels"
+ err = common.PostProcessServiceError(err, "VirtualNetwork", "ListVirtualCircuitAssociatedTunnels", apiReferenceLink)
+ return response, err
+ }
+
+ err = common.UnmarshalResponse(httpResponse, &response)
+ return response, err
+}
+
// ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment).
//
// See also
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go
index ed42d02df76..5304fc0f4aa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/cpe.go
@@ -71,6 +71,9 @@ type Cpe struct {
// The date and time the CPE was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2016-08-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+
+ // Indicates whether this CPE is of type `private` or not.
+ IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}
func (m Cpe) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go
index dda01894023..081f182c6c7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_boot_volume_details.go
@@ -139,10 +139,7 @@ func (m *CreateBootVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.IsAutoTuneEnabled = model.IsAutoTuneEnabled
m.BootVolumeReplicas = make([]BootVolumeReplicaDetails, len(model.BootVolumeReplicas))
- for i, n := range model.BootVolumeReplicas {
- m.BootVolumeReplicas[i] = n
- }
-
+ copy(m.BootVolumeReplicas, model.BootVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -155,7 +152,6 @@ func (m *CreateBootVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
nn, e = model.SourceDetails.UnmarshalPolymorphicJSON(model.SourceDetails.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go
index d7adaa104e6..5ff6cabb341 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_capture_filter_details.go
@@ -21,7 +21,7 @@ import (
"strings"
)
-// CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors.
+// CreateCaptureFilterDetails A capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects.
type CreateCaptureFilterDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the capture filter.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go
index 94545f5cf46..97d035f710f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_cpe_details.go
@@ -56,6 +56,9 @@ type CreateCpeDetails struct {
// * GetTunnelCpeDeviceConfigContent
// * GetTunnelCpeDeviceConfig
CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`
+
+ // Indicates whether this CPE is of type `private` or not.
+ IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}
func (m CreateCpeDetails) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go
index d3477a1e41a..875c7c30ad2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_dhcp_details.go
@@ -110,7 +110,6 @@ func (m *CreateDhcpDetails) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.VcnId = model.VcnId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go
index 8929eee6e63..e49a2e924b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_configuration_base.go
@@ -46,10 +46,10 @@ type CreateInstanceConfigurationBase interface {
type createinstanceconfigurationbase struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Source string `json:"source"`
}
@@ -96,26 +96,26 @@ func (m *createinstanceconfigurationbase) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetCompartmentId returns CompartmentId
-func (m createinstanceconfigurationbase) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createinstanceconfigurationbase) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createinstanceconfigurationbase) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createinstanceconfigurationbase) GetFreeformTags() map[string]string {
return m.FreeformTags
}
+// GetCompartmentId returns CompartmentId
+func (m createinstanceconfigurationbase) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createinstanceconfigurationbase) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go
index bf38a37ed1c..2a486971b16 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_instance_pool_placement_configuration_details.go
@@ -28,10 +28,6 @@ type CreateInstancePoolPlacementConfigurationDetails struct {
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place
- // instances.
- PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"`
-
// The fault domains to place instances.
// If you don't provide any values, the system makes a best effort to distribute
// instances across all fault domains based on capacity.
@@ -44,6 +40,12 @@ type CreateInstancePoolPlacementConfigurationDetails struct {
// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
FaultDomains []string `mandatory:"false" json:"faultDomains"`
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
+ // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
+ PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`
+
+ PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`
+
// The set of secondary VNIC data for instances in the pool.
SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go
index 82f16d410c5..d3d4c37458d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_ip_sec_connection_tunnel_details.go
@@ -59,6 +59,16 @@ type CreateIpSecConnectionTunnelDetails struct {
DpdConfig *DpdConfig `mandatory:"false" json:"dpdConfig"`
+ // The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.
+ OracleTunnelIp *string `mandatory:"false" json:"oracleTunnelIp"`
+
+ // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
+ AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment.
+ // The DRG route table manages traffic inside the DRG.
+ DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`
+
EncryptionDomainConfig *CreateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go
index 5c02b1b0177..aa1cc2ff48f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_macsec_properties.go
@@ -31,6 +31,9 @@ type CreateMacsecProperties struct {
// Type of encryption cipher suite to use for the MACsec connection.
EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`
+
+ // Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
+ IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}
func (m CreateMacsecProperties) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go
index 5e6ff90db9b..b7c148d853c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_virtual_circuit_details.go
@@ -54,6 +54,9 @@ type CreateVirtualCircuitDetails struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go
index fd4d3b7d4e6..3fb456c6f4d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_vnic_details.go
@@ -27,6 +27,13 @@ import (
// Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm).
type CreateVnicDetails struct {
+ // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
+ // subnet. Default: False. When provided you may optionally provide an IPv6 prefix
+ // (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
+ // is not provided then an IPv6 prefix is chosen
+ // for you.
+ AssignIpv6Ip *bool `mandatory:"false" json:"assignIpv6Ip"`
+
// Whether the VNIC should be assigned a public IP address. Defaults to whether
// the subnet is public or private. If not set and the VNIC is being created
// in a private subnet (that is, where `prohibitPublicIpOnVnic` = true in the
@@ -89,6 +96,12 @@ type CreateVnicDetails struct {
// can not be assigned a hostname. See Vlan.
HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`
+ // A list of IPv6 prefix ranges from which the VNIC is assigned an IPv6 address.
+ // You can provide only the prefix ranges from which OCI selects an available
+ // address from the range. You can optionally choose to leave the prefix range empty
+ // and instead provide the specific IPv6 address within that range to use.
+ Ipv6AddressIpv6SubnetCidrPairDetails []Ipv6AddressIpv6SubnetCidrPairDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
+
// A list of the OCIDs of the network security groups (NSGs) to add the VNIC to. For more
// information about NSGs, see
// NetworkSecurityGroup.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go
index 224f06193fb..e211dd4ceca 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_details.go
@@ -166,10 +166,7 @@ func (m *CreateVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.IsAutoTuneEnabled = model.IsAutoTuneEnabled
m.BlockVolumeReplicas = make([]BlockVolumeReplicaDetails, len(model.BlockVolumeReplicas))
- for i, n := range model.BlockVolumeReplicas {
- m.BlockVolumeReplicas[i] = n
- }
-
+ copy(m.BlockVolumeReplicas, model.BlockVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -182,7 +179,6 @@ func (m *CreateVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go
index 8ff819512e0..2d18bb43877 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/create_volume_group_details.go
@@ -99,10 +99,7 @@ func (m *CreateVolumeGroupDetails) UnmarshalJSON(data []byte) (e error) {
m.FreeformTags = model.FreeformTags
m.VolumeGroupReplicas = make([]VolumeGroupReplicaDetails, len(model.VolumeGroupReplicas))
- for i, n := range model.VolumeGroupReplicas {
- m.VolumeGroupReplicas[i] = n
- }
-
+ copy(m.VolumeGroupReplicas, model.VolumeGroupReplicas)
m.AvailabilityDomain = model.AvailabilityDomain
m.CompartmentId = model.CompartmentId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go
index 8a288fd09b6..a9866504abe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/dhcp_options.go
@@ -140,7 +140,6 @@ func (m *DhcpOptions) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.TimeCreated = model.TimeCreated
m.VcnId = model.VcnId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go
index 6e1e3273fd0..cef401e927e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_create_details.go
@@ -31,7 +31,7 @@ type DrgAttachmentNetworkCreateDetails interface {
type drgattachmentnetworkcreatedetails struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
Type string `json:"type"`
}
@@ -71,7 +71,7 @@ func (m *drgattachmentnetworkcreatedetails) UnmarshalPolymorphicJSON(data []byte
}
}
-//GetId returns Id
+// GetId returns Id
func (m drgattachmentnetworkcreatedetails) GetId() *string {
return m.Id
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go
index 098c58a6835..a9c0445ea16 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_attachment_network_details.go
@@ -31,7 +31,7 @@ type DrgAttachmentNetworkDetails interface {
type drgattachmentnetworkdetails struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
Type string `json:"type"`
}
@@ -65,6 +65,10 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int
mm := VcnDrgAttachmentNetworkDetails{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "LOOPBACK":
+ mm := LoopBackDrgAttachmentNetworkDetails{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
case "IPSEC_TUNNEL":
mm := IpsecTunnelDrgAttachmentNetworkDetails{}
err = json.Unmarshal(data, &mm)
@@ -83,7 +87,7 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetId returns Id
+// GetId returns Id
func (m drgattachmentnetworkdetails) GetId() *string {
return m.Id
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go
index fa9d54637dc..3e04abb2bce 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/drg_route_distribution_statement.go
@@ -90,7 +90,6 @@ func (m *DrgRouteDistributionStatement) UnmarshalJSON(data []byte) (e error) {
m.MatchCriteria[i] = nil
}
}
-
m.Action = model.Action
m.Priority = model.Priority
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go
index c39bee8ed14..2c8b30b6877 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/export_image_details.go
@@ -88,7 +88,7 @@ func (m *exportimagedetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetExportFormat returns ExportFormat
+// GetExportFormat returns ExportFormat
func (m exportimagedetails) GetExportFormat() ExportImageDetailsExportFormatEnum {
return m.ExportFormat
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go
new file mode 100644
index 00000000000..e6c023c0725
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_launch_instance_platform_config.go
@@ -0,0 +1,175 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// GenericBmLaunchInstancePlatformConfig The standard platform configuration to be used when launching a bare metal instance.
+type GenericBmLaunchInstancePlatformConfig struct {
+
+ // Whether Secure Boot is enabled on the instance.
+ IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`
+
+ // Whether the Trusted Platform Module (TPM) is enabled on the instance.
+ IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`
+
+ // Whether the Measured Boot feature is enabled on the instance.
+ IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`
+
+ // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
+ IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the Access Control Service is enabled on the instance. When enabled,
+ // the platform can enforce PCIe device isolation, required for VFIO device pass-through.
+ IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`
+
+ // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
+ // or VT-x for Intel shapes.
+ AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
+}
+
+//GetIsSecureBootEnabled returns IsSecureBootEnabled
+func (m GenericBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool {
+ return m.IsSecureBootEnabled
+}
+
+//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+func (m GenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool {
+ return m.IsTrustedPlatformModuleEnabled
+}
+
+//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+func (m GenericBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool {
+ return m.IsMeasuredBootEnabled
+}
+
+//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+func (m GenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool {
+ return m.IsMemoryEncryptionEnabled
+}
+
+func (m GenericBmLaunchInstancePlatformConfig) 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 GenericBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if _, ok := GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// MarshalJSON marshals to json representation
+func (m GenericBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeGenericBmLaunchInstancePlatformConfig GenericBmLaunchInstancePlatformConfig
+ s := struct {
+ DiscriminatorParam string `json:"type"`
+ MarshalTypeGenericBmLaunchInstancePlatformConfig
+ }{
+ "GENERIC_BM",
+ (MarshalTypeGenericBmLaunchInstancePlatformConfig)(m),
+ }
+
+ return json.Marshal(&s)
+}
+
+// GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+const (
+ GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
+ GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
+ GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
+)
+
+var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "NPS0": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0,
+ "NPS1": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+ "NPS4": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4,
+}
+
+var mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "nps0": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0,
+ "nps1": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "nps2": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+ "nps4": GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4,
+}
+
+// GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values := make([]GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS0",
+ "NPS1",
+ "NPS2",
+ "NPS4",
+ }
+}
+
+// GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (GenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go
new file mode 100644
index 00000000000..65e954a8096
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/generic_bm_platform_config.go
@@ -0,0 +1,175 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// GenericBmPlatformConfig The standard platform configuration of a bare metal instance.
+type GenericBmPlatformConfig struct {
+
+ // Whether Secure Boot is enabled on the instance.
+ IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`
+
+ // Whether the Trusted Platform Module (TPM) is enabled on the instance.
+ IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`
+
+ // Whether the Measured Boot feature is enabled on the instance.
+ IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`
+
+ // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
+ IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the Access Control Service is enabled on the instance. When enabled,
+ // the platform can enforce PCIe device isolation, required for VFIO device pass-through.
+ IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`
+
+ // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
+ // or VT-x for Intel shapes.
+ AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket GenericBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
+}
+
+//GetIsSecureBootEnabled returns IsSecureBootEnabled
+func (m GenericBmPlatformConfig) GetIsSecureBootEnabled() *bool {
+ return m.IsSecureBootEnabled
+}
+
+//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+func (m GenericBmPlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool {
+ return m.IsTrustedPlatformModuleEnabled
+}
+
+//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+func (m GenericBmPlatformConfig) GetIsMeasuredBootEnabled() *bool {
+ return m.IsMeasuredBootEnabled
+}
+
+//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+func (m GenericBmPlatformConfig) GetIsMemoryEncryptionEnabled() *bool {
+ return m.IsMemoryEncryptionEnabled
+}
+
+func (m GenericBmPlatformConfig) 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 GenericBmPlatformConfig) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if _, ok := GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// MarshalJSON marshals to json representation
+func (m GenericBmPlatformConfig) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeGenericBmPlatformConfig GenericBmPlatformConfig
+ s := struct {
+ DiscriminatorParam string `json:"type"`
+ MarshalTypeGenericBmPlatformConfig
+ }{
+ "GENERIC_BM",
+ (MarshalTypeGenericBmPlatformConfig)(m),
+ }
+
+ return json.Marshal(&s)
+}
+
+// GenericBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type GenericBmPlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for GenericBmPlatformConfigNumaNodesPerSocketEnum
+const (
+ GenericBmPlatformConfigNumaNodesPerSocketNps0 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS0"
+ GenericBmPlatformConfigNumaNodesPerSocketNps1 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ GenericBmPlatformConfigNumaNodesPerSocketNps2 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
+ GenericBmPlatformConfigNumaNodesPerSocketNps4 GenericBmPlatformConfigNumaNodesPerSocketEnum = "NPS4"
+)
+
+var mappingGenericBmPlatformConfigNumaNodesPerSocketEnum = map[string]GenericBmPlatformConfigNumaNodesPerSocketEnum{
+ "NPS0": GenericBmPlatformConfigNumaNodesPerSocketNps0,
+ "NPS1": GenericBmPlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": GenericBmPlatformConfigNumaNodesPerSocketNps2,
+ "NPS4": GenericBmPlatformConfigNumaNodesPerSocketNps4,
+}
+
+var mappingGenericBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]GenericBmPlatformConfigNumaNodesPerSocketEnum{
+ "nps0": GenericBmPlatformConfigNumaNodesPerSocketNps0,
+ "nps1": GenericBmPlatformConfigNumaNodesPerSocketNps1,
+ "nps2": GenericBmPlatformConfigNumaNodesPerSocketNps2,
+ "nps4": GenericBmPlatformConfigNumaNodesPerSocketNps4,
+}
+
+// GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for GenericBmPlatformConfigNumaNodesPerSocketEnum
+func GetGenericBmPlatformConfigNumaNodesPerSocketEnumValues() []GenericBmPlatformConfigNumaNodesPerSocketEnum {
+ values := make([]GenericBmPlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingGenericBmPlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for GenericBmPlatformConfigNumaNodesPerSocketEnum
+func GetGenericBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS0",
+ "NPS1",
+ "NPS2",
+ "NPS4",
+ }
+}
+
+// GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingGenericBmPlatformConfigNumaNodesPerSocketEnum(val string) (GenericBmPlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingGenericBmPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go
index 013c13005f6..e90927a87c0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_capability_schema_descriptor.go
@@ -77,7 +77,7 @@ func (m *imagecapabilityschemadescriptor) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetSource returns Source
+// GetSource returns Source
func (m imagecapabilityschemadescriptor) GetSource() ImageCapabilitySchemaDescriptorSourceEnum {
return m.Source
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go
index 655a7797842..586bc4f70e3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/image_source_details.go
@@ -83,17 +83,17 @@ func (m *imagesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetOperatingSystem returns OperatingSystem
+// GetOperatingSystem returns OperatingSystem
func (m imagesourcedetails) GetOperatingSystem() *string {
return m.OperatingSystem
}
-//GetOperatingSystemVersion returns OperatingSystemVersion
+// GetOperatingSystemVersion returns OperatingSystemVersion
func (m imagesourcedetails) GetOperatingSystemVersion() *string {
return m.OperatingSystemVersion
}
-//GetSourceImageType returns SourceImageType
+// GetSourceImageType returns SourceImageType
func (m imagesourcedetails) GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum {
return m.SourceImageType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go
index fe1d4d07ae1..a935f1452d9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration.go
@@ -111,10 +111,7 @@ func (m *InstanceConfiguration) UnmarshalJSON(data []byte) (e error) {
}
m.DeferredFields = make([]string, len(model.DeferredFields))
- for i, n := range model.DeferredFields {
- m.DeferredFields[i] = n
- }
-
+ copy(m.DeferredFields, model.DeferredFields)
m.CompartmentId = model.CompartmentId
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go
index a5ba5d15c1e..4a5a8c289c2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_gpu_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket InstanceConfigurationAmdMilanBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go
index 581236c5bb4..1ae553c1d73 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_milan_bm_launch_instance_platform_config.go
@@ -65,6 +65,9 @@ type InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go
index 0defe348cdf..6ee20b349d7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_gpu_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfig struct {
// Whether the input-output memory management unit is enabled.
IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket InstanceConfigurationAmdRomeBmGpuLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go
index 3d0cc25faa9..d58454726b7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_amd_rome_bm_launch_instance_platform_config.go
@@ -65,6 +65,9 @@ type InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go
index 9aa9fb87592..d18cf4d505a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_attach_volume_details.go
@@ -94,22 +94,22 @@ func (m *instanceconfigurationattachvolumedetails) UnmarshalPolymorphicJSON(data
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m instanceconfigurationattachvolumedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsReadOnly returns IsReadOnly
+// GetIsReadOnly returns IsReadOnly
func (m instanceconfigurationattachvolumedetails) GetIsReadOnly() *bool {
return m.IsReadOnly
}
-//GetDevice returns Device
+// GetDevice returns Device
func (m instanceconfigurationattachvolumedetails) GetDevice() *string {
return m.Device
}
-//GetIsShareable returns IsShareable
+// GetIsShareable returns IsShareable
func (m instanceconfigurationattachvolumedetails) GetIsShareable() *bool {
return m.IsShareable
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go
index a846373b4d2..d8fe767ed63 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_vnic_details.go
@@ -25,6 +25,13 @@ import (
// and Instance Configurations (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm#config) for more information.
type InstanceConfigurationCreateVnicDetails struct {
+ // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
+ // subnet. Default: False. When provided you may optionally provide an IPv6 prefix
+ // (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
+ // is not provided then an IPv6 prefix is chosen
+ // for you.
+ AssignIpv6Ip *bool `mandatory:"false" json:"assignIpv6Ip"`
+
// Whether the VNIC should be assigned a public IP address. See the `assignPublicIp` attribute of CreateVnicDetails
// for more information.
AssignPublicIp *bool `mandatory:"false" json:"assignPublicIp"`
@@ -47,6 +54,12 @@ type InstanceConfigurationCreateVnicDetails struct {
// Example: `{"Department": "Finance"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ // A list of IPv6 prefixes from which the VNIC should be assigned an IPv6 address.
+ // You can provide only the prefix and OCI selects an available
+ // address from the range. You can optionally choose to leave the prefix range empty
+ // and instead provide the specific IPv6 address that should be used from within that range.
+ Ipv6AddressIpv6SubnetCidrPairDetails []InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
+
// The hostname for the VNIC's primary private IP.
// See the `hostnameLabel` attribute of CreateVnicDetails for more information.
HostnameLabel *string `mandatory:"false" json:"hostnameLabel"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go
index 8dcc0f45f68..5e0fc3cb7a3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_create_volume_details.go
@@ -130,10 +130,7 @@ func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e
m.IsAutoTuneEnabled = model.IsAutoTuneEnabled
m.BlockVolumeReplicas = make([]InstanceConfigurationBlockVolumeReplicaDetails, len(model.BlockVolumeReplicas))
- for i, n := range model.BlockVolumeReplicas {
- m.BlockVolumeReplicas[i] = n
- }
-
+ copy(m.BlockVolumeReplicas, model.BlockVolumeReplicas)
m.DefinedTags = model.DefinedTags
m.DisplayName = model.DisplayName
@@ -168,6 +165,5 @@ func (m *InstanceConfigurationCreateVolumeDetails) UnmarshalJSON(data []byte) (e
m.AutotunePolicies[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go
new file mode 100644
index 00000000000..fee1e028e18
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_generic_bm_launch_instance_platform_config.go
@@ -0,0 +1,175 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// InstanceConfigurationGenericBmLaunchInstancePlatformConfig The standard platform configuration to be used when launching a bare metal instance.
+type InstanceConfigurationGenericBmLaunchInstancePlatformConfig struct {
+
+ // Whether Secure Boot is enabled on the instance.
+ IsSecureBootEnabled *bool `mandatory:"false" json:"isSecureBootEnabled"`
+
+ // Whether the Trusted Platform Module (TPM) is enabled on the instance.
+ IsTrustedPlatformModuleEnabled *bool `mandatory:"false" json:"isTrustedPlatformModuleEnabled"`
+
+ // Whether the Measured Boot feature is enabled on the instance.
+ IsMeasuredBootEnabled *bool `mandatory:"false" json:"isMeasuredBootEnabled"`
+
+ // Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
+ IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the Access Control Service is enabled on the instance. When enabled,
+ // the platform can enforce PCIe device isolation, required for VFIO device pass-through.
+ IsAccessControlServiceEnabled *bool `mandatory:"false" json:"isAccessControlServiceEnabled"`
+
+ // Whether virtualization instructions are available. For example, Secure Virtual Machine for AMD shapes
+ // or VT-x for Intel shapes.
+ AreVirtualInstructionsEnabled *bool `mandatory:"false" json:"areVirtualInstructionsEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
+}
+
+//GetIsSecureBootEnabled returns IsSecureBootEnabled
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsSecureBootEnabled() *bool {
+ return m.IsSecureBootEnabled
+}
+
+//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsTrustedPlatformModuleEnabled() *bool {
+ return m.IsTrustedPlatformModuleEnabled
+}
+
+//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsMeasuredBootEnabled() *bool {
+ return m.IsMeasuredBootEnabled
+}
+
+//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) GetIsMemoryEncryptionEnabled() *bool {
+ return m.IsMemoryEncryptionEnabled
+}
+
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) 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 InstanceConfigurationGenericBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if _, ok := GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// MarshalJSON marshals to json representation
+func (m InstanceConfigurationGenericBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeInstanceConfigurationGenericBmLaunchInstancePlatformConfig InstanceConfigurationGenericBmLaunchInstancePlatformConfig
+ s := struct {
+ DiscriminatorParam string `json:"type"`
+ MarshalTypeInstanceConfigurationGenericBmLaunchInstancePlatformConfig
+ }{
+ "GENERIC_BM",
+ (MarshalTypeInstanceConfigurationGenericBmLaunchInstancePlatformConfig)(m),
+ }
+
+ return json.Marshal(&s)
+}
+
+// InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+const (
+ InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS0"
+ InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
+ InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4 InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS4"
+)
+
+var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "NPS0": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0,
+ "NPS1": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+ "NPS4": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4,
+}
+
+var mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "nps0": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps0,
+ "nps1": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "nps2": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+ "nps4": InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketNps4,
+}
+
+// GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values := make([]InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS0",
+ "NPS1",
+ "NPS2",
+ "NPS4",
+ }
+}
+
+// GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingInstanceConfigurationGenericBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go
index 7c922ae4f89..5fab63ed86c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_icelake_bm_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go
index d6cb22ca659..d74b0644e7a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_intel_skylake_bm_launch_instance_platform_config.go
@@ -37,6 +37,31 @@ type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig struct {
// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
//GetIsSecureBootEnabled returns IsSecureBootEnabled
@@ -68,6 +93,9 @@ func (m InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) String(
// Not recommended for calling this function directly
func (m InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) {
errMessage := []string{}
+ if _, ok := GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -88,3 +116,45 @@ func (m InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfig) Marshal
return json.Marshal(&s)
}
+
+// InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+const (
+ InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
+)
+
+var mappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "NPS1": InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+}
+
+var mappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "nps1": InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "nps2": InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+}
+
+// GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values := make([]InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS1",
+ "NPS2",
+ }
+}
+
+// GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (InstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingInstanceConfigurationIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go
new file mode 100644
index 00000000000..32511997b85
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_ipv6_address_ipv6_subnet_cidr_pair_details.go
@@ -0,0 +1,48 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.
+type InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails struct {
+
+ // Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
+ Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`
+
+ // Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned).
+ Ipv6Address *string `mandatory:"false" json:"ipv6Address"`
+}
+
+func (m InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails) 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 InstanceConfigurationIpv6AddressIpv6SubnetCidrPairDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go
index 218bb10180d..eeee014c2ea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_configuration_launch_instance_platform_config.go
@@ -97,6 +97,10 @@ func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphic
mm := InstanceConfigurationIntelIcelakeBmLaunchInstancePlatformConfig{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "GENERIC_BM":
+ mm := InstanceConfigurationGenericBmLaunchInstancePlatformConfig{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
case "AMD_ROME_BM":
mm := InstanceConfigurationAmdRomeBmLaunchInstancePlatformConfig{}
err = json.Unmarshal(data, &mm)
@@ -119,22 +123,22 @@ func (m *instanceconfigurationlaunchinstanceplatformconfig) UnmarshalPolymorphic
}
}
-//GetIsSecureBootEnabled returns IsSecureBootEnabled
+// GetIsSecureBootEnabled returns IsSecureBootEnabled
func (m instanceconfigurationlaunchinstanceplatformconfig) GetIsSecureBootEnabled() *bool {
return m.IsSecureBootEnabled
}
-//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
func (m instanceconfigurationlaunchinstanceplatformconfig) GetIsTrustedPlatformModuleEnabled() *bool {
return m.IsTrustedPlatformModuleEnabled
}
-//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
func (m instanceconfigurationlaunchinstanceplatformconfig) GetIsMeasuredBootEnabled() *bool {
return m.IsMeasuredBootEnabled
}
-//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
func (m instanceconfigurationlaunchinstanceplatformconfig) GetIsMemoryEncryptionEnabled() *bool {
return m.IsMemoryEncryptionEnabled
}
@@ -164,6 +168,7 @@ const (
InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM"
InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
+ InstanceConfigurationLaunchInstancePlatformConfigTypeGenericBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "GENERIC_BM"
InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm InstanceConfigurationLaunchInstancePlatformConfigTypeEnum = "AMD_VM"
@@ -175,6 +180,7 @@ var mappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnum = map[strin
"AMD_MILAN_BM_GPU": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu,
"AMD_ROME_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm,
"AMD_ROME_BM_GPU": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu,
+ "GENERIC_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeGenericBm,
"INTEL_ICELAKE_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm,
"INTEL_SKYLAKE_BM": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm,
"AMD_VM": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm,
@@ -186,6 +192,7 @@ var mappingInstanceConfigurationLaunchInstancePlatformConfigTypeEnumLowerCase =
"amd_milan_bm_gpu": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdMilanBmGpu,
"amd_rome_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBm,
"amd_rome_bm_gpu": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdRomeBmGpu,
+ "generic_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeGenericBm,
"intel_icelake_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelIcelakeBm,
"intel_skylake_bm": InstanceConfigurationLaunchInstancePlatformConfigTypeIntelSkylakeBm,
"amd_vm": InstanceConfigurationLaunchInstancePlatformConfigTypeAmdVm,
@@ -208,6 +215,7 @@ func GetInstanceConfigurationLaunchInstancePlatformConfigTypeEnumStringValues()
"AMD_MILAN_BM_GPU",
"AMD_ROME_BM",
"AMD_ROME_BM_GPU",
+ "GENERIC_BM",
"INTEL_ICELAKE_BM",
"INTEL_SKYLAKE_BM",
"AMD_VM",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go
index a2b00bce4c5..2aeeac0df9e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_configuration.go
@@ -28,8 +28,9 @@ type InstancePoolPlacementConfiguration struct {
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances.
- PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"`
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
+ // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
+ PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`
// The fault domains to place instances.
// If you don't provide any values, the system makes a best effort to distribute
@@ -43,6 +44,8 @@ type InstancePoolPlacementConfiguration struct {
// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
FaultDomains []string `mandatory:"false" json:"faultDomains"`
+ PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`
+
// The set of secondary VNIC data for instances in the pool.
SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go
new file mode 100644
index 00000000000..9e17ba2b168
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_ipv6_address_ipv6_subnet_cidr_details.go
@@ -0,0 +1,45 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails Optional. Used to specify from which subnet prefixes an IPv6 address should be allocated, or to assign valid available IPv6 addresses.
+type InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails struct {
+
+ // Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation.
+ Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`
+}
+
+func (m InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails) 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 InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go
new file mode 100644
index 00000000000..6f17bc43a64
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_primary_subnet.go
@@ -0,0 +1,58 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// InstancePoolPlacementPrimarySubnet Details about the IPv6 primary subnet.
+type InstancePoolPlacementPrimarySubnet struct {
+
+ // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
+ SubnetId *string `mandatory:"true" json:"subnetId"`
+
+ // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
+ // subnet. Default: False. When provided you may optionally provide an IPv6 prefix
+ // (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
+ // is not provided then an IPv6 prefix is chosen
+ // for you.
+ IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`
+
+ // A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
+ // You can provide only the prefix ranges and OCI will select an available
+ // address from the range. You can optionally choose to leave the prefix range empty
+ // and instead provide the specific IPv6 address that should be used from within that range.
+ Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
+}
+
+func (m InstancePoolPlacementPrimarySubnet) 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 InstancePoolPlacementPrimarySubnet) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go
index 1d7792d42db..83553fad3b2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_secondary_vnic_subnet.go
@@ -27,6 +27,19 @@ type InstancePoolPlacementSecondaryVnicSubnet struct {
// The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
SubnetId *string `mandatory:"true" json:"subnetId"`
+ // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
+ // subnet. Default: False. When provided you may optionally provide an IPv6 prefix
+ // (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
+ // is not provided then an IPv6 prefix is chosen
+ // for you.
+ IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`
+
+ // A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
+ // You can provide only the prefix ranges and OCI will select an available
+ // address from the range. You can optionally choose to leave the prefix range empty
+ // and instead provide the specific IPv6 address that should be used from within that range.
+ Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
+
// The display name of the VNIC. This is also used to match against the instance configuration defined
// secondary VNIC.
DisplayName *string `mandatory:"false" json:"displayName"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go
new file mode 100644
index 00000000000..324f8fbbc40
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/instance_pool_placement_subnet_details.go
@@ -0,0 +1,58 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// InstancePoolPlacementSubnetDetails Base details about the IPv6 subnet.
+type InstancePoolPlacementSubnetDetails struct {
+
+ // The subnet OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC.
+ SubnetId *string `mandatory:"true" json:"subnetId"`
+
+ // Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled
+ // subnet. Default: False. When provided you may optionally provide an IPv6 prefix
+ // (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr`
+ // is not provided then an IPv6 prefix is chosen
+ // for you.
+ IsAssignIpv6Ip *bool `mandatory:"false" json:"isAssignIpv6Ip"`
+
+ // A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address.
+ // You can provide only the prefix ranges and OCI will select an available
+ // address from the range. You can optionally choose to leave the prefix range empty
+ // and instead provide the specific IPv6 address that should be used from within that range.
+ Ipv6AddressIpv6SubnetCidrPairDetails []InstancePoolPlacementIpv6AddressIpv6SubnetCidrDetails `mandatory:"false" json:"ipv6AddressIpv6SubnetCidrPairDetails"`
+}
+
+func (m InstancePoolPlacementSubnetDetails) 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 InstancePoolPlacementSubnetDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go
index dc70a275a86..2b85872d02b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_launch_instance_platform_config.go
@@ -57,6 +57,9 @@ type IntelIcelakeBmLaunchInstancePlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket IntelIcelakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go
index 38a278545af..61c58cebe27 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_icelake_bm_platform_config.go
@@ -57,6 +57,9 @@ type IntelIcelakeBmPlatformConfig struct {
// itself is billed for the full shape, regardless of whether all cores are enabled.
PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
// The number of NUMA nodes per socket (NPS).
NumaNodesPerSocket IntelIcelakeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go
index 9a651b94a97..b5ff9cd4be2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_launch_instance_platform_config.go
@@ -37,6 +37,31 @@ type IntelSkylakeBmLaunchInstancePlatformConfig struct {
// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
//GetIsSecureBootEnabled returns IsSecureBootEnabled
@@ -68,6 +93,9 @@ func (m IntelSkylakeBmLaunchInstancePlatformConfig) String() string {
// Not recommended for calling this function directly
func (m IntelSkylakeBmLaunchInstancePlatformConfig) ValidateEnumValue() (bool, error) {
errMessage := []string{}
+ if _, ok := GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -88,3 +116,45 @@ func (m IntelSkylakeBmLaunchInstancePlatformConfig) MarshalJSON() (buff []byte,
return json.Marshal(&s)
}
+
+// IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+const (
+ IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1 IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2 IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = "NPS2"
+)
+
+var mappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum = map[string]IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "NPS1": IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+}
+
+var mappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum{
+ "nps1": IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps1,
+ "nps2": IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketNps2,
+}
+
+// GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumValues() []IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values := make([]IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum
+func GetIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS1",
+ "NPS2",
+ }
+}
+
+// GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum(val string) (IntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingIntelSkylakeBmLaunchInstancePlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go
index 2f066a349f6..0096de1f8bd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/intel_skylake_bm_platform_config.go
@@ -37,6 +37,31 @@ type IntelSkylakeBmPlatformConfig struct {
// Whether the instance is a confidential instance. If this value is `true`, the instance is a confidential instance. The default value is `false`.
IsMemoryEncryptionEnabled *bool `mandatory:"false" json:"isMemoryEncryptionEnabled"`
+
+ // Whether symmetric multithreading is enabled on the instance. Symmetric multithreading is also
+ // called simultaneous multithreading (SMT) or Intel Hyper-Threading.
+ // Intel and AMD processors have two hardware execution threads per core (OCPU). SMT permits multiple
+ // independent threads of execution, to better use the resources and increase the efficiency
+ // of the CPU. When multithreading is disabled, only one thread is permitted to run on each core, which
+ // can provide higher or more predictable performance for some workloads.
+ IsSymmetricMultiThreadingEnabled *bool `mandatory:"false" json:"isSymmetricMultiThreadingEnabled"`
+
+ // Whether the input-output memory management unit is enabled.
+ IsInputOutputMemoryManagementUnitEnabled *bool `mandatory:"false" json:"isInputOutputMemoryManagementUnitEnabled"`
+
+ // The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage
+ // results in a fractional number of cores, the system rounds up the number of cores across processors
+ // and provisions an instance with a whole number of cores.
+ // If the applications that you run on the instance use a core-based licensing model and need fewer cores
+ // than the full size of the shape, you can disable cores to reduce your licensing costs. The instance
+ // itself is billed for the full shape, regardless of whether all cores are enabled.
+ PercentageOfCoresEnabled *int `mandatory:"false" json:"percentageOfCoresEnabled"`
+
+ // Instance Platform Configuration Configuration Map for flexible setting input.
+ ConfigMap map[string]string `mandatory:"false" json:"configMap"`
+
+ // The number of NUMA nodes per socket (NPS).
+ NumaNodesPerSocket IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum `mandatory:"false" json:"numaNodesPerSocket,omitempty"`
}
//GetIsSecureBootEnabled returns IsSecureBootEnabled
@@ -68,6 +93,9 @@ func (m IntelSkylakeBmPlatformConfig) String() string {
// Not recommended for calling this function directly
func (m IntelSkylakeBmPlatformConfig) ValidateEnumValue() (bool, error) {
errMessage := []string{}
+ if _, ok := GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum(string(m.NumaNodesPerSocket)); !ok && m.NumaNodesPerSocket != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for NumaNodesPerSocket: %s. Supported values are: %s.", m.NumaNodesPerSocket, strings.Join(GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues(), ",")))
+ }
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -88,3 +116,45 @@ func (m IntelSkylakeBmPlatformConfig) MarshalJSON() (buff []byte, e error) {
return json.Marshal(&s)
}
+
+// IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum Enum with underlying type: string
+type IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum string
+
+// Set of constants representing the allowable values for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum
+const (
+ IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps1 IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS1"
+ IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps2 IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum = "NPS2"
+)
+
+var mappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum = map[string]IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum{
+ "NPS1": IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps1,
+ "NPS2": IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps2,
+}
+
+var mappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumLowerCase = map[string]IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum{
+ "nps1": IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps1,
+ "nps2": IntelSkylakeBmPlatformConfigNumaNodesPerSocketNps2,
+}
+
+// GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumValues Enumerates the set of values for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum
+func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumValues() []IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum {
+ values := make([]IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum, 0)
+ for _, v := range mappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues Enumerates the set of values in String for IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum
+func GetIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumStringValues() []string {
+ return []string{
+ "NPS1",
+ "NPS2",
+ }
+}
+
+// GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum(val string) (IntelSkylakeBmPlatformConfigNumaNodesPerSocketEnum, bool) {
+ enum, ok := mappingIntelSkylakeBmPlatformConfigNumaNodesPerSocketEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go
index 6e8022daf98..667c22add54 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection.go
@@ -100,6 +100,9 @@ type IpSecConnection struct {
// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2016-08-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+
+ // The transport type used for the IPSec connection.
+ TransportType IpSecConnectionTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m IpSecConnection) String() string {
@@ -118,6 +121,9 @@ func (m IpSecConnection) ValidateEnumValue() (bool, error) {
if _, ok := GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(string(m.CpeLocalIdentifierType)); !ok && m.CpeLocalIdentifierType != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues(), ",")))
}
+ if _, ok := GetMappingIpSecConnectionTransportTypeEnum(string(m.TransportType)); !ok && m.TransportType != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TransportType: %s. Supported values are: %s.", m.TransportType, strings.Join(GetIpSecConnectionTransportTypeEnumStringValues(), ",")))
+ }
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
@@ -215,3 +221,45 @@ func GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(val string) (IpSecConne
enum, ok := mappingIpSecConnectionCpeLocalIdentifierTypeEnumLowerCase[strings.ToLower(val)]
return enum, ok
}
+
+// IpSecConnectionTransportTypeEnum Enum with underlying type: string
+type IpSecConnectionTransportTypeEnum string
+
+// Set of constants representing the allowable values for IpSecConnectionTransportTypeEnum
+const (
+ IpSecConnectionTransportTypeInternet IpSecConnectionTransportTypeEnum = "INTERNET"
+ IpSecConnectionTransportTypeFastconnect IpSecConnectionTransportTypeEnum = "FASTCONNECT"
+)
+
+var mappingIpSecConnectionTransportTypeEnum = map[string]IpSecConnectionTransportTypeEnum{
+ "INTERNET": IpSecConnectionTransportTypeInternet,
+ "FASTCONNECT": IpSecConnectionTransportTypeFastconnect,
+}
+
+var mappingIpSecConnectionTransportTypeEnumLowerCase = map[string]IpSecConnectionTransportTypeEnum{
+ "internet": IpSecConnectionTransportTypeInternet,
+ "fastconnect": IpSecConnectionTransportTypeFastconnect,
+}
+
+// GetIpSecConnectionTransportTypeEnumValues Enumerates the set of values for IpSecConnectionTransportTypeEnum
+func GetIpSecConnectionTransportTypeEnumValues() []IpSecConnectionTransportTypeEnum {
+ values := make([]IpSecConnectionTransportTypeEnum, 0)
+ for _, v := range mappingIpSecConnectionTransportTypeEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetIpSecConnectionTransportTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionTransportTypeEnum
+func GetIpSecConnectionTransportTypeEnumStringValues() []string {
+ return []string{
+ "INTERNET",
+ "FASTCONNECT",
+ }
+}
+
+// GetMappingIpSecConnectionTransportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingIpSecConnectionTransportTypeEnum(val string) (IpSecConnectionTransportTypeEnum, bool) {
+ enum, ok := mappingIpSecConnectionTransportTypeEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go
index 644b056fd8d..12c1784ce66 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ip_sec_connection_tunnel.go
@@ -92,6 +92,9 @@ type IpSecConnectionTunnel struct {
PhaseOneDetails *TunnelPhaseOneDetails `mandatory:"false" json:"phaseOneDetails"`
PhaseTwoDetails *TunnelPhaseTwoDetails `mandatory:"false" json:"phaseTwoDetails"`
+
+ // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
+ AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`
}
func (m IpSecConnectionTunnel) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go
index abba23f0214..f3be471efeb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipsec_tunnel_drg_attachment_network_details.go
@@ -26,10 +26,13 @@ import (
type IpsecTunnelDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// The IPSec connection that contains the attached IPSec tunnel.
IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment.
+ TransportAttachmentId *string `mandatory:"false" json:"transportAttachmentId"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go
new file mode 100644
index 00000000000..14564d6fc17
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/ipv6_address_ipv6_subnet_cidr_pair_details.go
@@ -0,0 +1,51 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// Ipv6AddressIpv6SubnetCidrPairDetails Details to assign an IPv6 subnet prefix and IPv6 address on VNIC creation.
+type Ipv6AddressIpv6SubnetCidrPairDetails struct {
+
+ // The IPv6 prefix allocated to the subnet.
+ Ipv6SubnetCidr *string `mandatory:"false" json:"ipv6SubnetCidr"`
+
+ // An IPv6 address of your choice. Must be an available IPv6 address within the subnet's prefix.
+ // If an IPv6 address is not provided:
+ // - Oracle will automatically assign an IPv6 address from the subnet's IPv6 prefix if and only if there is only one IPv6 prefix on the subnet.
+ // - Oracle will automatically assign an IPv6 address from the subnet's IPv6 Oracle GUA prefix if it exists on the subnet.
+ Ipv6Address *string `mandatory:"false" json:"ipv6Address"`
+}
+
+func (m Ipv6AddressIpv6SubnetCidrPairDetails) 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 Ipv6AddressIpv6SubnetCidrPairDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go
index 7f153ac86e8..dac7676b440 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/launch_instance_platform_config.go
@@ -113,6 +113,10 @@ func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in
mm := AmdMilanBmLaunchInstancePlatformConfig{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "GENERIC_BM":
+ mm := GenericBmLaunchInstancePlatformConfig{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
case "AMD_MILAN_BM_GPU":
mm := AmdMilanBmGpuLaunchInstancePlatformConfig{}
err = json.Unmarshal(data, &mm)
@@ -123,22 +127,22 @@ func (m *launchinstanceplatformconfig) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetIsSecureBootEnabled returns IsSecureBootEnabled
+// GetIsSecureBootEnabled returns IsSecureBootEnabled
func (m launchinstanceplatformconfig) GetIsSecureBootEnabled() *bool {
return m.IsSecureBootEnabled
}
-//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
func (m launchinstanceplatformconfig) GetIsTrustedPlatformModuleEnabled() *bool {
return m.IsTrustedPlatformModuleEnabled
}
-//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
func (m launchinstanceplatformconfig) GetIsMeasuredBootEnabled() *bool {
return m.IsMeasuredBootEnabled
}
-//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
func (m launchinstanceplatformconfig) GetIsMemoryEncryptionEnabled() *bool {
return m.IsMemoryEncryptionEnabled
}
@@ -168,6 +172,7 @@ const (
LaunchInstancePlatformConfigTypeAmdMilanBmGpu LaunchInstancePlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
LaunchInstancePlatformConfigTypeAmdRomeBm LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM"
LaunchInstancePlatformConfigTypeAmdRomeBmGpu LaunchInstancePlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
+ LaunchInstancePlatformConfigTypeGenericBm LaunchInstancePlatformConfigTypeEnum = "GENERIC_BM"
LaunchInstancePlatformConfigTypeIntelIcelakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
LaunchInstancePlatformConfigTypeIntelSkylakeBm LaunchInstancePlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
LaunchInstancePlatformConfigTypeAmdVm LaunchInstancePlatformConfigTypeEnum = "AMD_VM"
@@ -179,6 +184,7 @@ var mappingLaunchInstancePlatformConfigTypeEnum = map[string]LaunchInstancePlatf
"AMD_MILAN_BM_GPU": LaunchInstancePlatformConfigTypeAmdMilanBmGpu,
"AMD_ROME_BM": LaunchInstancePlatformConfigTypeAmdRomeBm,
"AMD_ROME_BM_GPU": LaunchInstancePlatformConfigTypeAmdRomeBmGpu,
+ "GENERIC_BM": LaunchInstancePlatformConfigTypeGenericBm,
"INTEL_ICELAKE_BM": LaunchInstancePlatformConfigTypeIntelIcelakeBm,
"INTEL_SKYLAKE_BM": LaunchInstancePlatformConfigTypeIntelSkylakeBm,
"AMD_VM": LaunchInstancePlatformConfigTypeAmdVm,
@@ -190,6 +196,7 @@ var mappingLaunchInstancePlatformConfigTypeEnumLowerCase = map[string]LaunchInst
"amd_milan_bm_gpu": LaunchInstancePlatformConfigTypeAmdMilanBmGpu,
"amd_rome_bm": LaunchInstancePlatformConfigTypeAmdRomeBm,
"amd_rome_bm_gpu": LaunchInstancePlatformConfigTypeAmdRomeBmGpu,
+ "generic_bm": LaunchInstancePlatformConfigTypeGenericBm,
"intel_icelake_bm": LaunchInstancePlatformConfigTypeIntelIcelakeBm,
"intel_skylake_bm": LaunchInstancePlatformConfigTypeIntelSkylakeBm,
"amd_vm": LaunchInstancePlatformConfigTypeAmdVm,
@@ -212,6 +219,7 @@ func GetLaunchInstancePlatformConfigTypeEnumStringValues() []string {
"AMD_MILAN_BM_GPU",
"AMD_ROME_BM",
"AMD_ROME_BM_GPU",
+ "GENERIC_BM",
"INTEL_ICELAKE_BM",
"INTEL_SKYLAKE_BM",
"AMD_VM",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go
new file mode 100644
index 00000000000..6653c3e7c24
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/list_virtual_circuit_associated_tunnels_request_response.go
@@ -0,0 +1,110 @@
+// Copyright (c) 2016, 2018, 2023, 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 core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "net/http"
+ "strings"
+)
+
+// ListVirtualCircuitAssociatedTunnelsRequest wrapper for the ListVirtualCircuitAssociatedTunnels operation
+//
+// # See also
+//
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitAssociatedTunnels.go.html to see an example of how to use ListVirtualCircuitAssociatedTunnelsRequest.
+type ListVirtualCircuitAssociatedTunnelsRequest struct {
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit.
+ VirtualCircuitId *string `mandatory:"true" contributesTo:"path" name:"virtualCircuitId"`
+
+ // For list pagination. The maximum number of results per page, or items to return in a paginated
+ // "List" call. For important details about how pagination works, see
+ // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ // Example: `50`
+ Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
+
+ // For list pagination. The value of the `opc-next-page` response header from the previous "List"
+ // call. For important details about how pagination works, see
+ // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ Page *string `mandatory:"false" contributesTo:"query" name:"page"`
+
+ // 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"`
+
+ // 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 ListVirtualCircuitAssociatedTunnelsRequest) String() string {
+ return common.PointerString(request)
+}
+
+// HTTPRequest implements the OCIRequest interface
+func (request ListVirtualCircuitAssociatedTunnelsRequest) 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 ListVirtualCircuitAssociatedTunnelsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
+
+ return nil, false
+
+}
+
+// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
+func (request ListVirtualCircuitAssociatedTunnelsRequest) 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 ListVirtualCircuitAssociatedTunnelsRequest) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// ListVirtualCircuitAssociatedTunnelsResponse wrapper for the ListVirtualCircuitAssociatedTunnels operation
+type ListVirtualCircuitAssociatedTunnelsResponse struct {
+
+ // The underlying http response
+ RawResponse *http.Response
+
+ // A list of []VirtualCircuitAssociatedTunnelDetails instances
+ Items []VirtualCircuitAssociatedTunnelDetails `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"`
+
+ // For list pagination. When this header appears in the response, additional pages
+ // of results remain. For important details about how pagination works, see
+ // List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
+ OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
+}
+
+func (response ListVirtualCircuitAssociatedTunnelsResponse) String() string {
+ return common.PointerString(response)
+}
+
+// HTTPResponse implements the OCIResponse interface
+func (response ListVirtualCircuitAssociatedTunnelsResponse) HTTPResponse() *http.Response {
+ return response.RawResponse
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go
new file mode 100644
index 00000000000..3f35227ac95
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/loop_back_drg_attachment_network_details.go
@@ -0,0 +1,68 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// LoopBackDrgAttachmentNetworkDetails Specifies the loopback attachment on the DRG. A loopback attachment can be used to terminate a virtual circuit that is carrying an IPSec tunnel, routing traffic directly to the IPSec tunnel attachment where the tunnel can terminate.
+type LoopBackDrgAttachmentNetworkDetails struct {
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
+ Id *string `mandatory:"false" json:"id"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment.
+ Ids []string `mandatory:"false" json:"ids"`
+}
+
+//GetId returns Id
+func (m LoopBackDrgAttachmentNetworkDetails) GetId() *string {
+ return m.Id
+}
+
+func (m LoopBackDrgAttachmentNetworkDetails) 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 LoopBackDrgAttachmentNetworkDetails) 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 LoopBackDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeLoopBackDrgAttachmentNetworkDetails LoopBackDrgAttachmentNetworkDetails
+ s := struct {
+ DiscriminatorParam string `json:"type"`
+ MarshalTypeLoopBackDrgAttachmentNetworkDetails
+ }{
+ "LOOPBACK",
+ (MarshalTypeLoopBackDrgAttachmentNetworkDetails)(m),
+ }
+
+ return json.Marshal(&s)
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go
index 1469d1bae8f..0f64214fd60 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/macsec_properties.go
@@ -31,6 +31,9 @@ type MacsecProperties struct {
// Type of encryption cipher suite to use for the MACsec connection.
EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`
+
+ // Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
+ IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}
func (m MacsecProperties) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go
index c95c56d9451..d22c7474819 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/networking_topology.go
@@ -107,10 +107,7 @@ func (m *NetworkingTopology) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -123,12 +120,8 @@ func (m *NetworkingTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go
index ab71b961d22..5081a5093f9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/platform_config.go
@@ -104,6 +104,10 @@ func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
mm := IntelVmPlatformConfig{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "GENERIC_BM":
+ mm := GenericBmPlatformConfig{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
case "AMD_MILAN_BM_GPU":
mm := AmdMilanBmGpuPlatformConfig{}
err = json.Unmarshal(data, &mm)
@@ -114,22 +118,22 @@ func (m *platformconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetIsSecureBootEnabled returns IsSecureBootEnabled
+// GetIsSecureBootEnabled returns IsSecureBootEnabled
func (m platformconfig) GetIsSecureBootEnabled() *bool {
return m.IsSecureBootEnabled
}
-//GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
+// GetIsTrustedPlatformModuleEnabled returns IsTrustedPlatformModuleEnabled
func (m platformconfig) GetIsTrustedPlatformModuleEnabled() *bool {
return m.IsTrustedPlatformModuleEnabled
}
-//GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
+// GetIsMeasuredBootEnabled returns IsMeasuredBootEnabled
func (m platformconfig) GetIsMeasuredBootEnabled() *bool {
return m.IsMeasuredBootEnabled
}
-//GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
+// GetIsMemoryEncryptionEnabled returns IsMemoryEncryptionEnabled
func (m platformconfig) GetIsMemoryEncryptionEnabled() *bool {
return m.IsMemoryEncryptionEnabled
}
@@ -159,6 +163,7 @@ const (
PlatformConfigTypeAmdMilanBmGpu PlatformConfigTypeEnum = "AMD_MILAN_BM_GPU"
PlatformConfigTypeAmdRomeBm PlatformConfigTypeEnum = "AMD_ROME_BM"
PlatformConfigTypeAmdRomeBmGpu PlatformConfigTypeEnum = "AMD_ROME_BM_GPU"
+ PlatformConfigTypeGenericBm PlatformConfigTypeEnum = "GENERIC_BM"
PlatformConfigTypeIntelIcelakeBm PlatformConfigTypeEnum = "INTEL_ICELAKE_BM"
PlatformConfigTypeIntelSkylakeBm PlatformConfigTypeEnum = "INTEL_SKYLAKE_BM"
PlatformConfigTypeAmdVm PlatformConfigTypeEnum = "AMD_VM"
@@ -170,6 +175,7 @@ var mappingPlatformConfigTypeEnum = map[string]PlatformConfigTypeEnum{
"AMD_MILAN_BM_GPU": PlatformConfigTypeAmdMilanBmGpu,
"AMD_ROME_BM": PlatformConfigTypeAmdRomeBm,
"AMD_ROME_BM_GPU": PlatformConfigTypeAmdRomeBmGpu,
+ "GENERIC_BM": PlatformConfigTypeGenericBm,
"INTEL_ICELAKE_BM": PlatformConfigTypeIntelIcelakeBm,
"INTEL_SKYLAKE_BM": PlatformConfigTypeIntelSkylakeBm,
"AMD_VM": PlatformConfigTypeAmdVm,
@@ -181,6 +187,7 @@ var mappingPlatformConfigTypeEnumLowerCase = map[string]PlatformConfigTypeEnum{
"amd_milan_bm_gpu": PlatformConfigTypeAmdMilanBmGpu,
"amd_rome_bm": PlatformConfigTypeAmdRomeBm,
"amd_rome_bm_gpu": PlatformConfigTypeAmdRomeBmGpu,
+ "generic_bm": PlatformConfigTypeGenericBm,
"intel_icelake_bm": PlatformConfigTypeIntelIcelakeBm,
"intel_skylake_bm": PlatformConfigTypeIntelSkylakeBm,
"amd_vm": PlatformConfigTypeAmdVm,
@@ -203,6 +210,7 @@ func GetPlatformConfigTypeEnumStringValues() []string {
"AMD_MILAN_BM_GPU",
"AMD_ROME_BM",
"AMD_ROME_BM_GPU",
+ "GENERIC_BM",
"INTEL_ICELAKE_BM",
"INTEL_SKYLAKE_BM",
"AMD_VM",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go
index 6cc8745510e..54c170241e8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/remote_peering_connection_drg_attachment_network_details.go
@@ -26,7 +26,7 @@ import (
type RemotePeeringConnectionDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go
index 1f9bc035cc4..0016fbb3c09 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/shape_platform_config_options.go
@@ -76,6 +76,7 @@ const (
ShapePlatformConfigOptionsTypeAmdMilanBmGpu ShapePlatformConfigOptionsTypeEnum = "AMD_MILAN_BM_GPU"
ShapePlatformConfigOptionsTypeAmdRomeBm ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM"
ShapePlatformConfigOptionsTypeAmdRomeBmGpu ShapePlatformConfigOptionsTypeEnum = "AMD_ROME_BM_GPU"
+ ShapePlatformConfigOptionsTypeGenericBm ShapePlatformConfigOptionsTypeEnum = "GENERIC_BM"
ShapePlatformConfigOptionsTypeIntelIcelakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_ICELAKE_BM"
ShapePlatformConfigOptionsTypeIntelSkylakeBm ShapePlatformConfigOptionsTypeEnum = "INTEL_SKYLAKE_BM"
ShapePlatformConfigOptionsTypeAmdVm ShapePlatformConfigOptionsTypeEnum = "AMD_VM"
@@ -87,6 +88,7 @@ var mappingShapePlatformConfigOptionsTypeEnum = map[string]ShapePlatformConfigOp
"AMD_MILAN_BM_GPU": ShapePlatformConfigOptionsTypeAmdMilanBmGpu,
"AMD_ROME_BM": ShapePlatformConfigOptionsTypeAmdRomeBm,
"AMD_ROME_BM_GPU": ShapePlatformConfigOptionsTypeAmdRomeBmGpu,
+ "GENERIC_BM": ShapePlatformConfigOptionsTypeGenericBm,
"INTEL_ICELAKE_BM": ShapePlatformConfigOptionsTypeIntelIcelakeBm,
"INTEL_SKYLAKE_BM": ShapePlatformConfigOptionsTypeIntelSkylakeBm,
"AMD_VM": ShapePlatformConfigOptionsTypeAmdVm,
@@ -98,6 +100,7 @@ var mappingShapePlatformConfigOptionsTypeEnumLowerCase = map[string]ShapePlatfor
"amd_milan_bm_gpu": ShapePlatformConfigOptionsTypeAmdMilanBmGpu,
"amd_rome_bm": ShapePlatformConfigOptionsTypeAmdRomeBm,
"amd_rome_bm_gpu": ShapePlatformConfigOptionsTypeAmdRomeBmGpu,
+ "generic_bm": ShapePlatformConfigOptionsTypeGenericBm,
"intel_icelake_bm": ShapePlatformConfigOptionsTypeIntelIcelakeBm,
"intel_skylake_bm": ShapePlatformConfigOptionsTypeIntelSkylakeBm,
"amd_vm": ShapePlatformConfigOptionsTypeAmdVm,
@@ -120,6 +123,7 @@ func GetShapePlatformConfigOptionsTypeEnumStringValues() []string {
"AMD_MILAN_BM_GPU",
"AMD_ROME_BM",
"AMD_ROME_BM_GPU",
+ "GENERIC_BM",
"INTEL_ICELAKE_BM",
"INTEL_SKYLAKE_BM",
"AMD_VM",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go
index 1077b59a991..a9fa672bcaa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/subnet_topology.go
@@ -113,10 +113,7 @@ func (m *SubnetTopology) UnmarshalJSON(data []byte) (e error) {
m.SubnetId = model.SubnetId
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -129,12 +126,8 @@ func (m *SubnetTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go
index ba3be3e4e1b..fcb44993cb0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology.go
@@ -96,22 +96,22 @@ func (m *topology) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetEntities returns Entities
+// GetEntities returns Entities
func (m topology) GetEntities() []interface{} {
return m.Entities
}
-//GetRelationships returns Relationships
+// GetRelationships returns Relationships
func (m topology) GetRelationships() json.RawMessage {
return m.Relationships
}
-//GetLimitedEntities returns LimitedEntities
+// GetLimitedEntities returns LimitedEntities
func (m topology) GetLimitedEntities() []string {
return m.LimitedEntities
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m topology) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go
index f216da38566..e5611ad1836 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/topology_entity_relationship.go
@@ -84,12 +84,12 @@ func (m *topologyentityrelationship) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetId1 returns Id1
+// GetId1 returns Id1
func (m topologyentityrelationship) GetId1() *string {
return m.Id1
}
-//GetId2 returns Id2
+// GetId2 returns Id2
func (m topologyentityrelationship) GetId2() *string {
return m.Id2
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go
index 71e9211fcf9..4d802fe9fbf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_boot_volume_details.go
@@ -111,10 +111,7 @@ func (m *UpdateBootVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.IsAutoTuneEnabled = model.IsAutoTuneEnabled
m.BootVolumeReplicas = make([]BootVolumeReplicaDetails, len(model.BootVolumeReplicas))
- for i, n := range model.BootVolumeReplicas {
- m.BootVolumeReplicas[i] = n
- }
-
+ copy(m.BootVolumeReplicas, model.BootVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -127,6 +124,5 @@ func (m *UpdateBootVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go
index 8a865626d79..d197f076ab0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_capture_filter_details.go
@@ -21,7 +21,7 @@ import (
"strings"
)
-// UpdateCaptureFilterDetails These details can be included in a request to update a capture filter. A capture filter contains a set of rules governing what traffic a VTAP mirrors.
+// UpdateCaptureFilterDetails These details can be included in a request to update a capture filter. A capture filter contains a set of rules governing what traffic a VTAP mirrors or a VCN flow log collects.
type UpdateCaptureFilterDetails struct {
// Defined tags for this resource. Each key is predefined and scoped to a
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go
index 99358111fb1..4b592718629 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_dhcp_details.go
@@ -97,7 +97,6 @@ func (m *UpdateDhcpDetails) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.DomainNameType = model.DomainNameType
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go
index edec535c5fb..feffb2f3bef 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_drg_route_distribution_statement_details.go
@@ -76,7 +76,6 @@ func (m *UpdateDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte)
m.MatchCriteria[i] = nil
}
}
-
m.Priority = model.Priority
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go
index aee92bf41e3..99d7da6cac5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_instance_pool_placement_configuration_details.go
@@ -28,10 +28,6 @@ type UpdateInstancePoolPlacementConfigurationDetails struct {
// Example: `Uocm:PHX-AD-1`
AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place
- // instances.
- PrimarySubnetId *string `mandatory:"true" json:"primarySubnetId"`
-
// The fault domains to place instances.
// If you don't provide any values, the system makes a best effort to distribute
// instances across all fault domains based on capacity.
@@ -44,7 +40,13 @@ type UpdateInstancePoolPlacementConfigurationDetails struct {
// Example: `[FAULT-DOMAIN-1, FAULT-DOMAIN-2, FAULT-DOMAIN-3]`
FaultDomains []string `mandatory:"false" json:"faultDomains"`
- // The set of subnet OCIDs for secondary VNICs for instances in the pool.
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary subnet in which to place instances. This field is deprecated.
+ // Use `primaryVnicSubnets` instead to set VNIC data for instances in the pool.
+ PrimarySubnetId *string `mandatory:"false" json:"primarySubnetId"`
+
+ PrimaryVnicSubnets *InstancePoolPlacementPrimarySubnet `mandatory:"false" json:"primaryVnicSubnets"`
+
+ // The set of secondary VNIC data for instances in the pool.
SecondaryVnicSubnets []InstancePoolPlacementSecondaryVnicSubnet `mandatory:"false" json:"secondaryVnicSubnets"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go
index 69300026e39..d3183fe3816 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_macsec_properties.go
@@ -31,6 +31,9 @@ type UpdateMacsecProperties struct {
// Type of encryption cipher suite to use for the MACsec connection.
EncryptionCipher MacsecEncryptionCipherEnum `mandatory:"false" json:"encryptionCipher,omitempty"`
+
+ // Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails.
+ IsUnprotectedTrafficAllowed *bool `mandatory:"false" json:"isUnprotectedTrafficAllowed"`
}
func (m UpdateMacsecProperties) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go
index 01de83e2e6e..206135c092f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_virtual_circuit_details.go
@@ -49,6 +49,9 @@ type UpdateVirtualCircuitDetails struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go
index c963ba858ec..b8420724118 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/update_volume_details.go
@@ -112,10 +112,7 @@ func (m *UpdateVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.IsAutoTuneEnabled = model.IsAutoTuneEnabled
m.BlockVolumeReplicas = make([]BlockVolumeReplicaDetails, len(model.BlockVolumeReplicas))
- for i, n := range model.BlockVolumeReplicas {
- m.BlockVolumeReplicas[i] = n
- }
-
+ copy(m.BlockVolumeReplicas, model.BlockVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -128,6 +125,5 @@ func (m *UpdateVolumeDetails) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go
index 2ca250a4dc0..1164a08e20e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_create_details.go
@@ -26,7 +26,7 @@ import (
type VcnDrgAttachmentNetworkCreateDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
// For information about why you would associate a route table with a DRG attachment, see
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go
index af79d8efd1b..2fed45922e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_drg_attachment_network_details.go
@@ -26,7 +26,7 @@ import (
type VcnDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using.
// For information about why you would associate a route table with a DRG attachment, see:
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go
index 59671bf0028..4dc47140ac2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vcn_topology.go
@@ -113,10 +113,7 @@ func (m *VcnTopology) UnmarshalJSON(data []byte) (e error) {
m.VcnId = model.VcnId
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -129,12 +126,8 @@ func (m *VcnTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go
index fd02c7ab38b..11e9c7ec197 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit.go
@@ -75,6 +75,9 @@ type VirtualCircuit struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go
new file mode 100644
index 00000000000..cc07c03f49e
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_associated_tunnel_details.go
@@ -0,0 +1,92 @@
+// Copyright (c) 2016, 2018, 2023, Oracle and/or its affiliates. All rights reserved.
+// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+// Code generated. DO NOT EDIT.
+
+// Core Services API
+//
+// Use the Core Services API to manage resources such as virtual cloud networks (VCNs),
+// compute instances, and block storage volumes. For more information, see the console
+// documentation for the Networking (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm),
+// Compute (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm), and
+// Block Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/overview.htm) services.
+// The required permissions are documented in the
+// Details for the Core Services (https://docs.cloud.oracle.com/iaas/Content/Identity/Reference/corepolicyreference.htm) article.
+//
+
+package core
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// VirtualCircuitAssociatedTunnelDetails Detailed private tunnel info associated with the virtual circuit.
+type VirtualCircuitAssociatedTunnelDetails struct {
+
+ // The type of the tunnel associated with the virtual circuit.
+ TunnelType VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum `mandatory:"true" json:"tunnelType"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit.
+ TunnelId *string `mandatory:"true" json:"tunnelId"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IPSec connection associated with the virtual circuit.
+ IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
+}
+
+func (m VirtualCircuitAssociatedTunnelDetails) 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 VirtualCircuitAssociatedTunnelDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if _, ok := GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum(string(m.TunnelType)); !ok && m.TunnelType != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TunnelType: %s. Supported values are: %s.", m.TunnelType, strings.Join(GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues(), ",")))
+ }
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum Enum with underlying type: string
+type VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum string
+
+// Set of constants representing the allowable values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+const (
+ VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum = "IPSEC"
+)
+
+var mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum = map[string]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum{
+ "IPSEC": VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec,
+}
+
+var mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumLowerCase = map[string]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum{
+ "ipsec": VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec,
+}
+
+// GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues Enumerates the set of values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues() []VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum {
+ values := make([]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum, 0)
+ for _, v := range mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues() []string {
+ return []string{
+ "IPSEC",
+ }
+}
+
+// GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum(val string) (VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum, bool) {
+ enum, ok := mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go
index 20c7d163dfd..494c23b6ee4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/virtual_circuit_drg_attachment_network_details.go
@@ -26,7 +26,11 @@ import (
type VirtualCircuitDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
+
+ // Boolean flag that determines wether all traffic over the virtual circuits is encrypted.
+ // Example: `true`
+ TransportOnlyMode *bool `mandatory:"false" json:"transportOnlyMode"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go
index 2f3eea86541..fd115b12bc3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/vnic.go
@@ -128,6 +128,10 @@ type Vnic struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the VNIC is in.
SubnetId *string `mandatory:"false" json:"subnetId"`
+
+ // List of IPv6 addresses assigned to the VNIC.
+ // Example: `2001:DB8::`
+ Ipv6Addresses []string `mandatory:"false" json:"ipv6Addresses"`
}
func (m Vnic) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go
index 40fdb1458e1..79a69063ac9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume.go
@@ -189,10 +189,7 @@ func (m *Volume) UnmarshalJSON(data []byte) (e error) {
m.AutoTunedVpusPerGB = model.AutoTunedVpusPerGB
m.BlockVolumeReplicas = make([]BlockVolumeReplicaInfo, len(model.BlockVolumeReplicas))
- for i, n := range model.BlockVolumeReplicas {
- m.BlockVolumeReplicas[i] = n
- }
-
+ copy(m.BlockVolumeReplicas, model.BlockVolumeReplicas)
m.AutotunePolicies = make([]AutotunePolicy, len(model.AutotunePolicies))
for i, n := range model.AutotunePolicies {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -205,7 +202,6 @@ func (m *Volume) UnmarshalJSON(data []byte) (e error) {
m.AutotunePolicies[i] = nil
}
}
-
m.AvailabilityDomain = model.AvailabilityDomain
m.CompartmentId = model.CompartmentId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go
index d323c803769..2a7cb793c37 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_attachment.go
@@ -83,13 +83,6 @@ type VolumeAttachment interface {
type volumeattachment struct {
JsonData []byte
- AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- Id *string `mandatory:"true" json:"id"`
- InstanceId *string `mandatory:"true" json:"instanceId"`
- LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- VolumeId *string `mandatory:"true" json:"volumeId"`
Device *string `mandatory:"false" json:"device"`
DisplayName *string `mandatory:"false" json:"displayName"`
IsReadOnly *bool `mandatory:"false" json:"isReadOnly"`
@@ -97,6 +90,13 @@ type volumeattachment struct {
IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"`
IsMultipath *bool `mandatory:"false" json:"isMultipath"`
IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"`
+ AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ Id *string `mandatory:"true" json:"id"`
+ InstanceId *string `mandatory:"true" json:"instanceId"`
+ LifecycleState VolumeAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
+ VolumeId *string `mandatory:"true" json:"volumeId"`
AttachmentType string `json:"attachmentType"`
}
@@ -157,76 +157,76 @@ func (m *volumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetAvailabilityDomain returns AvailabilityDomain
-func (m volumeattachment) GetAvailabilityDomain() *string {
- return m.AvailabilityDomain
-}
-
-//GetCompartmentId returns CompartmentId
-func (m volumeattachment) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetId returns Id
-func (m volumeattachment) GetId() *string {
- return m.Id
-}
-
-//GetInstanceId returns InstanceId
-func (m volumeattachment) GetInstanceId() *string {
- return m.InstanceId
-}
-
-//GetLifecycleState returns LifecycleState
-func (m volumeattachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetTimeCreated returns TimeCreated
-func (m volumeattachment) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetVolumeId returns VolumeId
-func (m volumeattachment) GetVolumeId() *string {
- return m.VolumeId
-}
-
-//GetDevice returns Device
+// GetDevice returns Device
func (m volumeattachment) GetDevice() *string {
return m.Device
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m volumeattachment) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsReadOnly returns IsReadOnly
+// GetIsReadOnly returns IsReadOnly
func (m volumeattachment) GetIsReadOnly() *bool {
return m.IsReadOnly
}
-//GetIsShareable returns IsShareable
+// GetIsShareable returns IsShareable
func (m volumeattachment) GetIsShareable() *bool {
return m.IsShareable
}
-//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled
+// GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled
func (m volumeattachment) GetIsPvEncryptionInTransitEnabled() *bool {
return m.IsPvEncryptionInTransitEnabled
}
-//GetIsMultipath returns IsMultipath
+// GetIsMultipath returns IsMultipath
func (m volumeattachment) GetIsMultipath() *bool {
return m.IsMultipath
}
-//GetIscsiLoginState returns IscsiLoginState
+// GetIscsiLoginState returns IscsiLoginState
func (m volumeattachment) GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum {
return m.IscsiLoginState
}
+// GetAvailabilityDomain returns AvailabilityDomain
+func (m volumeattachment) GetAvailabilityDomain() *string {
+ return m.AvailabilityDomain
+}
+
+// GetCompartmentId returns CompartmentId
+func (m volumeattachment) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetId returns Id
+func (m volumeattachment) GetId() *string {
+ return m.Id
+}
+
+// GetInstanceId returns InstanceId
+func (m volumeattachment) GetInstanceId() *string {
+ return m.InstanceId
+}
+
+// GetLifecycleState returns LifecycleState
+func (m volumeattachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum {
+ return m.LifecycleState
+}
+
+// GetTimeCreated returns TimeCreated
+func (m volumeattachment) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetVolumeId returns VolumeId
+func (m volumeattachment) GetVolumeId() *string {
+ return m.VolumeId
+}
+
func (m volumeattachment) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go
index c74637f5772..c55a66bcc71 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/core/volume_group.go
@@ -138,10 +138,7 @@ func (m *VolumeGroup) UnmarshalJSON(data []byte) (e error) {
m.IsHydrated = model.IsHydrated
m.VolumeGroupReplicas = make([]VolumeGroupReplicaInfo, len(model.VolumeGroupReplicas))
- for i, n := range model.VolumeGroupReplicas {
- m.VolumeGroupReplicas[i] = n
- }
-
+ copy(m.VolumeGroupReplicas, model.VolumeGroupReplicas)
m.AvailabilityDomain = model.AvailabilityDomain
m.CompartmentId = model.CompartmentId
@@ -157,10 +154,7 @@ func (m *VolumeGroup) UnmarshalJSON(data []byte) (e error) {
m.TimeCreated = model.TimeCreated
m.VolumeIds = make([]string, len(model.VolumeIds))
- for i, n := range model.VolumeIds {
- m.VolumeIds[i] = n
- }
-
+ copy(m.VolumeIds, model.VolumeIds)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/acd_avm_resource_stats.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/acd_avm_resource_stats.go
new file mode 100644
index 00000000000..ae237cb1a93
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/acd_avm_resource_stats.go
@@ -0,0 +1,59 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// AcdAvmResourceStats Resource usage by autonomous container database in a particular VM.
+type AcdAvmResourceStats struct {
+
+ // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous VM.
+ Id *string `mandatory:"false" json:"id"`
+
+ // The user-friendly name for the Autonomous VM. The name does not need to be unique.
+ DisplayName *string `mandatory:"false" json:"displayName"`
+
+ // CPUs/cores assigned to Autonomous Databases for the ACD instance in given Autonomus VM.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // CPUs/cores assigned to the ACD instance in given Autonomous VM. Sum of provisioned,
+ // reserved and reclaimable CPUs/ cores to the ACD instance.
+ UsedCpus *float32 `mandatory:"false" json:"usedCpus"`
+
+ // CPUs/cores reserved for scalability, resilliency and other overheads.
+ // This includes failover, autoscaling and idle instance overhead.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // CPUs/cores that continue to be included in the count of OCPUs available to the
+ // Autonomous Container Database in given Autonomous VM, even after one of its
+ // Autonomous Database is terminated or scaled down. You can release them to the available
+ // OCPUs at its parent AVMC level by restarting the Autonomous Container Database.
+ ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
+}
+
+func (m AcdAvmResourceStats) 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 AcdAvmResourceStats) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database.go
index 0f9078690e7..6b06d994ec8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database.go
@@ -119,28 +119,37 @@ type AutonomousContainerDatabase struct {
// The wallet name for Oracle Key Vault.
KeyStoreWalletName *string `mandatory:"false" json:"keyStoreWalletName"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU in the Autonomous VM Cluster.See Compute Models (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU in the Autonomous VM Cluster.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
- // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
// The number of CPUs allocated to the Autonomous VM cluster.
- // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
TotalCpus *int `mandatory:"false" json:"totalCpus"`
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
// An array of CPU values that can be used to successfully provision a single Autonomous Database.\
- // For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`
- // The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Autonomous VM Cluster.
ComputeModel AutonomousContainerDatabaseComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
+
+ // The number of CPUs provisioned in an Autonomous Container Database.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The number of CPUs reserved in an Autonomous Container Database.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // The largest Autonomous Database (CPU) that can be created in a new Autonomous Container Database.
+ LargestProvisionableAutonomousDatabaseInCpus *float32 `mandatory:"false" json:"largestProvisionableAutonomousDatabaseInCpus"`
}
func (m AutonomousContainerDatabase) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_resource_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_resource_usage.go
new file mode 100644
index 00000000000..9bc7aa0d17f
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_resource_usage.go
@@ -0,0 +1,77 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// AutonomousContainerDatabaseResourceUsage Associated autonomous container databases usages.
+type AutonomousContainerDatabaseResourceUsage struct {
+
+ // The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
+ DisplayName *string `mandatory:"true" json:"displayName"`
+
+ // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Container Database.
+ Id *string `mandatory:"false" json:"id"`
+
+ // CPUs / cores reclaimable or released to cluster on Autonomous Container Database restart.
+ ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
+
+ // CPUs / cores available for ADB provisioning or scaling in the Autonomous Container Database.
+ AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
+
+ // Largest provisionable ADB in the Autonomous Container Database.
+ LargestProvisionableAutonomousDatabaseInCpus *float32 `mandatory:"false" json:"largestProvisionableAutonomousDatabaseInCpus"`
+
+ // CPUs / cores assigned to ADBs in the Autonomous Container Database.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // CPUs / cores reserved for scalability, resilliency and other overheads.
+ // This includes failover, autoscaling and idle instance overhead.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned,
+ // reserved and reclaimable CPUs/ cores.
+ UsedCpus *float32 `mandatory:"false" json:"usedCpus"`
+
+ // Valid list of provisionable CPUs / cores for ADB creation.
+ ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`
+
+ // List of autonomous container database resource usage per autonomous virtual machine.
+ AutonomousContainerDatabaseVmUsage []AcdAvmResourceStats `mandatory:"false" json:"autonomousContainerDatabaseVmUsage"`
+
+ // 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 AutonomousContainerDatabaseResourceUsage) 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 AutonomousContainerDatabaseResourceUsage) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_summary.go
index 0555c51a90d..7084bf94c7f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_container_database_summary.go
@@ -119,28 +119,37 @@ type AutonomousContainerDatabaseSummary struct {
// The wallet name for Oracle Key Vault.
KeyStoreWalletName *string `mandatory:"false" json:"keyStoreWalletName"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU in the Autonomous VM Cluster.See Compute Models (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU in the Autonomous VM Cluster.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database.
- // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
// The number of CPUs allocated to the Autonomous VM cluster.
- // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Databases on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
TotalCpus *int `mandatory:"false" json:"totalCpus"`
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
// An array of CPU values that can be used to successfully provision a single Autonomous Database.\
- // For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // For Autonomous Database on Dedicated Exadata Infrastructure, the CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`
- // The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Autonomous VM Cluster.
ComputeModel AutonomousContainerDatabaseSummaryComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
+
+ // The number of CPUs provisioned in an Autonomous Container Database.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The number of CPUs reserved in an Autonomous Container Database.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // The largest Autonomous Database (CPU) that can be created in a new Autonomous Container Database.
+ LargestProvisionableAutonomousDatabaseInCpus *float32 `mandatory:"false" json:"largestProvisionableAutonomousDatabaseInCpus"`
}
func (m AutonomousContainerDatabaseSummary) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database.go
index 7f6b0e2391b..4a5884bb26d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database.go
@@ -117,7 +117,7 @@ type AutonomousDatabase struct {
// An array of CPU values that an Autonomous Database can be scaled to.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The quantity of data in the database, in gigabytes.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_connection_strings.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_connection_strings.go
index 3ad4a1d19af..335c90ac405 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_connection_strings.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_connection_strings.go
@@ -17,7 +17,7 @@ import (
// AutonomousDatabaseConnectionStrings Connection strings to connect to an Oracle Autonomous Database.
// Example output for connection strings. See DatabaseConnectionStringProfile for additional details:
-// "connectionStrings": {
+// "connectionStrings": {
// "allConnectionStrings": {
// "HIGH": "adb.region.oraclecloud.com:1522/unique_id_databasename_high.adwc.oraclecloud.com",
// "LOW": "adb.region.oraclecloud.com:1522/unique_id_databasename_low.adwc.oraclecloud.com",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_summary.go
index 50f5118b0ab..474733d6f6f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_database_summary.go
@@ -118,7 +118,7 @@ type AutonomousDatabaseSummary struct {
// An array of CPU values that an Autonomous Database can be scaled to.
ProvisionableCpus []float32 `mandatory:"false" json:"provisionableCpus"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The quantity of data in the database, in gigabytes.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster.go
index 906409bd902..88149a79c07 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster.go
@@ -51,7 +51,7 @@ type AutonomousVmCluster struct {
// The number of enabled CPU cores.
CpusEnabled *int `mandatory:"false" json:"cpusEnabled"`
- // The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Autonomous VM Cluster.
ComputeModel AutonomousVmClusterComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// The number of enabled OCPU cores.
@@ -63,7 +63,7 @@ type AutonomousVmCluster struct {
// The total number of Autonomous Container Databases that can be created.
TotalContainerDatabases *int `mandatory:"false" json:"totalContainerDatabases"`
- // The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) to be enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The number of CPU cores enabled per VM cluster node.
@@ -115,7 +115,7 @@ type AutonomousVmCluster struct {
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *int `mandatory:"false" json:"reclaimableCpus"`
// The number of Autonomous Container Databases that can be created with the currently available local storage.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster_summary.go
index 7ebb3f4b13c..927d49a2ea8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_cluster_summary.go
@@ -51,7 +51,7 @@ type AutonomousVmClusterSummary struct {
// The number of enabled CPU cores.
CpusEnabled *int `mandatory:"false" json:"cpusEnabled"`
- // The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Autonomous VM Cluster.
ComputeModel AutonomousVmClusterSummaryComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// The number of enabled OCPU cores.
@@ -63,7 +63,7 @@ type AutonomousVmClusterSummary struct {
// The total number of Autonomous Container Databases that can be created.
TotalContainerDatabases *int `mandatory:"false" json:"totalContainerDatabases"`
- // The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) to be enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The number of CPU cores enabled per VM cluster node.
@@ -115,7 +115,7 @@ type AutonomousVmClusterSummary struct {
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *int `mandatory:"false" json:"reclaimableCpus"`
// The number of Autonomous Container Databases that can be created with the currently available local storage.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_resource_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_resource_usage.go
new file mode 100644
index 00000000000..7ae663c210f
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/autonomous_vm_resource_usage.go
@@ -0,0 +1,63 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// AutonomousVmResourceUsage Autonomous VM usage statistics.
+type AutonomousVmResourceUsage struct {
+
+ // The user-friendly name for the Autonomous VM cluster. The name does not need to be unique.
+ DisplayName *string `mandatory:"true" json:"displayName"`
+
+ // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous VM Cluster.
+ Id *string `mandatory:"false" json:"id"`
+
+ // The number of CPU cores alloted to the Autonomous Container Databases in an Cloud Autonomous VM cluster.
+ UsedCpus *float32 `mandatory:"false" json:"usedCpus"`
+
+ // The number of CPU cores available.
+ AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
+
+ // CPU cores that continue to be included in the count of OCPUs available to the
+ // Autonomous Container Database even after one of its Autonomous Database is
+ // terminated or scaled down. You can release them to the available OCPUs at its
+ // parent AVMC level by restarting the Autonomous Container Database.
+ ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
+
+ // The number of CPUs provisioned in an Autonomous VM Cluster.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The number of CPUs reserved in an Autonomous VM Cluster.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // Associated Autonomous Container Database Usages.
+ AutonomousContainerDatabaseUsage []AvmAcdResourceStats `mandatory:"false" json:"autonomousContainerDatabaseUsage"`
+}
+
+func (m AutonomousVmResourceUsage) 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 AutonomousVmResourceUsage) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/avm_acd_resource_stats.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/avm_acd_resource_stats.go
new file mode 100644
index 00000000000..23e96e5b369
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/avm_acd_resource_stats.go
@@ -0,0 +1,62 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// AvmAcdResourceStats Associated autonomous container databases usages.
+type AvmAcdResourceStats struct {
+
+ // The user-friendly name for the Autonomous Container Database. The name does not need to be unique.
+ DisplayName *string `mandatory:"true" json:"displayName"`
+
+ // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous Container Database.
+ Id *string `mandatory:"false" json:"id"`
+
+ // CPUs/cores assigned to Autonomous Databases in the ACD instances.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The number of CPU cores available.
+ AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
+
+ // CPUs/cores assigned to the ACD instance. Sum of provisioned, reserved and reclaimable CPUs/ cores
+ // to the ACD instance.
+ UsedCpus *float32 `mandatory:"false" json:"usedCpus"`
+
+ // CPUs/cores reserved for scalability, resilliency and other overheads. This includes failover,
+ // autoscaling and idle instance overhead.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // CPUs/cores that continue to be included in the count of OCPUs available to the
+ // Autonomous Container Database even after one of its Autonomous Database is terminated
+ // or scaled down. You can release them to the available OCPUs at its parent AVMC level by
+ // restarting the Autonomous Container Database.
+ ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
+}
+
+func (m AvmAcdResourceStats) 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 AvmAcdResourceStats) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster.go
index 725ebf506ec..33fec4efc72 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster.go
@@ -91,7 +91,7 @@ type CloudAutonomousVmCluster struct {
// The number of CPU cores on the cloud Autonomous VM cluster. Only 1 decimal place is allowed for the fractional part.
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`
- // The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Cloud Autonomous VM Cluster.
ComputeModel CloudAutonomousVmClusterComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
@@ -144,7 +144,7 @@ type CloudAutonomousVmCluster struct {
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
// The number of Autonomous Container Databases that can be created with the currently available local storage.
@@ -162,11 +162,38 @@ type CloudAutonomousVmCluster struct {
// The local node storage allocated in GBs.
DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers.
DbServers []string `mandatory:"false" json:"dbServers"`
+
+ // The percentage of total number of CPUs used in an Autonomous VM Cluster.
+ CpuPercentage *float32 `mandatory:"false" json:"cpuPercentage"`
+
+ // The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
+ AutonomousDataStoragePercentage *float32 `mandatory:"false" json:"autonomousDataStoragePercentage"`
+
+ // The number of CPUs provisioned in an Autonomous VM Cluster.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The total number of CPUs in an Autonomous VM Cluster.
+ TotalCpus *float32 `mandatory:"false" json:"totalCpus"`
+
+ // The total data disk group size for Autonomous Databases, in TBs.
+ TotalAutonomousDataStorageInTBs *float32 `mandatory:"false" json:"totalAutonomousDataStorageInTBs"`
+
+ // The number of CPUs reserved in an Autonomous VM Cluster.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"provisionableAutonomousContainerDatabases"`
+
+ // The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionedAutonomousContainerDatabases *int `mandatory:"false" json:"provisionedAutonomousContainerDatabases"`
+
+ // The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ NonProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"nonProvisionableAutonomousContainerDatabases"`
}
func (m CloudAutonomousVmCluster) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_resource_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_resource_usage.go
new file mode 100644
index 00000000000..2dfa81cdf5c
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_resource_usage.go
@@ -0,0 +1,100 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// CloudAutonomousVmClusterResourceUsage Cloud Autonomous VM Cluster usage details, including the Autonomous Container Databases usage.
+type CloudAutonomousVmClusterResourceUsage struct {
+
+ // The user-friendly name for the Autonomous VM cluster. The name does not need to be unique.
+ DisplayName *string `mandatory:"true" json:"displayName"`
+
+ // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Cloud Autonomous VM cluster.
+ Id *string `mandatory:"false" json:"id"`
+
+ // The data disk group size allocated for Autonomous Databases, in TBs.
+ AutonomousDataStorageSizeInTBs *float32 `mandatory:"false" json:"autonomousDataStorageSizeInTBs"`
+
+ // The local node storage allocated in GBs.
+ DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"`
+
+ // The memory allocated in GBs.
+ MemorySizeInGBs *int `mandatory:"false" json:"memorySizeInGBs"`
+
+ // The total number of Autonomous Container Databases that can be created.
+ TotalContainerDatabases *int `mandatory:"false" json:"totalContainerDatabases"`
+
+ // The data disk group size available for Autonomous Databases, in TBs.
+ AvailableAutonomousDataStorageSizeInTBs *float32 `mandatory:"false" json:"availableAutonomousDataStorageSizeInTBs"`
+
+ // The data disk group size used for Autonomous Databases, in TBs.
+ UsedAutonomousDataStorageSizeInTBs *float32 `mandatory:"false" json:"usedAutonomousDataStorageSizeInTBs"`
+
+ // The amount of memory (in GBs) to be enabled per each CPU core.
+ MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
+
+ // Total exadata storage allocated for the Autonomous VM Cluster. DATA + RECOVERY + SPARSE + any overhead in TBs.
+ ExadataStorageInTBs *float64 `mandatory:"false" json:"exadataStorageInTBs"`
+
+ // The number of CPU cores enabled on the Cloud Autonomous VM cluster.
+ TotalCpus *float32 `mandatory:"false" json:"totalCpus"`
+
+ // The number of CPU cores alloted to the Autonomous Container Databases
+ // in an Cloud Autonomous VM cluster.
+ UsedCpus *float32 `mandatory:"false" json:"usedCpus"`
+
+ // The number of CPU cores available.
+ AvailableCpus *float32 `mandatory:"false" json:"availableCpus"`
+
+ // CPU cores that continue to be included in the count of OCPUs available
+ // to the Autonomous Container Database even after one of its Autonomous Database is
+ // terminated or scaled down. You can release them to the available OCPUs at its parent
+ // AVMC level by restarting the Autonomous Container Database.
+ ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
+
+ // The number of CPUs provisioned in an Autonomous VM Cluster.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The number of CPUs reserved in an Autonomous VM Cluster.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"provisionableAutonomousContainerDatabases"`
+
+ // The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionedAutonomousContainerDatabases *int `mandatory:"false" json:"provisionedAutonomousContainerDatabases"`
+
+ // The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ NonProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"nonProvisionableAutonomousContainerDatabases"`
+
+ // List of Autonomous VM resource usages.
+ AutonomousVmResourceUsage []AutonomousVmResourceUsage `mandatory:"false" json:"autonomousVmResourceUsage"`
+}
+
+func (m CloudAutonomousVmClusterResourceUsage) 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 CloudAutonomousVmClusterResourceUsage) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_summary.go
index e39abc94269..73c2498e3ae 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/cloud_autonomous_vm_cluster_summary.go
@@ -91,7 +91,7 @@ type CloudAutonomousVmClusterSummary struct {
// The number of CPU cores on the cloud Autonomous VM cluster. Only 1 decimal place is allowed for the fractional part.
OcpuCount *float32 `mandatory:"false" json:"ocpuCount"`
- // The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Cloud Autonomous VM Cluster.
ComputeModel CloudAutonomousVmClusterSummaryComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
@@ -144,7 +144,7 @@ type CloudAutonomousVmClusterSummary struct {
// For Autonomous Databases on Dedicated Exadata Infrastructure:
// - These are the CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database.
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
ReclaimableCpus *float32 `mandatory:"false" json:"reclaimableCpus"`
// The number of Autonomous Container Databases that can be created with the currently available local storage.
@@ -162,11 +162,38 @@ type CloudAutonomousVmClusterSummary struct {
// The local node storage allocated in GBs.
DbNodeStorageSizeInGBs *int `mandatory:"false" json:"dbNodeStorageSizeInGBs"`
- // The amount of memory (in GBs) enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The list of OCIDs (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers.
DbServers []string `mandatory:"false" json:"dbServers"`
+
+ // The percentage of total number of CPUs used in an Autonomous VM Cluster.
+ CpuPercentage *float32 `mandatory:"false" json:"cpuPercentage"`
+
+ // The percentage of the data storage used for the Autonomous Databases in an Autonomous VM Cluster.
+ AutonomousDataStoragePercentage *float32 `mandatory:"false" json:"autonomousDataStoragePercentage"`
+
+ // The number of CPUs provisioned in an Autonomous VM Cluster.
+ ProvisionedCpus *float32 `mandatory:"false" json:"provisionedCpus"`
+
+ // The total number of CPUs in an Autonomous VM Cluster.
+ TotalCpus *float32 `mandatory:"false" json:"totalCpus"`
+
+ // The total data disk group size for Autonomous Databases, in TBs.
+ TotalAutonomousDataStorageInTBs *float32 `mandatory:"false" json:"totalAutonomousDataStorageInTBs"`
+
+ // The number of CPUs reserved in an Autonomous VM Cluster.
+ ReservedCpus *float32 `mandatory:"false" json:"reservedCpus"`
+
+ // The number of provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"provisionableAutonomousContainerDatabases"`
+
+ // The number of provisioned Autonomous Container Databases in an Autonomous VM Cluster.
+ ProvisionedAutonomousContainerDatabases *int `mandatory:"false" json:"provisionedAutonomousContainerDatabases"`
+
+ // The number of non-provisionable Autonomous Container Databases in an Autonomous VM Cluster.
+ NonProvisionableAutonomousContainerDatabases *int `mandatory:"false" json:"nonProvisionableAutonomousContainerDatabases"`
}
func (m CloudAutonomousVmClusterSummary) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_database_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_database_base.go
index 1c41b3204bf..f708d6b92a8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_database_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_database_base.go
@@ -237,7 +237,6 @@ type CreateAutonomousDatabaseBase interface {
type createautonomousdatabasebase struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
CharacterSet *string `mandatory:"false" json:"characterSet"`
NcharacterSet *string `mandatory:"false" json:"ncharacterSet"`
DbName *string `mandatory:"false" json:"dbName"`
@@ -283,6 +282,7 @@ type createautonomousdatabasebase struct {
DbToolsDetails []DatabaseTool `mandatory:"false" json:"dbToolsDetails"`
SecretId *string `mandatory:"false" json:"secretId"`
SecretVersionNumber *int `mandatory:"false" json:"secretVersionNumber"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Source string `json:"source"`
}
@@ -391,236 +391,236 @@ func (m *createautonomousdatabasebase) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetCompartmentId returns CompartmentId
-func (m createautonomousdatabasebase) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetCharacterSet returns CharacterSet
+// GetCharacterSet returns CharacterSet
func (m createautonomousdatabasebase) GetCharacterSet() *string {
return m.CharacterSet
}
-//GetNcharacterSet returns NcharacterSet
+// GetNcharacterSet returns NcharacterSet
func (m createautonomousdatabasebase) GetNcharacterSet() *string {
return m.NcharacterSet
}
-//GetDbName returns DbName
+// GetDbName returns DbName
func (m createautonomousdatabasebase) GetDbName() *string {
return m.DbName
}
-//GetCpuCoreCount returns CpuCoreCount
+// GetCpuCoreCount returns CpuCoreCount
func (m createautonomousdatabasebase) GetCpuCoreCount() *int {
return m.CpuCoreCount
}
-//GetBackupRetentionPeriodInDays returns BackupRetentionPeriodInDays
+// GetBackupRetentionPeriodInDays returns BackupRetentionPeriodInDays
func (m createautonomousdatabasebase) GetBackupRetentionPeriodInDays() *int {
return m.BackupRetentionPeriodInDays
}
-//GetComputeModel returns ComputeModel
+// GetComputeModel returns ComputeModel
func (m createautonomousdatabasebase) GetComputeModel() CreateAutonomousDatabaseBaseComputeModelEnum {
return m.ComputeModel
}
-//GetComputeCount returns ComputeCount
+// GetComputeCount returns ComputeCount
func (m createautonomousdatabasebase) GetComputeCount() *float32 {
return m.ComputeCount
}
-//GetOcpuCount returns OcpuCount
+// GetOcpuCount returns OcpuCount
func (m createautonomousdatabasebase) GetOcpuCount() *float32 {
return m.OcpuCount
}
-//GetDbWorkload returns DbWorkload
+// GetDbWorkload returns DbWorkload
func (m createautonomousdatabasebase) GetDbWorkload() CreateAutonomousDatabaseBaseDbWorkloadEnum {
return m.DbWorkload
}
-//GetDataStorageSizeInTBs returns DataStorageSizeInTBs
+// GetDataStorageSizeInTBs returns DataStorageSizeInTBs
func (m createautonomousdatabasebase) GetDataStorageSizeInTBs() *int {
return m.DataStorageSizeInTBs
}
-//GetDataStorageSizeInGBs returns DataStorageSizeInGBs
+// GetDataStorageSizeInGBs returns DataStorageSizeInGBs
func (m createautonomousdatabasebase) GetDataStorageSizeInGBs() *int {
return m.DataStorageSizeInGBs
}
-//GetIsFreeTier returns IsFreeTier
+// GetIsFreeTier returns IsFreeTier
func (m createautonomousdatabasebase) GetIsFreeTier() *bool {
return m.IsFreeTier
}
-//GetKmsKeyId returns KmsKeyId
+// GetKmsKeyId returns KmsKeyId
func (m createautonomousdatabasebase) GetKmsKeyId() *string {
return m.KmsKeyId
}
-//GetVaultId returns VaultId
+// GetVaultId returns VaultId
func (m createautonomousdatabasebase) GetVaultId() *string {
return m.VaultId
}
-//GetAdminPassword returns AdminPassword
+// GetAdminPassword returns AdminPassword
func (m createautonomousdatabasebase) GetAdminPassword() *string {
return m.AdminPassword
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createautonomousdatabasebase) GetDisplayName() *string {
return m.DisplayName
}
-//GetLicenseModel returns LicenseModel
+// GetLicenseModel returns LicenseModel
func (m createautonomousdatabasebase) GetLicenseModel() CreateAutonomousDatabaseBaseLicenseModelEnum {
return m.LicenseModel
}
-//GetIsPreviewVersionWithServiceTermsAccepted returns IsPreviewVersionWithServiceTermsAccepted
+// GetIsPreviewVersionWithServiceTermsAccepted returns IsPreviewVersionWithServiceTermsAccepted
func (m createautonomousdatabasebase) GetIsPreviewVersionWithServiceTermsAccepted() *bool {
return m.IsPreviewVersionWithServiceTermsAccepted
}
-//GetIsAutoScalingEnabled returns IsAutoScalingEnabled
+// GetIsAutoScalingEnabled returns IsAutoScalingEnabled
func (m createautonomousdatabasebase) GetIsAutoScalingEnabled() *bool {
return m.IsAutoScalingEnabled
}
-//GetIsDedicated returns IsDedicated
+// GetIsDedicated returns IsDedicated
func (m createautonomousdatabasebase) GetIsDedicated() *bool {
return m.IsDedicated
}
-//GetAutonomousContainerDatabaseId returns AutonomousContainerDatabaseId
+// GetAutonomousContainerDatabaseId returns AutonomousContainerDatabaseId
func (m createautonomousdatabasebase) GetAutonomousContainerDatabaseId() *string {
return m.AutonomousContainerDatabaseId
}
-//GetInMemoryPercentage returns InMemoryPercentage
+// GetInMemoryPercentage returns InMemoryPercentage
func (m createautonomousdatabasebase) GetInMemoryPercentage() *int {
return m.InMemoryPercentage
}
-//GetIsAccessControlEnabled returns IsAccessControlEnabled
+// GetIsAccessControlEnabled returns IsAccessControlEnabled
func (m createautonomousdatabasebase) GetIsAccessControlEnabled() *bool {
return m.IsAccessControlEnabled
}
-//GetWhitelistedIps returns WhitelistedIps
+// GetWhitelistedIps returns WhitelistedIps
func (m createautonomousdatabasebase) GetWhitelistedIps() []string {
return m.WhitelistedIps
}
-//GetArePrimaryWhitelistedIpsUsed returns ArePrimaryWhitelistedIpsUsed
+// GetArePrimaryWhitelistedIpsUsed returns ArePrimaryWhitelistedIpsUsed
func (m createautonomousdatabasebase) GetArePrimaryWhitelistedIpsUsed() *bool {
return m.ArePrimaryWhitelistedIpsUsed
}
-//GetStandbyWhitelistedIps returns StandbyWhitelistedIps
+// GetStandbyWhitelistedIps returns StandbyWhitelistedIps
func (m createautonomousdatabasebase) GetStandbyWhitelistedIps() []string {
return m.StandbyWhitelistedIps
}
-//GetIsDataGuardEnabled returns IsDataGuardEnabled
+// GetIsDataGuardEnabled returns IsDataGuardEnabled
func (m createautonomousdatabasebase) GetIsDataGuardEnabled() *bool {
return m.IsDataGuardEnabled
}
-//GetIsLocalDataGuardEnabled returns IsLocalDataGuardEnabled
+// GetIsLocalDataGuardEnabled returns IsLocalDataGuardEnabled
func (m createautonomousdatabasebase) GetIsLocalDataGuardEnabled() *bool {
return m.IsLocalDataGuardEnabled
}
-//GetSubnetId returns SubnetId
+// GetSubnetId returns SubnetId
func (m createautonomousdatabasebase) GetSubnetId() *string {
return m.SubnetId
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m createautonomousdatabasebase) GetNsgIds() []string {
return m.NsgIds
}
-//GetPrivateEndpointLabel returns PrivateEndpointLabel
+// GetPrivateEndpointLabel returns PrivateEndpointLabel
func (m createautonomousdatabasebase) GetPrivateEndpointLabel() *string {
return m.PrivateEndpointLabel
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createautonomousdatabasebase) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createautonomousdatabasebase) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetPrivateEndpointIp returns PrivateEndpointIp
+// GetPrivateEndpointIp returns PrivateEndpointIp
func (m createautonomousdatabasebase) GetPrivateEndpointIp() *string {
return m.PrivateEndpointIp
}
-//GetDbVersion returns DbVersion
+// GetDbVersion returns DbVersion
func (m createautonomousdatabasebase) GetDbVersion() *string {
return m.DbVersion
}
-//GetCustomerContacts returns CustomerContacts
+// GetCustomerContacts returns CustomerContacts
func (m createautonomousdatabasebase) GetCustomerContacts() []CustomerContact {
return m.CustomerContacts
}
-//GetIsMtlsConnectionRequired returns IsMtlsConnectionRequired
+// GetIsMtlsConnectionRequired returns IsMtlsConnectionRequired
func (m createautonomousdatabasebase) GetIsMtlsConnectionRequired() *bool {
return m.IsMtlsConnectionRequired
}
-//GetAutonomousMaintenanceScheduleType returns AutonomousMaintenanceScheduleType
+// GetAutonomousMaintenanceScheduleType returns AutonomousMaintenanceScheduleType
func (m createautonomousdatabasebase) GetAutonomousMaintenanceScheduleType() CreateAutonomousDatabaseBaseAutonomousMaintenanceScheduleTypeEnum {
return m.AutonomousMaintenanceScheduleType
}
-//GetScheduledOperations returns ScheduledOperations
+// GetScheduledOperations returns ScheduledOperations
func (m createautonomousdatabasebase) GetScheduledOperations() []ScheduledOperationDetails {
return m.ScheduledOperations
}
-//GetIsAutoScalingForStorageEnabled returns IsAutoScalingForStorageEnabled
+// GetIsAutoScalingForStorageEnabled returns IsAutoScalingForStorageEnabled
func (m createautonomousdatabasebase) GetIsAutoScalingForStorageEnabled() *bool {
return m.IsAutoScalingForStorageEnabled
}
-//GetMaxCpuCoreCount returns MaxCpuCoreCount
+// GetMaxCpuCoreCount returns MaxCpuCoreCount
func (m createautonomousdatabasebase) GetMaxCpuCoreCount() *int {
return m.MaxCpuCoreCount
}
-//GetDatabaseEdition returns DatabaseEdition
+// GetDatabaseEdition returns DatabaseEdition
func (m createautonomousdatabasebase) GetDatabaseEdition() AutonomousDatabaseSummaryDatabaseEditionEnum {
return m.DatabaseEdition
}
-//GetDbToolsDetails returns DbToolsDetails
+// GetDbToolsDetails returns DbToolsDetails
func (m createautonomousdatabasebase) GetDbToolsDetails() []DatabaseTool {
return m.DbToolsDetails
}
-//GetSecretId returns SecretId
+// GetSecretId returns SecretId
func (m createautonomousdatabasebase) GetSecretId() *string {
return m.SecretId
}
-//GetSecretVersionNumber returns SecretVersionNumber
+// GetSecretVersionNumber returns SecretVersionNumber
func (m createautonomousdatabasebase) GetSecretVersionNumber() *int {
return m.SecretVersionNumber
}
+// GetCompartmentId returns CompartmentId
+func (m createautonomousdatabasebase) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createautonomousdatabasebase) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_vm_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_vm_cluster_details.go
index 8cb97c573af..ed7178d5f2a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_vm_cluster_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_autonomous_vm_cluster_details.go
@@ -45,10 +45,10 @@ type CreateAutonomousVmClusterDetails struct {
// The number of CPU cores to enable per VM cluster node.
CpuCoreCountPerNode *int `mandatory:"false" json:"cpuCoreCountPerNode"`
- // The compute model of the Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Autonomous VM Cluster.
ComputeModel CreateAutonomousVmClusterDetailsComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
- // The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) to be enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The data disk group size to be allocated for Autonomous Databases, in TBs.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_backup_destination_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_backup_destination_details.go
index 365cc9a805d..9ebec1e27fb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_backup_destination_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_backup_destination_details.go
@@ -37,10 +37,10 @@ type CreateBackupDestinationDetails interface {
type createbackupdestinationdetails struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Type string `json:"type"`
}
@@ -87,26 +87,26 @@ func (m *createbackupdestinationdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDisplayName returns DisplayName
-func (m createbackupdestinationdetails) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createbackupdestinationdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createbackupdestinationdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createbackupdestinationdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetDisplayName returns DisplayName
+func (m createbackupdestinationdetails) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createbackupdestinationdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createbackupdestinationdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_cloud_autonomous_vm_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_cloud_autonomous_vm_cluster_details.go
index 4dbf20dfbe1..9321f58cc62 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_cloud_autonomous_vm_cluster_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_cloud_autonomous_vm_cluster_details.go
@@ -39,7 +39,7 @@ type CreateCloudAutonomousVmClusterDetails struct {
// The number of CPU cores to be enabled per VM cluster node.
CpuCoreCountPerNode *int `mandatory:"false" json:"cpuCoreCountPerNode"`
- // The amount of memory (in GBs) to be enabled per OCPU or ECPU. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The amount of memory (in GBs) to be enabled per OCPU or ECPU.
MemoryPerOracleComputeUnitInGBs *int `mandatory:"false" json:"memoryPerOracleComputeUnitInGBs"`
// The data disk group size to be allocated for Autonomous Databases, in TBs.
@@ -48,7 +48,7 @@ type CreateCloudAutonomousVmClusterDetails struct {
// The time zone to use for the Cloud Autonomous VM cluster. For details, see DB System Time Zones (https://docs.cloud.oracle.com/Content/Database/References/timezones.htm).
ClusterTimeZone *string `mandatory:"false" json:"clusterTimeZone"`
- // The compute model of the Cloud Autonomous VM Cluster. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // The compute model of the Cloud Autonomous VM Cluster.
ComputeModel CreateCloudAutonomousVmClusterDetailsComputeModelEnum `mandatory:"false" json:"computeModel,omitempty"`
// Enable mutual TLS(mTLS) authentication for database at time of provisioning a VMCluster. This is applicable to database TLS Certificates only. Default is TLS
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_data_guard_association_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_data_guard_association_details.go
index be549315ea4..69b6c3075b5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_data_guard_association_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_data_guard_association_details.go
@@ -60,13 +60,13 @@ type CreateDataGuardAssociationDetails interface {
type createdataguardassociationdetails struct {
JsonData []byte
- DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`
- ProtectionMode CreateDataGuardAssociationDetailsProtectionModeEnum `mandatory:"true" json:"protectionMode"`
- TransportType CreateDataGuardAssociationDetailsTransportTypeEnum `mandatory:"true" json:"transportType"`
DatabaseSoftwareImageId *string `mandatory:"false" json:"databaseSoftwareImageId"`
IsActiveDataGuardEnabled *bool `mandatory:"false" json:"isActiveDataGuardEnabled"`
PeerDbUniqueName *string `mandatory:"false" json:"peerDbUniqueName"`
PeerSidPrefix *string `mandatory:"false" json:"peerSidPrefix"`
+ DatabaseAdminPassword *string `mandatory:"true" json:"databaseAdminPassword"`
+ ProtectionMode CreateDataGuardAssociationDetailsProtectionModeEnum `mandatory:"true" json:"protectionMode"`
+ TransportType CreateDataGuardAssociationDetailsTransportTypeEnum `mandatory:"true" json:"transportType"`
CreationType string `json:"creationType"`
}
@@ -120,41 +120,41 @@ func (m *createdataguardassociationdetails) UnmarshalPolymorphicJSON(data []byte
}
}
-//GetDatabaseAdminPassword returns DatabaseAdminPassword
-func (m createdataguardassociationdetails) GetDatabaseAdminPassword() *string {
- return m.DatabaseAdminPassword
-}
-
-//GetProtectionMode returns ProtectionMode
-func (m createdataguardassociationdetails) GetProtectionMode() CreateDataGuardAssociationDetailsProtectionModeEnum {
- return m.ProtectionMode
-}
-
-//GetTransportType returns TransportType
-func (m createdataguardassociationdetails) GetTransportType() CreateDataGuardAssociationDetailsTransportTypeEnum {
- return m.TransportType
-}
-
-//GetDatabaseSoftwareImageId returns DatabaseSoftwareImageId
+// GetDatabaseSoftwareImageId returns DatabaseSoftwareImageId
func (m createdataguardassociationdetails) GetDatabaseSoftwareImageId() *string {
return m.DatabaseSoftwareImageId
}
-//GetIsActiveDataGuardEnabled returns IsActiveDataGuardEnabled
+// GetIsActiveDataGuardEnabled returns IsActiveDataGuardEnabled
func (m createdataguardassociationdetails) GetIsActiveDataGuardEnabled() *bool {
return m.IsActiveDataGuardEnabled
}
-//GetPeerDbUniqueName returns PeerDbUniqueName
+// GetPeerDbUniqueName returns PeerDbUniqueName
func (m createdataguardassociationdetails) GetPeerDbUniqueName() *string {
return m.PeerDbUniqueName
}
-//GetPeerSidPrefix returns PeerSidPrefix
+// GetPeerSidPrefix returns PeerSidPrefix
func (m createdataguardassociationdetails) GetPeerSidPrefix() *string {
return m.PeerSidPrefix
}
+// GetDatabaseAdminPassword returns DatabaseAdminPassword
+func (m createdataguardassociationdetails) GetDatabaseAdminPassword() *string {
+ return m.DatabaseAdminPassword
+}
+
+// GetProtectionMode returns ProtectionMode
+func (m createdataguardassociationdetails) GetProtectionMode() CreateDataGuardAssociationDetailsProtectionModeEnum {
+ return m.ProtectionMode
+}
+
+// GetTransportType returns TransportType
+func (m createdataguardassociationdetails) GetTransportType() CreateDataGuardAssociationDetailsTransportTypeEnum {
+ return m.TransportType
+}
+
func (m createdataguardassociationdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_database_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_database_base.go
index f784f5b81cc..f60cc147996 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_database_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_database_base.go
@@ -36,10 +36,10 @@ type CreateDatabaseBase interface {
type createdatabasebase struct {
JsonData []byte
- DbHomeId *string `mandatory:"true" json:"dbHomeId"`
DbVersion *string `mandatory:"false" json:"dbVersion"`
KmsKeyId *string `mandatory:"false" json:"kmsKeyId"`
KmsKeyVersionId *string `mandatory:"false" json:"kmsKeyVersionId"`
+ DbHomeId *string `mandatory:"true" json:"dbHomeId"`
Source string `json:"source"`
}
@@ -86,26 +86,26 @@ func (m *createdatabasebase) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetDbHomeId returns DbHomeId
-func (m createdatabasebase) GetDbHomeId() *string {
- return m.DbHomeId
-}
-
-//GetDbVersion returns DbVersion
+// GetDbVersion returns DbVersion
func (m createdatabasebase) GetDbVersion() *string {
return m.DbVersion
}
-//GetKmsKeyId returns KmsKeyId
+// GetKmsKeyId returns KmsKeyId
func (m createdatabasebase) GetKmsKeyId() *string {
return m.KmsKeyId
}
-//GetKmsKeyVersionId returns KmsKeyVersionId
+// GetKmsKeyVersionId returns KmsKeyVersionId
func (m createdatabasebase) GetKmsKeyVersionId() *string {
return m.KmsKeyVersionId
}
+// GetDbHomeId returns DbHomeId
+func (m createdatabasebase) GetDbHomeId() *string {
+ return m.DbHomeId
+}
+
func (m createdatabasebase) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_db_home_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_db_home_base.go
index 7f210b985ee..e1f29640b25 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_db_home_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_db_home_base.go
@@ -115,37 +115,37 @@ func (m *createdbhomebase) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createdbhomebase) GetDisplayName() *string {
return m.DisplayName
}
-//GetKmsKeyId returns KmsKeyId
+// GetKmsKeyId returns KmsKeyId
func (m createdbhomebase) GetKmsKeyId() *string {
return m.KmsKeyId
}
-//GetKmsKeyVersionId returns KmsKeyVersionId
+// GetKmsKeyVersionId returns KmsKeyVersionId
func (m createdbhomebase) GetKmsKeyVersionId() *string {
return m.KmsKeyVersionId
}
-//GetDatabaseSoftwareImageId returns DatabaseSoftwareImageId
+// GetDatabaseSoftwareImageId returns DatabaseSoftwareImageId
func (m createdbhomebase) GetDatabaseSoftwareImageId() *string {
return m.DatabaseSoftwareImageId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdbhomebase) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdbhomebase) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetIsDesupportedVersion returns IsDesupportedVersion
+// GetIsDesupportedVersion returns IsDesupportedVersion
func (m createdbhomebase) GetIsDesupportedVersion() *bool {
return m.IsDesupportedVersion
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_external_database_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_external_database_connector_details.go
index 94a06db7c20..cafdaf757a1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/create_external_database_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/create_external_database_connector_details.go
@@ -39,10 +39,10 @@ type CreateExternalDatabaseConnectorDetails interface {
type createexternaldatabaseconnectordetails struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
- ExternalDatabaseId *string `mandatory:"true" json:"externalDatabaseId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ ExternalDatabaseId *string `mandatory:"true" json:"externalDatabaseId"`
ConnectorType string `json:"connectorType"`
}
@@ -85,26 +85,26 @@ func (m *createexternaldatabaseconnectordetails) UnmarshalPolymorphicJSON(data [
}
}
-//GetDisplayName returns DisplayName
-func (m createexternaldatabaseconnectordetails) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetExternalDatabaseId returns ExternalDatabaseId
-func (m createexternaldatabaseconnectordetails) GetExternalDatabaseId() *string {
- return m.ExternalDatabaseId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createexternaldatabaseconnectordetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createexternaldatabaseconnectordetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetDisplayName returns DisplayName
+func (m createexternaldatabaseconnectordetails) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetExternalDatabaseId returns ExternalDatabaseId
+func (m createexternaldatabaseconnectordetails) GetExternalDatabaseId() *string {
+ return m.ExternalDatabaseId
+}
+
func (m createexternaldatabaseconnectordetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/database_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/database_client.go
index 232063bbee1..63a246b51b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/database_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/database_client.go
@@ -80,7 +80,7 @@ func (client *DatabaseClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
@@ -7302,6 +7302,63 @@ func (client DatabaseClient) getAutonomousContainerDatabaseDataguardAssociation(
return response, err
}
+// GetAutonomousContainerDatabaseResourceUsage Get resource usage details for the specified Autonomous Container Database.
+//
+// See also
+//
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetAutonomousContainerDatabaseResourceUsage.go.html to see an example of how to use GetAutonomousContainerDatabaseResourceUsage API.
+func (client DatabaseClient) GetAutonomousContainerDatabaseResourceUsage(ctx context.Context, request GetAutonomousContainerDatabaseResourceUsageRequest) (response GetAutonomousContainerDatabaseResourceUsageResponse, 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.getAutonomousContainerDatabaseResourceUsage, policy)
+ if err != nil {
+ if ociResponse != nil {
+ if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
+ opcRequestId := httpResponse.Header.Get("opc-request-id")
+ response = GetAutonomousContainerDatabaseResourceUsageResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
+ } else {
+ response = GetAutonomousContainerDatabaseResourceUsageResponse{}
+ }
+ }
+ return
+ }
+ if convertedResponse, ok := ociResponse.(GetAutonomousContainerDatabaseResourceUsageResponse); ok {
+ response = convertedResponse
+ } else {
+ err = fmt.Errorf("failed to convert OCIResponse into GetAutonomousContainerDatabaseResourceUsageResponse")
+ }
+ return
+}
+
+// getAutonomousContainerDatabaseResourceUsage implements the OCIOperation interface (enables retrying operations)
+func (client DatabaseClient) getAutonomousContainerDatabaseResourceUsage(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
+
+ httpRequest, err := request.HTTPRequest(http.MethodGet, "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/resourceUsage", binaryReqBody, extraHeaders)
+ if err != nil {
+ return nil, err
+ }
+
+ var response GetAutonomousContainerDatabaseResourceUsageResponse
+ 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/AutonomousContainerDatabase/GetAutonomousContainerDatabaseResourceUsage"
+ err = common.PostProcessServiceError(err, "Database", "GetAutonomousContainerDatabaseResourceUsage", apiReferenceLink)
+ return response, err
+ }
+
+ err = common.UnmarshalResponse(httpResponse, &response)
+ return response, err
+}
+
// GetAutonomousDatabase Gets the details of the specified Autonomous Database.
//
// See also
@@ -7986,6 +8043,63 @@ func (client DatabaseClient) getCloudAutonomousVmCluster(ctx context.Context, re
return response, err
}
+// GetCloudAutonomousVmClusterResourceUsage Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
+//
+// See also
+//
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetCloudAutonomousVmClusterResourceUsage.go.html to see an example of how to use GetCloudAutonomousVmClusterResourceUsage API.
+func (client DatabaseClient) GetCloudAutonomousVmClusterResourceUsage(ctx context.Context, request GetCloudAutonomousVmClusterResourceUsageRequest) (response GetCloudAutonomousVmClusterResourceUsageResponse, 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.getCloudAutonomousVmClusterResourceUsage, policy)
+ if err != nil {
+ if ociResponse != nil {
+ if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
+ opcRequestId := httpResponse.Header.Get("opc-request-id")
+ response = GetCloudAutonomousVmClusterResourceUsageResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
+ } else {
+ response = GetCloudAutonomousVmClusterResourceUsageResponse{}
+ }
+ }
+ return
+ }
+ if convertedResponse, ok := ociResponse.(GetCloudAutonomousVmClusterResourceUsageResponse); ok {
+ response = convertedResponse
+ } else {
+ err = fmt.Errorf("failed to convert OCIResponse into GetCloudAutonomousVmClusterResourceUsageResponse")
+ }
+ return
+}
+
+// getCloudAutonomousVmClusterResourceUsage implements the OCIOperation interface (enables retrying operations)
+func (client DatabaseClient) getCloudAutonomousVmClusterResourceUsage(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
+
+ httpRequest, err := request.HTTPRequest(http.MethodGet, "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage", binaryReqBody, extraHeaders)
+ if err != nil {
+ return nil, err
+ }
+
+ var response GetCloudAutonomousVmClusterResourceUsageResponse
+ 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/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage"
+ err = common.PostProcessServiceError(err, "Database", "GetCloudAutonomousVmClusterResourceUsage", apiReferenceLink)
+ return response, err
+ }
+
+ err = common.UnmarshalResponse(httpResponse, &response)
+ return response, err
+}
+
// GetCloudExadataInfrastructure Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
//
// See also
@@ -11550,6 +11664,64 @@ func (client DatabaseClient) listBackups(ctx context.Context, request common.OCI
return response, err
}
+// ListCloudAutonomousVmClusterAcdResourceUsage Gets the list of resource usage details for all the Cloud Autonomous Container Database
+// in the specified Cloud Autonomous Exadata VM cluster.
+//
+// See also
+//
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListCloudAutonomousVmClusterAcdResourceUsage.go.html to see an example of how to use ListCloudAutonomousVmClusterAcdResourceUsage API.
+func (client DatabaseClient) ListCloudAutonomousVmClusterAcdResourceUsage(ctx context.Context, request ListCloudAutonomousVmClusterAcdResourceUsageRequest) (response ListCloudAutonomousVmClusterAcdResourceUsageResponse, 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.listCloudAutonomousVmClusterAcdResourceUsage, policy)
+ if err != nil {
+ if ociResponse != nil {
+ if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
+ opcRequestId := httpResponse.Header.Get("opc-request-id")
+ response = ListCloudAutonomousVmClusterAcdResourceUsageResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
+ } else {
+ response = ListCloudAutonomousVmClusterAcdResourceUsageResponse{}
+ }
+ }
+ return
+ }
+ if convertedResponse, ok := ociResponse.(ListCloudAutonomousVmClusterAcdResourceUsageResponse); ok {
+ response = convertedResponse
+ } else {
+ err = fmt.Errorf("failed to convert OCIResponse into ListCloudAutonomousVmClusterAcdResourceUsageResponse")
+ }
+ return
+}
+
+// listCloudAutonomousVmClusterAcdResourceUsage implements the OCIOperation interface (enables retrying operations)
+func (client DatabaseClient) listCloudAutonomousVmClusterAcdResourceUsage(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
+
+ httpRequest, err := request.HTTPRequest(http.MethodGet, "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/acdResourceUsage", binaryReqBody, extraHeaders)
+ if err != nil {
+ return nil, err
+ }
+
+ var response ListCloudAutonomousVmClusterAcdResourceUsageResponse
+ 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/CloudAutonomousVmCluster/ListCloudAutonomousVmClusterAcdResourceUsage"
+ err = common.PostProcessServiceError(err, "Database", "ListCloudAutonomousVmClusterAcdResourceUsage", apiReferenceLink)
+ return response, err
+ }
+
+ err = common.UnmarshalResponse(httpResponse, &response)
+ return response, err
+}
+
// ListCloudAutonomousVmClusters Lists Autonomous Exadata VM clusters in the Oracle cloud. For Exadata Cloud@Customer systems, see ListAutonomousVmClusters.
//
// See also
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/database_upgrade_source_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/database_upgrade_source_base.go
index d78e4e938d0..3a0895d5ec3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/database_upgrade_source_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/database_upgrade_source_base.go
@@ -74,7 +74,7 @@ func (m *databaseupgradesourcebase) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetOptions returns Options
+// GetOptions returns Options
func (m databaseupgradesourcebase) GetOptions() *string {
return m.Options
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector.go
index c997bc16112..5452a51ffed 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector.go
@@ -63,6 +63,9 @@ type ExternalDatabaseConnector interface {
type externaldatabaseconnector struct {
JsonData []byte
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"true" json:"displayName"`
Id *string `mandatory:"true" json:"id"`
@@ -71,9 +74,6 @@ type externaldatabaseconnector struct {
ExternalDatabaseId *string `mandatory:"true" json:"externalDatabaseId"`
ConnectionStatus *string `mandatory:"true" json:"connectionStatus"`
TimeConnectionStatusLastUpdated *common.SDKTime `mandatory:"true" json:"timeConnectionStatusLastUpdated"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
ConnectorType string `json:"connectorType"`
}
@@ -123,61 +123,61 @@ func (m *externaldatabaseconnector) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetCompartmentId returns CompartmentId
+// GetFreeformTags returns FreeformTags
+func (m externaldatabaseconnector) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m externaldatabaseconnector) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m externaldatabaseconnector) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetCompartmentId returns CompartmentId
func (m externaldatabaseconnector) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m externaldatabaseconnector) GetDisplayName() *string {
return m.DisplayName
}
-//GetId returns Id
+// GetId returns Id
func (m externaldatabaseconnector) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m externaldatabaseconnector) GetLifecycleState() ExternalDatabaseConnectorLifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m externaldatabaseconnector) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetExternalDatabaseId returns ExternalDatabaseId
+// GetExternalDatabaseId returns ExternalDatabaseId
func (m externaldatabaseconnector) GetExternalDatabaseId() *string {
return m.ExternalDatabaseId
}
-//GetConnectionStatus returns ConnectionStatus
+// GetConnectionStatus returns ConnectionStatus
func (m externaldatabaseconnector) GetConnectionStatus() *string {
return m.ConnectionStatus
}
-//GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
+// GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
func (m externaldatabaseconnector) GetTimeConnectionStatusLastUpdated() *common.SDKTime {
return m.TimeConnectionStatusLastUpdated
}
-//GetFreeformTags returns FreeformTags
-func (m externaldatabaseconnector) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m externaldatabaseconnector) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m externaldatabaseconnector) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m externaldatabaseconnector) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector_summary.go
index a3146ee7811..887277ef59e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/external_database_connector_summary.go
@@ -63,6 +63,9 @@ type ExternalDatabaseConnectorSummary interface {
type externaldatabaseconnectorsummary struct {
JsonData []byte
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"true" json:"displayName"`
Id *string `mandatory:"true" json:"id"`
@@ -71,9 +74,6 @@ type externaldatabaseconnectorsummary struct {
ExternalDatabaseId *string `mandatory:"true" json:"externalDatabaseId"`
ConnectionStatus *string `mandatory:"true" json:"connectionStatus"`
TimeConnectionStatusLastUpdated *common.SDKTime `mandatory:"true" json:"timeConnectionStatusLastUpdated"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
ConnectorType string `json:"connectorType"`
}
@@ -123,61 +123,61 @@ func (m *externaldatabaseconnectorsummary) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetCompartmentId returns CompartmentId
+// GetFreeformTags returns FreeformTags
+func (m externaldatabaseconnectorsummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m externaldatabaseconnectorsummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m externaldatabaseconnectorsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetCompartmentId returns CompartmentId
func (m externaldatabaseconnectorsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m externaldatabaseconnectorsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetId returns Id
+// GetId returns Id
func (m externaldatabaseconnectorsummary) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m externaldatabaseconnectorsummary) GetLifecycleState() ExternalDatabaseConnectorLifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m externaldatabaseconnectorsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetExternalDatabaseId returns ExternalDatabaseId
+// GetExternalDatabaseId returns ExternalDatabaseId
func (m externaldatabaseconnectorsummary) GetExternalDatabaseId() *string {
return m.ExternalDatabaseId
}
-//GetConnectionStatus returns ConnectionStatus
+// GetConnectionStatus returns ConnectionStatus
func (m externaldatabaseconnectorsummary) GetConnectionStatus() *string {
return m.ConnectionStatus
}
-//GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
+// GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
func (m externaldatabaseconnectorsummary) GetTimeConnectionStatusLastUpdated() *common.SDKTime {
return m.TimeConnectionStatusLastUpdated
}
-//GetFreeformTags returns FreeformTags
-func (m externaldatabaseconnectorsummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m externaldatabaseconnectorsummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m externaldatabaseconnectorsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m externaldatabaseconnectorsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_hub_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/get_autonomous_container_database_resource_usage_request_response.go
similarity index 53%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_hub_request_response.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/database/get_autonomous_container_database_resource_usage_request_response.go
index aa5dad2f9c3..c72ad3a29f4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_hub_request_response.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/get_autonomous_container_database_resource_usage_request_response.go
@@ -2,7 +2,7 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 opsi
+package database
import (
"fmt"
@@ -11,18 +11,17 @@ import (
"strings"
)
-// GetAwrHubRequest wrapper for the GetAwrHub operation
+// GetAutonomousContainerDatabaseResourceUsageRequest wrapper for the GetAutonomousContainerDatabaseResourceUsage operation
//
// # See also
//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrHub.go.html to see an example of how to use GetAwrHubRequest.
-type GetAwrHubRequest struct {
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetAutonomousContainerDatabaseResourceUsage.go.html to see an example of how to use GetAutonomousContainerDatabaseResourceUsageRequest.
+type GetAutonomousContainerDatabaseResourceUsageRequest struct {
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
+ // The Autonomous Container Database OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ AutonomousContainerDatabaseId *string `mandatory:"true" contributesTo:"path" name:"autonomousContainerDatabaseId"`
- // Unique Oracle-assigned identifier for the request. If you need to contact
- // Oracle about a particular request, please provide the request ID.
+ // 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
@@ -30,12 +29,12 @@ type GetAwrHubRequest struct {
RequestMetadata common.RequestMetadata
}
-func (request GetAwrHubRequest) String() string {
+func (request GetAutonomousContainerDatabaseResourceUsageRequest) String() string {
return common.PointerString(request)
}
// HTTPRequest implements the OCIRequest interface
-func (request GetAwrHubRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
+func (request GetAutonomousContainerDatabaseResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
_, err := request.ValidateEnumValue()
if err != nil {
@@ -45,21 +44,21 @@ func (request GetAwrHubRequest) HTTPRequest(method, path string, binaryRequestBo
}
// BinaryRequestBody implements the OCIRequest interface
-func (request GetAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
+func (request GetAutonomousContainerDatabaseResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
return nil, false
}
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAwrHubRequest) RetryPolicy() *common.RetryPolicy {
+func (request GetAutonomousContainerDatabaseResourceUsageRequest) 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 GetAwrHubRequest) ValidateEnumValue() (bool, error) {
+func (request GetAutonomousContainerDatabaseResourceUsageRequest) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -67,28 +66,28 @@ func (request GetAwrHubRequest) ValidateEnumValue() (bool, error) {
return false, nil
}
-// GetAwrHubResponse wrapper for the GetAwrHub operation
-type GetAwrHubResponse struct {
+// GetAutonomousContainerDatabaseResourceUsageResponse wrapper for the GetAutonomousContainerDatabaseResourceUsage operation
+type GetAutonomousContainerDatabaseResourceUsageResponse struct {
// The underlying http response
RawResponse *http.Response
- // The AwrHub instance
- AwrHub `presentIn:"body"`
+ // The AutonomousContainerDatabaseResourceUsage instance
+ AutonomousContainerDatabaseResourceUsage `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.
+ // 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 GetAwrHubResponse) String() string {
+func (response GetAutonomousContainerDatabaseResourceUsageResponse) String() string {
return common.PointerString(response)
}
// HTTPResponse implements the OCIResponse interface
-func (response GetAwrHubResponse) HTTPResponse() *http.Response {
+func (response GetAutonomousContainerDatabaseResourceUsageResponse) HTTPResponse() *http.Response {
return response.RawResponse
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_enterprise_manager_bridge_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/get_cloud_autonomous_vm_cluster_resource_usage_request_response.go
similarity index 54%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_enterprise_manager_bridge_request_response.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/database/get_cloud_autonomous_vm_cluster_resource_usage_request_response.go
index bdfde5b14cc..c4c4d73ab45 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_enterprise_manager_bridge_request_response.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/get_cloud_autonomous_vm_cluster_resource_usage_request_response.go
@@ -2,7 +2,7 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 opsi
+package database
import (
"fmt"
@@ -11,18 +11,17 @@ import (
"strings"
)
-// GetEnterpriseManagerBridgeRequest wrapper for the GetEnterpriseManagerBridge operation
+// GetCloudAutonomousVmClusterResourceUsageRequest wrapper for the GetCloudAutonomousVmClusterResourceUsage operation
//
// # See also
//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetEnterpriseManagerBridge.go.html to see an example of how to use GetEnterpriseManagerBridgeRequest.
-type GetEnterpriseManagerBridgeRequest struct {
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/GetCloudAutonomousVmClusterResourceUsage.go.html to see an example of how to use GetCloudAutonomousVmClusterResourceUsageRequest.
+type GetCloudAutonomousVmClusterResourceUsageRequest struct {
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
+ // The Cloud VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ CloudAutonomousVmClusterId *string `mandatory:"true" contributesTo:"path" name:"cloudAutonomousVmClusterId"`
- // Unique Oracle-assigned identifier for the request. If you need to contact
- // Oracle about a particular request, please provide the request ID.
+ // 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
@@ -30,12 +29,12 @@ type GetEnterpriseManagerBridgeRequest struct {
RequestMetadata common.RequestMetadata
}
-func (request GetEnterpriseManagerBridgeRequest) String() string {
+func (request GetCloudAutonomousVmClusterResourceUsageRequest) String() string {
return common.PointerString(request)
}
// HTTPRequest implements the OCIRequest interface
-func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
+func (request GetCloudAutonomousVmClusterResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
_, err := request.ValidateEnumValue()
if err != nil {
@@ -45,21 +44,21 @@ func (request GetEnterpriseManagerBridgeRequest) HTTPRequest(method, path string
}
// BinaryRequestBody implements the OCIRequest interface
-func (request GetEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
+func (request GetCloudAutonomousVmClusterResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
return nil, false
}
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetEnterpriseManagerBridgeRequest) RetryPolicy() *common.RetryPolicy {
+func (request GetCloudAutonomousVmClusterResourceUsageRequest) 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 GetEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error) {
+func (request GetCloudAutonomousVmClusterResourceUsageRequest) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -67,28 +66,28 @@ func (request GetEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, erro
return false, nil
}
-// GetEnterpriseManagerBridgeResponse wrapper for the GetEnterpriseManagerBridge operation
-type GetEnterpriseManagerBridgeResponse struct {
+// GetCloudAutonomousVmClusterResourceUsageResponse wrapper for the GetCloudAutonomousVmClusterResourceUsage operation
+type GetCloudAutonomousVmClusterResourceUsageResponse struct {
// The underlying http response
RawResponse *http.Response
- // The EnterpriseManagerBridge instance
- EnterpriseManagerBridge `presentIn:"body"`
+ // The CloudAutonomousVmClusterResourceUsage instance
+ CloudAutonomousVmClusterResourceUsage `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.
+ // 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 GetEnterpriseManagerBridgeResponse) String() string {
+func (response GetCloudAutonomousVmClusterResourceUsageResponse) String() string {
return common.PointerString(response)
}
// HTTPResponse implements the OCIResponse interface
-func (response GetEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response {
+func (response GetCloudAutonomousVmClusterResourceUsageResponse) HTTPResponse() *http.Response {
return response.RawResponse
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store.go
index d912c3ba621..5e49af1a561 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store.go
@@ -96,10 +96,7 @@ func (m *KeyStore) UnmarshalJSON(data []byte) (e error) {
m.LifecycleDetails = model.LifecycleDetails
m.AssociatedDatabases = make([]KeyStoreAssociatedDatabaseDetails, len(model.AssociatedDatabases))
- for i, n := range model.AssociatedDatabases {
- m.AssociatedDatabases[i] = n
- }
-
+ copy(m.AssociatedDatabases, model.AssociatedDatabases)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store_summary.go
index b54b2e94bcd..999f1d7026e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/key_store_summary.go
@@ -96,10 +96,7 @@ func (m *KeyStoreSummary) UnmarshalJSON(data []byte) (e error) {
m.LifecycleDetails = model.LifecycleDetails
m.AssociatedDatabases = make([]KeyStoreAssociatedDatabaseDetails, len(model.AssociatedDatabases))
- for i, n := range model.AssociatedDatabases {
- m.AssociatedDatabases[i] = n
- }
-
+ copy(m.AssociatedDatabases, model.AssociatedDatabases)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/launch_db_system_base.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/launch_db_system_base.go
index cf398f5fc39..cd925bad349 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/launch_db_system_base.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/launch_db_system_base.go
@@ -150,13 +150,6 @@ type LaunchDbSystemBase interface {
type launchdbsystembase struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- SubnetId *string `mandatory:"true" json:"subnetId"`
- Shape *string `mandatory:"true" json:"shape"`
- SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`
- Hostname *string `mandatory:"true" json:"hostname"`
- CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`
FaultDomains []string `mandatory:"false" json:"faultDomains"`
DisplayName *string `mandatory:"false" json:"displayName"`
BackupSubnetId *string `mandatory:"false" json:"backupSubnetId"`
@@ -177,6 +170,13 @@ type launchdbsystembase struct {
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
PrivateIp *string `mandatory:"false" json:"privateIp"`
DataCollectionOptions *DataCollectionOptions `mandatory:"false" json:"dataCollectionOptions"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
+ SubnetId *string `mandatory:"true" json:"subnetId"`
+ Shape *string `mandatory:"true" json:"shape"`
+ SshPublicKeys []string `mandatory:"true" json:"sshPublicKeys"`
+ Hostname *string `mandatory:"true" json:"hostname"`
+ CpuCoreCount *int `mandatory:"true" json:"cpuCoreCount"`
Source string `json:"source"`
}
@@ -254,141 +254,141 @@ func (m *launchdbsystembase) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetCompartmentId returns CompartmentId
-func (m launchdbsystembase) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetAvailabilityDomain returns AvailabilityDomain
-func (m launchdbsystembase) GetAvailabilityDomain() *string {
- return m.AvailabilityDomain
-}
-
-//GetSubnetId returns SubnetId
-func (m launchdbsystembase) GetSubnetId() *string {
- return m.SubnetId
-}
-
-//GetShape returns Shape
-func (m launchdbsystembase) GetShape() *string {
- return m.Shape
-}
-
-//GetSshPublicKeys returns SshPublicKeys
-func (m launchdbsystembase) GetSshPublicKeys() []string {
- return m.SshPublicKeys
-}
-
-//GetHostname returns Hostname
-func (m launchdbsystembase) GetHostname() *string {
- return m.Hostname
-}
-
-//GetCpuCoreCount returns CpuCoreCount
-func (m launchdbsystembase) GetCpuCoreCount() *int {
- return m.CpuCoreCount
-}
-
-//GetFaultDomains returns FaultDomains
+// GetFaultDomains returns FaultDomains
func (m launchdbsystembase) GetFaultDomains() []string {
return m.FaultDomains
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m launchdbsystembase) GetDisplayName() *string {
return m.DisplayName
}
-//GetBackupSubnetId returns BackupSubnetId
+// GetBackupSubnetId returns BackupSubnetId
func (m launchdbsystembase) GetBackupSubnetId() *string {
return m.BackupSubnetId
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m launchdbsystembase) GetNsgIds() []string {
return m.NsgIds
}
-//GetBackupNetworkNsgIds returns BackupNetworkNsgIds
+// GetBackupNetworkNsgIds returns BackupNetworkNsgIds
func (m launchdbsystembase) GetBackupNetworkNsgIds() []string {
return m.BackupNetworkNsgIds
}
-//GetTimeZone returns TimeZone
+// GetTimeZone returns TimeZone
func (m launchdbsystembase) GetTimeZone() *string {
return m.TimeZone
}
-//GetDbSystemOptions returns DbSystemOptions
+// GetDbSystemOptions returns DbSystemOptions
func (m launchdbsystembase) GetDbSystemOptions() *DbSystemOptions {
return m.DbSystemOptions
}
-//GetStorageVolumePerformanceMode returns StorageVolumePerformanceMode
+// GetStorageVolumePerformanceMode returns StorageVolumePerformanceMode
func (m launchdbsystembase) GetStorageVolumePerformanceMode() LaunchDbSystemBaseStorageVolumePerformanceModeEnum {
return m.StorageVolumePerformanceMode
}
-//GetSparseDiskgroup returns SparseDiskgroup
+// GetSparseDiskgroup returns SparseDiskgroup
func (m launchdbsystembase) GetSparseDiskgroup() *bool {
return m.SparseDiskgroup
}
-//GetDomain returns Domain
+// GetDomain returns Domain
func (m launchdbsystembase) GetDomain() *string {
return m.Domain
}
-//GetClusterName returns ClusterName
+// GetClusterName returns ClusterName
func (m launchdbsystembase) GetClusterName() *string {
return m.ClusterName
}
-//GetDataStoragePercentage returns DataStoragePercentage
+// GetDataStoragePercentage returns DataStoragePercentage
func (m launchdbsystembase) GetDataStoragePercentage() *int {
return m.DataStoragePercentage
}
-//GetInitialDataStorageSizeInGB returns InitialDataStorageSizeInGB
+// GetInitialDataStorageSizeInGB returns InitialDataStorageSizeInGB
func (m launchdbsystembase) GetInitialDataStorageSizeInGB() *int {
return m.InitialDataStorageSizeInGB
}
-//GetKmsKeyId returns KmsKeyId
+// GetKmsKeyId returns KmsKeyId
func (m launchdbsystembase) GetKmsKeyId() *string {
return m.KmsKeyId
}
-//GetKmsKeyVersionId returns KmsKeyVersionId
+// GetKmsKeyVersionId returns KmsKeyVersionId
func (m launchdbsystembase) GetKmsKeyVersionId() *string {
return m.KmsKeyVersionId
}
-//GetNodeCount returns NodeCount
+// GetNodeCount returns NodeCount
func (m launchdbsystembase) GetNodeCount() *int {
return m.NodeCount
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m launchdbsystembase) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m launchdbsystembase) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetPrivateIp returns PrivateIp
+// GetPrivateIp returns PrivateIp
func (m launchdbsystembase) GetPrivateIp() *string {
return m.PrivateIp
}
-//GetDataCollectionOptions returns DataCollectionOptions
+// GetDataCollectionOptions returns DataCollectionOptions
func (m launchdbsystembase) GetDataCollectionOptions() *DataCollectionOptions {
return m.DataCollectionOptions
}
+// GetCompartmentId returns CompartmentId
+func (m launchdbsystembase) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetAvailabilityDomain returns AvailabilityDomain
+func (m launchdbsystembase) GetAvailabilityDomain() *string {
+ return m.AvailabilityDomain
+}
+
+// GetSubnetId returns SubnetId
+func (m launchdbsystembase) GetSubnetId() *string {
+ return m.SubnetId
+}
+
+// GetShape returns Shape
+func (m launchdbsystembase) GetShape() *string {
+ return m.Shape
+}
+
+// GetSshPublicKeys returns SshPublicKeys
+func (m launchdbsystembase) GetSshPublicKeys() []string {
+ return m.SshPublicKeys
+}
+
+// GetHostname returns Hostname
+func (m launchdbsystembase) GetHostname() *string {
+ return m.Hostname
+}
+
+// GetCpuCoreCount returns CpuCoreCount
+func (m launchdbsystembase) GetCpuCoreCount() *int {
+ return m.CpuCoreCount
+}
+
func (m launchdbsystembase) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/list_cloud_autonomous_vm_cluster_acd_resource_usage_request_response.go
similarity index 51%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_request_response.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/database/list_cloud_autonomous_vm_cluster_acd_resource_usage_request_response.go
index 18336e489b6..6454869a438 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_request_response.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/list_cloud_autonomous_vm_cluster_acd_resource_usage_request_response.go
@@ -2,7 +2,7 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache 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 opsi
+package database
import (
"fmt"
@@ -11,46 +11,39 @@ import (
"strings"
)
-// QueryOpsiDataObjectDataRequest wrapper for the QueryOpsiDataObjectData operation
+// ListCloudAutonomousVmClusterAcdResourceUsageRequest wrapper for the ListCloudAutonomousVmClusterAcdResourceUsage operation
//
// # See also
//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/QueryOpsiDataObjectData.go.html to see an example of how to use QueryOpsiDataObjectDataRequest.
-type QueryOpsiDataObjectDataRequest struct {
+// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/database/ListCloudAutonomousVmClusterAcdResourceUsage.go.html to see an example of how to use ListCloudAutonomousVmClusterAcdResourceUsageRequest.
+type ListCloudAutonomousVmClusterAcdResourceUsageRequest struct {
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
+ // The Cloud VM cluster OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ CloudAutonomousVmClusterId *string `mandatory:"true" contributesTo:"path" name:"cloudAutonomousVmClusterId"`
- // The information to be used for querying an OPSI data object.
- QueryOpsiDataObjectDataDetails `contributesTo:"body"`
+ // The compartment OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
+ CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
+ // Unique identifier for the request.
+ OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
+
+ // The maximum number of items to return per page.
Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
+ // The pagination token to continue listing from.
Page *string `mandatory:"false" contributesTo:"query" name:"page"`
- // 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"`
-
// 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 QueryOpsiDataObjectDataRequest) String() string {
+func (request ListCloudAutonomousVmClusterAcdResourceUsageRequest) String() string {
return common.PointerString(request)
}
// HTTPRequest implements the OCIRequest interface
-func (request QueryOpsiDataObjectDataRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
+func (request ListCloudAutonomousVmClusterAcdResourceUsageRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) {
_, err := request.ValidateEnumValue()
if err != nil {
@@ -60,21 +53,21 @@ func (request QueryOpsiDataObjectDataRequest) HTTPRequest(method, path string, b
}
// BinaryRequestBody implements the OCIRequest interface
-func (request QueryOpsiDataObjectDataRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
+func (request ListCloudAutonomousVmClusterAcdResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
return nil, false
}
// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request QueryOpsiDataObjectDataRequest) RetryPolicy() *common.RetryPolicy {
+func (request ListCloudAutonomousVmClusterAcdResourceUsageRequest) 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 QueryOpsiDataObjectDataRequest) ValidateEnumValue() (bool, error) {
+func (request ListCloudAutonomousVmClusterAcdResourceUsageRequest) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
@@ -82,30 +75,31 @@ func (request QueryOpsiDataObjectDataRequest) ValidateEnumValue() (bool, error)
return false, nil
}
-// QueryOpsiDataObjectDataResponse wrapper for the QueryOpsiDataObjectData operation
-type QueryOpsiDataObjectDataResponse struct {
+// ListCloudAutonomousVmClusterAcdResourceUsageResponse wrapper for the ListCloudAutonomousVmClusterAcdResourceUsage operation
+type ListCloudAutonomousVmClusterAcdResourceUsageResponse struct {
// The underlying http response
RawResponse *http.Response
- // A list of QueryDataObjectResultSetRowsCollection instances
- QueryDataObjectResultSetRowsCollection `presentIn:"body"`
+ // A list of []AutonomousContainerDatabaseResourceUsage instances
+ Items []AutonomousContainerDatabaseResourceUsage `presentIn:"body"`
- // Unique Oracle-assigned identifier for the request. If you need to contact
- // Oracle about a particular request, please provide the 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"`
// 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.
+ // 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 QueryOpsiDataObjectDataResponse) String() string {
+func (response ListCloudAutonomousVmClusterAcdResourceUsageResponse) String() string {
return common.PointerString(response)
}
// HTTPResponse implements the OCIResponse interface
-func (response QueryOpsiDataObjectDataResponse) HTTPResponse() *http.Response {
+func (response ListCloudAutonomousVmClusterAcdResourceUsageResponse) HTTPResponse() *http.Response {
return response.RawResponse
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/update_autonomous_database_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/update_autonomous_database_details.go
index 9e5918fa357..390afe545cb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/update_autonomous_database_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/update_autonomous_database_details.go
@@ -37,7 +37,7 @@ type UpdateAutonomousDatabaseDetails struct {
// The number of CPUs to be made available to the Autonomous Database.
// For Autonomous Databases on Dedicated Exadata Infrastructure:
- // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model. See Compute Models in Autonomous Database on Dedicated Exadata Infrastructure (https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.
+ // - The CPU type (OCPUs or ECPUs) is determined by the parent Autonomous Exadata VM Cluster's compute model.
// - It is suggested to use 'computeCount' parameter if you want to use fractional value to provision less than 1 core.
// **Note:** This parameter cannot be used with the `ocpuCount` or `computeCount` parameter.
// This cannot be updated in parallel with any of the following: licenseModel, databaseEdition, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/database/update_external_database_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/database/update_external_database_connector_details.go
index 4ca0374a17f..2a15130ba48 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/database/update_external_database_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/database/update_external_database_connector_details.go
@@ -80,17 +80,17 @@ func (m *updateexternaldatabaseconnectordetails) UnmarshalPolymorphicJSON(data [
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateexternaldatabaseconnectordetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateexternaldatabaseconnectordetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateexternaldatabaseconnectordetails) GetDisplayName() *string {
return m.DisplayName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/add_data_files_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/add_data_files_details.go
index fdf27ae3602..bea0ec92ace 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/add_data_files_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/add_data_files_details.go
@@ -90,10 +90,7 @@ func (m *AddDataFilesDetails) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.DataFiles = make([]string, len(model.DataFiles))
- for i, n := range model.DataFiles {
- m.DataFiles[i] = n
- }
-
+ copy(m.DataFiles, model.DataFiles)
m.FileCount = model.FileCount
m.FileSize = model.FileSize
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/awr_query_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/awr_query_result.go
index 029ffba56c9..9dbb32c5f3c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/awr_query_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/awr_query_result.go
@@ -36,10 +36,10 @@ type AwrQueryResult interface {
type awrqueryresult struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
Version *string `mandatory:"false" json:"version"`
QueryKey *string `mandatory:"false" json:"queryKey"`
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
+ Name *string `mandatory:"true" json:"name"`
AwrResultType string `json:"awrResultType"`
}
@@ -130,26 +130,26 @@ func (m *awrqueryresult) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetName returns Name
-func (m awrqueryresult) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
+// GetVersion returns Version
func (m awrqueryresult) GetVersion() *string {
return m.Version
}
-//GetQueryKey returns QueryKey
+// GetQueryKey returns QueryKey
func (m awrqueryresult) GetQueryKey() *string {
return m.QueryKey
}
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
+// GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m awrqueryresult) GetDbQueryTimeInSecs() *float64 {
return m.DbQueryTimeInSecs
}
+// GetName returns Name
+func (m awrqueryresult) GetName() *string {
+ return m.Name
+}
+
func (m awrqueryresult) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/configure_automatic_capture_filters_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/configure_automatic_capture_filters_details.go
index adbbd0aa0be..d56ddbc9060 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/configure_automatic_capture_filters_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/configure_automatic_capture_filters_details.go
@@ -56,10 +56,7 @@ func (m *ConfigureAutomaticCaptureFiltersDetails) UnmarshalJSON(data []byte) (e
}
var nn interface{}
m.AutoCaptureFilters = make([]AutomaticCaptureFilterDetails, len(model.AutoCaptureFilters))
- for i, n := range model.AutoCaptureFilters {
- m.AutoCaptureFilters[i] = n
- }
-
+ copy(m.AutoCaptureFilters, model.AutoCaptureFilters)
nn, e = model.Credentials.UnmarshalPolymorphicJSON(model.Credentials.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_external_db_system_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_external_db_system_connector_details.go
index c64e412e125..12dc7ef01f6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_external_db_system_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_external_db_system_connector_details.go
@@ -30,8 +30,8 @@ type CreateExternalDbSystemConnectorDetails interface {
type createexternaldbsystemconnectordetails struct {
JsonData []byte
- ExternalDbSystemId *string `mandatory:"true" json:"externalDbSystemId"`
DisplayName *string `mandatory:"false" json:"displayName"`
+ ExternalDbSystemId *string `mandatory:"true" json:"externalDbSystemId"`
ConnectorType string `json:"connectorType"`
}
@@ -72,16 +72,16 @@ func (m *createexternaldbsystemconnectordetails) UnmarshalPolymorphicJSON(data [
}
}
-//GetExternalDbSystemId returns ExternalDbSystemId
-func (m createexternaldbsystemconnectordetails) GetExternalDbSystemId() *string {
- return m.ExternalDbSystemId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createexternaldbsystemconnectordetails) GetDisplayName() *string {
return m.DisplayName
}
+// GetExternalDbSystemId returns ExternalDbSystemId
+func (m createexternaldbsystemconnectordetails) GetExternalDbSystemId() *string {
+ return m.ExternalDbSystemId
+}
+
func (m createexternaldbsystemconnectordetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_job_details.go
index 7d37b489b78..8a343c7eef1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_job_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_job_details.go
@@ -54,16 +54,16 @@ type CreateJobDetails interface {
type createjobdetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`
Description *string `mandatory:"false" json:"description"`
ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`
ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`
DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`
Timeout *string `mandatory:"false" json:"timeout"`
- ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"`
+ ResultLocation jobexecutionresultlocation `mandatory:"false" json:"resultLocation"`
ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"`
+ Name *string `mandatory:"true" json:"name"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`
JobType string `json:"jobType"`
}
@@ -112,56 +112,56 @@ func (m *createjobdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetName returns Name
-func (m createjobdetails) GetName() *string {
- return m.Name
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createjobdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetScheduleType returns ScheduleType
-func (m createjobdetails) GetScheduleType() JobScheduleTypeEnum {
- return m.ScheduleType
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createjobdetails) GetDescription() *string {
return m.Description
}
-//GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
+// GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m createjobdetails) GetManagedDatabaseGroupId() *string {
return m.ManagedDatabaseGroupId
}
-//GetManagedDatabaseId returns ManagedDatabaseId
+// GetManagedDatabaseId returns ManagedDatabaseId
func (m createjobdetails) GetManagedDatabaseId() *string {
return m.ManagedDatabaseId
}
-//GetDatabaseSubType returns DatabaseSubType
+// GetDatabaseSubType returns DatabaseSubType
func (m createjobdetails) GetDatabaseSubType() DatabaseSubTypeEnum {
return m.DatabaseSubType
}
-//GetTimeout returns Timeout
+// GetTimeout returns Timeout
func (m createjobdetails) GetTimeout() *string {
return m.Timeout
}
-//GetResultLocation returns ResultLocation
-func (m createjobdetails) GetResultLocation() JobExecutionResultLocation {
+// GetResultLocation returns ResultLocation
+func (m createjobdetails) GetResultLocation() jobexecutionresultlocation {
return m.ResultLocation
}
-//GetScheduleDetails returns ScheduleDetails
+// GetScheduleDetails returns ScheduleDetails
func (m createjobdetails) GetScheduleDetails() *JobScheduleDetails {
return m.ScheduleDetails
}
+// GetName returns Name
+func (m createjobdetails) GetName() *string {
+ return m.Name
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createjobdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetScheduleType returns ScheduleType
+func (m createjobdetails) GetScheduleType() JobScheduleTypeEnum {
+ return m.ScheduleType
+}
+
func (m createjobdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_tablespace_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_tablespace_details.go
index e6701f1b7cc..9f62604c337 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_tablespace_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/create_tablespace_details.go
@@ -152,10 +152,7 @@ func (m *CreateTablespaceDetails) UnmarshalJSON(data []byte) (e error) {
m.IsBigfile = model.IsBigfile
m.DataFiles = make([]string, len(model.DataFiles))
- for i, n := range model.DataFiles {
- m.DataFiles[i] = n
- }
-
+ copy(m.DataFiles, model.DataFiles)
m.FileCount = model.FileCount
m.FileSize = model.FileSize
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_dbmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_dbmanagement_client.go
index 91fb2dd9db0..774401e1539 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_dbmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_dbmanagement_client.go
@@ -82,7 +82,7 @@ func (client *DbManagementClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_diagnosability_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_diagnosability_client.go
index 64a166c1762..6f2c77018bc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_diagnosability_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_diagnosability_client.go
@@ -82,7 +82,7 @@ func (client *DiagnosabilityClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_sqltuning_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_sqltuning_client.go
index 7b2bc0d0cba..a4ceefee56c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_sqltuning_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/databasemanagement_sqltuning_client.go
@@ -82,7 +82,7 @@ func (client *SqlTuningClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/dbm_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/dbm_resource.go
index 0447d3648f7..c4cd1719193 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/dbm_resource.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/dbm_resource.go
@@ -55,8 +55,6 @@ type DbmResource interface {
type dbmresource struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- DisplayName *string `mandatory:"true" json:"displayName"`
Version *string `mandatory:"false" json:"version"`
InternalId *string `mandatory:"false" json:"internalId"`
Status *string `mandatory:"false" json:"status"`
@@ -65,6 +63,8 @@ type dbmresource struct {
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
AdditionalDetails map[string]string `mandatory:"false" json:"additionalDetails"`
+ Id *string `mandatory:"true" json:"id"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
ResourceType string `json:"resourceType"`
}
@@ -145,56 +145,56 @@ func (m *dbmresource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
-func (m dbmresource) GetId() *string {
- return m.Id
-}
-
-//GetDisplayName returns DisplayName
-func (m dbmresource) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetVersion returns Version
+// GetVersion returns Version
func (m dbmresource) GetVersion() *string {
return m.Version
}
-//GetInternalId returns InternalId
+// GetInternalId returns InternalId
func (m dbmresource) GetInternalId() *string {
return m.InternalId
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m dbmresource) GetStatus() *string {
return m.Status
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m dbmresource) GetLifecycleState() DbmResourceLifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m dbmresource) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m dbmresource) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m dbmresource) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetAdditionalDetails returns AdditionalDetails
+// GetAdditionalDetails returns AdditionalDetails
func (m dbmresource) GetAdditionalDetails() map[string]string {
return m.AdditionalDetails
}
+// GetId returns Id
+func (m dbmresource) GetId() *string {
+ return m.Id
+}
+
+// GetDisplayName returns DisplayName
+func (m dbmresource) GetDisplayName() *string {
+ return m.DisplayName
+}
+
func (m dbmresource) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_asm.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_asm.go
index 668dc5fc467..98d9a4dde57 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_asm.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_asm.go
@@ -153,10 +153,7 @@ func (m *DiscoveredExternalAsm) UnmarshalJSON(data []byte) (e error) {
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.GridHome = model.GridHome
m.IsFlexEnabled = model.IsFlexEnabled
@@ -164,10 +161,7 @@ func (m *DiscoveredExternalAsm) UnmarshalJSON(data []byte) (e error) {
m.Version = model.Version
m.AsmInstances = make([]DiscoveredExternalAsmInstance, len(model.AsmInstances))
- for i, n := range model.AsmInstances {
- m.AsmInstances[i] = n
- }
-
+ copy(m.AsmInstances, model.AsmInstances)
nn, e = model.Connector.UnmarshalPolymorphicJSON(model.Connector.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_cluster_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_cluster_instance.go
index 52bd12e7ed1..a3e564c21de 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_cluster_instance.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_cluster_instance.go
@@ -161,10 +161,7 @@ func (m *DiscoveredExternalClusterInstance) UnmarshalJSON(data []byte) (e error)
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.ClusterId = model.ClusterId
m.NodeRole = model.NodeRole
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_database.go
index 7aa02046f4a..75e1bbfe0de 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_database.go
@@ -185,10 +185,7 @@ func (m *DiscoveredExternalDatabase) UnmarshalJSON(data []byte) (e error) {
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.DbType = model.DbType
m.IsCluster = model.IsCluster
@@ -204,10 +201,7 @@ func (m *DiscoveredExternalDatabase) UnmarshalJSON(data []byte) (e error) {
m.DbVersion = model.DbVersion
m.PluggableDatabases = make([]DiscoveredExternalPluggableDatabase, len(model.PluggableDatabases))
- for i, n := range model.PluggableDatabases {
- m.PluggableDatabases[i] = n
- }
-
+ copy(m.PluggableDatabases, model.PluggableDatabases)
nn, e = model.Connector.UnmarshalPolymorphicJSON(model.Connector.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_node.go
index 0da98a2387e..0b8b6f482f5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_node.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_node.go
@@ -150,10 +150,7 @@ func (m *DiscoveredExternalDbNode) UnmarshalJSON(data []byte) (e error) {
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.CpuCoreCount = model.CpuCoreCount
m.MemorySizeInGBs = model.MemorySizeInGBs
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_system_component.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_system_component.go
index a336ffaa037..94d11ca27d2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_system_component.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_db_system_component.go
@@ -45,13 +45,13 @@ type DiscoveredExternalDbSystemComponent interface {
type discoveredexternaldbsystemcomponent struct {
JsonData []byte
- ComponentId *string `mandatory:"true" json:"componentId"`
- DisplayName *string `mandatory:"true" json:"displayName"`
- ComponentName *string `mandatory:"true" json:"componentName"`
ResourceId *string `mandatory:"false" json:"resourceId"`
IsSelectedForMonitoring *bool `mandatory:"false" json:"isSelectedForMonitoring"`
Status DiscoveredExternalDbSystemComponentStatusEnum `mandatory:"false" json:"status,omitempty"`
AssociatedComponents []AssociatedComponent `mandatory:"false" json:"associatedComponents"`
+ ComponentId *string `mandatory:"true" json:"componentId"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ ComponentName *string `mandatory:"true" json:"componentName"`
ComponentType string `json:"componentType"`
}
@@ -129,41 +129,41 @@ func (m *discoveredexternaldbsystemcomponent) UnmarshalPolymorphicJSON(data []by
}
}
-//GetComponentId returns ComponentId
-func (m discoveredexternaldbsystemcomponent) GetComponentId() *string {
- return m.ComponentId
-}
-
-//GetDisplayName returns DisplayName
-func (m discoveredexternaldbsystemcomponent) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetComponentName returns ComponentName
-func (m discoveredexternaldbsystemcomponent) GetComponentName() *string {
- return m.ComponentName
-}
-
-//GetResourceId returns ResourceId
+// GetResourceId returns ResourceId
func (m discoveredexternaldbsystemcomponent) GetResourceId() *string {
return m.ResourceId
}
-//GetIsSelectedForMonitoring returns IsSelectedForMonitoring
+// GetIsSelectedForMonitoring returns IsSelectedForMonitoring
func (m discoveredexternaldbsystemcomponent) GetIsSelectedForMonitoring() *bool {
return m.IsSelectedForMonitoring
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m discoveredexternaldbsystemcomponent) GetStatus() DiscoveredExternalDbSystemComponentStatusEnum {
return m.Status
}
-//GetAssociatedComponents returns AssociatedComponents
+// GetAssociatedComponents returns AssociatedComponents
func (m discoveredexternaldbsystemcomponent) GetAssociatedComponents() []AssociatedComponent {
return m.AssociatedComponents
}
+// GetComponentId returns ComponentId
+func (m discoveredexternaldbsystemcomponent) GetComponentId() *string {
+ return m.ComponentId
+}
+
+// GetDisplayName returns DisplayName
+func (m discoveredexternaldbsystemcomponent) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetComponentName returns ComponentName
+func (m discoveredexternaldbsystemcomponent) GetComponentName() *string {
+ return m.ComponentName
+}
+
func (m discoveredexternaldbsystemcomponent) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_listener.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_listener.go
index f931e03fecf..8f3ed60ef71 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_listener.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_listener.go
@@ -181,10 +181,7 @@ func (m *DiscoveredExternalListener) UnmarshalJSON(data []byte) (e error) {
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.DbNodeName = model.DbNodeName
m.OracleHome = model.OracleHome
@@ -215,7 +212,6 @@ func (m *DiscoveredExternalListener) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
nn, e = model.Connector.UnmarshalPolymorphicJSON(model.Connector.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_pluggable_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_pluggable_database.go
index 46d6e0be31e..b88bb624351 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_pluggable_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/discovered_external_pluggable_database.go
@@ -150,10 +150,7 @@ func (m *DiscoveredExternalPluggableDatabase) UnmarshalJSON(data []byte) (e erro
m.Status = model.Status
m.AssociatedComponents = make([]AssociatedComponent, len(model.AssociatedComponents))
- for i, n := range model.AssociatedComponents {
- m.AssociatedComponents[i] = n
- }
-
+ copy(m.AssociatedComponents, model.AssociatedComponents)
m.Guid = model.Guid
nn, e = model.Connector.UnmarshalPolymorphicJSON(model.Connector.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/entity_discovered.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/entity_discovered.go
index 5c6b06e6dcb..aa177d8273b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/entity_discovered.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/entity_discovered.go
@@ -54,7 +54,6 @@ type EntityDiscovered interface {
type entitydiscovered struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
Id *string `mandatory:"false" json:"id"`
AgentId *string `mandatory:"false" json:"agentId"`
ConnectorId *string `mandatory:"false" json:"connectorId"`
@@ -64,6 +63,7 @@ type entitydiscovered struct {
DiscoverStatus EntityDiscoveredDiscoverStatusEnum `mandatory:"false" json:"discoverStatus,omitempty"`
DiscoverErrorCode *string `mandatory:"false" json:"discoverErrorCode"`
DiscoverErrorMsg *string `mandatory:"false" json:"discoverErrorMsg"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
EntityType string `json:"entityType"`
}
@@ -128,56 +128,56 @@ func (m *entitydiscovered) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetDisplayName returns DisplayName
-func (m entitydiscovered) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetId returns Id
+// GetId returns Id
func (m entitydiscovered) GetId() *string {
return m.Id
}
-//GetAgentId returns AgentId
+// GetAgentId returns AgentId
func (m entitydiscovered) GetAgentId() *string {
return m.AgentId
}
-//GetConnectorId returns ConnectorId
+// GetConnectorId returns ConnectorId
func (m entitydiscovered) GetConnectorId() *string {
return m.ConnectorId
}
-//GetVersion returns Version
+// GetVersion returns Version
func (m entitydiscovered) GetVersion() *string {
return m.Version
}
-//GetInternalId returns InternalId
+// GetInternalId returns InternalId
func (m entitydiscovered) GetInternalId() *string {
return m.InternalId
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m entitydiscovered) GetStatus() *string {
return m.Status
}
-//GetDiscoverStatus returns DiscoverStatus
+// GetDiscoverStatus returns DiscoverStatus
func (m entitydiscovered) GetDiscoverStatus() EntityDiscoveredDiscoverStatusEnum {
return m.DiscoverStatus
}
-//GetDiscoverErrorCode returns DiscoverErrorCode
+// GetDiscoverErrorCode returns DiscoverErrorCode
func (m entitydiscovered) GetDiscoverErrorCode() *string {
return m.DiscoverErrorCode
}
-//GetDiscoverErrorMsg returns DiscoverErrorMsg
+// GetDiscoverErrorMsg returns DiscoverErrorMsg
func (m entitydiscovered) GetDiscoverErrorMsg() *string {
return m.DiscoverErrorMsg
}
+// GetDisplayName returns DisplayName
+func (m entitydiscovered) GetDisplayName() *string {
+ return m.DisplayName
+}
+
func (m entitydiscovered) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_connector.go
index 76cbcb17a73..ec48afd4c64 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_connector.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_connector.go
@@ -58,6 +58,10 @@ type ExternalDbSystemConnector interface {
type externaldbsystemconnector struct {
JsonData []byte
+ ConnectionStatus *string `mandatory:"false" json:"connectionStatus"`
+ ConnectionFailureMessage *string `mandatory:"false" json:"connectionFailureMessage"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ TimeConnectionStatusLastUpdated *common.SDKTime `mandatory:"false" json:"timeConnectionStatusLastUpdated"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -65,10 +69,6 @@ type externaldbsystemconnector struct {
LifecycleState ExternalDbSystemConnectorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- ConnectionStatus *string `mandatory:"false" json:"connectionStatus"`
- ConnectionFailureMessage *string `mandatory:"false" json:"connectionFailureMessage"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
- TimeConnectionStatusLastUpdated *common.SDKTime `mandatory:"false" json:"timeConnectionStatusLastUpdated"`
ConnectorType string `json:"connectorType"`
}
@@ -118,61 +118,61 @@ func (m *externaldbsystemconnector) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetId returns Id
+// GetConnectionStatus returns ConnectionStatus
+func (m externaldbsystemconnector) GetConnectionStatus() *string {
+ return m.ConnectionStatus
+}
+
+// GetConnectionFailureMessage returns ConnectionFailureMessage
+func (m externaldbsystemconnector) GetConnectionFailureMessage() *string {
+ return m.ConnectionFailureMessage
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m externaldbsystemconnector) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
+func (m externaldbsystemconnector) GetTimeConnectionStatusLastUpdated() *common.SDKTime {
+ return m.TimeConnectionStatusLastUpdated
+}
+
+// GetId returns Id
func (m externaldbsystemconnector) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m externaldbsystemconnector) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m externaldbsystemconnector) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetExternalDbSystemId returns ExternalDbSystemId
+// GetExternalDbSystemId returns ExternalDbSystemId
func (m externaldbsystemconnector) GetExternalDbSystemId() *string {
return m.ExternalDbSystemId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m externaldbsystemconnector) GetLifecycleState() ExternalDbSystemConnectorLifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m externaldbsystemconnector) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m externaldbsystemconnector) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetConnectionStatus returns ConnectionStatus
-func (m externaldbsystemconnector) GetConnectionStatus() *string {
- return m.ConnectionStatus
-}
-
-//GetConnectionFailureMessage returns ConnectionFailureMessage
-func (m externaldbsystemconnector) GetConnectionFailureMessage() *string {
- return m.ConnectionFailureMessage
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m externaldbsystemconnector) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
-func (m externaldbsystemconnector) GetTimeConnectionStatusLastUpdated() *common.SDKTime {
- return m.TimeConnectionStatusLastUpdated
-}
-
func (m externaldbsystemconnector) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery.go
index 88c8122034c..f49e6335439 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery.go
@@ -110,7 +110,6 @@ func (m *ExternalDbSystemDiscovery) UnmarshalJSON(data []byte) (e error) {
m.DiscoveredComponents[i] = nil
}
}
-
m.ResourceId = model.ResourceId
m.LifecycleDetails = model.LifecycleDetails
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery_connector.go
index a772769a71e..7763b7eda5d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery_connector.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_db_system_discovery_connector.go
@@ -37,10 +37,10 @@ type ExternalDbSystemDiscoveryConnector interface {
type externaldbsystemdiscoveryconnector struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
ConnectionStatus *string `mandatory:"false" json:"connectionStatus"`
ConnectionFailureMessage *string `mandatory:"false" json:"connectionFailureMessage"`
TimeConnectionStatusLastUpdated *common.SDKTime `mandatory:"false" json:"timeConnectionStatusLastUpdated"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
ConnectorType string `json:"connectorType"`
}
@@ -83,26 +83,26 @@ func (m *externaldbsystemdiscoveryconnector) UnmarshalPolymorphicJSON(data []byt
}
}
-//GetDisplayName returns DisplayName
-func (m externaldbsystemdiscoveryconnector) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetConnectionStatus returns ConnectionStatus
+// GetConnectionStatus returns ConnectionStatus
func (m externaldbsystemdiscoveryconnector) GetConnectionStatus() *string {
return m.ConnectionStatus
}
-//GetConnectionFailureMessage returns ConnectionFailureMessage
+// GetConnectionFailureMessage returns ConnectionFailureMessage
func (m externaldbsystemdiscoveryconnector) GetConnectionFailureMessage() *string {
return m.ConnectionFailureMessage
}
-//GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
+// GetTimeConnectionStatusLastUpdated returns TimeConnectionStatusLastUpdated
func (m externaldbsystemdiscoveryconnector) GetTimeConnectionStatusLastUpdated() *common.SDKTime {
return m.TimeConnectionStatusLastUpdated
}
+// GetDisplayName returns DisplayName
+func (m externaldbsystemdiscoveryconnector) GetDisplayName() *string {
+ return m.DisplayName
+}
+
func (m externaldbsystemdiscoveryconnector) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener.go
index dbf7437de69..2b98469d57e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener.go
@@ -195,17 +195,10 @@ func (m *ExternalListener) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
m.ServicedDatabases = make([]ExternalListenerServicedDatabase, len(model.ServicedDatabases))
- for i, n := range model.ServicedDatabases {
- m.ServicedDatabases[i] = n
- }
-
+ copy(m.ServicedDatabases, model.ServicedDatabases)
m.ServicedAsms = make([]ExternalServicedAsm, len(model.ServicedAsms))
- for i, n := range model.ServicedAsms {
- m.ServicedAsms[i] = n
- }
-
+ copy(m.ServicedAsms, model.ServicedAsms)
m.Id = model.Id
m.DisplayName = model.DisplayName
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener_endpoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener_endpoint.go
index 5ff53d7e4ad..80e91b93ff0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener_endpoint.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/external_listener_endpoint.go
@@ -75,7 +75,7 @@ func (m *externallistenerendpoint) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetServices returns Services
+// GetServices returns Services
func (m externallistenerendpoint) GetServices() []string {
return m.Services
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/job.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/job.go
index 99aba8a9145..6ecaa05fd15 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/job.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/job.go
@@ -70,22 +70,22 @@ type Job interface {
type job struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- Name *string `mandatory:"true" json:"name"`
- ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`
- LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Description *string `mandatory:"false" json:"description"`
ManagedDatabaseGroupId *string `mandatory:"false" json:"managedDatabaseGroupId"`
ManagedDatabaseId *string `mandatory:"false" json:"managedDatabaseId"`
ManagedDatabasesDetails []JobDatabase `mandatory:"false" json:"managedDatabasesDetails"`
DatabaseSubType DatabaseSubTypeEnum `mandatory:"false" json:"databaseSubType,omitempty"`
Timeout *string `mandatory:"false" json:"timeout"`
- ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"`
+ ResultLocation jobexecutionresultlocation `mandatory:"false" json:"resultLocation"`
ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"`
SubmissionErrorMessage *string `mandatory:"false" json:"submissionErrorMessage"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ Name *string `mandatory:"true" json:"name"`
+ ScheduleType JobScheduleTypeEnum `mandatory:"true" json:"scheduleType"`
+ LifecycleState JobLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
+ TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
JobType string `json:"jobType"`
}
@@ -140,86 +140,86 @@ func (m *job) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
-func (m job) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m job) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetName returns Name
-func (m job) GetName() *string {
- return m.Name
-}
-
-//GetScheduleType returns ScheduleType
-func (m job) GetScheduleType() JobScheduleTypeEnum {
- return m.ScheduleType
-}
-
-//GetLifecycleState returns LifecycleState
-func (m job) GetLifecycleState() JobLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetTimeCreated returns TimeCreated
-func (m job) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m job) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m job) GetDescription() *string {
return m.Description
}
-//GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
+// GetManagedDatabaseGroupId returns ManagedDatabaseGroupId
func (m job) GetManagedDatabaseGroupId() *string {
return m.ManagedDatabaseGroupId
}
-//GetManagedDatabaseId returns ManagedDatabaseId
+// GetManagedDatabaseId returns ManagedDatabaseId
func (m job) GetManagedDatabaseId() *string {
return m.ManagedDatabaseId
}
-//GetManagedDatabasesDetails returns ManagedDatabasesDetails
+// GetManagedDatabasesDetails returns ManagedDatabasesDetails
func (m job) GetManagedDatabasesDetails() []JobDatabase {
return m.ManagedDatabasesDetails
}
-//GetDatabaseSubType returns DatabaseSubType
+// GetDatabaseSubType returns DatabaseSubType
func (m job) GetDatabaseSubType() DatabaseSubTypeEnum {
return m.DatabaseSubType
}
-//GetTimeout returns Timeout
+// GetTimeout returns Timeout
func (m job) GetTimeout() *string {
return m.Timeout
}
-//GetResultLocation returns ResultLocation
-func (m job) GetResultLocation() JobExecutionResultLocation {
+// GetResultLocation returns ResultLocation
+func (m job) GetResultLocation() jobexecutionresultlocation {
return m.ResultLocation
}
-//GetScheduleDetails returns ScheduleDetails
+// GetScheduleDetails returns ScheduleDetails
func (m job) GetScheduleDetails() *JobScheduleDetails {
return m.ScheduleDetails
}
-//GetSubmissionErrorMessage returns SubmissionErrorMessage
+// GetSubmissionErrorMessage returns SubmissionErrorMessage
func (m job) GetSubmissionErrorMessage() *string {
return m.SubmissionErrorMessage
}
+// GetId returns Id
+func (m job) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m job) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetName returns Name
+func (m job) GetName() *string {
+ return m.Name
+}
+
+// GetScheduleType returns ScheduleType
+func (m job) GetScheduleType() JobScheduleTypeEnum {
+ return m.ScheduleType
+}
+
+// GetLifecycleState returns LifecycleState
+func (m job) GetLifecycleState() JobLifecycleStateEnum {
+ return m.LifecycleState
+}
+
+// GetTimeCreated returns TimeCreated
+func (m job) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m job) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
func (m job) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/managed_database_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/managed_database_credential.go
index b16708de4b4..9c190ea1434 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/managed_database_credential.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/managed_database_credential.go
@@ -76,12 +76,12 @@ func (m *manageddatabasecredential) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetUsername returns Username
+// GetUsername returns Username
func (m manageddatabasecredential) GetUsername() *string {
return m.Username
}
-//GetRole returns Role
+// GetRole returns Role
func (m manageddatabasecredential) GetRole() ManagedDatabaseCredentialRoleEnum {
return m.Role
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_external_db_system_discovery_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_external_db_system_discovery_details.go
index 17045dcf826..b6648c1658a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_external_db_system_discovery_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_external_db_system_discovery_details.go
@@ -64,6 +64,5 @@ func (m *PatchExternalDbSystemDiscoveryDetails) UnmarshalJSON(data []byte) (e er
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_instruction.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_instruction.go
index 0c3d75979bb..ae9ef63bf94 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_instruction.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/patch_instruction.go
@@ -69,7 +69,7 @@ func (m *patchinstruction) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetSelection returns Selection
+// GetSelection returns Selection
func (m patchinstruction) GetSelection() *string {
return m.Selection
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/preferred_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/preferred_credential.go
index 1928bc1e3e9..1175bbcac7f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/preferred_credential.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/preferred_credential.go
@@ -77,17 +77,17 @@ func (m *preferredcredential) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetCredentialName returns CredentialName
+// GetCredentialName returns CredentialName
func (m preferredcredential) GetCredentialName() *string {
return m.CredentialName
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m preferredcredential) GetStatus() PreferredCredentialStatusEnum {
return m.Status
}
-//GetIsAccessible returns IsAccessible
+// GetIsAccessible returns IsAccessible
func (m preferredcredential) GetIsAccessible() *bool {
return m.IsAccessible
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_job.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_job.go
index c151e3a0141..4f2a64f8670 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_job.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_job.go
@@ -256,10 +256,7 @@ func (m *SqlJob) UnmarshalJSON(data []byte) (e error) {
m.ManagedDatabaseId = model.ManagedDatabaseId
m.ManagedDatabasesDetails = make([]JobDatabase, len(model.ManagedDatabasesDetails))
- for i, n := range model.ManagedDatabasesDetails {
- m.ManagedDatabasesDetails[i] = n
- }
-
+ copy(m.ManagedDatabasesDetails, model.ManagedDatabasesDetails)
m.DatabaseSubType = model.DatabaseSubType
m.Timeout = model.Timeout
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_tuning_task_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_tuning_task_credential_details.go
index e873ad84daf..bb86991fb2d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_tuning_task_credential_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/sql_tuning_task_credential_details.go
@@ -76,12 +76,12 @@ func (m *sqltuningtaskcredentialdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetUsername returns Username
+// GetUsername returns Username
func (m sqltuningtaskcredentialdetails) GetUsername() *string {
return m.Username
}
-//GetRole returns Role
+// GetRole returns Role
func (m sqltuningtaskcredentialdetails) GetRole() SqlTuningTaskCredentialDetailsRoleEnum {
return m.Role
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/start_sql_tuning_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/start_sql_tuning_task_details.go
index 55d85eaffc1..f1f6617161f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/start_sql_tuning_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/start_sql_tuning_task_details.go
@@ -101,10 +101,7 @@ func (m *StartSqlTuningTaskDetails) UnmarshalJSON(data []byte) (e error) {
m.SqlTuningSet = model.SqlTuningSet
m.SqlDetails = make([]SqlTuningTaskSqlDetail, len(model.SqlDetails))
- for i, n := range model.SqlDetails {
- m.SqlDetails[i] = n
- }
-
+ copy(m.SqlDetails, model.SqlDetails)
m.TimeStarted = model.TimeStarted
m.TimeEnded = model.TimeEnded
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/tablespace_admin_credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/tablespace_admin_credential_details.go
index 77802f07fa7..71fa7dec4d3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/tablespace_admin_credential_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/tablespace_admin_credential_details.go
@@ -76,12 +76,12 @@ func (m *tablespaceadmincredentialdetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetUsername returns Username
+// GetUsername returns Username
func (m tablespaceadmincredentialdetails) GetUsername() *string {
return m.Username
}
-//GetRole returns Role
+// GetRole returns Role
func (m tablespaceadmincredentialdetails) GetRole() TablespaceAdminCredentialDetailsRoleEnum {
return m.Role
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/update_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/update_job_details.go
index 36635509a6b..cafa0d7f107 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/update_job_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemanagement/update_job_details.go
@@ -36,7 +36,7 @@ type updatejobdetails struct {
JsonData []byte
Description *string `mandatory:"false" json:"description"`
Timeout *string `mandatory:"false" json:"timeout"`
- ResultLocation JobExecutionResultLocation `mandatory:"false" json:"resultLocation"`
+ ResultLocation jobexecutionresultlocation `mandatory:"false" json:"resultLocation"`
ScheduleDetails *JobScheduleDetails `mandatory:"false" json:"scheduleDetails"`
JobType string `json:"jobType"`
}
@@ -80,22 +80,22 @@ func (m *updatejobdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatejobdetails) GetDescription() *string {
return m.Description
}
-//GetTimeout returns Timeout
+// GetTimeout returns Timeout
func (m updatejobdetails) GetTimeout() *string {
return m.Timeout
}
-//GetResultLocation returns ResultLocation
-func (m updatejobdetails) GetResultLocation() JobExecutionResultLocation {
+// GetResultLocation returns ResultLocation
+func (m updatejobdetails) GetResultLocation() jobexecutionresultlocation {
return m.ResultLocation
}
-//GetScheduleDetails returns ScheduleDetails
+// GetScheduleDetails returns ScheduleDetails
func (m updatejobdetails) GetScheduleDetails() *JobScheduleDetails {
return m.ScheduleDetails
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/connection.go
index e478564b09c..4c196281b82 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/connection.go
@@ -57,6 +57,8 @@ type Connection struct {
AdminCredentials *AdminCredentials `mandatory:"false" json:"adminCredentials"`
+ ReplicationCredentials *AdminCredentials `mandatory:"false" json:"replicationCredentials"`
+
PrivateEndpoint *PrivateEndpointDetails `mandatory:"false" json:"privateEndpoint"`
VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_connection_details.go
index 1d8f10c04c4..37e9b5dd95a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_connection_details.go
@@ -51,6 +51,8 @@ type CreateConnectionDetails struct {
SshDetails *CreateSshDetails `mandatory:"false" json:"sshDetails"`
+ ReplicationCredentials *CreateAdminCredentials `mandatory:"false" json:"replicationCredentials"`
+
PrivateEndpoint *CreatePrivateEndpoint `mandatory:"false" json:"privateEndpoint"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_data_pump_settings.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_data_pump_settings.go
index 07f43b5c07b..b65f97f33c2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_data_pump_settings.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_data_pump_settings.go
@@ -76,10 +76,7 @@ func (m *CreateDataPumpSettings) UnmarshalJSON(data []byte) (e error) {
m.DataPumpParameters = model.DataPumpParameters
m.MetadataRemaps = make([]MetadataRemap, len(model.MetadataRemaps))
- for i, n := range model.MetadataRemaps {
- m.MetadataRemaps[i] = n
- }
-
+ copy(m.MetadataRemaps, model.MetadataRemaps)
nn, e = model.TablespaceDetails.UnmarshalPolymorphicJSON(model.TablespaceDetails.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_hub.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_hub.go
index 327cc7f8435..9d9d149c160 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_hub.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_hub.go
@@ -19,21 +19,21 @@ import (
type CreateGoldenGateHub struct {
RestAdminCredentials *CreateAdminCredentials `mandatory:"true" json:"restAdminCredentials"`
- SourceDbAdminCredentials *CreateAdminCredentials `mandatory:"true" json:"sourceDbAdminCredentials"`
-
- TargetDbAdminCredentials *CreateAdminCredentials `mandatory:"true" json:"targetDbAdminCredentials"`
-
// Oracle GoldenGate Microservices hub's REST endpoint.
// Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA
Url *string `mandatory:"true" json:"url"`
+ SourceDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceDbAdminCredentials"`
+
+ SourceContainerDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`
+
+ TargetDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"targetDbAdminCredentials"`
+
// Name of GoldenGate Microservices deployment to operate on source database
- SourceMicroservicesDeploymentName *string `mandatory:"true" json:"sourceMicroservicesDeploymentName"`
+ SourceMicroservicesDeploymentName *string `mandatory:"false" json:"sourceMicroservicesDeploymentName"`
// Name of GoldenGate Microservices deployment to operate on target database
- TargetMicroservicesDeploymentName *string `mandatory:"true" json:"targetMicroservicesDeploymentName"`
-
- SourceContainerDbAdminCredentials *CreateAdminCredentials `mandatory:"false" json:"sourceContainerDbAdminCredentials"`
+ TargetMicroservicesDeploymentName *string `mandatory:"false" json:"targetMicroservicesDeploymentName"`
// OCID of GoldenGate Microservices compute instance.
ComputeId *string `mandatory:"false" json:"computeId"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_service_details.go
similarity index 52%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_response_details.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_service_details.go
index 6ba8e400423..68c4e9a0fe8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_response_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_golden_gate_service_details.go
@@ -2,14 +2,12 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
-// Operations Insights API
+// Database Migration API
//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
+// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
//
-package opsi
+package databasemigration
import (
"fmt"
@@ -17,21 +15,25 @@ import (
"strings"
)
-// IngestSqlBucketResponseDetails The response object returned from IngestSqlBucketDetails operation.
-type IngestSqlBucketResponseDetails struct {
+// CreateGoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.
+type CreateGoldenGateServiceDetails struct {
+ SourceDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceDbCredentials"`
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
+ SourceContainerDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceContainerDbCredentials"`
+
+ TargetDbCredentials *DatabaseCredentials `mandatory:"false" json:"targetDbCredentials"`
+
+ Settings *CreateGoldenGateSettings `mandatory:"false" json:"settings"`
}
-func (m IngestSqlBucketResponseDetails) String() string {
+func (m CreateGoldenGateServiceDetails) 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 IngestSqlBucketResponseDetails) ValidateEnumValue() (bool, error) {
+func (m CreateGoldenGateServiceDetails) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_host_dump_transfer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_host_dump_transfer_details.go
index 68f9bc9e096..6f610c78fd5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_host_dump_transfer_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_host_dump_transfer_details.go
@@ -69,7 +69,7 @@ func (m *createhostdumptransferdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetWalletLocation returns WalletLocation
+// GetWalletLocation returns WalletLocation
func (m createhostdumptransferdetails) GetWalletLocation() *string {
return m.WalletLocation
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_migration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_migration_details.go
index a3f9019b4fd..481ea2b9b14 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_migration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/create_migration_details.go
@@ -59,6 +59,8 @@ type CreateMigrationDetails struct {
GoldenGateDetails *CreateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`
+ GoldenGateServiceDetails *CreateGoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`
+
VaultDetails *CreateVaultDetails `mandatory:"false" json:"vaultDetails"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/data_pump_settings.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/data_pump_settings.go
index 75f1b700442..b5f96329d90 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/data_pump_settings.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/data_pump_settings.go
@@ -76,10 +76,7 @@ func (m *DataPumpSettings) UnmarshalJSON(data []byte) (e error) {
m.DataPumpParameters = model.DataPumpParameters
m.MetadataRemaps = make([]MetadataRemap, len(model.MetadataRemaps))
- for i, n := range model.MetadataRemaps {
- m.MetadataRemaps[i] = n
- }
-
+ copy(m.MetadataRemaps, model.MetadataRemaps)
nn, e = model.TablespaceDetails.UnmarshalPolymorphicJSON(model.TablespaceDetails.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hubs.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/database_credentials.go
similarity index 56%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hubs.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/database_credentials.go
index caae0a73674..82d3bbb9d3b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hubs.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/database_credentials.go
@@ -2,14 +2,12 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
-// Operations Insights API
+// Database Migration API
//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
+// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
//
-package opsi
+package databasemigration
import (
"fmt"
@@ -17,21 +15,24 @@ import (
"strings"
)
-// AwrHubs Logical grouping used for Awr Hub operations.
-type AwrHubs struct {
+// DatabaseCredentials Database Credentials details.
+type DatabaseCredentials struct {
- // Awr Hub Object.
- AwrHubs *interface{} `mandatory:"false" json:"awrHubs"`
+ // Database username
+ Username *string `mandatory:"true" json:"username"`
+
+ // Database password
+ Password *string `mandatory:"true" json:"password"`
}
-func (m AwrHubs) String() string {
+func (m DatabaseCredentials) 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 AwrHubs) ValidateEnumValue() (bool, error) {
+func (m DatabaseCredentials) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/databasemigration_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/databasemigration_client.go
index 79fcb871886..25c1455b199 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/databasemigration_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/databasemigration_client.go
@@ -80,7 +80,7 @@ func (client *DatabaseMigrationClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/ggs_deployment.go
similarity index 55%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_collection.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/ggs_deployment.go
index 71ead0e43ba..f3b807cdf9a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/ggs_deployment.go
@@ -2,14 +2,12 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
-// Operations Insights API
+// Database Migration API
//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
+// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
//
-package opsi
+package databasemigration
import (
"fmt"
@@ -17,21 +15,24 @@ import (
"strings"
)
-// SqlTextCollection SQL Text for the particular SQL.
-type SqlTextCollection struct {
+// GgsDeployment Details about Oracle GoldenGate GGS Deployment.
+type GgsDeployment struct {
- // array of SQL Texts.
- Items []SqlTextSummary `mandatory:"true" json:"items"`
+ // OCID of a GoldenGate Deployment
+ DeploymentId *string `mandatory:"true" json:"deploymentId"`
+
+ // OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment
+ GgsAdminCredentialsSecretId *string `mandatory:"true" json:"ggsAdminCredentialsSecretId"`
}
-func (m SqlTextCollection) String() string {
+func (m GgsDeployment) 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 SqlTextCollection) ValidateEnumValue() (bool, error) {
+func (m GgsDeployment) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/golden_gate_service_details.go
similarity index 55%
rename from vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_details.go
rename to vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/golden_gate_service_details.go
index a67209b0edb..2a44f2fb74f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/golden_gate_service_details.go
@@ -2,14 +2,12 @@
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
-// Operations Insights API
+// Database Migration API
//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
+// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
//
-package opsi
+package databasemigration
import (
"fmt"
@@ -17,21 +15,21 @@ import (
"strings"
)
-// IngestAddmReportsDetails Collection of Addm reports
-type IngestAddmReportsDetails struct {
+// GoldenGateServiceDetails Details about Oracle GoldenGate GGS Deployment.
+type GoldenGateServiceDetails struct {
+ GgsDeployment *GgsDeployment `mandatory:"false" json:"ggsDeployment"`
- // List of Addm reports
- Items []AddmReport `mandatory:"true" json:"items"`
+ Settings *GoldenGateSettings `mandatory:"false" json:"settings"`
}
-func (m IngestAddmReportsDetails) String() string {
+func (m GoldenGateServiceDetails) 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 IngestAddmReportsDetails) ValidateEnumValue() (bool, error) {
+func (m GoldenGateServiceDetails) ValidateEnumValue() (bool, error) {
errMessage := []string{}
if len(errMessage) > 0 {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/host_dump_transfer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/host_dump_transfer_details.go
index 0ad88550a9d..dcbb14582b3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/host_dump_transfer_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/host_dump_transfer_details.go
@@ -69,7 +69,7 @@ func (m *hostdumptransferdetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetWalletLocation returns WalletLocation
+// GetWalletLocation returns WalletLocation
func (m hostdumptransferdetails) GetWalletLocation() *string {
return m.WalletLocation
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/migration.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/migration.go
index 78a1b947659..b59bc1e389d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/migration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/migration.go
@@ -73,6 +73,8 @@ type Migration struct {
// Database objects to include from migration.
IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`
+ GoldenGateServiceDetails *GoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`
+
GoldenGateDetails *GoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`
VaultDetails *VaultDetails `mandatory:"false" json:"vaultDetails"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/odms_job_phases.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/odms_job_phases.go
index 6034305271d..c90ba5391a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/odms_job_phases.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/odms_job_phases.go
@@ -22,11 +22,13 @@ const (
OdmsJobPhasesOdmsValidateSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_SRC"
OdmsJobPhasesOdmsValidatePremigrationAdvisor OdmsJobPhasesEnum = "ODMS_VALIDATE_PREMIGRATION_ADVISOR"
OdmsJobPhasesOdmsValidateGgHub OdmsJobPhasesEnum = "ODMS_VALIDATE_GG_HUB"
+ OdmsJobPhasesOdmsValidateGgService OdmsJobPhasesEnum = "ODMS_VALIDATE_GG_SERVICE"
OdmsJobPhasesOdmsValidateDatapumpSettings OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS"
OdmsJobPhasesOdmsValidateDatapumpSettingsSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC"
OdmsJobPhasesOdmsValidateDatapumpSettingsTgt OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT"
OdmsJobPhasesOdmsValidateDatapumpSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_SRC"
OdmsJobPhasesOdmsValidateDatapumpEstimateSrc OdmsJobPhasesEnum = "ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC"
+ OdmsJobPhasesOdmsInitializeGgs OdmsJobPhasesEnum = "ODMS_INITIALIZE_GGS"
OdmsJobPhasesOdmsValidate OdmsJobPhasesEnum = "ODMS_VALIDATE"
OdmsJobPhasesOdmsPrepare OdmsJobPhasesEnum = "ODMS_PREPARE"
OdmsJobPhasesOdmsInitialLoadExport OdmsJobPhasesEnum = "ODMS_INITIAL_LOAD_EXPORT"
@@ -44,11 +46,13 @@ var mappingOdmsJobPhasesEnum = map[string]OdmsJobPhasesEnum{
"ODMS_VALIDATE_SRC": OdmsJobPhasesOdmsValidateSrc,
"ODMS_VALIDATE_PREMIGRATION_ADVISOR": OdmsJobPhasesOdmsValidatePremigrationAdvisor,
"ODMS_VALIDATE_GG_HUB": OdmsJobPhasesOdmsValidateGgHub,
+ "ODMS_VALIDATE_GG_SERVICE": OdmsJobPhasesOdmsValidateGgService,
"ODMS_VALIDATE_DATAPUMP_SETTINGS": OdmsJobPhasesOdmsValidateDatapumpSettings,
"ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC": OdmsJobPhasesOdmsValidateDatapumpSettingsSrc,
"ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT": OdmsJobPhasesOdmsValidateDatapumpSettingsTgt,
"ODMS_VALIDATE_DATAPUMP_SRC": OdmsJobPhasesOdmsValidateDatapumpSrc,
"ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC": OdmsJobPhasesOdmsValidateDatapumpEstimateSrc,
+ "ODMS_INITIALIZE_GGS": OdmsJobPhasesOdmsInitializeGgs,
"ODMS_VALIDATE": OdmsJobPhasesOdmsValidate,
"ODMS_PREPARE": OdmsJobPhasesOdmsPrepare,
"ODMS_INITIAL_LOAD_EXPORT": OdmsJobPhasesOdmsInitialLoadExport,
@@ -66,11 +70,13 @@ var mappingOdmsJobPhasesEnumLowerCase = map[string]OdmsJobPhasesEnum{
"odms_validate_src": OdmsJobPhasesOdmsValidateSrc,
"odms_validate_premigration_advisor": OdmsJobPhasesOdmsValidatePremigrationAdvisor,
"odms_validate_gg_hub": OdmsJobPhasesOdmsValidateGgHub,
+ "odms_validate_gg_service": OdmsJobPhasesOdmsValidateGgService,
"odms_validate_datapump_settings": OdmsJobPhasesOdmsValidateDatapumpSettings,
"odms_validate_datapump_settings_src": OdmsJobPhasesOdmsValidateDatapumpSettingsSrc,
"odms_validate_datapump_settings_tgt": OdmsJobPhasesOdmsValidateDatapumpSettingsTgt,
"odms_validate_datapump_src": OdmsJobPhasesOdmsValidateDatapumpSrc,
"odms_validate_datapump_estimate_src": OdmsJobPhasesOdmsValidateDatapumpEstimateSrc,
+ "odms_initialize_ggs": OdmsJobPhasesOdmsInitializeGgs,
"odms_validate": OdmsJobPhasesOdmsValidate,
"odms_prepare": OdmsJobPhasesOdmsPrepare,
"odms_initial_load_export": OdmsJobPhasesOdmsInitialLoadExport,
@@ -99,11 +105,13 @@ func GetOdmsJobPhasesEnumStringValues() []string {
"ODMS_VALIDATE_SRC",
"ODMS_VALIDATE_PREMIGRATION_ADVISOR",
"ODMS_VALIDATE_GG_HUB",
+ "ODMS_VALIDATE_GG_SERVICE",
"ODMS_VALIDATE_DATAPUMP_SETTINGS",
"ODMS_VALIDATE_DATAPUMP_SETTINGS_SRC",
"ODMS_VALIDATE_DATAPUMP_SETTINGS_TGT",
"ODMS_VALIDATE_DATAPUMP_SRC",
"ODMS_VALIDATE_DATAPUMP_ESTIMATE_SRC",
+ "ODMS_INITIALIZE_GGS",
"ODMS_VALIDATE",
"ODMS_PREPARE",
"ODMS_INITIAL_LOAD_EXPORT",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_connection_details.go
index b83264cae11..1aa257d142b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_connection_details.go
@@ -39,6 +39,8 @@ type UpdateConnectionDetails struct {
AdminCredentials *UpdateAdminCredentials `mandatory:"false" json:"adminCredentials"`
+ ReplicationCredentials *UpdateAdminCredentials `mandatory:"false" json:"replicationCredentials"`
+
PrivateEndpoint *UpdatePrivateEndpoint `mandatory:"false" json:"privateEndpoint"`
VaultDetails *UpdateVaultDetails `mandatory:"false" json:"vaultDetails"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_data_pump_settings.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_data_pump_settings.go
index fd2b86d6c82..b4e1007415d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_data_pump_settings.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_data_pump_settings.go
@@ -77,10 +77,7 @@ func (m *UpdateDataPumpSettings) UnmarshalJSON(data []byte) (e error) {
m.DataPumpParameters = model.DataPumpParameters
m.MetadataRemaps = make([]MetadataRemap, len(model.MetadataRemaps))
- for i, n := range model.MetadataRemaps {
- m.MetadataRemaps[i] = n
- }
-
+ copy(m.MetadataRemaps, model.MetadataRemaps)
nn, e = model.TablespaceDetails.UnmarshalPolymorphicJSON(model.TablespaceDetails.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_golden_gate_service_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_golden_gate_service_details.go
new file mode 100644
index 00000000000..713b50b569b
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_golden_gate_service_details.go
@@ -0,0 +1,43 @@
+// Copyright (c) 2016, 2018, 2023, 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"
+)
+
+// UpdateGoldenGateServiceDetails Details about the Oracle GoldenGate Microservices. If an empty object is specified, the stored Golden Gate details will be removed.
+type UpdateGoldenGateServiceDetails struct {
+ SourceDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceDbCredentials"`
+
+ SourceContainerDbCredentials *DatabaseCredentials `mandatory:"false" json:"sourceContainerDbCredentials"`
+
+ TargetDbCredentials *DatabaseCredentials `mandatory:"false" json:"targetDbCredentials"`
+
+ Settings *UpdateGoldenGateSettings `mandatory:"false" json:"settings"`
+}
+
+func (m UpdateGoldenGateServiceDetails) 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 UpdateGoldenGateServiceDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_host_dump_transfer_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_host_dump_transfer_details.go
index 5cd072b87e8..d4400e5d9c1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_host_dump_transfer_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_host_dump_transfer_details.go
@@ -69,7 +69,7 @@ func (m *updatehostdumptransferdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetWalletLocation returns WalletLocation
+// GetWalletLocation returns WalletLocation
func (m updatehostdumptransferdetails) GetWalletLocation() *string {
return m.WalletLocation
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_migration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_migration_details.go
index 44c7d7d5bd8..34580498a50 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_migration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasemigration/update_migration_details.go
@@ -54,6 +54,8 @@ type UpdateMigrationDetails struct {
// If specified, the list will be replaced entirely. Empty list will remove stored includeObjects details.
IncludeObjects []DatabaseObject `mandatory:"false" json:"includeObjects"`
+ GoldenGateServiceDetails *UpdateGoldenGateServiceDetails `mandatory:"false" json:"goldenGateServiceDetails"`
+
GoldenGateDetails *UpdateGoldenGateDetails `mandatory:"false" json:"goldenGateDetails"`
VaultDetails *UpdateVaultDetails `mandatory:"false" json:"vaultDetails"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_details.go
index cdb7dd3fffc..e4dc45d7870 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_details.go
@@ -36,10 +36,10 @@ type CreateDatabaseToolsConnectionDetails interface {
type createdatabasetoolsconnectiondetails struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Type string `json:"type"`
}
@@ -86,26 +86,26 @@ func (m *createdatabasetoolsconnectiondetails) UnmarshalPolymorphicJSON(data []b
}
}
-//GetDisplayName returns DisplayName
-func (m createdatabasetoolsconnectiondetails) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createdatabasetoolsconnectiondetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdatabasetoolsconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdatabasetoolsconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
+// GetDisplayName returns DisplayName
+func (m createdatabasetoolsconnectiondetails) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createdatabasetoolsconnectiondetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createdatabasetoolsconnectiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_my_sql_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_my_sql_details.go
index d2399146401..9894783ec19 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_my_sql_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_my_sql_details.go
@@ -148,10 +148,7 @@ func (m *CreateDatabaseToolsConnectionMySqlDetails) UnmarshalJSON(data []byte) (
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreMySqlDetails, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.DisplayName = model.DisplayName
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_oracle_database_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_oracle_database_details.go
index 9e52c8727c3..f1caf9af93d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_oracle_database_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/create_database_tools_connection_oracle_database_details.go
@@ -148,10 +148,7 @@ func (m *CreateDatabaseToolsConnectionOracleDatabaseDetails) UnmarshalJSON(data
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreDetails, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.DisplayName = model.DisplayName
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection.go
index 08e54b0464b..a92f9f2ddcc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection.go
@@ -55,16 +55,16 @@ type DatabaseToolsConnection interface {
type databasetoolsconnection struct {
JsonData []byte
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -117,56 +117,56 @@ func (m *databasetoolsconnection) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetId returns Id
+// GetLifecycleDetails returns LifecycleDetails
+func (m databasetoolsconnection) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetDefinedTags returns DefinedTags
+func (m databasetoolsconnection) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetFreeformTags returns FreeformTags
+func (m databasetoolsconnection) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetSystemTags returns SystemTags
+func (m databasetoolsconnection) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m databasetoolsconnection) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m databasetoolsconnection) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m databasetoolsconnection) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m databasetoolsconnection) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m databasetoolsconnection) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m databasetoolsconnection) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleDetails returns LifecycleDetails
-func (m databasetoolsconnection) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDefinedTags returns DefinedTags
-func (m databasetoolsconnection) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m databasetoolsconnection) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetSystemTags returns SystemTags
-func (m databasetoolsconnection) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m databasetoolsconnection) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_collection.go
index b37b1b110ec..e86b5339de3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_collection.go
@@ -62,6 +62,5 @@ func (m *DatabaseToolsConnectionCollection) UnmarshalJSON(data []byte) (e error)
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql.go
index 6c7144cf7eb..eae6e3643ff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql.go
@@ -210,10 +210,7 @@ func (m *DatabaseToolsConnectionMySql) UnmarshalJSON(data []byte) (e error) {
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreMySql, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql_summary.go
index c91f477548d..7e05e631f36 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_my_sql_summary.go
@@ -210,10 +210,7 @@ func (m *DatabaseToolsConnectionMySqlSummary) UnmarshalJSON(data []byte) (e erro
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreMySqlSummary, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database.go
index bfddbcb9002..6fdd5107720 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database.go
@@ -210,10 +210,7 @@ func (m *DatabaseToolsConnectionOracleDatabase) UnmarshalJSON(data []byte) (e er
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStore, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database_summary.go
index ae5d728daff..b6dc0d2396b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_oracle_database_summary.go
@@ -210,10 +210,7 @@ func (m *DatabaseToolsConnectionOracleDatabaseSummary) UnmarshalJSON(data []byte
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreSummary, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_summary.go
index b87b48ffb77..613a3068d79 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/database_tools_connection_summary.go
@@ -55,16 +55,16 @@ type DatabaseToolsConnectionSummary interface {
type databasetoolsconnectionsummary struct {
JsonData []byte
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Type string `json:"type"`
}
@@ -117,56 +117,56 @@ func (m *databasetoolsconnectionsummary) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetId returns Id
+// GetLifecycleDetails returns LifecycleDetails
+func (m databasetoolsconnectionsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetDefinedTags returns DefinedTags
+func (m databasetoolsconnectionsummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetFreeformTags returns FreeformTags
+func (m databasetoolsconnectionsummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetSystemTags returns SystemTags
+func (m databasetoolsconnectionsummary) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m databasetoolsconnectionsummary) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m databasetoolsconnectionsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m databasetoolsconnectionsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m databasetoolsconnectionsummary) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m databasetoolsconnectionsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m databasetoolsconnectionsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleDetails returns LifecycleDetails
-func (m databasetoolsconnectionsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDefinedTags returns DefinedTags
-func (m databasetoolsconnectionsummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m databasetoolsconnectionsummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetSystemTags returns SystemTags
-func (m databasetoolsconnectionsummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m databasetoolsconnectionsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/databasetools_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/databasetools_client.go
index c8b91c12522..4e26e13fb79 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/databasetools_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/databasetools_client.go
@@ -80,7 +80,7 @@ func (client *DatabaseToolsClient) setConfigurationProvider(configProvider commo
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_details.go
index d4b9195d4ca..c7539bc42e2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_details.go
@@ -81,17 +81,17 @@ func (m *updatedatabasetoolsconnectiondetails) UnmarshalPolymorphicJSON(data []b
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatedatabasetoolsconnectiondetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatedatabasetoolsconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatedatabasetoolsconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_my_sql_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_my_sql_details.go
index 92c911812c1..6c1ec34cdb5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_my_sql_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_my_sql_details.go
@@ -141,10 +141,7 @@ func (m *UpdateDatabaseToolsConnectionMySqlDetails) UnmarshalJSON(data []byte) (
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreMySqlDetails, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_oracle_database_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_oracle_database_details.go
index 5d7a6ed68e7..db5ca3a3fbb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_oracle_database_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/update_database_tools_connection_oracle_database_details.go
@@ -141,10 +141,7 @@ func (m *UpdateDatabaseToolsConnectionOracleDatabaseDetails) UnmarshalJSON(data
m.AdvancedProperties = model.AdvancedProperties
m.KeyStores = make([]DatabaseToolsKeyStoreDetails, len(model.KeyStores))
- for i, n := range model.KeyStores {
- m.KeyStores[i] = n
- }
-
+ copy(m.KeyStores, model.KeyStores)
m.PrivateEndpointId = model.PrivateEndpointId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/validate_database_tools_connection_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/validate_database_tools_connection_result.go
index ceaac88783a..20f55c9c3f0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/validate_database_tools_connection_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/databasetools/validate_database_tools_connection_result.go
@@ -34,10 +34,10 @@ type ValidateDatabaseToolsConnectionResult interface {
type validatedatabasetoolsconnectionresult struct {
JsonData []byte
- Code *string `mandatory:"true" json:"code"`
- Message *string `mandatory:"true" json:"message"`
Cause *string `mandatory:"false" json:"cause"`
Action *string `mandatory:"false" json:"action"`
+ Code *string `mandatory:"true" json:"code"`
+ Message *string `mandatory:"true" json:"message"`
Type string `json:"type"`
}
@@ -84,26 +84,26 @@ func (m *validatedatabasetoolsconnectionresult) UnmarshalPolymorphicJSON(data []
}
}
-//GetCode returns Code
-func (m validatedatabasetoolsconnectionresult) GetCode() *string {
- return m.Code
-}
-
-//GetMessage returns Message
-func (m validatedatabasetoolsconnectionresult) GetMessage() *string {
- return m.Message
-}
-
-//GetCause returns Cause
+// GetCause returns Cause
func (m validatedatabasetoolsconnectionresult) GetCause() *string {
return m.Cause
}
-//GetAction returns Action
+// GetAction returns Action
func (m validatedatabasetoolsconnectionresult) GetAction() *string {
return m.Action
}
+// GetCode returns Code
+func (m validatedatabasetoolsconnectionresult) GetCode() *string {
+ return m.Code
+}
+
+// GetMessage returns Message
+func (m validatedatabasetoolsconnectionresult) GetMessage() *string {
+ return m.Message
+}
+
func (m validatedatabasetoolsconnectionresult) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datacatalog/datacatalog_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/datacatalog/datacatalog_client.go
index eccc9448bc4..edb7aba934c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datacatalog/datacatalog_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datacatalog/datacatalog_client.go
@@ -81,7 +81,7 @@ func (client *DataCatalogClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/dataflow_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/dataflow_client.go
index 00e88de1d29..dc1187b507e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/dataflow_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/dataflow_client.go
@@ -80,7 +80,7 @@ func (client *DataFlowClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/statement_output.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/statement_output.go
index a7525ee6f3d..cd18a907d83 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/statement_output.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataflow/statement_output.go
@@ -84,10 +84,7 @@ func (m *StatementOutput) UnmarshalJSON(data []byte) (e error) {
m.ErrorValue = model.ErrorValue
m.Traceback = make([]string, len(model.Traceback))
- for i, n := range model.Traceback {
- m.Traceback[i] = n
- }
-
+ copy(m.Traceback, model.Traceback)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_call_attribute.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_call_attribute.go
index 8946d6d7136..bd25b243060 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_call_attribute.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_call_attribute.go
@@ -69,7 +69,7 @@ func (m *abstractcallattribute) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetFetchSize returns FetchSize
+// GetFetchSize returns FetchSize
func (m abstractcallattribute) GetFetchSize() *int {
return m.FetchSize
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_data_operation_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_data_operation_config.go
index e87adf88d62..e49b280b2b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_data_operation_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_data_operation_config.go
@@ -78,17 +78,17 @@ func (m *abstractdataoperationconfig) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetMetadataConfigProperties returns MetadataConfigProperties
+// GetMetadataConfigProperties returns MetadataConfigProperties
func (m abstractdataoperationconfig) GetMetadataConfigProperties() map[string]string {
return m.MetadataConfigProperties
}
-//GetDerivedAttributes returns DerivedAttributes
+// GetDerivedAttributes returns DerivedAttributes
func (m abstractdataoperationconfig) GetDerivedAttributes() map[string]string {
return m.DerivedAttributes
}
-//GetCallAttribute returns CallAttribute
+// GetCallAttribute returns CallAttribute
func (m abstractdataoperationconfig) GetCallAttribute() *BipCallAttribute {
return m.CallAttribute
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_format_attribute.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_format_attribute.go
index d1a1cccf9d0..2b375efcacc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_format_attribute.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_format_attribute.go
@@ -77,7 +77,7 @@ func (m *abstractformatattribute) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetIsFilePattern returns IsFilePattern
+// GetIsFilePattern returns IsFilePattern
func (m abstractformatattribute) GetIsFilePattern() *bool {
return m.IsFilePattern
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_frequency_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_frequency_details.go
index 51c2c906f00..d793256f995 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_frequency_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/abstract_frequency_details.go
@@ -85,7 +85,7 @@ func (m *abstractfrequencydetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetFrequency returns Frequency
+// GetFrequency returns Frequency
func (m abstractfrequencydetails) GetFrequency() AbstractFrequencyDetailsFrequencyEnum {
return m.Frequency
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/aggregator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/aggregator.go
index b032afbac04..29eed710a08 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/aggregator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/aggregator.go
@@ -185,10 +185,7 @@ func (m *Aggregator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -201,16 +198,12 @@ func (m *Aggregator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.GroupByColumns = model.GroupByColumns
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/auth_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/auth_config.go
index a8c1d3a2645..4bab3489b31 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/auth_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/auth_config.go
@@ -74,17 +74,17 @@ func (m *authconfig) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m authconfig) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m authconfig) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m authconfig) GetParentRef() *ParentReference {
return m.ParentRef
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/base_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/base_type.go
index 42ad01f489d..3a93c67e499 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/base_type.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/base_type.go
@@ -121,32 +121,32 @@ func (m *basetype) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m basetype) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m basetype) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m basetype) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m basetype) GetName() *string {
return m.Name
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m basetype) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m basetype) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_field_map.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_field_map.go
index f76ab3719ec..92b08e086be 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_field_map.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_field_map.go
@@ -115,6 +115,5 @@ func (m *CompositeFieldMap) UnmarshalJSON(data []byte) (e error) {
m.FieldMaps[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_type.go
index 25f3847987b..2509198f480 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_type.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/composite_type.go
@@ -149,7 +149,6 @@ func (m *CompositeType) UnmarshalJSON(data []byte) (e error) {
m.Elements[i] = nil
}
}
-
m.ConfigDefinition = model.ConfigDefinition
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_composite_field_map.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_composite_field_map.go
index 0060f44f46c..8f01a88477f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_composite_field_map.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_composite_field_map.go
@@ -109,7 +109,6 @@ func (m *ConditionalCompositeFieldMap) UnmarshalJSON(data []byte) (e error) {
m.FieldMapScope[i] = nil
}
}
-
m.Key = model.Key
m.ModelVersion = model.ModelVersion
@@ -132,6 +131,5 @@ func (m *ConditionalCompositeFieldMap) UnmarshalJSON(data []byte) (e error) {
m.FieldMaps[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_output_port.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_output_port.go
index 775c0ae27d5..55b6863a327 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_output_port.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/conditional_output_port.go
@@ -163,7 +163,6 @@ func (m *ConditionalOutputPort) UnmarshalJSON(data []byte) (e error) {
m.Fields[i] = nil
}
}
-
m.SplitCondition = model.SplitCondition
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection.go
index 56eb23daa7a..d8f0d8a6337 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection.go
@@ -186,67 +186,67 @@ func (m *connection) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m connection) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m connection) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m connection) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m connection) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m connection) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m connection) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m connection) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m connection) GetIdentifier() *string {
return m.Identifier
}
-//GetPrimarySchema returns PrimarySchema
+// GetPrimarySchema returns PrimarySchema
func (m connection) GetPrimarySchema() *Schema {
return m.PrimarySchema
}
-//GetConnectionProperties returns ConnectionProperties
+// GetConnectionProperties returns ConnectionProperties
func (m connection) GetConnectionProperties() []ConnectionProperty {
return m.ConnectionProperties
}
-//GetIsDefault returns IsDefault
+// GetIsDefault returns IsDefault
func (m connection) GetIsDefault() *bool {
return m.IsDefault
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m connection) GetMetadata() *ObjectMetadata {
return m.Metadata
}
-//GetKeyMap returns KeyMap
+// GetKeyMap returns KeyMap
func (m connection) GetKeyMap() map[string]string {
return m.KeyMap
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_details.go
index 94f42cc8213..f6ee8956373 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_details.go
@@ -181,62 +181,62 @@ func (m *connectiondetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m connectiondetails) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m connectiondetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m connectiondetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m connectiondetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m connectiondetails) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m connectiondetails) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m connectiondetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m connectiondetails) GetIdentifier() *string {
return m.Identifier
}
-//GetPrimarySchema returns PrimarySchema
+// GetPrimarySchema returns PrimarySchema
func (m connectiondetails) GetPrimarySchema() *Schema {
return m.PrimarySchema
}
-//GetConnectionProperties returns ConnectionProperties
+// GetConnectionProperties returns ConnectionProperties
func (m connectiondetails) GetConnectionProperties() []ConnectionProperty {
return m.ConnectionProperties
}
-//GetIsDefault returns IsDefault
+// GetIsDefault returns IsDefault
func (m connectiondetails) GetIsDefault() *bool {
return m.IsDefault
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m connectiondetails) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary.go
index db46fdb190c..184ec7e8c98 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary.go
@@ -186,67 +186,67 @@ func (m *connectionsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m connectionsummary) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m connectionsummary) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m connectionsummary) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m connectionsummary) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m connectionsummary) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m connectionsummary) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m connectionsummary) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m connectionsummary) GetIdentifier() *string {
return m.Identifier
}
-//GetPrimarySchema returns PrimarySchema
+// GetPrimarySchema returns PrimarySchema
func (m connectionsummary) GetPrimarySchema() *Schema {
return m.PrimarySchema
}
-//GetConnectionProperties returns ConnectionProperties
+// GetConnectionProperties returns ConnectionProperties
func (m connectionsummary) GetConnectionProperties() []ConnectionProperty {
return m.ConnectionProperties
}
-//GetIsDefault returns IsDefault
+// GetIsDefault returns IsDefault
func (m connectionsummary) GetIsDefault() *bool {
return m.IsDefault
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m connectionsummary) GetMetadata() *ObjectMetadata {
return m.Metadata
}
-//GetKeyMap returns KeyMap
+// GetKeyMap returns KeyMap
func (m connectionsummary) GetKeyMap() map[string]string {
return m.KeyMap
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary_collection.go
index 53e3c15c2f0..58f5c046e46 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/connection_summary_collection.go
@@ -62,6 +62,5 @@ func (m *ConnectionSummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_connection_details.go
index 06c09853aa2..6eb593d4211 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_connection_details.go
@@ -47,8 +47,6 @@ type CreateConnectionDetails interface {
type createconnectiondetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- Identifier *string `mandatory:"true" json:"identifier"`
Key *string `mandatory:"false" json:"key"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
ParentRef *ParentReference `mandatory:"false" json:"parentRef"`
@@ -56,6 +54,8 @@ type createconnectiondetails struct {
ObjectStatus *int `mandatory:"false" json:"objectStatus"`
ConnectionProperties []ConnectionProperty `mandatory:"false" json:"connectionProperties"`
RegistryMetadata *RegistryMetadata `mandatory:"false" json:"registryMetadata"`
+ Name *string `mandatory:"true" json:"name"`
+ Identifier *string `mandatory:"true" json:"identifier"`
ModelType string `json:"modelType"`
}
@@ -167,51 +167,51 @@ func (m *createconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetName returns Name
-func (m createconnectiondetails) GetName() *string {
- return m.Name
-}
-
-//GetIdentifier returns Identifier
-func (m createconnectiondetails) GetIdentifier() *string {
- return m.Identifier
-}
-
-//GetKey returns Key
+// GetKey returns Key
func (m createconnectiondetails) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m createconnectiondetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m createconnectiondetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m createconnectiondetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetConnectionProperties returns ConnectionProperties
+// GetConnectionProperties returns ConnectionProperties
func (m createconnectiondetails) GetConnectionProperties() []ConnectionProperty {
return m.ConnectionProperties
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m createconnectiondetails) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
+// GetName returns Name
+func (m createconnectiondetails) GetName() *string {
+ return m.Name
+}
+
+// GetIdentifier returns Identifier
+func (m createconnectiondetails) GetIdentifier() *string {
+ return m.Identifier
+}
+
func (m createconnectiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_data_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_data_asset_details.go
index 19eaa8ed616..62fe3a506cb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_data_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_data_asset_details.go
@@ -48,8 +48,6 @@ type CreateDataAssetDetails interface {
type createdataassetdetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- Identifier *string `mandatory:"true" json:"identifier"`
Key *string `mandatory:"false" json:"key"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
Description *string `mandatory:"false" json:"description"`
@@ -57,6 +55,8 @@ type createdataassetdetails struct {
ExternalKey *string `mandatory:"false" json:"externalKey"`
AssetProperties map[string]string `mandatory:"false" json:"assetProperties"`
RegistryMetadata *RegistryMetadata `mandatory:"false" json:"registryMetadata"`
+ Name *string `mandatory:"true" json:"name"`
+ Identifier *string `mandatory:"true" json:"identifier"`
ModelType string `json:"modelType"`
}
@@ -160,51 +160,51 @@ func (m *createdataassetdetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetName returns Name
-func (m createdataassetdetails) GetName() *string {
- return m.Name
-}
-
-//GetIdentifier returns Identifier
-func (m createdataassetdetails) GetIdentifier() *string {
- return m.Identifier
-}
-
-//GetKey returns Key
+// GetKey returns Key
func (m createdataassetdetails) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m createdataassetdetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createdataassetdetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m createdataassetdetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetExternalKey returns ExternalKey
+// GetExternalKey returns ExternalKey
func (m createdataassetdetails) GetExternalKey() *string {
return m.ExternalKey
}
-//GetAssetProperties returns AssetProperties
+// GetAssetProperties returns AssetProperties
func (m createdataassetdetails) GetAssetProperties() map[string]string {
return m.AssetProperties
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m createdataassetdetails) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
+// GetName returns Name
+func (m createdataassetdetails) GetName() *string {
+ return m.Name
+}
+
+// GetIdentifier returns Identifier
+func (m createdataassetdetails) GetIdentifier() *string {
+ return m.Identifier
+}
+
func (m createdataassetdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_file.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_file.go
index 090ebebd03e..ecd8bbb52a6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_file.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_file.go
@@ -167,12 +167,8 @@ func (m *CreateEntityShapeFromFile) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_object.go
index 82317d528d3..b5fc208a89a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_object.go
@@ -144,12 +144,8 @@ func (m *CreateEntityShapeFromObject) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_sql.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_sql.go
index a6fe82dbc88..cfe46e550c7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_sql.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_entity_shape_from_sql.go
@@ -166,12 +166,8 @@ func (m *CreateEntityShapeFromSql) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_details.go
index d7a62813509..9f4d2696f4a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_details.go
@@ -57,9 +57,6 @@ type CreateTaskDetails interface {
type createtaskdetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- Identifier *string `mandatory:"true" json:"identifier"`
- RegistryMetadata *RegistryMetadata `mandatory:"true" json:"registryMetadata"`
Key *string `mandatory:"false" json:"key"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
ParentRef *ParentReference `mandatory:"false" json:"parentRef"`
@@ -70,6 +67,9 @@ type createtaskdetails struct {
Parameters []Parameter `mandatory:"false" json:"parameters"`
OpConfigValues *ConfigValues `mandatory:"false" json:"opConfigValues"`
ConfigProviderDelegate *CreateConfigProvider `mandatory:"false" json:"configProviderDelegate"`
+ Name *string `mandatory:"true" json:"name"`
+ Identifier *string `mandatory:"true" json:"identifier"`
+ RegistryMetadata *RegistryMetadata `mandatory:"true" json:"registryMetadata"`
ModelType string `json:"modelType"`
}
@@ -141,71 +141,71 @@ func (m *createtaskdetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetName returns Name
-func (m createtaskdetails) GetName() *string {
- return m.Name
-}
-
-//GetIdentifier returns Identifier
-func (m createtaskdetails) GetIdentifier() *string {
- return m.Identifier
-}
-
-//GetRegistryMetadata returns RegistryMetadata
-func (m createtaskdetails) GetRegistryMetadata() *RegistryMetadata {
- return m.RegistryMetadata
-}
-
-//GetKey returns Key
+// GetKey returns Key
func (m createtaskdetails) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m createtaskdetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m createtaskdetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createtaskdetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m createtaskdetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m createtaskdetails) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m createtaskdetails) GetOutputPorts() []OutputPort {
return m.OutputPorts
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m createtaskdetails) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m createtaskdetails) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
-//GetConfigProviderDelegate returns ConfigProviderDelegate
+// GetConfigProviderDelegate returns ConfigProviderDelegate
func (m createtaskdetails) GetConfigProviderDelegate() *CreateConfigProvider {
return m.ConfigProviderDelegate
}
+// GetName returns Name
+func (m createtaskdetails) GetName() *string {
+ return m.Name
+}
+
+// GetIdentifier returns Identifier
+func (m createtaskdetails) GetIdentifier() *string {
+ return m.Identifier
+}
+
+// GetRegistryMetadata returns RegistryMetadata
+func (m createtaskdetails) GetRegistryMetadata() *RegistryMetadata {
+ return m.RegistryMetadata
+}
+
func (m createtaskdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_from_rest_task.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_from_rest_task.go
index 008aaa82fc5..dbf2fca1826 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_from_rest_task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_from_rest_task.go
@@ -238,20 +238,11 @@ func (m *CreateTaskFromRestTask) UnmarshalJSON(data []byte) (e error) {
m.ObjectStatus = model.ObjectStatus
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]OutputPort, len(model.OutputPorts))
- for i, n := range model.OutputPorts {
- m.OutputPorts[i] = n
- }
-
+ copy(m.OutputPorts, model.OutputPorts)
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.ConfigProviderDelegate = model.ConfigProviderDelegate
@@ -289,10 +280,7 @@ func (m *CreateTaskFromRestTask) UnmarshalJSON(data []byte) (e error) {
m.PollRestCallConfig = model.PollRestCallConfig
m.TypedExpressions = make([]TypedExpression, len(model.TypedExpressions))
- for i, n := range model.TypedExpressions {
- m.TypedExpressions[i] = n
- }
-
+ copy(m.TypedExpressions, model.TypedExpressions)
m.Name = model.Name
m.Identifier = model.Identifier
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_validation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_validation_details.go
index a65f184fb2a..90138dcaad5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_validation_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/create_task_validation_details.go
@@ -134,72 +134,72 @@ func (m *createtaskvalidationdetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m createtaskvalidationdetails) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m createtaskvalidationdetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m createtaskvalidationdetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m createtaskvalidationdetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createtaskvalidationdetails) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m createtaskvalidationdetails) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m createtaskvalidationdetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m createtaskvalidationdetails) GetIdentifier() *string {
return m.Identifier
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m createtaskvalidationdetails) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m createtaskvalidationdetails) GetOutputPorts() []OutputPort {
return m.OutputPorts
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m createtaskvalidationdetails) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m createtaskvalidationdetails) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
-//GetConfigProviderDelegate returns ConfigProviderDelegate
+// GetConfigProviderDelegate returns ConfigProviderDelegate
func (m createtaskvalidationdetails) GetConfigProviderDelegate() *ConfigProvider {
return m.ConfigProviderDelegate
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m createtaskvalidationdetails) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset.go
index 6e2b5289777..46dca9a9481 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset.go
@@ -178,67 +178,67 @@ func (m *dataasset) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m dataasset) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m dataasset) GetModelVersion() *string {
return m.ModelVersion
}
-//GetName returns Name
+// GetName returns Name
func (m dataasset) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m dataasset) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m dataasset) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m dataasset) GetIdentifier() *string {
return m.Identifier
}
-//GetExternalKey returns ExternalKey
+// GetExternalKey returns ExternalKey
func (m dataasset) GetExternalKey() *string {
return m.ExternalKey
}
-//GetAssetProperties returns AssetProperties
+// GetAssetProperties returns AssetProperties
func (m dataasset) GetAssetProperties() map[string]string {
return m.AssetProperties
}
-//GetNativeTypeSystem returns NativeTypeSystem
+// GetNativeTypeSystem returns NativeTypeSystem
func (m dataasset) GetNativeTypeSystem() *TypeSystem {
return m.NativeTypeSystem
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m dataasset) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m dataasset) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m dataasset) GetMetadata() *ObjectMetadata {
return m.Metadata
}
-//GetKeyMap returns KeyMap
+// GetKeyMap returns KeyMap
func (m dataasset) GetKeyMap() map[string]string {
return m.KeyMap
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_adwc_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_adwc_details.go
index 6df8523cee1..c567e68c166 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_adwc_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_adwc_details.go
@@ -227,10 +227,7 @@ func (m *DataAssetFromAdwcDetails) UnmarshalJSON(data []byte) (e error) {
m.ServiceName = model.ServiceName
m.ServiceNames = make([]string, len(model.ServiceNames))
- for i, n := range model.ServiceNames {
- m.ServiceNames[i] = n
- }
-
+ copy(m.ServiceNames, model.ServiceNames)
m.DriverClass = model.DriverClass
m.DefaultConnection = model.DefaultConnection
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_atp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_atp_details.go
index 15b86c039b3..803a7cfd950 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_atp_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_from_atp_details.go
@@ -227,10 +227,7 @@ func (m *DataAssetFromAtpDetails) UnmarshalJSON(data []byte) (e error) {
m.ServiceName = model.ServiceName
m.ServiceNames = make([]string, len(model.ServiceNames))
- for i, n := range model.ServiceNames {
- m.ServiceNames[i] = n
- }
-
+ copy(m.ServiceNames, model.ServiceNames)
m.DriverClass = model.DriverClass
m.DefaultConnection = model.DefaultConnection
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary.go
index 5c46e075e7a..be3b4a05679 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary.go
@@ -173,62 +173,62 @@ func (m *dataassetsummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m dataassetsummary) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m dataassetsummary) GetModelVersion() *string {
return m.ModelVersion
}
-//GetName returns Name
+// GetName returns Name
func (m dataassetsummary) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m dataassetsummary) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m dataassetsummary) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m dataassetsummary) GetIdentifier() *string {
return m.Identifier
}
-//GetExternalKey returns ExternalKey
+// GetExternalKey returns ExternalKey
func (m dataassetsummary) GetExternalKey() *string {
return m.ExternalKey
}
-//GetAssetProperties returns AssetProperties
+// GetAssetProperties returns AssetProperties
func (m dataassetsummary) GetAssetProperties() map[string]string {
return m.AssetProperties
}
-//GetNativeTypeSystem returns NativeTypeSystem
+// GetNativeTypeSystem returns NativeTypeSystem
func (m dataassetsummary) GetNativeTypeSystem() *TypeSystem {
return m.NativeTypeSystem
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m dataassetsummary) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m dataassetsummary) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m dataassetsummary) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary_collection.go
index 40a4b0af5b6..94f70845480 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_asset_summary_collection.go
@@ -62,6 +62,5 @@ func (m *DataAssetSummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity.go
index 18dcff38688..453c1615e9e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity.go
@@ -87,7 +87,7 @@ func (m *dataentity) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m dataentity) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store.go
index 388034c6a73..f4ae286cc96 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store.go
@@ -193,12 +193,8 @@ func (m *DataEntityFromDataStore) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store_entity_details.go
index 5792e89cb01..3fe1ec7d518 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_data_store_entity_details.go
@@ -184,12 +184,8 @@ func (m *DataEntityFromDataStoreEntityDetails) UnmarshalJSON(data []byte) (e err
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file.go
index a8d40ab9a9e..4449c291bb2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file.go
@@ -176,12 +176,8 @@ func (m *DataEntityFromFile) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file_entity_details.go
index 798aa1cd1d2..8a97d3d4b9a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_file_entity_details.go
@@ -167,12 +167,8 @@ func (m *DataEntityFromFileEntityDetails) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object.go
index e7d2f970e8f..94e5ed7f873 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object.go
@@ -168,12 +168,8 @@ func (m *DataEntityFromObject) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object_entity_details.go
index 324250bfbbe..d78f9740df9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_object_entity_details.go
@@ -159,12 +159,8 @@ func (m *DataEntityFromObjectEntityDetails) UnmarshalJSON(data []byte) (e error)
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql.go
index 45e4dbf2779..162f43e21c5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql.go
@@ -172,12 +172,8 @@ func (m *DataEntityFromSql) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql_entity_details.go
index 3c65dd5dc89..dea0004846b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_sql_entity_details.go
@@ -163,12 +163,8 @@ func (m *DataEntityFromSqlEntityDetails) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table.go
index d49b0c42dc3..66e6eaf6119 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table.go
@@ -173,12 +173,8 @@ func (m *DataEntityFromTable) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table_entity_details.go
index 128a62329be..60e1d2e8659 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_table_entity_details.go
@@ -164,12 +164,8 @@ func (m *DataEntityFromTableEntityDetails) UnmarshalJSON(data []byte) (e error)
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view.go
index 52fc485866b..621433ea762 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view.go
@@ -173,12 +173,8 @@ func (m *DataEntityFromView) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view_entity_details.go
index dff21de4785..2b5161933b8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view_entity_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_from_view_entity_details.go
@@ -164,12 +164,8 @@ func (m *DataEntityFromViewEntityDetails) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary.go
index 94786eba95d..701031ef98a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary.go
@@ -83,7 +83,7 @@ func (m *dataentitysummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m dataentitysummary) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_collection.go
index 1c54923bc80..057e12ba7f5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_collection.go
@@ -62,6 +62,5 @@ func (m *DataEntitySummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_data_store.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_data_store.go
index 7770709f388..ee1354e7511 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_data_store.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_data_store.go
@@ -193,12 +193,8 @@ func (m *DataEntitySummaryFromDataStore) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_file.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_file.go
index b0ace41a810..f125d8c011a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_file.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_file.go
@@ -176,12 +176,8 @@ func (m *DataEntitySummaryFromFile) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_object.go
index 8b842e0a5e8..0030a4fd2b3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_object.go
@@ -168,12 +168,8 @@ func (m *DataEntitySummaryFromObject) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_sql.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_sql.go
index b252f5d6569..cca4a7fdb74 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_sql.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_sql.go
@@ -172,12 +172,8 @@ func (m *DataEntitySummaryFromSql) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_table.go
index e88c96ea7d4..8e08460db51 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_table.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_table.go
@@ -173,12 +173,8 @@ func (m *DataEntitySummaryFromTable) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_view.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_view.go
index 553800c053f..70edf0e9544 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_view.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/data_entity_summary_from_view.go
@@ -173,12 +173,8 @@ func (m *DataEntitySummaryFromView) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dataintegration_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dataintegration_client.go
index 6d3f8907a3f..ad9dbd94939 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dataintegration_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dataintegration_client.go
@@ -80,7 +80,7 @@ func (client *DataIntegrationClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_operator.go
index d8471664466..4bb1770a835 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_operator.go
@@ -192,10 +192,7 @@ func (m *DecisionOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -208,16 +205,12 @@ func (m *DecisionOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.TriggerRule = model.TriggerRule
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_output_port.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_output_port.go
index 5fde2dfb7c6..e7115e4d6f3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_output_port.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/decision_output_port.go
@@ -165,7 +165,6 @@ func (m *DecisionOutputPort) UnmarshalJSON(data []byte) (e error) {
m.Fields[i] = nil
}
}
-
m.PortType = model.PortType
m.DecisionOutputPortType = model.DecisionOutputPortType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/distinct.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/distinct.go
index 5cebb971ea5..56f1ab9cb74 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/distinct.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/distinct.go
@@ -179,10 +179,7 @@ func (m *Distinct) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -195,16 +192,12 @@ func (m *Distinct) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_input_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_input_field.go
index fe90aff7b61..0233356d928 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_input_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_input_field.go
@@ -153,9 +153,6 @@ func (m *DynamicInputField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_proxy_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_proxy_field.go
index c14db67adca..4956fb818f9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_proxy_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/dynamic_proxy_field.go
@@ -153,9 +153,6 @@ func (m *DynamicProxyField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/end_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/end_operator.go
index f34aee096f0..660b9bfbf17 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/end_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/end_operator.go
@@ -189,10 +189,7 @@ func (m *EndOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -205,16 +202,12 @@ func (m *EndOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.TriggerRule = model.TriggerRule
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape.go
index cf706bf08f8..45644b00a0f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape.go
@@ -71,7 +71,7 @@ func (m *entityshape) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m entityshape) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_file.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_file.go
index 5a6a841c668..736cad4caba 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_file.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_file.go
@@ -176,12 +176,8 @@ func (m *EntityShapeFromFile) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_object.go
index 3febb74e283..73c273127c6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_object.go
@@ -171,12 +171,8 @@ func (m *EntityShapeFromObject) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_sql.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_sql.go
index c14518231de..3389bfb5f44 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_sql.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/entity_shape_from_sql.go
@@ -175,12 +175,8 @@ func (m *EntityShapeFromSql) UnmarshalJSON(data []byte) (e error) {
m.UniqueKeys[i] = nil
}
}
-
m.ForeignKeys = make([]ForeignKey, len(model.ForeignKeys))
- for i, n := range model.ForeignKeys {
- m.ForeignKeys[i] = n
- }
-
+ copy(m.ForeignKeys, model.ForeignKeys)
m.ResourceName = model.ResourceName
m.DataFormat = model.DataFormat
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/expression_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/expression_operator.go
index 20028edd83d..937bf1e1e3b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/expression_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/expression_operator.go
@@ -192,10 +192,7 @@ func (m *ExpressionOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -208,16 +205,12 @@ func (m *ExpressionOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.TriggerRule = model.TriggerRule
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/field_map.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/field_map.go
index 71d99845582..697c96fbb72 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/field_map.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/field_map.go
@@ -89,7 +89,7 @@ func (m *fieldmap) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m fieldmap) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/filter.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/filter.go
index 11336c78f07..525c16b638c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/filter.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/filter.go
@@ -182,10 +182,7 @@ func (m *Filter) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -198,16 +195,12 @@ func (m *Filter) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.FilterCondition = model.FilterCondition
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten.go
index 3bfb50914fc..1cf0542fdd9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten.go
@@ -188,10 +188,7 @@ func (m *Flatten) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -204,16 +201,12 @@ func (m *Flatten) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.FlattenDetails = model.FlattenDetails
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten_details.go
index f0932b309f9..95c16b4286e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flatten_details.go
@@ -108,6 +108,5 @@ func (m *FlattenDetails) UnmarshalJSON(data []byte) (e error) {
m.FlattenColumns[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_node.go
index f3ac2a18b53..e378e806bf7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_node.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_node.go
@@ -103,15 +103,9 @@ func (m *FlowNode) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description
m.InputLinks = make([]InputLink, len(model.InputLinks))
- for i, n := range model.InputLinks {
- m.InputLinks[i] = n
- }
-
+ copy(m.InputLinks, model.InputLinks)
m.OutputLinks = make([]OutputLink, len(model.OutputLinks))
- for i, n := range model.OutputLinks {
- m.OutputLinks[i] = n
- }
-
+ copy(m.OutputLinks, model.OutputLinks)
nn, e = model.Operator.UnmarshalPolymorphicJSON(model.Operator.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_port_link.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_port_link.go
index fc1a131ea7a..8facf408988 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_port_link.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/flow_port_link.go
@@ -97,32 +97,32 @@ func (m *flowportlink) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m flowportlink) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m flowportlink) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m flowportlink) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m flowportlink) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m flowportlink) GetDescription() *string {
return m.Description
}
-//GetPort returns Port
+// GetPort returns Port
func (m flowportlink) GetPort() *string {
return m.Port
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/foreign_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/foreign_key.go
index 3365ddb3587..73526aa1c62 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/foreign_key.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/foreign_key.go
@@ -103,10 +103,7 @@ func (m *ForeignKey) UnmarshalJSON(data []byte) (e error) {
m.Name = model.Name
m.AttributeRefs = make([]KeyAttribute, len(model.AttributeRefs))
- for i, n := range model.AttributeRefs {
- m.AttributeRefs[i] = n
- }
-
+ copy(m.AttributeRefs, model.AttributeRefs)
m.UpdateRule = model.UpdateRule
m.DeleteRule = model.DeleteRule
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function.go
index 27efb3e8cdf..52f1514d255 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function.go
@@ -182,10 +182,7 @@ func (m *Function) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -198,16 +195,12 @@ func (m *Function) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.OciFunction = model.OciFunction
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function_signature.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function_signature.go
index 09a637e7dbf..fff91d2f766 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function_signature.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/function_signature.go
@@ -107,7 +107,6 @@ func (m *FunctionSignature) UnmarshalJSON(data []byte) (e error) {
m.Arguments[i] = nil
}
}
-
m.Description = model.Description
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_field.go
index 857f8aa9995..ba22c81b4a4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_field.go
@@ -153,9 +153,6 @@ func (m *InputField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_port.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_port.go
index 3061c302310..4b3c492ad22 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_port.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_port.go
@@ -160,7 +160,6 @@ func (m *InputPort) UnmarshalJSON(data []byte) (e error) {
m.Fields[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_proxy_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_proxy_field.go
index 0577634d3a9..26230ee0fd5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_proxy_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/input_proxy_field.go
@@ -159,9 +159,6 @@ func (m *InputProxyField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/intersect.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/intersect.go
index c73c9e5e9d9..ff3bb021b4a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/intersect.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/intersect.go
@@ -190,10 +190,7 @@ func (m *Intersect) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -206,16 +203,12 @@ func (m *Intersect) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.IntersectType = model.IntersectType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/joiner.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/joiner.go
index 8ec896f7e8e..93e45061f70 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/joiner.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/joiner.go
@@ -189,10 +189,7 @@ func (m *Joiner) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -205,16 +202,12 @@ func (m *Joiner) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.JoinType = model.JoinType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/lookup.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/lookup.go
index a863565505a..898c6df01f9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/lookup.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/lookup.go
@@ -197,10 +197,7 @@ func (m *Lookup) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -213,16 +210,12 @@ func (m *Lookup) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.LookupCondition = model.LookupCondition
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/macro_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/macro_field.go
index cbedfeabc76..879c2d69ae0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/macro_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/macro_field.go
@@ -169,9 +169,6 @@ func (m *MacroField) UnmarshalJSON(data []byte) (e error) {
m.UseType = model.UseType
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/merge_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/merge_operator.go
index ed53479f563..c7396ea878f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/merge_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/merge_operator.go
@@ -191,10 +191,7 @@ func (m *MergeOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -207,16 +204,12 @@ func (m *MergeOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.TriggerRule = model.TriggerRule
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/minus.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/minus.go
index 034055d3e8a..0c313ea0465 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/minus.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/minus.go
@@ -190,10 +190,7 @@ func (m *Minus) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -206,16 +203,12 @@ func (m *Minus) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.MinusType = model.MinusType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operation.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operation.go
index 555c629c9e6..ebc691bf5d7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operation.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operation.go
@@ -67,7 +67,7 @@ func (m *operation) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m operation) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operator.go
index ffa4e6863a3..0ecfc43b0b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/operator.go
@@ -202,62 +202,62 @@ func (m *operator) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m operator) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m operator) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m operator) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m operator) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m operator) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m operator) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m operator) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m operator) GetOutputPorts() json.RawMessage {
return m.OutputPorts
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m operator) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m operator) GetIdentifier() *string {
return m.Identifier
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m operator) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m operator) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_field.go
index f34e61e07b0..46288b4a94a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_field.go
@@ -153,9 +153,6 @@ func (m *OutputField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_port.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_port.go
index 6fb9bbb5553..b6e9a390bc2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_port.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/output_port.go
@@ -160,7 +160,6 @@ func (m *OutputPort) UnmarshalJSON(data []byte) (e error) {
m.Fields[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/pivot.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/pivot.go
index 78842041f73..14fee5c7088 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/pivot.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/pivot.go
@@ -188,10 +188,7 @@ func (m *Pivot) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -204,16 +201,12 @@ func (m *Pivot) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.GroupByColumns = model.GroupByColumns
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection.go
index 3e76876de8c..0cd91769772 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection.go
@@ -179,10 +179,7 @@ func (m *Projection) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -195,16 +192,12 @@ func (m *Projection) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection_rule.go
index 5089597443f..10935eca09f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/projection_rule.go
@@ -113,37 +113,37 @@ func (m *projectionrule) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m projectionrule) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m projectionrule) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m projectionrule) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetIsJavaRegexSyntax returns IsJavaRegexSyntax
+// GetIsJavaRegexSyntax returns IsJavaRegexSyntax
func (m projectionrule) GetIsJavaRegexSyntax() *bool {
return m.IsJavaRegexSyntax
}
-//GetConfigValues returns ConfigValues
+// GetConfigValues returns ConfigValues
func (m projectionrule) GetConfigValues() *ConfigValues {
return m.ConfigValues
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m projectionrule) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m projectionrule) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/proxy_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/proxy_field.go
index 4c03d3fa125..6a70865ae45 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/proxy_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/proxy_field.go
@@ -164,9 +164,6 @@ func (m *ProxyField) UnmarshalJSON(data []byte) (e error) {
}
m.Labels = make([]string, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object.go
index 15bb0eed831..96602889d33 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object.go
@@ -107,42 +107,42 @@ func (m *publishedobject) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m publishedobject) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m publishedobject) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m publishedobject) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m publishedobject) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m publishedobject) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m publishedobject) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m publishedobject) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m publishedobject) GetIdentifier() *string {
return m.Identifier
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary.go
index e5539410998..0faaf056ca9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary.go
@@ -111,47 +111,47 @@ func (m *publishedobjectsummary) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m publishedobjectsummary) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m publishedobjectsummary) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m publishedobjectsummary) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m publishedobjectsummary) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m publishedobjectsummary) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m publishedobjectsummary) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m publishedobjectsummary) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m publishedobjectsummary) GetIdentifier() *string {
return m.Identifier
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m publishedobjectsummary) GetMetadata() *ObjectMetadata {
return m.Metadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary_collection.go
index bd3746ee803..70275de96a6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/published_object_summary_collection.go
@@ -62,6 +62,5 @@ func (m *PublishedObjectSummaryCollection) UnmarshalJSON(data []byte) (e error)
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/read_operation_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/read_operation_config.go
index 224a4a336db..91f3e14b038 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/read_operation_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/read_operation_config.go
@@ -138,7 +138,6 @@ func (m *ReadOperationConfig) UnmarshalJSON(data []byte) (e error) {
m.Operations[i] = nil
}
}
-
m.DataFormat = model.DataFormat
nn, e = model.PartitionConfig.UnmarshalPolymorphicJSON(model.PartitionConfig.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/referenced_data_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/referenced_data_object.go
index 72365afdc33..278b0816f9c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/referenced_data_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/referenced_data_object.go
@@ -98,37 +98,37 @@ func (m *referenceddataobject) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m referenceddataobject) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m referenceddataobject) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m referenceddataobject) GetName() *string {
return m.Name
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m referenceddataobject) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetResourceName returns ResourceName
+// GetResourceName returns ResourceName
func (m referenceddataobject) GetResourceName() *string {
return m.ResourceName
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m referenceddataobject) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetExternalKey returns ExternalKey
+// GetExternalKey returns ExternalKey
func (m referenceddataobject) GetExternalKey() *string {
return m.ExternalKey
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/rule_type_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/rule_type_config.go
index ea3dfd6776d..3c2b30b9675 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/rule_type_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/rule_type_config.go
@@ -117,7 +117,6 @@ func (m *RuleTypeConfig) UnmarshalJSON(data []byte) (e error) {
m.ProjectionRules[i] = nil
}
}
-
m.ConfigValues = model.ConfigValues
m.ObjectStatus = model.ObjectStatus
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator.go
index ef5d5b05c71..fba0749d972 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator.go
@@ -167,10 +167,7 @@ func (m *RuntimeOperator) UnmarshalJSON(data []byte) (e error) {
m.ExecutionState = model.ExecutionState
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.ObjectStatus = model.ObjectStatus
m.Metadata = model.Metadata
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator_summary.go
index 139b74cd798..745f5819a4e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/runtime_operator_summary.go
@@ -167,10 +167,7 @@ func (m *RuntimeOperatorSummary) UnmarshalJSON(data []byte) (e error) {
m.ExecutionState = model.ExecutionState
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.ObjectStatus = model.ObjectStatus
m.Metadata = model.Metadata
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/sort_oper.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/sort_oper.go
index 3954b9c0dc5..22ca05cfd7f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/sort_oper.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/sort_oper.go
@@ -182,10 +182,7 @@ func (m *SortOper) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -198,16 +195,12 @@ func (m *SortOper) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.SortKey = model.SortKey
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/source.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/source.go
index fefa748ae2a..5b0d93db4bd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/source.go
@@ -203,10 +203,7 @@ func (m *Source) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -219,16 +216,12 @@ func (m *Source) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
nn, e = model.Entity.UnmarshalPolymorphicJSON(model.Entity.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/split.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/split.go
index b2677c9d548..fbd38ca7203 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/split.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/split.go
@@ -186,10 +186,7 @@ func (m *Split) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -202,16 +199,12 @@ func (m *Split) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.DataRoutingStrategy = model.DataRoutingStrategy
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/start_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/start_operator.go
index 70482a564b7..f40f19571a5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/start_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/start_operator.go
@@ -179,10 +179,7 @@ func (m *StartOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -195,16 +192,12 @@ func (m *StartOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/target.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/target.go
index 9cd8a79aff8..e9400f2848f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/target.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/target.go
@@ -226,10 +226,7 @@ func (m *Target) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -242,16 +239,12 @@ func (m *Target) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
nn, e = model.Entity.UnmarshalPolymorphicJSON(model.Entity.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task.go
index 2054e6692b1..e49c85659fb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task.go
@@ -155,82 +155,82 @@ func (m *task) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m task) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m task) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m task) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m task) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m task) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m task) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m task) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m task) GetIdentifier() *string {
return m.Identifier
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m task) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m task) GetOutputPorts() []OutputPort {
return m.OutputPorts
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m task) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m task) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
-//GetConfigProviderDelegate returns ConfigProviderDelegate
+// GetConfigProviderDelegate returns ConfigProviderDelegate
func (m task) GetConfigProviderDelegate() *ConfigProvider {
return m.ConfigProviderDelegate
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m task) GetMetadata() *ObjectMetadata {
return m.Metadata
}
-//GetKeyMap returns KeyMap
+// GetKeyMap returns KeyMap
func (m task) GetKeyMap() map[string]string {
return m.KeyMap
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m task) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_from_rest_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_from_rest_task_details.go
index 3c7f973d926..8df0d52e7a0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_from_rest_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_from_rest_task_details.go
@@ -270,20 +270,11 @@ func (m *TaskFromRestTaskDetails) UnmarshalJSON(data []byte) (e error) {
m.Identifier = model.Identifier
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]OutputPort, len(model.OutputPorts))
- for i, n := range model.OutputPorts {
- m.OutputPorts[i] = n
- }
-
+ copy(m.OutputPorts, model.OutputPorts)
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.ConfigProviderDelegate = model.ConfigProviderDelegate
@@ -327,10 +318,7 @@ func (m *TaskFromRestTaskDetails) UnmarshalJSON(data []byte) (e error) {
m.PollRestCallConfig = model.PollRestCallConfig
m.TypedExpressions = make([]TypedExpression, len(model.TypedExpressions))
- for i, n := range model.TypedExpressions {
- m.TypedExpressions[i] = n
- }
-
+ copy(m.TypedExpressions, model.TypedExpressions)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_operator.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_operator.go
index a2fc3393d97..017558807b7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_operator.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_operator.go
@@ -228,10 +228,7 @@ func (m *TaskOperator) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -244,16 +241,12 @@ func (m *TaskOperator) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.RetryAttempts = model.RetryAttempts
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary.go
index a67f817782f..3a0043ad5d8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary.go
@@ -151,77 +151,77 @@ func (m *tasksummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m tasksummary) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m tasksummary) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m tasksummary) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m tasksummary) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m tasksummary) GetDescription() *string {
return m.Description
}
-//GetObjectVersion returns ObjectVersion
+// GetObjectVersion returns ObjectVersion
func (m tasksummary) GetObjectVersion() *int {
return m.ObjectVersion
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m tasksummary) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m tasksummary) GetIdentifier() *string {
return m.Identifier
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m tasksummary) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m tasksummary) GetOutputPorts() []OutputPort {
return m.OutputPorts
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m tasksummary) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m tasksummary) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
-//GetConfigProviderDelegate returns ConfigProviderDelegate
+// GetConfigProviderDelegate returns ConfigProviderDelegate
func (m tasksummary) GetConfigProviderDelegate() *ConfigProvider {
return m.ConfigProviderDelegate
}
-//GetMetadata returns Metadata
+// GetMetadata returns Metadata
func (m tasksummary) GetMetadata() *ObjectMetadata {
return m.Metadata
}
-//GetKeyMap returns KeyMap
+// GetKeyMap returns KeyMap
func (m tasksummary) GetKeyMap() map[string]string {
return m.KeyMap
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_collection.go
index 5c382f518f0..79ec9c73e4c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_collection.go
@@ -62,6 +62,5 @@ func (m *TaskSummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_from_rest_task.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_from_rest_task.go
index 226f3a7f065..36559af0239 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_from_rest_task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/task_summary_from_rest_task.go
@@ -258,20 +258,11 @@ func (m *TaskSummaryFromRestTask) UnmarshalJSON(data []byte) (e error) {
m.Identifier = model.Identifier
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]OutputPort, len(model.OutputPorts))
- for i, n := range model.OutputPorts {
- m.OutputPorts[i] = n
- }
-
+ copy(m.OutputPorts, model.OutputPorts)
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.ConfigProviderDelegate = model.ConfigProviderDelegate
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/typed_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/typed_object.go
index 81dc656b550..159aa95a36d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/typed_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/typed_object.go
@@ -169,37 +169,37 @@ func (m *typedobject) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m typedobject) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m typedobject) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m typedobject) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetConfigValues returns ConfigValues
+// GetConfigValues returns ConfigValues
func (m typedobject) GetConfigValues() *ConfigValues {
return m.ConfigValues
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m typedobject) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetName returns Name
+// GetName returns Name
func (m typedobject) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m typedobject) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/union.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/union.go
index 1b4654ce6ce..be53267dd4c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/union.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/union.go
@@ -190,10 +190,7 @@ func (m *Union) UnmarshalJSON(data []byte) (e error) {
m.ObjectVersion = model.ObjectVersion
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]TypedObject, len(model.OutputPorts))
for i, n := range model.OutputPorts {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -206,16 +203,12 @@ func (m *Union) UnmarshalJSON(data []byte) (e error) {
m.OutputPorts[i] = nil
}
}
-
m.ObjectStatus = model.ObjectStatus
m.Identifier = model.Identifier
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.UnionType = model.UnionType
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/unique_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/unique_key.go
index ed739157969..adc12779018 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/unique_key.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/unique_key.go
@@ -93,32 +93,32 @@ func (m *uniquekey) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetKey returns Key
+// GetKey returns Key
func (m uniquekey) GetKey() *string {
return m.Key
}
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m uniquekey) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m uniquekey) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m uniquekey) GetName() *string {
return m.Name
}
-//GetAttributeRefs returns AttributeRefs
+// GetAttributeRefs returns AttributeRefs
func (m uniquekey) GetAttributeRefs() []KeyAttribute {
return m.AttributeRefs
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m uniquekey) GetObjectStatus() *int {
return m.ObjectStatus
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_connection_details.go
index a376ed15555..a2c718907cd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_connection_details.go
@@ -50,8 +50,6 @@ type UpdateConnectionDetails interface {
type updateconnectiondetails struct {
JsonData []byte
- Key *string `mandatory:"true" json:"key"`
- ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
ParentRef *ParentReference `mandatory:"false" json:"parentRef"`
Name *string `mandatory:"false" json:"name"`
@@ -60,6 +58,8 @@ type updateconnectiondetails struct {
Identifier *string `mandatory:"false" json:"identifier"`
ConnectionProperties []ConnectionProperty `mandatory:"false" json:"connectionProperties"`
RegistryMetadata *RegistryMetadata `mandatory:"false" json:"registryMetadata"`
+ Key *string `mandatory:"true" json:"key"`
+ ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelType string `json:"modelType"`
}
@@ -172,56 +172,56 @@ func (m *updateconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetKey returns Key
-func (m updateconnectiondetails) GetKey() *string {
- return m.Key
-}
-
-//GetObjectVersion returns ObjectVersion
-func (m updateconnectiondetails) GetObjectVersion() *int {
- return m.ObjectVersion
-}
-
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m updateconnectiondetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m updateconnectiondetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m updateconnectiondetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m updateconnectiondetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m updateconnectiondetails) GetIdentifier() *string {
return m.Identifier
}
-//GetConnectionProperties returns ConnectionProperties
+// GetConnectionProperties returns ConnectionProperties
func (m updateconnectiondetails) GetConnectionProperties() []ConnectionProperty {
return m.ConnectionProperties
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m updateconnectiondetails) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
+// GetKey returns Key
+func (m updateconnectiondetails) GetKey() *string {
+ return m.Key
+}
+
+// GetObjectVersion returns ObjectVersion
+func (m updateconnectiondetails) GetObjectVersion() *int {
+ return m.ObjectVersion
+}
+
func (m updateconnectiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_data_asset_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_data_asset_details.go
index 9cdce4327bf..f2e1871b359 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_data_asset_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_data_asset_details.go
@@ -51,8 +51,6 @@ type UpdateDataAssetDetails interface {
type updatedataassetdetails struct {
JsonData []byte
- Key *string `mandatory:"true" json:"key"`
- ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
Name *string `mandatory:"false" json:"name"`
Description *string `mandatory:"false" json:"description"`
@@ -61,6 +59,8 @@ type updatedataassetdetails struct {
ExternalKey *string `mandatory:"false" json:"externalKey"`
AssetProperties map[string]string `mandatory:"false" json:"assetProperties"`
RegistryMetadata *RegistryMetadata `mandatory:"false" json:"registryMetadata"`
+ Key *string `mandatory:"true" json:"key"`
+ ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelType string `json:"modelType"`
}
@@ -165,56 +165,56 @@ func (m *updatedataassetdetails) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetKey returns Key
-func (m updatedataassetdetails) GetKey() *string {
- return m.Key
-}
-
-//GetObjectVersion returns ObjectVersion
-func (m updatedataassetdetails) GetObjectVersion() *int {
- return m.ObjectVersion
-}
-
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m updatedataassetdetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetName returns Name
+// GetName returns Name
func (m updatedataassetdetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatedataassetdetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m updatedataassetdetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m updatedataassetdetails) GetIdentifier() *string {
return m.Identifier
}
-//GetExternalKey returns ExternalKey
+// GetExternalKey returns ExternalKey
func (m updatedataassetdetails) GetExternalKey() *string {
return m.ExternalKey
}
-//GetAssetProperties returns AssetProperties
+// GetAssetProperties returns AssetProperties
func (m updatedataassetdetails) GetAssetProperties() map[string]string {
return m.AssetProperties
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m updatedataassetdetails) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
+// GetKey returns Key
+func (m updatedataassetdetails) GetKey() *string {
+ return m.Key
+}
+
+// GetObjectVersion returns ObjectVersion
+func (m updatedataassetdetails) GetObjectVersion() *int {
+ return m.ObjectVersion
+}
+
func (m updatedataassetdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_details.go
index 53e0be4d7ed..ad14085db45 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_details.go
@@ -60,8 +60,6 @@ type UpdateTaskDetails interface {
type updatetaskdetails struct {
JsonData []byte
- Key *string `mandatory:"true" json:"key"`
- ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelVersion *string `mandatory:"false" json:"modelVersion"`
ParentRef *ParentReference `mandatory:"false" json:"parentRef"`
Name *string `mandatory:"false" json:"name"`
@@ -74,6 +72,8 @@ type updatetaskdetails struct {
OpConfigValues *ConfigValues `mandatory:"false" json:"opConfigValues"`
ConfigProviderDelegate *ConfigProvider `mandatory:"false" json:"configProviderDelegate"`
RegistryMetadata *RegistryMetadata `mandatory:"false" json:"registryMetadata"`
+ Key *string `mandatory:"true" json:"key"`
+ ObjectVersion *int `mandatory:"true" json:"objectVersion"`
ModelType string `json:"modelType"`
}
@@ -146,76 +146,76 @@ func (m *updatetaskdetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetKey returns Key
-func (m updatetaskdetails) GetKey() *string {
- return m.Key
-}
-
-//GetObjectVersion returns ObjectVersion
-func (m updatetaskdetails) GetObjectVersion() *int {
- return m.ObjectVersion
-}
-
-//GetModelVersion returns ModelVersion
+// GetModelVersion returns ModelVersion
func (m updatetaskdetails) GetModelVersion() *string {
return m.ModelVersion
}
-//GetParentRef returns ParentRef
+// GetParentRef returns ParentRef
func (m updatetaskdetails) GetParentRef() *ParentReference {
return m.ParentRef
}
-//GetName returns Name
+// GetName returns Name
func (m updatetaskdetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatetaskdetails) GetDescription() *string {
return m.Description
}
-//GetObjectStatus returns ObjectStatus
+// GetObjectStatus returns ObjectStatus
func (m updatetaskdetails) GetObjectStatus() *int {
return m.ObjectStatus
}
-//GetIdentifier returns Identifier
+// GetIdentifier returns Identifier
func (m updatetaskdetails) GetIdentifier() *string {
return m.Identifier
}
-//GetInputPorts returns InputPorts
+// GetInputPorts returns InputPorts
func (m updatetaskdetails) GetInputPorts() []InputPort {
return m.InputPorts
}
-//GetOutputPorts returns OutputPorts
+// GetOutputPorts returns OutputPorts
func (m updatetaskdetails) GetOutputPorts() []OutputPort {
return m.OutputPorts
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m updatetaskdetails) GetParameters() []Parameter {
return m.Parameters
}
-//GetOpConfigValues returns OpConfigValues
+// GetOpConfigValues returns OpConfigValues
func (m updatetaskdetails) GetOpConfigValues() *ConfigValues {
return m.OpConfigValues
}
-//GetConfigProviderDelegate returns ConfigProviderDelegate
+// GetConfigProviderDelegate returns ConfigProviderDelegate
func (m updatetaskdetails) GetConfigProviderDelegate() *ConfigProvider {
return m.ConfigProviderDelegate
}
-//GetRegistryMetadata returns RegistryMetadata
+// GetRegistryMetadata returns RegistryMetadata
func (m updatetaskdetails) GetRegistryMetadata() *RegistryMetadata {
return m.RegistryMetadata
}
+// GetKey returns Key
+func (m updatetaskdetails) GetKey() *string {
+ return m.Key
+}
+
+// GetObjectVersion returns ObjectVersion
+func (m updatetaskdetails) GetObjectVersion() *int {
+ return m.ObjectVersion
+}
+
func (m updatetaskdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_from_rest_task.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_from_rest_task.go
index 2caba2d9f7a..18129c800c4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_from_rest_task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/update_task_from_rest_task.go
@@ -253,20 +253,11 @@ func (m *UpdateTaskFromRestTask) UnmarshalJSON(data []byte) (e error) {
m.Identifier = model.Identifier
m.InputPorts = make([]InputPort, len(model.InputPorts))
- for i, n := range model.InputPorts {
- m.InputPorts[i] = n
- }
-
+ copy(m.InputPorts, model.InputPorts)
m.OutputPorts = make([]OutputPort, len(model.OutputPorts))
- for i, n := range model.OutputPorts {
- m.OutputPorts[i] = n
- }
-
+ copy(m.OutputPorts, model.OutputPorts)
m.Parameters = make([]Parameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.OpConfigValues = model.OpConfigValues
m.ConfigProviderDelegate = model.ConfigProviderDelegate
@@ -308,10 +299,7 @@ func (m *UpdateTaskFromRestTask) UnmarshalJSON(data []byte) (e error) {
m.PollRestCallConfig = model.PollRestCallConfig
m.TypedExpressions = make([]TypedExpression, len(model.TypedExpressions))
- for i, n := range model.TypedExpressions {
- m.TypedExpressions[i] = n
- }
-
+ copy(m.TypedExpressions, model.TypedExpressions)
m.Key = model.Key
m.ObjectVersion = model.ObjectVersion
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/write_operation_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/write_operation_config.go
index 24dcf0b9c8e..0c3a7dc76e3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/write_operation_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dataintegration/write_operation_config.go
@@ -148,7 +148,6 @@ func (m *WriteOperationConfig) UnmarshalJSON(data []byte) (e error) {
m.Operations[i] = nil
}
}
-
m.DataFormat = model.DataFormat
nn, e = model.PartitionConfig.UnmarshalPolymorphicJSON(model.PartitionConfig.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datalabelingservice/datalabelingservice_datalabelingmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/datalabelingservice/datalabelingservice_datalabelingmanagement_client.go
index e21e77b597d..40619f06cb5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datalabelingservice/datalabelingservice_datalabelingmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datalabelingservice/datalabelingservice_datalabelingmanagement_client.go
@@ -80,7 +80,7 @@ func (client *DataLabelingManagementClient) setConfigurationProvider(configProvi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_library_masking_format_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_library_masking_format_details.go
index 7b9d105b959..b6c970b9d92 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_library_masking_format_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_library_masking_format_details.go
@@ -86,10 +86,7 @@ func (m *CreateLibraryMaskingFormatDetails) UnmarshalJSON(data []byte) (e error)
m.Description = model.Description
m.SensitiveTypeIds = make([]string, len(model.SensitiveTypeIds))
- for i, n := range model.SensitiveTypeIds {
- m.SensitiveTypeIds[i] = n
- }
-
+ copy(m.SensitiveTypeIds, model.SensitiveTypeIds)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
@@ -108,6 +105,5 @@ func (m *CreateLibraryMaskingFormatDetails) UnmarshalJSON(data []byte) (e error)
m.FormatEntries[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_sensitive_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_sensitive_type_details.go
index 2eefc6cb027..e82c807563e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_sensitive_type_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/create_sensitive_type_details.go
@@ -45,13 +45,13 @@ type CreateSensitiveTypeDetails interface {
type createsensitivetypedetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
ShortName *string `mandatory:"false" json:"shortName"`
Description *string `mandatory:"false" json:"description"`
ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
EntityType string `json:"entityType"`
}
@@ -101,41 +101,41 @@ func (m *createsensitivetypedetails) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetCompartmentId returns CompartmentId
-func (m createsensitivetypedetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createsensitivetypedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetShortName returns ShortName
+// GetShortName returns ShortName
func (m createsensitivetypedetails) GetShortName() *string {
return m.ShortName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createsensitivetypedetails) GetDescription() *string {
return m.Description
}
-//GetParentCategoryId returns ParentCategoryId
+// GetParentCategoryId returns ParentCategoryId
func (m createsensitivetypedetails) GetParentCategoryId() *string {
return m.ParentCategoryId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createsensitivetypedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createsensitivetypedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createsensitivetypedetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createsensitivetypedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/database_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/database_details.go
index 00c73be2e78..a5aa144ea88 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/database_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/database_details.go
@@ -73,7 +73,7 @@ func (m *databasedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetInfrastructureType returns InfrastructureType
+// GetInfrastructureType returns InfrastructureType
func (m databasedetails) GetInfrastructureType() InfrastructureTypeEnum {
return m.InfrastructureType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/datasafe_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/datasafe_client.go
index 721c76396cb..aa509e34d9b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/datasafe_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/datasafe_client.go
@@ -80,7 +80,7 @@ func (client *DataSafeClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/format_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/format_entry.go
index 3e187d9c1ab..bee13fc11e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/format_entry.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/format_entry.go
@@ -156,7 +156,7 @@ func (m *formatentry) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m formatentry) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/library_masking_format.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/library_masking_format.go
index 0250a14258a..2161b7a8e42 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/library_masking_format.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/library_masking_format.go
@@ -111,10 +111,7 @@ func (m *LibraryMaskingFormat) UnmarshalJSON(data []byte) (e error) {
m.Description = model.Description
m.SensitiveTypeIds = make([]string, len(model.SensitiveTypeIds))
- for i, n := range model.SensitiveTypeIds {
- m.SensitiveTypeIds[i] = n
- }
-
+ copy(m.SensitiveTypeIds, model.SensitiveTypeIds)
m.FormatEntries = make([]FormatEntry, len(model.FormatEntries))
for i, n := range model.FormatEntries {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -127,7 +124,6 @@ func (m *LibraryMaskingFormat) UnmarshalJSON(data []byte) (e error) {
m.FormatEntries[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/masking_format.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/masking_format.go
index 4f109f2ed0d..975deb9af8e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/masking_format.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/masking_format.go
@@ -87,6 +87,5 @@ func (m *MaskingFormat) UnmarshalJSON(data []byte) (e error) {
m.FormatEntries[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alert_policy_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alert_policy_rule_details.go
index a4e18ad3b73..94f3a10fc49 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alert_policy_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alert_policy_rule_details.go
@@ -62,6 +62,5 @@ func (m *PatchAlertPolicyRuleDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alerts_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alerts_details.go
index f5512883d3a..21fed74f551 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alerts_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_alerts_details.go
@@ -66,7 +66,6 @@ func (m *PatchAlertsDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_discovery_job_result_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_discovery_job_result_details.go
index d01389bfb38..005c3c6e5a0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_discovery_job_result_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_discovery_job_result_details.go
@@ -62,6 +62,5 @@ func (m *PatchDiscoveryJobResultDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_instruction.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_instruction.go
index 5bf10461a21..95044356c29 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_instruction.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_instruction.go
@@ -73,7 +73,7 @@ func (m *patchinstruction) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetSelection returns Selection
+// GetSelection returns Selection
func (m patchinstruction) GetSelection() *string {
return m.Selection
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_masking_columns_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_masking_columns_details.go
index 3c224b28abf..5750679ee53 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_masking_columns_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_masking_columns_details.go
@@ -62,6 +62,5 @@ func (m *PatchMaskingColumnsDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sdm_masking_policy_difference_columns_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sdm_masking_policy_difference_columns_details.go
index cd54552d986..2bbee6d1ae7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sdm_masking_policy_difference_columns_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sdm_masking_policy_difference_columns_details.go
@@ -62,6 +62,5 @@ func (m *PatchSdmMaskingPolicyDifferenceColumnsDetails) UnmarshalJSON(data []byt
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sensitive_column_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sensitive_column_details.go
index 1ecf7abadf4..754ec9a538d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sensitive_column_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_sensitive_column_details.go
@@ -62,6 +62,5 @@ func (m *PatchSensitiveColumnDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_target_alert_policy_association_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_target_alert_policy_association_details.go
index 4fe0514130a..cc70f6958ef 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_target_alert_policy_association_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/patch_target_alert_policy_association_details.go
@@ -66,7 +66,6 @@ func (m *PatchTargetAlertPolicyAssociationDetails) UnmarshalJSON(data []byte) (e
m.Items[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/sensitive_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/sensitive_type.go
index 26ec62d3296..a7c5ae4fa8c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/sensitive_type.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/sensitive_type.go
@@ -66,6 +66,12 @@ type SensitiveType interface {
type sensitivetype struct {
JsonData []byte
+ ShortName *string `mandatory:"false" json:"shortName"`
+ Description *string `mandatory:"false" json:"description"`
+ ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -73,12 +79,6 @@ type sensitivetype struct {
Source SensitiveTypeSourceEnum `mandatory:"true" json:"source"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- ShortName *string `mandatory:"false" json:"shortName"`
- Description *string `mandatory:"false" json:"description"`
- ParentCategoryId *string `mandatory:"false" json:"parentCategoryId"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
EntityType string `json:"entityType"`
}
@@ -134,71 +134,71 @@ func (m *sensitivetype) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetId returns Id
+// GetShortName returns ShortName
+func (m sensitivetype) GetShortName() *string {
+ return m.ShortName
+}
+
+// GetDescription returns Description
+func (m sensitivetype) GetDescription() *string {
+ return m.Description
+}
+
+// GetParentCategoryId returns ParentCategoryId
+func (m sensitivetype) GetParentCategoryId() *string {
+ return m.ParentCategoryId
+}
+
+// GetFreeformTags returns FreeformTags
+func (m sensitivetype) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m sensitivetype) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetSystemTags returns SystemTags
+func (m sensitivetype) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetId returns Id
func (m sensitivetype) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m sensitivetype) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m sensitivetype) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m sensitivetype) GetLifecycleState() DiscoveryLifecycleStateEnum {
return m.LifecycleState
}
-//GetSource returns Source
+// GetSource returns Source
func (m sensitivetype) GetSource() SensitiveTypeSourceEnum {
return m.Source
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m sensitivetype) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m sensitivetype) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetShortName returns ShortName
-func (m sensitivetype) GetShortName() *string {
- return m.ShortName
-}
-
-//GetDescription returns Description
-func (m sensitivetype) GetDescription() *string {
- return m.Description
-}
-
-//GetParentCategoryId returns ParentCategoryId
-func (m sensitivetype) GetParentCategoryId() *string {
- return m.ParentCategoryId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m sensitivetype) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m sensitivetype) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m sensitivetype) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
func (m sensitivetype) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/target_database.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/target_database.go
index 6d1360d9a62..40d24b7e114 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/target_database.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/target_database.go
@@ -129,10 +129,7 @@ func (m *TargetDatabase) UnmarshalJSON(data []byte) (e error) {
}
m.AssociatedResourceIds = make([]string, len(model.AssociatedResourceIds))
- for i, n := range model.AssociatedResourceIds {
- m.AssociatedResourceIds[i] = n
- }
-
+ copy(m.AssociatedResourceIds, model.AssociatedResourceIds)
m.LifecycleDetails = model.LifecycleDetails
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_library_masking_format_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_library_masking_format_details.go
index 3696c7251ef..81d00a72d22 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_library_masking_format_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_library_masking_format_details.go
@@ -78,10 +78,7 @@ func (m *UpdateLibraryMaskingFormatDetails) UnmarshalJSON(data []byte) (e error)
m.Description = model.Description
m.SensitiveTypeIds = make([]string, len(model.SensitiveTypeIds))
- for i, n := range model.SensitiveTypeIds {
- m.SensitiveTypeIds[i] = n
- }
-
+ copy(m.SensitiveTypeIds, model.SensitiveTypeIds)
m.FormatEntries = make([]FormatEntry, len(model.FormatEntries))
for i, n := range model.FormatEntries {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -94,7 +91,6 @@ func (m *UpdateLibraryMaskingFormatDetails) UnmarshalJSON(data []byte) (e error)
m.FormatEntries[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_sensitive_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_sensitive_type_details.go
index 1a927ee44df..c38a58970ac 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_sensitive_type_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datasafe/update_sensitive_type_details.go
@@ -96,32 +96,32 @@ func (m *updatesensitivetypedetails) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatesensitivetypedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetShortName returns ShortName
+// GetShortName returns ShortName
func (m updatesensitivetypedetails) GetShortName() *string {
return m.ShortName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatesensitivetypedetails) GetDescription() *string {
return m.Description
}
-//GetParentCategoryId returns ParentCategoryId
+// GetParentCategoryId returns ParentCategoryId
func (m updatesensitivetypedetails) GetParentCategoryId() *string {
return m.ParentCategoryId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatesensitivetypedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatesensitivetypedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_details.go
index 4829e596269..5d546be79ab 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_details.go
@@ -123,6 +123,5 @@ func (m *CreatePipelineDetails) UnmarshalJSON(data []byte) (e error) {
m.StepDetails[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_run_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_run_details.go
index 471614980ef..2c2048f99b7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_run_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/create_pipeline_run_details.go
@@ -104,10 +104,7 @@ func (m *CreatePipelineRunDetails) UnmarshalJSON(data []byte) (e error) {
m.LogConfigurationOverrideDetails = model.LogConfigurationOverrideDetails
m.StepOverrideDetails = make([]PipelineStepOverrideDetails, len(model.StepOverrideDetails))
- for i, n := range model.StepOverrideDetails {
- m.StepOverrideDetails[i] = n
- }
-
+ copy(m.StepOverrideDetails, model.StepOverrideDetails)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/datascience_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/datascience_client.go
index ffa246202db..08b0ab49f48 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/datascience_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/datascience_client.go
@@ -80,7 +80,7 @@ func (client *DataScienceClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline.go
index fe9ce550e53..8dd024f81e7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline.go
@@ -169,7 +169,6 @@ func (m *Pipeline) UnmarshalJSON(data []byte) (e error) {
m.StepDetails[i] = nil
}
}
-
m.LifecycleState = model.LifecycleState
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_run.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_run.go
index d17806a4bc1..54afd715d75 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_run.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_run.go
@@ -161,10 +161,7 @@ func (m *PipelineRun) UnmarshalJSON(data []byte) (e error) {
m.LogConfigurationOverrideDetails = model.LogConfigurationOverrideDetails
m.StepOverrideDetails = make([]PipelineStepOverrideDetails, len(model.StepOverrideDetails))
- for i, n := range model.StepOverrideDetails {
- m.StepOverrideDetails[i] = n
- }
-
+ copy(m.StepOverrideDetails, model.StepOverrideDetails)
m.LogDetails = model.LogDetails
m.LifecycleDetails = model.LifecycleDetails
@@ -201,7 +198,6 @@ func (m *PipelineRun) UnmarshalJSON(data []byte) (e error) {
m.StepRuns[i] = nil
}
}
-
m.LifecycleState = model.LifecycleState
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_details.go
index 52b3a921471..402b2e773bf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_details.go
@@ -33,10 +33,10 @@ type PipelineStepDetails interface {
type pipelinestepdetails struct {
JsonData []byte
- StepName *string `mandatory:"true" json:"stepName"`
Description *string `mandatory:"false" json:"description"`
DependsOn []string `mandatory:"false" json:"dependsOn"`
StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"`
+ StepName *string `mandatory:"true" json:"stepName"`
StepType string `json:"stepType"`
}
@@ -83,26 +83,26 @@ func (m *pipelinestepdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetStepName returns StepName
-func (m pipelinestepdetails) GetStepName() *string {
- return m.StepName
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m pipelinestepdetails) GetDescription() *string {
return m.Description
}
-//GetDependsOn returns DependsOn
+// GetDependsOn returns DependsOn
func (m pipelinestepdetails) GetDependsOn() []string {
return m.DependsOn
}
-//GetStepConfigurationDetails returns StepConfigurationDetails
+// GetStepConfigurationDetails returns StepConfigurationDetails
func (m pipelinestepdetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails {
return m.StepConfigurationDetails
}
+// GetStepName returns StepName
+func (m pipelinestepdetails) GetStepName() *string {
+ return m.StepName
+}
+
func (m pipelinestepdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_run.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_run.go
index e6f0ea22326..4e7bda8da49 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_run.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_run.go
@@ -37,11 +37,11 @@ type PipelineStepRun interface {
type pipelinesteprun struct {
JsonData []byte
- TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`
- StepName *string `mandatory:"true" json:"stepName"`
TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
LifecycleState PipelineStepRunLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"`
+ StepName *string `mandatory:"true" json:"stepName"`
StepType string `json:"stepType"`
}
@@ -89,31 +89,31 @@ func (m *pipelinesteprun) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetTimeStarted returns TimeStarted
-func (m pipelinesteprun) GetTimeStarted() *common.SDKTime {
- return m.TimeStarted
-}
-
-//GetStepName returns StepName
-func (m pipelinesteprun) GetStepName() *string {
- return m.StepName
-}
-
-//GetTimeFinished returns TimeFinished
+// GetTimeFinished returns TimeFinished
func (m pipelinesteprun) GetTimeFinished() *common.SDKTime {
return m.TimeFinished
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m pipelinesteprun) GetLifecycleState() PipelineStepRunLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m pipelinesteprun) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
+// GetTimeStarted returns TimeStarted
+func (m pipelinesteprun) GetTimeStarted() *common.SDKTime {
+ return m.TimeStarted
+}
+
+// GetStepName returns StepName
+func (m pipelinesteprun) GetStepName() *string {
+ return m.StepName
+}
+
func (m pipelinesteprun) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_update_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_update_details.go
index 462729711d4..9bcf87e1034 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_update_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/pipeline_step_update_details.go
@@ -30,9 +30,9 @@ type PipelineStepUpdateDetails interface {
type pipelinestepupdatedetails struct {
JsonData []byte
- StepName *string `mandatory:"true" json:"stepName"`
Description *string `mandatory:"false" json:"description"`
StepConfigurationDetails *PipelineStepConfigurationDetails `mandatory:"false" json:"stepConfigurationDetails"`
+ StepName *string `mandatory:"true" json:"stepName"`
StepType string `json:"stepType"`
}
@@ -78,21 +78,21 @@ func (m *pipelinestepupdatedetails) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetStepName returns StepName
-func (m pipelinestepupdatedetails) GetStepName() *string {
- return m.StepName
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m pipelinestepupdatedetails) GetDescription() *string {
return m.Description
}
-//GetStepConfigurationDetails returns StepConfigurationDetails
+// GetStepConfigurationDetails returns StepConfigurationDetails
func (m pipelinestepupdatedetails) GetStepConfigurationDetails() *PipelineStepConfigurationDetails {
return m.StepConfigurationDetails
}
+// GetStepName returns StepName
+func (m pipelinestepupdatedetails) GetStepName() *string {
+ return m.StepName
+}
+
func (m pipelinestepupdatedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/update_pipeline_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/update_pipeline_details.go
index c389e0b2938..e8a5671e179 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/datascience/update_pipeline_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/datascience/update_pipeline_details.go
@@ -102,7 +102,6 @@ func (m *UpdatePipelineDetails) UnmarshalJSON(data []byte) (e error) {
m.StepDetails[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger.go
index 18547430aa1..0b4921ce05e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger.go
@@ -226,7 +226,6 @@ func (m *BitbucketCloudTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger_create_result.go
index 99303bb3c54..ea4d442dbb9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_cloud_trigger_create_result.go
@@ -226,7 +226,6 @@ func (m *BitbucketCloudTriggerCreateResult) UnmarshalJSON(data []byte) (e error)
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger.go
index 4580974ab80..d6215abfd69 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger.go
@@ -220,7 +220,6 @@ func (m *BitbucketServerTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger_create_result.go
index b5a95ee38de..4907370a1db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/bitbucket_server_trigger_create_result.go
@@ -224,7 +224,6 @@ func (m *BitbucketServerTriggerCreateResult) UnmarshalJSON(data []byte) (e error
m.Actions[i] = nil
}
}
-
m.Secret = model.Secret
m.TriggerUrl = model.TriggerUrl
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage.go
index fab90e9b5cd..c7cfea2673d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage.go
@@ -64,10 +64,6 @@ type BuildPipelineStage interface {
type buildpipelinestage struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -78,6 +74,10 @@ type buildpipelinestage struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
BuildPipelineStageType string `json:"buildPipelineStageType"`
}
@@ -142,76 +142,76 @@ func (m *buildpipelinestage) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m buildpipelinestage) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m buildpipelinestage) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetBuildPipelineId returns BuildPipelineId
-func (m buildpipelinestage) GetBuildPipelineId() *string {
- return m.BuildPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m buildpipelinestage) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m buildpipelinestage) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m buildpipelinestage) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m buildpipelinestage) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m buildpipelinestage) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m buildpipelinestage) GetLifecycleState() BuildPipelineStageLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m buildpipelinestage) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
+// GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m buildpipelinestage) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection {
return m.BuildPipelineStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m buildpipelinestage) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m buildpipelinestage) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m buildpipelinestage) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m buildpipelinestage) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m buildpipelinestage) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetBuildPipelineId returns BuildPipelineId
+func (m buildpipelinestage) GetBuildPipelineId() *string {
+ return m.BuildPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m buildpipelinestage) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m buildpipelinestage) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_collection.go
index 86d882948f0..8d3473c6f44 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_collection.go
@@ -62,6 +62,5 @@ func (m *BuildPipelineStageCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_run_progress.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_run_progress.go
index 67b8db4b915..02a23073a07 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_run_progress.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_run_progress.go
@@ -101,32 +101,32 @@ func (m *buildpipelinestagerunprogress) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetStageDisplayName returns StageDisplayName
+// GetStageDisplayName returns StageDisplayName
func (m buildpipelinestagerunprogress) GetStageDisplayName() *string {
return m.StageDisplayName
}
-//GetBuildPipelineStageId returns BuildPipelineStageId
+// GetBuildPipelineStageId returns BuildPipelineStageId
func (m buildpipelinestagerunprogress) GetBuildPipelineStageId() *string {
return m.BuildPipelineStageId
}
-//GetTimeStarted returns TimeStarted
+// GetTimeStarted returns TimeStarted
func (m buildpipelinestagerunprogress) GetTimeStarted() *common.SDKTime {
return m.TimeStarted
}
-//GetTimeFinished returns TimeFinished
+// GetTimeFinished returns TimeFinished
func (m buildpipelinestagerunprogress) GetTimeFinished() *common.SDKTime {
return m.TimeFinished
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m buildpipelinestagerunprogress) GetStatus() BuildPipelineStageRunProgressStatusEnum {
return m.Status
}
-//GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
+// GetBuildPipelineStagePredecessors returns BuildPipelineStagePredecessors
func (m buildpipelinestagerunprogress) GetBuildPipelineStagePredecessors() *BuildPipelineStagePredecessorCollection {
return m.BuildPipelineStagePredecessors
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_summary.go
index 74cf2f19fc9..3055a2a3ab5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_pipeline_stage_summary.go
@@ -63,10 +63,6 @@ type BuildPipelineStageSummary interface {
type buildpipelinestagesummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
@@ -77,6 +73,10 @@ type buildpipelinestagesummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
BuildPipelineStageType string `json:"buildPipelineStageType"`
}
@@ -141,76 +141,76 @@ func (m *buildpipelinestagesummary) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetId returns Id
-func (m buildpipelinestagesummary) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m buildpipelinestagesummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetBuildPipelineId returns BuildPipelineId
-func (m buildpipelinestagesummary) GetBuildPipelineId() *string {
- return m.BuildPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m buildpipelinestagesummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m buildpipelinestagesummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m buildpipelinestagesummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m buildpipelinestagesummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m buildpipelinestagesummary) GetLifecycleState() BuildPipelineStageLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m buildpipelinestagesummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m buildpipelinestagesummary) GetDescription() *string {
return m.Description
}
-//GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
+// GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m buildpipelinestagesummary) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection {
return m.BuildPipelineStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m buildpipelinestagesummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m buildpipelinestagesummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m buildpipelinestagesummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m buildpipelinestagesummary) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m buildpipelinestagesummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetBuildPipelineId returns BuildPipelineId
+func (m buildpipelinestagesummary) GetBuildPipelineId() *string {
+ return m.BuildPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m buildpipelinestagesummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m buildpipelinestagesummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source.go
index ada37326bc9..0b37ee40e33 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source.go
@@ -99,17 +99,17 @@ func (m *buildsource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetName returns Name
+// GetName returns Name
func (m buildsource) GetName() *string {
return m.Name
}
-//GetRepositoryUrl returns RepositoryUrl
+// GetRepositoryUrl returns RepositoryUrl
func (m buildsource) GetRepositoryUrl() *string {
return m.RepositoryUrl
}
-//GetBranch returns Branch
+// GetBranch returns Branch
func (m buildsource) GetBranch() *string {
return m.Branch
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source_collection.go
index 239ae98be32..dcb7fcc05db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_source_collection.go
@@ -62,6 +62,5 @@ func (m *BuildSourceCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_stage_run_progress.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_stage_run_progress.go
index 16c58c1a4e5..a060da95800 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_stage_run_progress.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/build_stage_run_progress.go
@@ -177,10 +177,7 @@ func (m *BuildStageRunProgress) UnmarshalJSON(data []byte) (e error) {
m.PrimaryBuildSource = model.PrimaryBuildSource
m.Steps = make([]BuildStageRunStep, len(model.Steps))
- for i, n := range model.Steps {
- m.Steps[i] = n
- }
-
+ copy(m.Steps, model.Steps)
m.ExportedVariables = model.ExportedVariables
nn, e = model.PrivateAccessConfig.UnmarshalPolymorphicJSON(model.PrivateAccessConfig.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage.go
index 91a5fb8c278..93c3fa271fb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage.go
@@ -237,10 +237,7 @@ func (m *ComputeInstanceGroupBlueGreenDeployStage) UnmarshalJSON(data []byte) (e
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.FailurePolicy.UnmarshalPolymorphicJSON(model.FailurePolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage_summary.go
index 7f3a98003fa..da716b0cc44 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_blue_green_deploy_stage_summary.go
@@ -237,10 +237,7 @@ func (m *ComputeInstanceGroupBlueGreenDeployStageSummary) UnmarshalJSON(data []b
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.FailurePolicy.UnmarshalPolymorphicJSON(model.FailurePolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage.go
index 1ea514439a8..69351557123 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage.go
@@ -230,10 +230,7 @@ func (m *ComputeInstanceGroupCanaryDeployStage) UnmarshalJSON(data []byte) (e er
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
m.TestLoadBalancerConfig = model.TestLoadBalancerConfig
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage_summary.go
index 0bb1f8fa255..78c371a7ca3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_canary_deploy_stage_summary.go
@@ -230,10 +230,7 @@ func (m *ComputeInstanceGroupCanaryDeployStageSummary) UnmarshalJSON(data []byte
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
m.TestLoadBalancerConfig = model.TestLoadBalancerConfig
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage.go
index 50ce832b752..798a780cf07 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage.go
@@ -233,10 +233,7 @@ func (m *ComputeInstanceGroupDeployStage) UnmarshalJSON(data []byte) (e error) {
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RollbackPolicy.UnmarshalPolymorphicJSON(model.RollbackPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage_summary.go
index 59b8bfc0545..3f39d2aea6e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_deploy_stage_summary.go
@@ -233,10 +233,7 @@ func (m *ComputeInstanceGroupDeployStageSummary) UnmarshalJSON(data []byte) (e e
m.SystemTags = model.SystemTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RollbackPolicy.UnmarshalPolymorphicJSON(model.RollbackPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_rollout_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_rollout_policy.go
index cd3df63e0e9..dba0e9d90a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_rollout_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_rollout_policy.go
@@ -69,7 +69,7 @@ func (m *computeinstancegrouprolloutpolicy) UnmarshalPolymorphicJSON(data []byte
}
}
-//GetBatchDelayInSeconds returns BatchDelayInSeconds
+// GetBatchDelayInSeconds returns BatchDelayInSeconds
func (m computeinstancegrouprolloutpolicy) GetBatchDelayInSeconds() *int {
return m.BatchDelayInSeconds
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_selector_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_selector_collection.go
index 2668abc7143..38bd0bca795 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_selector_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/compute_instance_group_selector_collection.go
@@ -62,6 +62,5 @@ func (m *ComputeInstanceGroupSelectorCollection) UnmarshalJSON(data []byte) (e e
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection.go
index dd7f5a9e160..61fc9e143d5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection.go
@@ -60,9 +60,6 @@ type Connection interface {
type connection struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- ProjectId *string `mandatory:"true" json:"projectId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -73,6 +70,9 @@ type connection struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
ConnectionType string `json:"connectionType"`
}
@@ -144,71 +144,71 @@ func (m *connection) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
-func (m connection) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m connection) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetProjectId returns ProjectId
-func (m connection) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m connection) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m connection) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m connection) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m connection) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLastConnectionValidationResult returns LastConnectionValidationResult
+// GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m connection) GetLastConnectionValidationResult() *ConnectionValidationResult {
return m.LastConnectionValidationResult
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m connection) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m connection) GetLifecycleState() ConnectionLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m connection) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m connection) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m connection) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m connection) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m connection) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetProjectId returns ProjectId
+func (m connection) GetProjectId() *string {
+ return m.ProjectId
+}
+
func (m connection) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_collection.go
index 3baa07ce6d4..c77ed074aea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_collection.go
@@ -62,6 +62,5 @@ func (m *ConnectionCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_summary.go
index d36a33f4493..4f4e5689633 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/connection_summary.go
@@ -60,9 +60,6 @@ type ConnectionSummary interface {
type connectionsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- ProjectId *string `mandatory:"true" json:"projectId"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -73,6 +70,9 @@ type connectionsummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
ConnectionType string `json:"connectionType"`
}
@@ -144,71 +144,71 @@ func (m *connectionsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m connectionsummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m connectionsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetProjectId returns ProjectId
-func (m connectionsummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m connectionsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m connectionsummary) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m connectionsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m connectionsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLastConnectionValidationResult returns LastConnectionValidationResult
+// GetLastConnectionValidationResult returns LastConnectionValidationResult
func (m connectionsummary) GetLastConnectionValidationResult() *ConnectionValidationResult {
return m.LastConnectionValidationResult
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m connectionsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m connectionsummary) GetLifecycleState() ConnectionLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m connectionsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m connectionsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m connectionsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m connectionsummary) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m connectionsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetProjectId returns ProjectId
+func (m connectionsummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
func (m connectionsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_cloud_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_cloud_trigger_details.go
index 95943d41e8a..14262b0333b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_cloud_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_cloud_trigger_details.go
@@ -142,6 +142,5 @@ func (m *CreateBitbucketCloudTriggerDetails) UnmarshalJSON(data []byte) (e error
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_server_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_server_trigger_details.go
index 5f199908684..3b7ce837d10 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_server_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_bitbucket_server_trigger_details.go
@@ -136,6 +136,5 @@ func (m *CreateBitbucketServerTriggerDetails) UnmarshalJSON(data []byte) (e erro
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_build_pipeline_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_build_pipeline_stage_details.go
index 551e11c2dd4..71e855cc9bb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_build_pipeline_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_build_pipeline_stage_details.go
@@ -39,12 +39,12 @@ type CreateBuildPipelineStageDetails interface {
type createbuildpipelinestagedetails struct {
JsonData []byte
- BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
- BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ BuildPipelineId *string `mandatory:"true" json:"buildPipelineId"`
+ BuildPipelineStagePredecessorCollection *BuildPipelineStagePredecessorCollection `mandatory:"true" json:"buildPipelineStagePredecessorCollection"`
BuildPipelineStageType string `json:"buildPipelineStageType"`
}
@@ -101,36 +101,36 @@ func (m *createbuildpipelinestagedetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetBuildPipelineId returns BuildPipelineId
-func (m createbuildpipelinestagedetails) GetBuildPipelineId() *string {
- return m.BuildPipelineId
-}
-
-//GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
-func (m createbuildpipelinestagedetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection {
- return m.BuildPipelineStagePredecessorCollection
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createbuildpipelinestagedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createbuildpipelinestagedetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createbuildpipelinestagedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createbuildpipelinestagedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetBuildPipelineId returns BuildPipelineId
+func (m createbuildpipelinestagedetails) GetBuildPipelineId() *string {
+ return m.BuildPipelineId
+}
+
+// GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
+func (m createbuildpipelinestagedetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection {
+ return m.BuildPipelineStagePredecessorCollection
+}
+
func (m createbuildpipelinestagedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_blue_green_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_blue_green_deploy_stage_details.go
index d05d0d52a06..72c6293a8d6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_blue_green_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_blue_green_deploy_stage_details.go
@@ -150,10 +150,7 @@ func (m *CreateComputeInstanceGroupBlueGreenDeployStageDetails) UnmarshalJSON(da
m.DefinedTags = model.DefinedTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.FailurePolicy.UnmarshalPolymorphicJSON(model.FailurePolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_canary_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_canary_deploy_stage_details.go
index fc4069fb482..6860382249b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_canary_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_canary_deploy_stage_details.go
@@ -143,10 +143,7 @@ func (m *CreateComputeInstanceGroupCanaryDeployStageDetails) UnmarshalJSON(data
m.DefinedTags = model.DefinedTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
m.TestLoadBalancerConfig = model.TestLoadBalancerConfig
m.DeployPipelineId = model.DeployPipelineId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_deploy_stage_details.go
index 206e4999aa2..3d8a3c037bd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_compute_instance_group_deploy_stage_details.go
@@ -146,10 +146,7 @@ func (m *CreateComputeInstanceGroupDeployStageDetails) UnmarshalJSON(data []byte
m.DefinedTags = model.DefinedTags
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RollbackPolicy.UnmarshalPolymorphicJSON(model.RollbackPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_connection_details.go
index bb6f664c529..bfae04156a5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_connection_details.go
@@ -37,11 +37,11 @@ type CreateConnectionDetails interface {
type createconnectiondetails struct {
JsonData []byte
- ProjectId *string `mandatory:"true" json:"projectId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
ConnectionType string `json:"connectionType"`
}
@@ -105,31 +105,31 @@ func (m *createconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetProjectId returns ProjectId
-func (m createconnectiondetails) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createconnectiondetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetProjectId returns ProjectId
+func (m createconnectiondetails) GetProjectId() *string {
+ return m.ProjectId
+}
+
func (m createconnectiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_environment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_environment_details.go
index 3454f59dcbf..4b00cc1d3b4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_environment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_environment_details.go
@@ -37,11 +37,11 @@ type CreateDeployEnvironmentDetails interface {
type createdeployenvironmentdetails struct {
JsonData []byte
- ProjectId *string `mandatory:"true" json:"projectId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
DeployEnvironmentType string `json:"deployEnvironmentType"`
}
@@ -93,31 +93,31 @@ func (m *createdeployenvironmentdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetProjectId returns ProjectId
-func (m createdeployenvironmentdetails) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createdeployenvironmentdetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createdeployenvironmentdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdeployenvironmentdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdeployenvironmentdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetProjectId returns ProjectId
+func (m createdeployenvironmentdetails) GetProjectId() *string {
+ return m.ProjectId
+}
+
func (m createdeployenvironmentdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_stage_details.go
index 668b57abf01..b55e55965a2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deploy_stage_details.go
@@ -39,12 +39,12 @@ type CreateDeployStageDetails interface {
type createdeploystagedetails struct {
JsonData []byte
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
- DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
+ DeployStagePredecessorCollection *DeployStagePredecessorCollection `mandatory:"true" json:"deployStagePredecessorCollection"`
DeployStageType string `json:"deployStageType"`
}
@@ -161,36 +161,36 @@ func (m *createdeploystagedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetDeployPipelineId returns DeployPipelineId
-func (m createdeploystagedetails) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
-func (m createdeploystagedetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection {
- return m.DeployStagePredecessorCollection
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createdeploystagedetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createdeploystagedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdeploystagedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdeploystagedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetDeployPipelineId returns DeployPipelineId
+func (m createdeploystagedetails) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
+// GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
+func (m createdeploystagedetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection {
+ return m.DeployStagePredecessorCollection
+}
+
func (m createdeploystagedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deployment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deployment_details.go
index bee43eee3c1..b3ab3788b3f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deployment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_deployment_details.go
@@ -34,10 +34,10 @@ type CreateDeploymentDetails interface {
type createdeploymentdetails struct {
JsonData []byte
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
DeploymentType string `json:"deploymentType"`
}
@@ -92,26 +92,26 @@ func (m *createdeploymentdetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDeployPipelineId returns DeployPipelineId
-func (m createdeploymentdetails) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createdeploymentdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdeploymentdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdeploymentdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetDeployPipelineId returns DeployPipelineId
+func (m createdeploymentdetails) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
func (m createdeploymentdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_devops_code_repository_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_devops_code_repository_trigger_details.go
index 12c5c42f8c6..ad01d45c5e2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_devops_code_repository_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_devops_code_repository_trigger_details.go
@@ -142,6 +142,5 @@ func (m *CreateDevopsCodeRepositoryTriggerDetails) UnmarshalJSON(data []byte) (e
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_github_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_github_trigger_details.go
index 1e209e29fcd..9c298a27227 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_github_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_github_trigger_details.go
@@ -142,6 +142,5 @@ func (m *CreateGithubTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_server_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_server_trigger_details.go
index c5dc716f17c..bda0b74b770 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_server_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_server_trigger_details.go
@@ -136,6 +136,5 @@ func (m *CreateGitlabServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_trigger_details.go
index 78669d61524..b34d0d0e3ad 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_gitlab_trigger_details.go
@@ -142,6 +142,5 @@ func (m *CreateGitlabTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_blue_green_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_blue_green_deploy_stage_details.go
index 98cc01d475d..344b4ed690f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_blue_green_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_blue_green_deploy_stage_details.go
@@ -139,10 +139,7 @@ func (m *CreateOkeBlueGreenDeployStageDetails) UnmarshalJSON(data []byte) (e err
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.BlueGreenStrategy.UnmarshalPolymorphicJSON(model.BlueGreenStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_canary_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_canary_deploy_stage_details.go
index 6cd6b4e2673..ea341897f7c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_canary_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_canary_deploy_stage_details.go
@@ -139,10 +139,7 @@ func (m *CreateOkeCanaryDeployStageDetails) UnmarshalJSON(data []byte) (e error)
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.CanaryStrategy.UnmarshalPolymorphicJSON(model.CanaryStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_deploy_stage_details.go
index ea02c7fa9cf..2711ee04507 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_deploy_stage_details.go
@@ -155,9 +155,6 @@ func (m *CreateOkeDeployStageDetails) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_helm_chart_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_helm_chart_deploy_stage_details.go
index a4aea947d14..47ca1108c5e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_helm_chart_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_oke_helm_chart_deploy_stage_details.go
@@ -195,10 +195,7 @@ func (m *CreateOkeHelmChartDeployStageDetails) UnmarshalJSON(data []byte) (e err
m.DefinedTags = model.DefinedTags
m.ValuesArtifactIds = make([]string, len(model.ValuesArtifactIds))
- for i, n := range model.ValuesArtifactIds {
- m.ValuesArtifactIds[i] = n
- }
-
+ copy(m.ValuesArtifactIds, model.ValuesArtifactIds)
m.Namespace = model.Namespace
m.TimeoutInSeconds = model.TimeoutInSeconds
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_trigger_details.go
index bf8c0a2b5f5..dbd0917afeb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_trigger_details.go
@@ -40,12 +40,12 @@ type CreateTriggerDetails interface {
type createtriggerdetails struct {
JsonData []byte
- ProjectId *string `mandatory:"true" json:"projectId"`
- Actions json.RawMessage `mandatory:"true" json:"actions"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ Actions json.RawMessage `mandatory:"true" json:"actions"`
TriggerSource string `json:"triggerSource"`
}
@@ -114,36 +114,36 @@ func (m *createtriggerdetails) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetProjectId returns ProjectId
-func (m createtriggerdetails) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetActions returns Actions
-func (m createtriggerdetails) GetActions() json.RawMessage {
- return m.Actions
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createtriggerdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createtriggerdetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createtriggerdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createtriggerdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetProjectId returns ProjectId
+func (m createtriggerdetails) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetActions returns Actions
+func (m createtriggerdetails) GetActions() json.RawMessage {
+ return m.Actions
+}
+
func (m createtriggerdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_vbs_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_vbs_trigger_details.go
index f3587d2050f..41aa56bdc8f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_vbs_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/create_vbs_trigger_details.go
@@ -142,6 +142,5 @@ func (m *CreateVbsTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact.go
index b3891927e93..bf7d7cb5974 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact.go
@@ -74,12 +74,12 @@ func (m *deliveredartifact) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetDeployArtifactId returns DeployArtifactId
+// GetDeployArtifactId returns DeployArtifactId
func (m deliveredartifact) GetDeployArtifactId() *string {
return m.DeployArtifactId
}
-//GetOutputArtifactName returns OutputArtifactName
+// GetOutputArtifactName returns OutputArtifactName
func (m deliveredartifact) GetOutputArtifactName() *string {
return m.OutputArtifactName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact_collection.go
index 1293b884c0a..835af02531d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/delivered_artifact_collection.go
@@ -62,6 +62,5 @@ func (m *DeliveredArtifactCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment.go
index cbb13960046..f34e39d703c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment.go
@@ -58,9 +58,6 @@ type DeployEnvironment interface {
type deployenvironment struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -70,6 +67,9 @@ type deployenvironment struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeployEnvironmentType string `json:"deployEnvironmentType"`
}
@@ -128,66 +128,66 @@ func (m *deployenvironment) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m deployenvironment) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deployenvironment) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deployenvironment) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m deployenvironment) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deployenvironment) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deployenvironment) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deployenvironment) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deployenvironment) GetLifecycleState() DeployEnvironmentLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deployenvironment) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deployenvironment) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deployenvironment) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deployenvironment) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deployenvironment) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deployenvironment) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deployenvironment) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deployenvironment) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_collection.go
index 9e67379a1b8..ee78d9d73c7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_collection.go
@@ -62,6 +62,5 @@ func (m *DeployEnvironmentCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_summary.go
index db125141764..d871d18bff7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_environment_summary.go
@@ -58,9 +58,6 @@ type DeployEnvironmentSummary interface {
type deployenvironmentsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -70,6 +67,9 @@ type deployenvironmentsummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeployEnvironmentType string `json:"deployEnvironmentType"`
}
@@ -128,66 +128,66 @@ func (m *deployenvironmentsummary) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetId returns Id
-func (m deployenvironmentsummary) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deployenvironmentsummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deployenvironmentsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m deployenvironmentsummary) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deployenvironmentsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deployenvironmentsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deployenvironmentsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deployenvironmentsummary) GetLifecycleState() DeployEnvironmentLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deployenvironmentsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deployenvironmentsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deployenvironmentsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deployenvironmentsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deployenvironmentsummary) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deployenvironmentsummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deployenvironmentsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deployenvironmentsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage.go
index 1fd6a80ccb5..e1ccabafcf0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage.go
@@ -63,10 +63,6 @@ type DeployStage interface {
type deploystage struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -77,6 +73,10 @@ type deploystage struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeployStageType string `json:"deployStageType"`
}
@@ -201,76 +201,76 @@ func (m *deploystage) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
-func (m deploystage) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deploystage) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDeployPipelineId returns DeployPipelineId
-func (m deploystage) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deploystage) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m deploystage) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deploystage) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deploystage) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deploystage) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deploystage) GetLifecycleState() DeployStageLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deploystage) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
+// GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m deploystage) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection {
return m.DeployStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deploystage) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deploystage) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deploystage) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deploystage) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deploystage) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetDeployPipelineId returns DeployPipelineId
+func (m deploystage) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deploystage) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deploystage) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_collection.go
index 8119f77247e..aecd029d8a1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_collection.go
@@ -62,6 +62,5 @@ func (m *DeployStageCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_execution_progress.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_execution_progress.go
index ea506e0c180..39ebcbbb485 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_execution_progress.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_execution_progress.go
@@ -166,37 +166,37 @@ func (m *deploystageexecutionprogress) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetDeployStageDisplayName returns DeployStageDisplayName
+// GetDeployStageDisplayName returns DeployStageDisplayName
func (m deploystageexecutionprogress) GetDeployStageDisplayName() *string {
return m.DeployStageDisplayName
}
-//GetDeployStageId returns DeployStageId
+// GetDeployStageId returns DeployStageId
func (m deploystageexecutionprogress) GetDeployStageId() *string {
return m.DeployStageId
}
-//GetTimeStarted returns TimeStarted
+// GetTimeStarted returns TimeStarted
func (m deploystageexecutionprogress) GetTimeStarted() *common.SDKTime {
return m.TimeStarted
}
-//GetTimeFinished returns TimeFinished
+// GetTimeFinished returns TimeFinished
func (m deploystageexecutionprogress) GetTimeFinished() *common.SDKTime {
return m.TimeFinished
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m deploystageexecutionprogress) GetStatus() DeployStageExecutionProgressStatusEnum {
return m.Status
}
-//GetDeployStagePredecessors returns DeployStagePredecessors
+// GetDeployStagePredecessors returns DeployStagePredecessors
func (m deploystageexecutionprogress) GetDeployStagePredecessors() *DeployStagePredecessorCollection {
return m.DeployStagePredecessors
}
-//GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
+// GetDeployStageExecutionProgressDetails returns DeployStageExecutionProgressDetails
func (m deploystageexecutionprogress) GetDeployStageExecutionProgressDetails() []DeployStageExecutionProgressDetails {
return m.DeployStageExecutionProgressDetails
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_summary.go
index 0a6aad7c0d5..ade1bc78369 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deploy_stage_summary.go
@@ -63,10 +63,6 @@ type DeployStageSummary interface {
type deploystagesummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
Description *string `mandatory:"false" json:"description"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -77,6 +73,10 @@ type deploystagesummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeployStageType string `json:"deployStageType"`
}
@@ -201,76 +201,76 @@ func (m *deploystagesummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m deploystagesummary) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deploystagesummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDeployPipelineId returns DeployPipelineId
-func (m deploystagesummary) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deploystagesummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m deploystagesummary) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deploystagesummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deploystagesummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deploystagesummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deploystagesummary) GetLifecycleState() DeployStageLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deploystagesummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
+// GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m deploystagesummary) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection {
return m.DeployStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deploystagesummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deploystagesummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deploystagesummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deploystagesummary) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deploystagesummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetDeployPipelineId returns DeployPipelineId
+func (m deploystagesummary) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deploystagesummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deploystagesummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment.go
index 932f43c69b3..7b6b0089747 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment.go
@@ -70,10 +70,6 @@ type Deployment interface {
type deployment struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeployPipelineArtifacts *DeployPipelineArtifactCollection `mandatory:"false" json:"deployPipelineArtifacts"`
DeployPipelineEnvironments *DeployPipelineEnvironmentCollection `mandatory:"false" json:"deployPipelineEnvironments"`
DisplayName *string `mandatory:"false" json:"displayName"`
@@ -88,6 +84,10 @@ type deployment struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeploymentType string `json:"deploymentType"`
}
@@ -156,96 +156,96 @@ func (m *deployment) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
-func (m deployment) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deployment) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDeployPipelineId returns DeployPipelineId
-func (m deployment) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deployment) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDeployPipelineArtifacts returns DeployPipelineArtifacts
+// GetDeployPipelineArtifacts returns DeployPipelineArtifacts
func (m deployment) GetDeployPipelineArtifacts() *DeployPipelineArtifactCollection {
return m.DeployPipelineArtifacts
}
-//GetDeployPipelineEnvironments returns DeployPipelineEnvironments
+// GetDeployPipelineEnvironments returns DeployPipelineEnvironments
func (m deployment) GetDeployPipelineEnvironments() *DeployPipelineEnvironmentCollection {
return m.DeployPipelineEnvironments
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deployment) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deployment) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deployment) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deployment) GetLifecycleState() DeploymentLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deployment) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDeploymentArguments returns DeploymentArguments
+// GetDeploymentArguments returns DeploymentArguments
func (m deployment) GetDeploymentArguments() *DeploymentArgumentCollection {
return m.DeploymentArguments
}
-//GetDeployStageOverrideArguments returns DeployStageOverrideArguments
+// GetDeployStageOverrideArguments returns DeployStageOverrideArguments
func (m deployment) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection {
return m.DeployStageOverrideArguments
}
-//GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
+// GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m deployment) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection {
return m.DeployArtifactOverrideArguments
}
-//GetDeploymentExecutionProgress returns DeploymentExecutionProgress
+// GetDeploymentExecutionProgress returns DeploymentExecutionProgress
func (m deployment) GetDeploymentExecutionProgress() *DeploymentExecutionProgress {
return m.DeploymentExecutionProgress
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deployment) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deployment) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deployment) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deployment) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deployment) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetDeployPipelineId returns DeployPipelineId
+func (m deployment) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deployment) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deployment) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_collection.go
index aca40fc4b25..eb97381844c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_collection.go
@@ -62,6 +62,5 @@ func (m *DeploymentCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_summary.go
index 6cc48955819..3a4ec8ed304 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/deployment_summary.go
@@ -64,10 +64,6 @@ type DeploymentSummary interface {
type deploymentsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
@@ -79,6 +75,10 @@ type deploymentsummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ DeployPipelineId *string `mandatory:"true" json:"deployPipelineId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
DeploymentType string `json:"deploymentType"`
}
@@ -144,81 +144,81 @@ func (m *deploymentsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m deploymentsummary) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m deploymentsummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetDeployPipelineId returns DeployPipelineId
-func (m deploymentsummary) GetDeployPipelineId() *string {
- return m.DeployPipelineId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m deploymentsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m deploymentsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m deploymentsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m deploymentsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m deploymentsummary) GetLifecycleState() DeploymentLifecycleStateEnum {
return m.LifecycleState
}
-//GetDeploymentArguments returns DeploymentArguments
+// GetDeploymentArguments returns DeploymentArguments
func (m deploymentsummary) GetDeploymentArguments() *DeploymentArgumentCollection {
return m.DeploymentArguments
}
-//GetDeployStageOverrideArguments returns DeployStageOverrideArguments
+// GetDeployStageOverrideArguments returns DeployStageOverrideArguments
func (m deploymentsummary) GetDeployStageOverrideArguments() *DeployStageOverrideArgumentCollection {
return m.DeployStageOverrideArguments
}
-//GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
+// GetDeployArtifactOverrideArguments returns DeployArtifactOverrideArguments
func (m deploymentsummary) GetDeployArtifactOverrideArguments() *DeployArtifactOverrideArgumentCollection {
return m.DeployArtifactOverrideArguments
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m deploymentsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m deploymentsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m deploymentsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m deploymentsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m deploymentsummary) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m deploymentsummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetDeployPipelineId returns DeployPipelineId
+func (m deploymentsummary) GetDeployPipelineId() *string {
+ return m.DeployPipelineId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m deploymentsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m deploymentsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_client.go
index 6a4f73ccfd1..302841d9632 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_client.go
@@ -80,7 +80,7 @@ func (client *DevopsClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger.go
index b5104b05510..1b5d28c2a18 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger.go
@@ -220,7 +220,6 @@ func (m *DevopsCodeRepositoryTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.RepositoryId = model.RepositoryId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger_create_result.go
index 75e2b105eaa..8f4d2ca8a21 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/devops_code_repository_trigger_create_result.go
@@ -220,7 +220,6 @@ func (m *DevopsCodeRepositoryTriggerCreateResult) UnmarshalJSON(data []byte) (e
m.Actions[i] = nil
}
}
-
m.RepositoryId = model.RepositoryId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger.go
index dbf71876a41..72b65a1dda5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger.go
@@ -226,7 +226,6 @@ func (m *GithubTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger_create_result.go
index 7e0a4c48ce5..88e705536e0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/github_trigger_create_result.go
@@ -230,7 +230,6 @@ func (m *GithubTriggerCreateResult) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.Secret = model.Secret
m.TriggerUrl = model.TriggerUrl
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger.go
index f7cd981e7ac..ab1bce70347 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger.go
@@ -220,7 +220,6 @@ func (m *GitlabServerTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger_create_result.go
index deaa4b6459e..c05183f37b8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_server_trigger_create_result.go
@@ -224,7 +224,6 @@ func (m *GitlabServerTriggerCreateResult) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.Secret = model.Secret
m.TriggerUrl = model.TriggerUrl
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger.go
index 058df935849..47cc29fb481 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger.go
@@ -226,7 +226,6 @@ func (m *GitlabTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger_create_result.go
index b78dd90cd8e..a19656eac94 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/gitlab_trigger_create_result.go
@@ -230,7 +230,6 @@ func (m *GitlabTriggerCreateResult) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.Secret = model.Secret
m.TriggerUrl = model.TriggerUrl
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage.go
index cf854305c3b..487774f5efd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage.go
@@ -230,10 +230,7 @@ func (m *OkeBlueGreenDeployStage) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.BlueGreenStrategy.UnmarshalPolymorphicJSON(model.BlueGreenStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage_summary.go
index 808d429af30..3a10df3b563 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_blue_green_deploy_stage_summary.go
@@ -230,10 +230,7 @@ func (m *OkeBlueGreenDeployStageSummary) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.BlueGreenStrategy.UnmarshalPolymorphicJSON(model.BlueGreenStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage.go
index 67c36a72c6b..4383ec37d07 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage.go
@@ -230,10 +230,7 @@ func (m *OkeCanaryDeployStage) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.CanaryStrategy.UnmarshalPolymorphicJSON(model.CanaryStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage_summary.go
index 5ddff8f83c8..5e68ab3616b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_canary_deploy_stage_summary.go
@@ -230,10 +230,7 @@ func (m *OkeCanaryDeployStageSummary) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
nn, e = model.CanaryStrategy.UnmarshalPolymorphicJSON(model.CanaryStrategy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage.go
index 1c91d856848..14db28371bb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage.go
@@ -244,10 +244,7 @@ func (m *OkeDeployStage) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
m.Namespace = model.Namespace
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage_summary.go
index 7b435974e6c..e40042fb375 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_deploy_stage_summary.go
@@ -244,10 +244,7 @@ func (m *OkeDeployStageSummary) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
m.Namespace = model.Namespace
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage.go
index e6252d1a4ef..ff341be6740 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage.go
@@ -282,10 +282,7 @@ func (m *OkeHelmChartDeployStage) UnmarshalJSON(data []byte) (e error) {
m.SystemTags = model.SystemTags
m.ValuesArtifactIds = make([]string, len(model.ValuesArtifactIds))
- for i, n := range model.ValuesArtifactIds {
- m.ValuesArtifactIds[i] = n
- }
-
+ copy(m.ValuesArtifactIds, model.ValuesArtifactIds)
m.Namespace = model.Namespace
m.TimeoutInSeconds = model.TimeoutInSeconds
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage_summary.go
index 30ee23e4ab5..b14220469d2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/oke_helm_chart_deploy_stage_summary.go
@@ -282,10 +282,7 @@ func (m *OkeHelmChartDeployStageSummary) UnmarshalJSON(data []byte) (e error) {
m.SystemTags = model.SystemTags
m.ValuesArtifactIds = make([]string, len(model.ValuesArtifactIds))
- for i, n := range model.ValuesArtifactIds {
- m.ValuesArtifactIds[i] = n
- }
-
+ copy(m.ValuesArtifactIds, model.ValuesArtifactIds)
m.Namespace = model.Namespace
m.TimeoutInSeconds = model.TimeoutInSeconds
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref.go
index 91124b6946b..054443fbaba 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref.go
@@ -37,11 +37,11 @@ type RepositoryRef interface {
type repositoryref struct {
JsonData []byte
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
RefName *string `mandatory:"true" json:"refName"`
FullRefName *string `mandatory:"true" json:"fullRefName"`
RepositoryId *string `mandatory:"true" json:"repositoryId"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
RefType string `json:"refType"`
}
@@ -89,31 +89,31 @@ func (m *repositoryref) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetRefName returns RefName
+// GetFreeformTags returns FreeformTags
+func (m repositoryref) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m repositoryref) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetRefName returns RefName
func (m repositoryref) GetRefName() *string {
return m.RefName
}
-//GetFullRefName returns FullRefName
+// GetFullRefName returns FullRefName
func (m repositoryref) GetFullRefName() *string {
return m.FullRefName
}
-//GetRepositoryId returns RepositoryId
+// GetRepositoryId returns RepositoryId
func (m repositoryref) GetRepositoryId() *string {
return m.RepositoryId
}
-//GetFreeformTags returns FreeformTags
-func (m repositoryref) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m repositoryref) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m repositoryref) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_collection.go
index 15736a8ecb3..96e7e0447bf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_collection.go
@@ -62,6 +62,5 @@ func (m *RepositoryRefCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_summary.go
index 335d85eaf71..a812e304c96 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/repository_ref_summary.go
@@ -37,11 +37,11 @@ type RepositoryRefSummary interface {
type repositoryrefsummary struct {
JsonData []byte
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
RefName *string `mandatory:"true" json:"refName"`
FullRefName *string `mandatory:"true" json:"fullRefName"`
RepositoryId *string `mandatory:"true" json:"repositoryId"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
RefType string `json:"refType"`
}
@@ -89,31 +89,31 @@ func (m *repositoryrefsummary) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetRefName returns RefName
+// GetFreeformTags returns FreeformTags
+func (m repositoryrefsummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m repositoryrefsummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetRefName returns RefName
func (m repositoryrefsummary) GetRefName() *string {
return m.RefName
}
-//GetFullRefName returns FullRefName
+// GetFullRefName returns FullRefName
func (m repositoryrefsummary) GetFullRefName() *string {
return m.FullRefName
}
-//GetRepositoryId returns RepositoryId
+// GetRepositoryId returns RepositoryId
func (m repositoryrefsummary) GetRepositoryId() *string {
return m.RepositoryId
}
-//GetFreeformTags returns FreeformTags
-func (m repositoryrefsummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m repositoryrefsummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m repositoryrefsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger.go
index c5a7aea5e61..9e446dfd113 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger.go
@@ -61,10 +61,6 @@ type Trigger interface {
type trigger struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- Actions json.RawMessage `mandatory:"true" json:"actions"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -74,6 +70,10 @@ type trigger struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ Actions json.RawMessage `mandatory:"true" json:"actions"`
TriggerSource string `json:"triggerSource"`
}
@@ -149,71 +149,71 @@ func (m *trigger) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
-func (m trigger) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m trigger) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m trigger) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetActions returns Actions
-func (m trigger) GetActions() json.RawMessage {
- return m.Actions
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m trigger) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m trigger) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m trigger) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m trigger) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m trigger) GetLifecycleState() TriggerLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m trigger) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m trigger) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m trigger) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m trigger) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m trigger) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m trigger) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m trigger) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetActions returns Actions
+func (m trigger) GetActions() json.RawMessage {
+ return m.Actions
+}
+
func (m trigger) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_action.go
index ab9a583854c..cc9e60ba9ca 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_action.go
@@ -23,7 +23,7 @@ type TriggerAction interface {
type triggeraction struct {
JsonData []byte
- Filter Filter `mandatory:"false" json:"filter"`
+ Filter filter `mandatory:"false" json:"filter"`
Type string `json:"type"`
}
@@ -63,8 +63,8 @@ func (m *triggeraction) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetFilter returns Filter
-func (m triggeraction) GetFilter() Filter {
+// GetFilter returns Filter
+func (m triggeraction) GetFilter() filter {
return m.Filter
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_collection.go
index 2c862314934..41c880b33d3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_collection.go
@@ -62,6 +62,5 @@ func (m *TriggerCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_create_result.go
index aead897e154..0c51a6b6e2e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_create_result.go
@@ -61,10 +61,6 @@ type TriggerCreateResult interface {
type triggercreateresult struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- Actions json.RawMessage `mandatory:"true" json:"actions"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -74,6 +70,10 @@ type triggercreateresult struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ Actions json.RawMessage `mandatory:"true" json:"actions"`
TriggerSource string `json:"triggerSource"`
}
@@ -149,71 +149,71 @@ func (m *triggercreateresult) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetId returns Id
-func (m triggercreateresult) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m triggercreateresult) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m triggercreateresult) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetActions returns Actions
-func (m triggercreateresult) GetActions() json.RawMessage {
- return m.Actions
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m triggercreateresult) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m triggercreateresult) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m triggercreateresult) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m triggercreateresult) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m triggercreateresult) GetLifecycleState() TriggerLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m triggercreateresult) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m triggercreateresult) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m triggercreateresult) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m triggercreateresult) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m triggercreateresult) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m triggercreateresult) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m triggercreateresult) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetActions returns Actions
+func (m triggercreateresult) GetActions() json.RawMessage {
+ return m.Actions
+}
+
func (m triggercreateresult) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_info.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_info.go
index 397cfb95553..dd3369cb737 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_info.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_info.go
@@ -68,6 +68,5 @@ func (m *TriggerInfo) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_summary.go
index f0e74095b9a..0a01c4a8202 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/trigger_summary.go
@@ -58,9 +58,6 @@ type TriggerSummary interface {
type triggersummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- ProjectId *string `mandatory:"true" json:"projectId"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
@@ -70,6 +67,9 @@ type triggersummary struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ ProjectId *string `mandatory:"true" json:"projectId"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
TriggerSource string `json:"triggerSource"`
}
@@ -144,66 +144,66 @@ func (m *triggersummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetId returns Id
-func (m triggersummary) GetId() *string {
- return m.Id
-}
-
-//GetProjectId returns ProjectId
-func (m triggersummary) GetProjectId() *string {
- return m.ProjectId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m triggersummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m triggersummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m triggersummary) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m triggersummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m triggersummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m triggersummary) GetLifecycleState() TriggerLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m triggersummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m triggersummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m triggersummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m triggersummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m triggersummary) GetId() *string {
+ return m.Id
+}
+
+// GetProjectId returns ProjectId
+func (m triggersummary) GetProjectId() *string {
+ return m.ProjectId
+}
+
+// GetCompartmentId returns CompartmentId
+func (m triggersummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m triggersummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_cloud_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_cloud_trigger_details.go
index adabb7aa54c..6d9fe39c3f3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_cloud_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_cloud_trigger_details.go
@@ -125,7 +125,6 @@ func (m *UpdateBitbucketCloudTriggerDetails) UnmarshalJSON(data []byte) (e error
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_server_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_server_trigger_details.go
index 251518c39f9..f6854836c13 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_server_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_bitbucket_server_trigger_details.go
@@ -121,7 +121,6 @@ func (m *UpdateBitbucketServerTriggerDetails) UnmarshalJSON(data []byte) (e erro
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_build_pipeline_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_build_pipeline_stage_details.go
index 942431d55a0..b11d98371d6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_build_pipeline_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_build_pipeline_stage_details.go
@@ -96,27 +96,27 @@ func (m *updatebuildpipelinestagedetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatebuildpipelinestagedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatebuildpipelinestagedetails) GetDescription() *string {
return m.Description
}
-//GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
+// GetBuildPipelineStagePredecessorCollection returns BuildPipelineStagePredecessorCollection
func (m updatebuildpipelinestagedetails) GetBuildPipelineStagePredecessorCollection() *BuildPipelineStagePredecessorCollection {
return m.BuildPipelineStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatebuildpipelinestagedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatebuildpipelinestagedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_blue_green_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_blue_green_deploy_stage_details.go
index e750d18cad0..fd21487553d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_blue_green_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_blue_green_deploy_stage_details.go
@@ -134,10 +134,7 @@ func (m *UpdateComputeInstanceGroupBlueGreenDeployStageDetails) UnmarshalJSON(da
m.DeploymentSpecDeployArtifactId = model.DeploymentSpecDeployArtifactId
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RolloutPolicy.UnmarshalPolymorphicJSON(model.RolloutPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_canary_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_canary_deploy_stage_details.go
index bc3bc2bcd38..db3dbdc725d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_canary_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_canary_deploy_stage_details.go
@@ -131,10 +131,7 @@ func (m *UpdateComputeInstanceGroupCanaryDeployStageDetails) UnmarshalJSON(data
m.DeploymentSpecDeployArtifactId = model.DeploymentSpecDeployArtifactId
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RolloutPolicy.UnmarshalPolymorphicJSON(model.RolloutPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_deploy_stage_details.go
index fce105b0e9f..5dcf394de30 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_compute_instance_group_deploy_stage_details.go
@@ -143,10 +143,7 @@ func (m *UpdateComputeInstanceGroupDeployStageDetails) UnmarshalJSON(data []byte
m.DeploymentSpecDeployArtifactId = model.DeploymentSpecDeployArtifactId
m.DeployArtifactIds = make([]string, len(model.DeployArtifactIds))
- for i, n := range model.DeployArtifactIds {
- m.DeployArtifactIds[i] = n
- }
-
+ copy(m.DeployArtifactIds, model.DeployArtifactIds)
nn, e = model.RolloutPolicy.UnmarshalPolymorphicJSON(model.RolloutPolicy.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_connection_details.go
index 8ce92a75cc5..332d624c4df 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_connection_details.go
@@ -100,22 +100,22 @@ func (m *updateconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateconnectiondetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_environment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_environment_details.go
index f32bc108093..705fe009caa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_environment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_environment_details.go
@@ -88,22 +88,22 @@ func (m *updatedeployenvironmentdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatedeployenvironmentdetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatedeployenvironmentdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatedeployenvironmentdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatedeployenvironmentdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_stage_details.go
index be237f4505c..82cbbe66b27 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deploy_stage_details.go
@@ -156,27 +156,27 @@ func (m *updatedeploystagedetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatedeploystagedetails) GetDescription() *string {
return m.Description
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatedeploystagedetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
+// GetDeployStagePredecessorCollection returns DeployStagePredecessorCollection
func (m updatedeploystagedetails) GetDeployStagePredecessorCollection() *DeployStagePredecessorCollection {
return m.DeployStagePredecessorCollection
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatedeploystagedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatedeploystagedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deployment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deployment_details.go
index 799816ed772..8d5fae3074f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deployment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_deployment_details.go
@@ -87,17 +87,17 @@ func (m *updatedeploymentdetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatedeploymentdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatedeploymentdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatedeploymentdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_devops_code_repository_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_devops_code_repository_trigger_details.go
index f6253bda3f4..a169a4cec52 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_devops_code_repository_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_devops_code_repository_trigger_details.go
@@ -125,7 +125,6 @@ func (m *UpdateDevopsCodeRepositoryTriggerDetails) UnmarshalJSON(data []byte) (e
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_github_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_github_trigger_details.go
index 57504dc0aae..2cd96bb91bf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_github_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_github_trigger_details.go
@@ -125,7 +125,6 @@ func (m *UpdateGithubTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_server_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_server_trigger_details.go
index f3c8ff6bba9..edc54cbbefa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_server_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_server_trigger_details.go
@@ -121,7 +121,6 @@ func (m *UpdateGitlabServerTriggerDetails) UnmarshalJSON(data []byte) (e error)
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_trigger_details.go
index 16f0e334d52..fa2efda0c59 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_gitlab_trigger_details.go
@@ -125,7 +125,6 @@ func (m *UpdateGitlabTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_deploy_stage_details.go
index ea319505dfd..3ec64dd01b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_deploy_stage_details.go
@@ -132,10 +132,7 @@ func (m *UpdateOkeDeployStageDetails) UnmarshalJSON(data []byte) (e error) {
m.OkeClusterDeployEnvironmentId = model.OkeClusterDeployEnvironmentId
m.KubernetesManifestDeployArtifactIds = make([]string, len(model.KubernetesManifestDeployArtifactIds))
- for i, n := range model.KubernetesManifestDeployArtifactIds {
- m.KubernetesManifestDeployArtifactIds[i] = n
- }
-
+ copy(m.KubernetesManifestDeployArtifactIds, model.KubernetesManifestDeployArtifactIds)
m.Namespace = model.Namespace
nn, e = model.RollbackPolicy.UnmarshalPolymorphicJSON(model.RollbackPolicy.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_helm_chart_deploy_stage_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_helm_chart_deploy_stage_details.go
index 7a7e7c35bdf..dc8f9743b91 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_helm_chart_deploy_stage_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_oke_helm_chart_deploy_stage_details.go
@@ -192,10 +192,7 @@ func (m *UpdateOkeHelmChartDeployStageDetails) UnmarshalJSON(data []byte) (e err
m.HelmChartDeployArtifactId = model.HelmChartDeployArtifactId
m.ValuesArtifactIds = make([]string, len(model.ValuesArtifactIds))
- for i, n := range model.ValuesArtifactIds {
- m.ValuesArtifactIds[i] = n
- }
-
+ copy(m.ValuesArtifactIds, model.ValuesArtifactIds)
m.ReleaseName = model.ReleaseName
m.Namespace = model.Namespace
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_trigger_details.go
index 0eb297afeb5..a579deb5f79 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_trigger_details.go
@@ -109,27 +109,27 @@ func (m *updatetriggerdetails) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatetriggerdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatetriggerdetails) GetDescription() *string {
return m.Description
}
-//GetActions returns Actions
+// GetActions returns Actions
func (m updatetriggerdetails) GetActions() json.RawMessage {
return m.Actions
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatetriggerdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatetriggerdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_vbs_trigger_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_vbs_trigger_details.go
index 25369d44e7a..8fd3a3e3cbb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_vbs_trigger_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/update_vbs_trigger_details.go
@@ -125,7 +125,6 @@ func (m *UpdateVbsTriggerDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger.go
index 418adfdc029..1b931df4d5a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger.go
@@ -226,7 +226,6 @@ func (m *VbsTrigger) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TriggerUrl = model.TriggerUrl
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger_create_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger_create_result.go
index 22a42d501be..7c29c6e59ce 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger_create_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/devops/vbs_trigger_create_result.go
@@ -230,7 +230,6 @@ func (m *VbsTriggerCreateResult) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.Secret = model.Secret
m.TriggerUrl = model.TriggerUrl
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_details.go
index 547e29198cb..fb708e9c085 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_details.go
@@ -92,7 +92,6 @@ func (m *CreateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error) {
m.Members[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_member_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_member_details.go
index 9d4e92466a4..a37aa88f390 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_member_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/create_dr_protection_group_member_details.go
@@ -88,7 +88,7 @@ func (m *createdrprotectiongroupmemberdetails) UnmarshalPolymorphicJSON(data []b
}
}
-//GetMemberId returns MemberId
+// GetMemberId returns MemberId
func (m createdrprotectiongroupmemberdetails) GetMemberId() *string {
return m.MemberId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/disasterrecovery_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/disasterrecovery_client.go
index c906f452212..c09c9654892 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/disasterrecovery_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/disasterrecovery_client.go
@@ -82,7 +82,7 @@ func (client *DisasterRecoveryClient) setConfigurationProvider(configProvider co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_plan_execution.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_plan_execution.go
index 8500a7bede2..cd490adfdc1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_plan_execution.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_plan_execution.go
@@ -201,10 +201,7 @@ func (m *DrPlanExecution) UnmarshalJSON(data []byte) (e error) {
m.TimeUpdated = model.TimeUpdated
m.GroupExecutions = make([]DrPlanGroupExecution, len(model.GroupExecutions))
- for i, n := range model.GroupExecutions {
- m.GroupExecutions[i] = n
- }
-
+ copy(m.GroupExecutions, model.GroupExecutions)
m.LifecycleState = model.LifecycleState
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group.go
index 4c34589947d..581b7d14a2f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group.go
@@ -141,7 +141,6 @@ func (m *DrProtectionGroup) UnmarshalJSON(data []byte) (e error) {
m.Members[i] = nil
}
}
-
m.LifeCycleDetails = model.LifeCycleDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group_member.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group_member.go
index 8b75f0c737c..b661e3e8e9d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group_member.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/dr_protection_group_member.go
@@ -88,7 +88,7 @@ func (m *drprotectiongroupmember) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetMemberId returns MemberId
+// GetMemberId returns MemberId
func (m drprotectiongroupmember) GetMemberId() *string {
return m.MemberId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_details.go
index 3e500eab388..7e7aedd512f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_details.go
@@ -86,7 +86,6 @@ func (m *UpdateDrProtectionGroupDetails) UnmarshalJSON(data []byte) (e error) {
m.Members[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_member_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_member_details.go
index 8bb3efaa4d1..fd8e35cb41a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_member_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/disasterrecovery/update_dr_protection_group_member_details.go
@@ -88,7 +88,7 @@ func (m *updatedrprotectiongroupmemberdetails) UnmarshalPolymorphicJSON(data []b
}
}
-//GetMemberId returns MemberId
+// GetMemberId returns MemberId
func (m updatedrprotectiongroupmemberdetails) GetMemberId() *string {
return m.MemberId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_resolver_endpoint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_resolver_endpoint_details.go
index 2da71dbcee9..3c84eedd6e2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_resolver_endpoint_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_resolver_endpoint_details.go
@@ -41,11 +41,11 @@ type CreateResolverEndpointDetails interface {
type createresolverendpointdetails struct {
JsonData []byte
+ ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
+ ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
Name *string `mandatory:"true" json:"name"`
IsForwarding *bool `mandatory:"true" json:"isForwarding"`
IsListening *bool `mandatory:"true" json:"isListening"`
- ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
- ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
EndpointType string `json:"endpointType"`
}
@@ -89,31 +89,31 @@ func (m *createresolverendpointdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetName returns Name
+// GetForwardingAddress returns ForwardingAddress
+func (m createresolverendpointdetails) GetForwardingAddress() *string {
+ return m.ForwardingAddress
+}
+
+// GetListeningAddress returns ListeningAddress
+func (m createresolverendpointdetails) GetListeningAddress() *string {
+ return m.ListeningAddress
+}
+
+// GetName returns Name
func (m createresolverendpointdetails) GetName() *string {
return m.Name
}
-//GetIsForwarding returns IsForwarding
+// GetIsForwarding returns IsForwarding
func (m createresolverendpointdetails) GetIsForwarding() *bool {
return m.IsForwarding
}
-//GetIsListening returns IsListening
+// GetIsListening returns IsListening
func (m createresolverendpointdetails) GetIsListening() *bool {
return m.IsListening
}
-//GetForwardingAddress returns ForwardingAddress
-func (m createresolverendpointdetails) GetForwardingAddress() *string {
- return m.ForwardingAddress
-}
-
-//GetListeningAddress returns ListeningAddress
-func (m createresolverendpointdetails) GetListeningAddress() *string {
- return m.ListeningAddress
-}
-
func (m createresolverendpointdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_steering_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_steering_policy_details.go
index 02d2d219009..74a91dffd71 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_steering_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_steering_policy_details.go
@@ -146,10 +146,7 @@ func (m *CreateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.Answers = make([]SteeringPolicyAnswer, len(model.Answers))
- for i, n := range model.Answers {
- m.Answers[i] = n
- }
-
+ copy(m.Answers, model.Answers)
m.Rules = make([]SteeringPolicyRule, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -162,7 +159,6 @@ func (m *CreateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
m.DisplayName = model.DisplayName
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_zone_base_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_zone_base_details.go
index 6601cb6f7ba..e5f72fd1254 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_zone_base_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/create_zone_base_details.go
@@ -43,10 +43,10 @@ type CreateZoneBaseDetails interface {
type createzonebasedetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ Name *string `mandatory:"true" json:"name"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
MigrationSource string `json:"migrationSource"`
}
@@ -93,26 +93,26 @@ func (m *createzonebasedetails) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetName returns Name
-func (m createzonebasedetails) GetName() *string {
- return m.Name
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createzonebasedetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createzonebasedetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createzonebasedetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetName returns Name
+func (m createzonebasedetails) GetName() *string {
+ return m.Name
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createzonebasedetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createzonebasedetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/dns_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/dns_client.go
index f4e583ec191..3c2f4b50578 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/dns_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/dns_client.go
@@ -81,7 +81,7 @@ func (client *DnsClient) setConfigurationProvider(configProvider common.Configur
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver.go
index e1811c6c068..b6c867df7a8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver.go
@@ -141,7 +141,6 @@ func (m *Resolver) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
m.DisplayName = model.DisplayName
@@ -174,12 +173,8 @@ func (m *Resolver) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
m.AttachedViews = make([]AttachedView, len(model.AttachedViews))
- for i, n := range model.AttachedViews {
- m.AttachedViews[i] = n
- }
-
+ copy(m.AttachedViews, model.AttachedViews)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint.go
index 062b9700c2e..10aa1c4f345 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint.go
@@ -61,6 +61,8 @@ type ResolverEndpoint interface {
type resolverendpoint struct {
JsonData []byte
+ ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
+ ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
Name *string `mandatory:"true" json:"name"`
IsForwarding *bool `mandatory:"true" json:"isForwarding"`
IsListening *bool `mandatory:"true" json:"isListening"`
@@ -69,8 +71,6 @@ type resolverendpoint struct {
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
LifecycleState ResolverEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
Self *string `mandatory:"true" json:"self"`
- ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
- ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
EndpointType string `json:"endpointType"`
}
@@ -119,56 +119,56 @@ func (m *resolverendpoint) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetName returns Name
+// GetForwardingAddress returns ForwardingAddress
+func (m resolverendpoint) GetForwardingAddress() *string {
+ return m.ForwardingAddress
+}
+
+// GetListeningAddress returns ListeningAddress
+func (m resolverendpoint) GetListeningAddress() *string {
+ return m.ListeningAddress
+}
+
+// GetName returns Name
func (m resolverendpoint) GetName() *string {
return m.Name
}
-//GetIsForwarding returns IsForwarding
+// GetIsForwarding returns IsForwarding
func (m resolverendpoint) GetIsForwarding() *bool {
return m.IsForwarding
}
-//GetIsListening returns IsListening
+// GetIsListening returns IsListening
func (m resolverendpoint) GetIsListening() *bool {
return m.IsListening
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m resolverendpoint) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m resolverendpoint) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m resolverendpoint) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m resolverendpoint) GetLifecycleState() ResolverEndpointLifecycleStateEnum {
return m.LifecycleState
}
-//GetSelf returns Self
+// GetSelf returns Self
func (m resolverendpoint) GetSelf() *string {
return m.Self
}
-//GetForwardingAddress returns ForwardingAddress
-func (m resolverendpoint) GetForwardingAddress() *string {
- return m.ForwardingAddress
-}
-
-//GetListeningAddress returns ListeningAddress
-func (m resolverendpoint) GetListeningAddress() *string {
- return m.ListeningAddress
-}
-
func (m resolverendpoint) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint_summary.go
index ebad10c38de..ee293a55c17 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_endpoint_summary.go
@@ -61,6 +61,8 @@ type ResolverEndpointSummary interface {
type resolverendpointsummary struct {
JsonData []byte
+ ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
+ ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
Name *string `mandatory:"true" json:"name"`
IsForwarding *bool `mandatory:"true" json:"isForwarding"`
IsListening *bool `mandatory:"true" json:"isListening"`
@@ -69,8 +71,6 @@ type resolverendpointsummary struct {
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
LifecycleState ResolverEndpointSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
Self *string `mandatory:"true" json:"self"`
- ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`
- ListeningAddress *string `mandatory:"false" json:"listeningAddress"`
EndpointType string `json:"endpointType"`
}
@@ -119,56 +119,56 @@ func (m *resolverendpointsummary) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetName returns Name
+// GetForwardingAddress returns ForwardingAddress
+func (m resolverendpointsummary) GetForwardingAddress() *string {
+ return m.ForwardingAddress
+}
+
+// GetListeningAddress returns ListeningAddress
+func (m resolverendpointsummary) GetListeningAddress() *string {
+ return m.ListeningAddress
+}
+
+// GetName returns Name
func (m resolverendpointsummary) GetName() *string {
return m.Name
}
-//GetIsForwarding returns IsForwarding
+// GetIsForwarding returns IsForwarding
func (m resolverendpointsummary) GetIsForwarding() *bool {
return m.IsForwarding
}
-//GetIsListening returns IsListening
+// GetIsListening returns IsListening
func (m resolverendpointsummary) GetIsListening() *bool {
return m.IsListening
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m resolverendpointsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m resolverendpointsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m resolverendpointsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m resolverendpointsummary) GetLifecycleState() ResolverEndpointSummaryLifecycleStateEnum {
return m.LifecycleState
}
-//GetSelf returns Self
+// GetSelf returns Self
func (m resolverendpointsummary) GetSelf() *string {
return m.Self
}
-//GetForwardingAddress returns ForwardingAddress
-func (m resolverendpointsummary) GetForwardingAddress() *string {
- return m.ForwardingAddress
-}
-
-//GetListeningAddress returns ListeningAddress
-func (m resolverendpointsummary) GetListeningAddress() *string {
- return m.ListeningAddress
-}
-
func (m resolverendpointsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule.go
index 08d9b431796..197f05461da 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule.go
@@ -73,12 +73,12 @@ func (m *resolverrule) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetClientAddressConditions returns ClientAddressConditions
+// GetClientAddressConditions returns ClientAddressConditions
func (m resolverrule) GetClientAddressConditions() []string {
return m.ClientAddressConditions
}
-//GetQnameCoverConditions returns QnameCoverConditions
+// GetQnameCoverConditions returns QnameCoverConditions
func (m resolverrule) GetQnameCoverConditions() []string {
return m.QnameCoverConditions
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule_details.go
index c7addcac626..d2ef33c5d22 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/resolver_rule_details.go
@@ -73,12 +73,12 @@ func (m *resolverruledetails) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetClientAddressConditions returns ClientAddressConditions
+// GetClientAddressConditions returns ClientAddressConditions
func (m resolverruledetails) GetClientAddressConditions() []string {
return m.ClientAddressConditions
}
-//GetQnameCoverConditions returns QnameCoverConditions
+// GetQnameCoverConditions returns QnameCoverConditions
func (m resolverruledetails) GetQnameCoverConditions() []string {
return m.QnameCoverConditions
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy.go
index b98c82e9133..ab0aad8969b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy.go
@@ -172,10 +172,7 @@ func (m *SteeringPolicy) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.Answers = make([]SteeringPolicyAnswer, len(model.Answers))
- for i, n := range model.Answers {
- m.Answers[i] = n
- }
-
+ copy(m.Answers, model.Answers)
m.Rules = make([]SteeringPolicyRule, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -188,7 +185,6 @@ func (m *SteeringPolicy) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.Self = model.Self
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy_rule.go
index 3871cc1f619..d803fa5cd6e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/steering_policy_rule.go
@@ -90,7 +90,7 @@ func (m *steeringpolicyrule) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m steeringpolicyrule) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_resolver_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_resolver_details.go
index 1acff530168..d4d0c77c20b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_resolver_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_resolver_details.go
@@ -81,10 +81,7 @@ func (m *UpdateResolverDetails) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.AttachedViews = make([]AttachedViewDetails, len(model.AttachedViews))
- for i, n := range model.AttachedViews {
- m.AttachedViews[i] = n
- }
-
+ copy(m.AttachedViews, model.AttachedViews)
m.Rules = make([]ResolverRuleDetails, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -97,6 +94,5 @@ func (m *UpdateResolverDetails) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_steering_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_steering_policy_details.go
index dbac82dacb5..81ddbbd53d6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_steering_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/dns/update_steering_policy_details.go
@@ -148,10 +148,7 @@ func (m *UpdateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error) {
m.DefinedTags = model.DefinedTags
m.Answers = make([]SteeringPolicyAnswer, len(model.Answers))
- for i, n := range model.Answers {
- m.Answers[i] = n
- }
-
+ copy(m.Answers, model.Answers)
m.Rules = make([]SteeringPolicyRule, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -164,7 +161,6 @@ func (m *UpdateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/email/email_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/email/email_client.go
index 80e64539bf3..7c8a5a6523a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/email/email_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/email/email_client.go
@@ -84,7 +84,7 @@ func (client *EmailClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/emwarehouse/emwarehouse_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/emwarehouse/emwarehouse_client.go
index 1e95d3e694c..a3b77218279 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/emwarehouse/emwarehouse_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/emwarehouse/emwarehouse_client.go
@@ -80,7 +80,7 @@ func (client *EmWarehouseClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/events/action.go b/vendor/github.com/oracle/oci-go-sdk/v65/events/action.go
index 89fa3b7bfb1..bd2fcb5425b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/events/action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/events/action.go
@@ -40,11 +40,11 @@ type Action interface {
type action struct {
JsonData []byte
+ IsEnabled *bool `mandatory:"false" json:"isEnabled"`
+ Description *string `mandatory:"false" json:"description"`
Id *string `mandatory:"true" json:"id"`
LifecycleMessage *string `mandatory:"true" json:"lifecycleMessage"`
LifecycleState ActionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- IsEnabled *bool `mandatory:"false" json:"isEnabled"`
- Description *string `mandatory:"false" json:"description"`
ActionType string `json:"actionType"`
}
@@ -96,31 +96,31 @@ func (m *action) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
+// GetIsEnabled returns IsEnabled
+func (m action) GetIsEnabled() *bool {
+ return m.IsEnabled
+}
+
+// GetDescription returns Description
+func (m action) GetDescription() *string {
+ return m.Description
+}
+
+// GetId returns Id
func (m action) GetId() *string {
return m.Id
}
-//GetLifecycleMessage returns LifecycleMessage
+// GetLifecycleMessage returns LifecycleMessage
func (m action) GetLifecycleMessage() *string {
return m.LifecycleMessage
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m action) GetLifecycleState() ActionLifecycleStateEnum {
return m.LifecycleState
}
-//GetIsEnabled returns IsEnabled
-func (m action) GetIsEnabled() *bool {
- return m.IsEnabled
-}
-
-//GetDescription returns Description
-func (m action) GetDescription() *string {
- return m.Description
-}
-
func (m action) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details.go
index 906fdae27a3..ffe1edadb2b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details.go
@@ -31,8 +31,8 @@ type ActionDetails interface {
type actiondetails struct {
JsonData []byte
- IsEnabled *bool `mandatory:"true" json:"isEnabled"`
Description *string `mandatory:"false" json:"description"`
+ IsEnabled *bool `mandatory:"true" json:"isEnabled"`
ActionType string `json:"actionType"`
}
@@ -81,16 +81,16 @@ func (m *actiondetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetIsEnabled returns IsEnabled
-func (m actiondetails) GetIsEnabled() *bool {
- return m.IsEnabled
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m actiondetails) GetDescription() *string {
return m.Description
}
+// GetIsEnabled returns IsEnabled
+func (m actiondetails) GetIsEnabled() *bool {
+ return m.IsEnabled
+}
+
func (m actiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details_list.go b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details_list.go
index e6dc14d5ae2..d5a1a224bc0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details_list.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_details_list.go
@@ -63,6 +63,5 @@ func (m *ActionDetailsList) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_list.go b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_list.go
index c1811f21e21..437eea6a155 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/events/action_list.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/events/action_list.go
@@ -63,6 +63,5 @@ func (m *ActionList) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/events/events_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/events/events_client.go
index 8cb08018b40..b40da44edfd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/events/events_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/events/events_client.go
@@ -81,7 +81,7 @@ func (client *EventsClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go
index db50316651f..8ed2bb4890e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/create_outbound_connector_details.go
@@ -47,11 +47,11 @@ type CreateOutboundConnectorDetails interface {
type createoutboundconnectordetails struct {
JsonData []byte
- AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ AvailabilityDomain *string `mandatory:"true" json:"availabilityDomain"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
ConnectorType string `json:"connectorType"`
}
@@ -95,31 +95,31 @@ func (m *createoutboundconnectordetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetAvailabilityDomain returns AvailabilityDomain
-func (m createoutboundconnectordetails) GetAvailabilityDomain() *string {
- return m.AvailabilityDomain
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createoutboundconnectordetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createoutboundconnectordetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createoutboundconnectordetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createoutboundconnectordetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetAvailabilityDomain returns AvailabilityDomain
+func (m createoutboundconnectordetails) GetAvailabilityDomain() *string {
+ return m.AvailabilityDomain
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createoutboundconnectordetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createoutboundconnectordetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go
index b2599181ee8..db9bf9da7eb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/filestorage_client.go
@@ -81,7 +81,7 @@ func (client *FileStorageClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go
index de030b35431..aec7e505f19 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector.go
@@ -59,14 +59,14 @@ type OutboundConnector interface {
type outboundconnector struct {
JsonData []byte
+ AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
Id *string `mandatory:"true" json:"id"`
LifecycleState OutboundConnectorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
DisplayName *string `mandatory:"true" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
ConnectorType string `json:"connectorType"`
}
@@ -113,46 +113,46 @@ func (m *outboundconnector) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetCompartmentId returns CompartmentId
+// GetAvailabilityDomain returns AvailabilityDomain
+func (m outboundconnector) GetAvailabilityDomain() *string {
+ return m.AvailabilityDomain
+}
+
+// GetFreeformTags returns FreeformTags
+func (m outboundconnector) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m outboundconnector) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetCompartmentId returns CompartmentId
func (m outboundconnector) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetId returns Id
+// GetId returns Id
func (m outboundconnector) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m outboundconnector) GetLifecycleState() OutboundConnectorLifecycleStateEnum {
return m.LifecycleState
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m outboundconnector) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m outboundconnector) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetAvailabilityDomain returns AvailabilityDomain
-func (m outboundconnector) GetAvailabilityDomain() *string {
- return m.AvailabilityDomain
-}
-
-//GetFreeformTags returns FreeformTags
-func (m outboundconnector) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m outboundconnector) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m outboundconnector) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go
index 2c3ba9d12b1..4f35432a6b4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/filestorage/outbound_connector_summary.go
@@ -58,14 +58,14 @@ type OutboundConnectorSummary interface {
type outboundconnectorsummary struct {
JsonData []byte
+ AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
Id *string `mandatory:"true" json:"id"`
LifecycleState OutboundConnectorSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
DisplayName *string `mandatory:"true" json:"displayName"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
ConnectorType string `json:"connectorType"`
}
@@ -112,46 +112,46 @@ func (m *outboundconnectorsummary) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetCompartmentId returns CompartmentId
+// GetAvailabilityDomain returns AvailabilityDomain
+func (m outboundconnectorsummary) GetAvailabilityDomain() *string {
+ return m.AvailabilityDomain
+}
+
+// GetFreeformTags returns FreeformTags
+func (m outboundconnectorsummary) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m outboundconnectorsummary) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetCompartmentId returns CompartmentId
func (m outboundconnectorsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetId returns Id
+// GetId returns Id
func (m outboundconnectorsummary) GetId() *string {
return m.Id
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m outboundconnectorsummary) GetLifecycleState() OutboundConnectorSummaryLifecycleStateEnum {
return m.LifecycleState
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m outboundconnectorsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m outboundconnectorsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetAvailabilityDomain returns AvailabilityDomain
-func (m outboundconnectorsummary) GetAvailabilityDomain() *string {
- return m.AvailabilityDomain
-}
-
-//GetFreeformTags returns FreeformTags
-func (m outboundconnectorsummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m outboundconnectorsummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m outboundconnectorsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/functions/functions_functionsmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/functions/functions_functionsmanagement_client.go
index b85a480c44d..7d5696605d1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/functions/functions_functionsmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/functions/functions_functionsmanagement_client.go
@@ -80,7 +80,7 @@ func (client *FunctionsManagementClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/action.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/action.go
index 3c4835aa100..39a82d511b1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/action.go
@@ -31,9 +31,9 @@ type Action interface {
type action struct {
JsonData []byte
- Description *string `mandatory:"true" json:"description"`
ReferenceKey *string `mandatory:"false" json:"referenceKey"`
State ActionStateEnum `mandatory:"false" json:"state,omitempty"`
+ Description *string `mandatory:"true" json:"description"`
ActionType string `json:"actionType"`
}
@@ -83,21 +83,21 @@ func (m *action) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetDescription returns Description
-func (m action) GetDescription() *string {
- return m.Description
-}
-
-//GetReferenceKey returns ReferenceKey
+// GetReferenceKey returns ReferenceKey
func (m action) GetReferenceKey() *string {
return m.ReferenceKey
}
-//GetState returns State
+// GetState returns State
func (m action) GetState() ActionStateEnum {
return m.State
}
+// GetDescription returns Description
+func (m action) GetDescription() *string {
+ return m.Description
+}
+
func (m action) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/allow_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/allow_rule.go
index 6f1bdffe1c8..784eaba0a31 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/allow_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/allow_rule.go
@@ -90,6 +90,5 @@ func (m *AllowRule) UnmarshalJSON(data []byte) (e error) {
m.Conditions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/create_fusion_environment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/create_fusion_environment_details.go
index 31320599402..3122e01f21e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/create_fusion_environment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/create_fusion_environment_details.go
@@ -104,10 +104,7 @@ func (m *CreateFusionEnvironmentDetails) UnmarshalJSON(data []byte) (e error) {
m.DnsPrefix = model.DnsPrefix
m.AdditionalLanguagePacks = make([]string, len(model.AdditionalLanguagePacks))
- for i, n := range model.AdditionalLanguagePacks {
- m.AdditionalLanguagePacks[i] = n
- }
-
+ copy(m.AdditionalLanguagePacks, model.AdditionalLanguagePacks)
m.Rules = make([]Rule, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -120,7 +117,6 @@ func (m *CreateFusionEnvironmentDetails) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusion_environment.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusion_environment.go
index 443344c9379..aa31ec1cc71 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusion_environment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusion_environment.go
@@ -174,10 +174,7 @@ func (m *FusionEnvironment) UnmarshalJSON(data []byte) (e error) {
m.FusionEnvironmentFamilyId = model.FusionEnvironmentFamilyId
m.SubscriptionIds = make([]string, len(model.SubscriptionIds))
- for i, n := range model.SubscriptionIds {
- m.SubscriptionIds[i] = n
- }
-
+ copy(m.SubscriptionIds, model.SubscriptionIds)
m.KmsKeyId = model.KmsKeyId
m.KmsKeyInfo = model.KmsKeyInfo
@@ -187,10 +184,7 @@ func (m *FusionEnvironment) UnmarshalJSON(data []byte) (e error) {
m.IdcsDomainUrl = model.IdcsDomainUrl
m.AppliedPatchBundles = make([]string, len(model.AppliedPatchBundles))
- for i, n := range model.AppliedPatchBundles {
- m.AppliedPatchBundles[i] = n
- }
-
+ copy(m.AppliedPatchBundles, model.AppliedPatchBundles)
m.Version = model.Version
m.PublicUrl = model.PublicUrl
@@ -198,10 +192,7 @@ func (m *FusionEnvironment) UnmarshalJSON(data []byte) (e error) {
m.DnsPrefix = model.DnsPrefix
m.AdditionalLanguagePacks = make([]string, len(model.AdditionalLanguagePacks))
- for i, n := range model.AdditionalLanguagePacks {
- m.AdditionalLanguagePacks[i] = n
- }
-
+ copy(m.AdditionalLanguagePacks, model.AdditionalLanguagePacks)
m.LockboxId = model.LockboxId
m.IsBreakGlassEnabled = model.IsBreakGlassEnabled
@@ -220,7 +211,6 @@ func (m *FusionEnvironment) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.TimeCreated = model.TimeCreated
m.TimeUpdated = model.TimeUpdated
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusionapps_fusionapplications_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusionapps_fusionapplications_client.go
index fa87b36a328..8cf1f08173b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusionapps_fusionapplications_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/fusionapps_fusionapplications_client.go
@@ -80,7 +80,7 @@ func (client *FusionApplicationsClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity.go
index 3c858ee9863..ad34148dcb1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity.go
@@ -137,7 +137,6 @@ func (m *ScheduledActivity) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TimeFinished = model.TimeFinished
m.DelayInHours = model.DelayInHours
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity_summary.go
index 900d98f9aef..ffe4cd91338 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/scheduled_activity_summary.go
@@ -144,7 +144,6 @@ func (m *ScheduledActivitySummary) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.TimeFinished = model.TimeFinished
m.DelayInHours = model.DelayInHours
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/update_fusion_environment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/update_fusion_environment_details.go
index f1dfdd20485..e9e7564e271 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/update_fusion_environment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/fusionapps/update_fusion_environment_details.go
@@ -82,10 +82,7 @@ func (m *UpdateFusionEnvironmentDetails) UnmarshalJSON(data []byte) (e error) {
m.MaintenancePolicy = model.MaintenancePolicy
m.AdditionalLanguagePacks = make([]string, len(model.AdditionalLanguagePacks))
- for i, n := range model.AdditionalLanguagePacks {
- m.AdditionalLanguagePacks[i] = n
- }
-
+ copy(m.AdditionalLanguagePacks, model.AdditionalLanguagePacks)
m.Rules = make([]Rule, len(model.Rules))
for i, n := range model.Rules {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -98,7 +95,6 @@ func (m *UpdateFusionEnvironmentDetails) UnmarshalJSON(data []byte) (e error) {
m.Rules[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/genericartifactscontent/genericartifactscontent_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/genericartifactscontent/genericartifactscontent_client.go
index 186cb109ba2..a452354ce46 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/genericartifactscontent/genericartifactscontent_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/genericartifactscontent/genericartifactscontent_client.go
@@ -81,7 +81,7 @@ func (client *GenericArtifactsContentClient) setConfigurationProvider(configProv
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection.go
index 555a92fb460..736fe0be9da 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection.go
@@ -84,12 +84,6 @@ type Connection interface {
type connection struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- DisplayName *string `mandatory:"true" json:"displayName"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
@@ -100,6 +94,12 @@ type connection struct {
SubnetId *string `mandatory:"false" json:"subnetId"`
IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`
NsgIds []string `mandatory:"false" json:"nsgIds"`
+ Id *string `mandatory:"true" json:"id"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
+ TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ConnectionType string `json:"connectionType"`
}
@@ -214,86 +214,86 @@ func (m *connection) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
-func (m connection) GetId() *string {
- return m.Id
-}
-
-//GetDisplayName returns DisplayName
-func (m connection) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m connection) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetLifecycleState returns LifecycleState
-func (m connection) GetLifecycleState() ConnectionLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetTimeCreated returns TimeCreated
-func (m connection) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m connection) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m connection) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m connection) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m connection) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m connection) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m connection) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetVaultId returns VaultId
+// GetVaultId returns VaultId
func (m connection) GetVaultId() *string {
return m.VaultId
}
-//GetKeyId returns KeyId
+// GetKeyId returns KeyId
func (m connection) GetKeyId() *string {
return m.KeyId
}
-//GetSubnetId returns SubnetId
+// GetSubnetId returns SubnetId
func (m connection) GetSubnetId() *string {
return m.SubnetId
}
-//GetIngressIps returns IngressIps
+// GetIngressIps returns IngressIps
func (m connection) GetIngressIps() []IngressIpDetails {
return m.IngressIps
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m connection) GetNsgIds() []string {
return m.NsgIds
}
+// GetId returns Id
+func (m connection) GetId() *string {
+ return m.Id
+}
+
+// GetDisplayName returns DisplayName
+func (m connection) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m connection) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetLifecycleState returns LifecycleState
+func (m connection) GetLifecycleState() ConnectionLifecycleStateEnum {
+ return m.LifecycleState
+}
+
+// GetTimeCreated returns TimeCreated
+func (m connection) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m connection) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
func (m connection) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_collection.go
index de9648a0fd2..6b19baa4175 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_collection.go
@@ -62,6 +62,5 @@ func (m *ConnectionCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_summary.go
index ddb4dc13de9..619f95f327f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/connection_summary.go
@@ -84,12 +84,6 @@ type ConnectionSummary interface {
type connectionsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- DisplayName *string `mandatory:"true" json:"displayName"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
@@ -100,6 +94,12 @@ type connectionsummary struct {
SubnetId *string `mandatory:"false" json:"subnetId"`
IngressIps []IngressIpDetails `mandatory:"false" json:"ingressIps"`
NsgIds []string `mandatory:"false" json:"nsgIds"`
+ Id *string `mandatory:"true" json:"id"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ LifecycleState ConnectionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
+ TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
ConnectionType string `json:"connectionType"`
}
@@ -214,86 +214,86 @@ func (m *connectionsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m connectionsummary) GetId() *string {
- return m.Id
-}
-
-//GetDisplayName returns DisplayName
-func (m connectionsummary) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m connectionsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetLifecycleState returns LifecycleState
-func (m connectionsummary) GetLifecycleState() ConnectionLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetTimeCreated returns TimeCreated
-func (m connectionsummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m connectionsummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m connectionsummary) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m connectionsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m connectionsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m connectionsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m connectionsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetVaultId returns VaultId
+// GetVaultId returns VaultId
func (m connectionsummary) GetVaultId() *string {
return m.VaultId
}
-//GetKeyId returns KeyId
+// GetKeyId returns KeyId
func (m connectionsummary) GetKeyId() *string {
return m.KeyId
}
-//GetSubnetId returns SubnetId
+// GetSubnetId returns SubnetId
func (m connectionsummary) GetSubnetId() *string {
return m.SubnetId
}
-//GetIngressIps returns IngressIps
+// GetIngressIps returns IngressIps
func (m connectionsummary) GetIngressIps() []IngressIpDetails {
return m.IngressIps
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m connectionsummary) GetNsgIds() []string {
return m.NsgIds
}
+// GetId returns Id
+func (m connectionsummary) GetId() *string {
+ return m.Id
+}
+
+// GetDisplayName returns DisplayName
+func (m connectionsummary) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m connectionsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetLifecycleState returns LifecycleState
+func (m connectionsummary) GetLifecycleState() ConnectionLifecycleStateEnum {
+ return m.LifecycleState
+}
+
+// GetTimeCreated returns TimeCreated
+func (m connectionsummary) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m connectionsummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
func (m connectionsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/create_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/create_connection_details.go
index 68a62ebce6f..99a45599e48 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/create_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/create_connection_details.go
@@ -55,8 +55,6 @@ type CreateConnectionDetails interface {
type createconnectiondetails struct {
JsonData []byte
- DisplayName *string `mandatory:"true" json:"displayName"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
Description *string `mandatory:"false" json:"description"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
@@ -64,6 +62,8 @@ type createconnectiondetails struct {
KeyId *string `mandatory:"false" json:"keyId"`
SubnetId *string `mandatory:"false" json:"subnetId"`
NsgIds []string `mandatory:"false" json:"nsgIds"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
ConnectionType string `json:"connectionType"`
}
@@ -171,51 +171,51 @@ func (m *createconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDisplayName returns DisplayName
-func (m createconnectiondetails) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m createconnectiondetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetVaultId returns VaultId
+// GetVaultId returns VaultId
func (m createconnectiondetails) GetVaultId() *string {
return m.VaultId
}
-//GetKeyId returns KeyId
+// GetKeyId returns KeyId
func (m createconnectiondetails) GetKeyId() *string {
return m.KeyId
}
-//GetSubnetId returns SubnetId
+// GetSubnetId returns SubnetId
func (m createconnectiondetails) GetSubnetId() *string {
return m.SubnetId
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m createconnectiondetails) GetNsgIds() []string {
return m.NsgIds
}
+// GetDisplayName returns DisplayName
+func (m createconnectiondetails) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetCompartmentId returns CompartmentId
+func (m createconnectiondetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createconnectiondetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/goldengate_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/goldengate_client.go
index 6abc0c8eaa6..de319db5aeb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/goldengate_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/goldengate_client.go
@@ -80,7 +80,7 @@ func (client *GoldenGateClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/update_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/update_connection_details.go
index c53a0f9a551..c25b1f3908b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/update_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/goldengate/update_connection_details.go
@@ -161,37 +161,37 @@ func (m *updateconnectiondetails) UnmarshalPolymorphicJSON(data []byte) (interfa
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateconnectiondetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateconnectiondetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateconnectiondetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateconnectiondetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetVaultId returns VaultId
+// GetVaultId returns VaultId
func (m updateconnectiondetails) GetVaultId() *string {
return m.VaultId
}
-//GetKeyId returns KeyId
+// GetKeyId returns KeyId
func (m updateconnectiondetails) GetKeyId() *string {
return m.KeyId
}
-//GetNsgIds returns NsgIds
+// GetNsgIds returns NsgIds
func (m updateconnectiondetails) GetNsgIds() []string {
return m.NsgIds
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/healthchecks/healthchecks_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/healthchecks/healthchecks_client.go
index b911cbbc42d..b43c2ebe1e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/healthchecks/healthchecks_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/healthchecks/healthchecks_client.go
@@ -82,7 +82,7 @@ func (client *HealthChecksClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go
index 773f8bb5650..59b3400a31d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/create_identity_provider_details.go
@@ -50,12 +50,12 @@ type CreateIdentityProviderDetails interface {
type createidentityproviderdetails struct {
JsonData []byte
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
Name *string `mandatory:"true" json:"name"`
Description *string `mandatory:"true" json:"description"`
ProductType CreateIdentityProviderDetailsProductTypeEnum `mandatory:"true" json:"productType"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Protocol string `json:"protocol"`
}
@@ -100,36 +100,36 @@ func (m *createidentityproviderdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetCompartmentId returns CompartmentId
+// GetFreeformTags returns FreeformTags
+func (m createidentityproviderdetails) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m createidentityproviderdetails) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetCompartmentId returns CompartmentId
func (m createidentityproviderdetails) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetName returns Name
+// GetName returns Name
func (m createidentityproviderdetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createidentityproviderdetails) GetDescription() *string {
return m.Description
}
-//GetProductType returns ProductType
+// GetProductType returns ProductType
func (m createidentityproviderdetails) GetProductType() CreateIdentityProviderDetailsProductTypeEnum {
return m.ProductType
}
-//GetFreeformTags returns FreeformTags
-func (m createidentityproviderdetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m createidentityproviderdetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m createidentityproviderdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go
index c56b0feae94..22b2418bcea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_client.go
@@ -81,7 +81,7 @@ func (client *IdentityClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go
index bb8f4c56f56..2737d6fc3fe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/identity_provider.go
@@ -78,6 +78,9 @@ type IdentityProvider interface {
type identityprovider struct {
JsonData []byte
+ InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
Name *string `mandatory:"true" json:"name"`
@@ -85,9 +88,6 @@ type identityprovider struct {
ProductType *string `mandatory:"true" json:"productType"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
LifecycleState IdentityProviderLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- InactiveStatus *int64 `mandatory:"false" json:"inactiveStatus"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Protocol string `json:"protocol"`
}
@@ -136,56 +136,56 @@ func (m *identityprovider) UnmarshalPolymorphicJSON(data []byte) (interface{}, e
}
}
-//GetId returns Id
+// GetInactiveStatus returns InactiveStatus
+func (m identityprovider) GetInactiveStatus() *int64 {
+ return m.InactiveStatus
+}
+
+// GetFreeformTags returns FreeformTags
+func (m identityprovider) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m identityprovider) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetId returns Id
func (m identityprovider) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m identityprovider) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetName returns Name
+// GetName returns Name
func (m identityprovider) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m identityprovider) GetDescription() *string {
return m.Description
}
-//GetProductType returns ProductType
+// GetProductType returns ProductType
func (m identityprovider) GetProductType() *string {
return m.ProductType
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m identityprovider) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m identityprovider) GetLifecycleState() IdentityProviderLifecycleStateEnum {
return m.LifecycleState
}
-//GetInactiveStatus returns InactiveStatus
-func (m identityprovider) GetInactiveStatus() *int64 {
- return m.InactiveStatus
-}
-
-//GetFreeformTags returns FreeformTags
-func (m identityprovider) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m identityprovider) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m identityprovider) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go
index 11ca938f84a..9c7ab66351b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/identity/update_identity_provider_details.go
@@ -80,17 +80,17 @@ func (m *updateidentityproviderdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateidentityproviderdetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateidentityproviderdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateidentityproviderdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/identitydataplane/identitydataplane_dataplane_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/identitydataplane/identitydataplane_dataplane_client.go
index ceadf5d904b..4afb3ed44da 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/identitydataplane/identitydataplane_dataplane_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/identitydataplane/identitydataplane_dataplane_client.go
@@ -80,7 +80,7 @@ func (client *DataplaneClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/integration/create_integration_instance_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/integration/create_integration_instance_details.go
index 31130104cf7..c6b9cc2c6e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/integration/create_integration_instance_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/integration/create_integration_instance_details.go
@@ -134,10 +134,7 @@ func (m *CreateIntegrationInstanceDetails) UnmarshalJSON(data []byte) (e error)
m.CustomEndpoint = model.CustomEndpoint
m.AlternateCustomEndpoints = make([]CreateCustomEndpointDetails, len(model.AlternateCustomEndpoints))
- for i, n := range model.AlternateCustomEndpoints {
- m.AlternateCustomEndpoints[i] = n
- }
-
+ copy(m.AlternateCustomEndpoints, model.AlternateCustomEndpoints)
m.ConsumptionModel = model.ConsumptionModel
m.IsFileServerEnabled = model.IsFileServerEnabled
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance.go
index 2ed0576a36e..5e2f61d3662 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance.go
@@ -171,10 +171,7 @@ func (m *IntegrationInstance) UnmarshalJSON(data []byte) (e error) {
m.CustomEndpoint = model.CustomEndpoint
m.AlternateCustomEndpoints = make([]CustomEndpointDetails, len(model.AlternateCustomEndpoints))
- for i, n := range model.AlternateCustomEndpoints {
- m.AlternateCustomEndpoints[i] = n
- }
-
+ copy(m.AlternateCustomEndpoints, model.AlternateCustomEndpoints)
m.ConsumptionModel = model.ConsumptionModel
nn, e = model.NetworkEndpointDetails.UnmarshalPolymorphicJSON(model.NetworkEndpointDetails.JsonData)
@@ -190,10 +187,7 @@ func (m *IntegrationInstance) UnmarshalJSON(data []byte) (e error) {
m.IdcsInfo = model.IdcsInfo
m.Attachments = make([]AttachmentDetails, len(model.Attachments))
- for i, n := range model.Attachments {
- m.Attachments[i] = n
- }
-
+ copy(m.Attachments, model.Attachments)
m.Shape = model.Shape
nn, e = model.PrivateEndpointOutboundConnection.UnmarshalPolymorphicJSON(model.PrivateEndpointOutboundConnection.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance_summary.go
index 5cbf9338cca..f2bca25dd08 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_instance_summary.go
@@ -160,10 +160,7 @@ func (m *IntegrationInstanceSummary) UnmarshalJSON(data []byte) (e error) {
m.CustomEndpoint = model.CustomEndpoint
m.AlternateCustomEndpoints = make([]CustomEndpointDetails, len(model.AlternateCustomEndpoints))
- for i, n := range model.AlternateCustomEndpoints {
- m.AlternateCustomEndpoints[i] = n
- }
-
+ copy(m.AlternateCustomEndpoints, model.AlternateCustomEndpoints)
m.ConsumptionModel = model.ConsumptionModel
nn, e = model.NetworkEndpointDetails.UnmarshalPolymorphicJSON(model.NetworkEndpointDetails.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_integrationinstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_integrationinstance_client.go
index a590882ae79..944ff5325e8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_integrationinstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/integration/integration_integrationinstance_client.go
@@ -80,7 +80,7 @@ func (client *IntegrationInstanceClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/jms/jms_javamanagementservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/jms/jms_javamanagementservice_client.go
index 2c9d43dfb52..7a3ef2ff5f5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/jms/jms_javamanagementservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/jms/jms_javamanagementservice_client.go
@@ -80,7 +80,7 @@ func (client *JavaManagementServiceClient) setConfigurationProvider(configProvid
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/jms/work_item_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/jms/work_item_details.go
index 020c599ed4e..ad711361821 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/jms/work_item_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/jms/work_item_details.go
@@ -69,7 +69,7 @@ func (m *workitemdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetWorkItemType returns WorkItemType
+// GetWorkItemType returns WorkItemType
func (m workitemdetails) GetWorkItemType() WorkItemTypeEnum {
return m.WorkItemType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/keymanagement/keymanagement_kmsvault_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/keymanagement/keymanagement_kmsvault_client.go
index 66edcfb2fe7..b8669271e00 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/keymanagement/keymanagement_kmsvault_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/keymanagement/keymanagement_kmsvault_client.go
@@ -81,7 +81,7 @@ func (client *KmsVaultClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/licensemanager/licensemanager_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/licensemanager/licensemanager_client.go
index 83bfae5b273..9e9009a2856 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/licensemanager/licensemanager_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/licensemanager/licensemanager_client.go
@@ -80,7 +80,7 @@ func (client *LicenseManagerClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_client.go
index 7d8955e852e..24b482f4e7b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_client.go
@@ -80,7 +80,7 @@ func (client *LimitsClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_quotas_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_quotas_client.go
index a55b45667ad..28375c85076 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_quotas_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/limits/limits_quotas_client.go
@@ -80,7 +80,7 @@ func (client *QuotasClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go
index bae6d2b8a70..bb80f435c9d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/allow_rule.go
@@ -91,6 +91,5 @@ func (m *AllowRule) UnmarshalJSON(data []byte) (e error) {
m.Conditions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go
index afa9860796e..bf8c147b1e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/create_rule_set_details.go
@@ -71,6 +71,5 @@ func (m *CreateRuleSetDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go
index 5a35a1669ca..a139e9fa782 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/loadbalancer_client.go
@@ -81,7 +81,7 @@ func (client *LoadBalancerClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go
index 8668c5e9d75..699cb5a3478 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/redirect_rule.go
@@ -104,6 +104,5 @@ func (m *RedirectRule) UnmarshalJSON(data []byte) (e error) {
m.Conditions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go
index 2cf73d072d2..de15b27853e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/routing_rule.go
@@ -76,6 +76,5 @@ func (m *RoutingRule) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go
index abcd7a88f36..7943284cc02 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set.go
@@ -73,6 +73,5 @@ func (m *RuleSet) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go
index 8a9e3653830..3dd2080a28b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/rule_set_details.go
@@ -63,6 +63,5 @@ func (m *RuleSetDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go
index abc79560a31..dc5d9072515 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loadbalancer/update_rule_set_details.go
@@ -63,6 +63,5 @@ func (m *UpdateRuleSetDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_column.go
index abb1e87fdfe..7cd076b1b74 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_column.go
@@ -155,57 +155,57 @@ func (m *abstractcolumn) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m abstractcolumn) GetDisplayName() *string {
return m.DisplayName
}
-//GetSubSystem returns SubSystem
+// GetSubSystem returns SubSystem
func (m abstractcolumn) GetSubSystem() SubSystemNameEnum {
return m.SubSystem
}
-//GetValues returns Values
+// GetValues returns Values
func (m abstractcolumn) GetValues() []FieldValue {
return m.Values
}
-//GetIsListOfValues returns IsListOfValues
+// GetIsListOfValues returns IsListOfValues
func (m abstractcolumn) GetIsListOfValues() *bool {
return m.IsListOfValues
}
-//GetIsMultiValued returns IsMultiValued
+// GetIsMultiValued returns IsMultiValued
func (m abstractcolumn) GetIsMultiValued() *bool {
return m.IsMultiValued
}
-//GetIsCaseSensitive returns IsCaseSensitive
+// GetIsCaseSensitive returns IsCaseSensitive
func (m abstractcolumn) GetIsCaseSensitive() *bool {
return m.IsCaseSensitive
}
-//GetIsGroupable returns IsGroupable
+// GetIsGroupable returns IsGroupable
func (m abstractcolumn) GetIsGroupable() *bool {
return m.IsGroupable
}
-//GetIsEvaluable returns IsEvaluable
+// GetIsEvaluable returns IsEvaluable
func (m abstractcolumn) GetIsEvaluable() *bool {
return m.IsEvaluable
}
-//GetValueType returns ValueType
+// GetValueType returns ValueType
func (m abstractcolumn) GetValueType() ValueTypeEnum {
return m.ValueType
}
-//GetOriginalDisplayName returns OriginalDisplayName
+// GetOriginalDisplayName returns OriginalDisplayName
func (m abstractcolumn) GetOriginalDisplayName() *string {
return m.OriginalDisplayName
}
-//GetInternalName returns InternalName
+// GetInternalName returns InternalName
func (m abstractcolumn) GetInternalName() *string {
return m.InternalName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_command_descriptor.go
index 342a2556aa5..7d5c963484f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_command_descriptor.go
@@ -40,12 +40,12 @@ type AbstractCommandDescriptor interface {
type abstractcommanddescriptor struct {
JsonData []byte
- DisplayQueryString *string `mandatory:"true" json:"displayQueryString"`
- InternalQueryString *string `mandatory:"true" json:"internalQueryString"`
Category *string `mandatory:"false" json:"category"`
ReferencedFields json.RawMessage `mandatory:"false" json:"referencedFields"`
DeclaredFields json.RawMessage `mandatory:"false" json:"declaredFields"`
IsHidden *bool `mandatory:"false" json:"isHidden"`
+ DisplayQueryString *string `mandatory:"true" json:"displayQueryString"`
+ InternalQueryString *string `mandatory:"true" json:"internalQueryString"`
Name string `json:"name"`
}
@@ -298,36 +298,36 @@ func (m *abstractcommanddescriptor) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetDisplayQueryString returns DisplayQueryString
-func (m abstractcommanddescriptor) GetDisplayQueryString() *string {
- return m.DisplayQueryString
-}
-
-//GetInternalQueryString returns InternalQueryString
-func (m abstractcommanddescriptor) GetInternalQueryString() *string {
- return m.InternalQueryString
-}
-
-//GetCategory returns Category
+// GetCategory returns Category
func (m abstractcommanddescriptor) GetCategory() *string {
return m.Category
}
-//GetReferencedFields returns ReferencedFields
+// GetReferencedFields returns ReferencedFields
func (m abstractcommanddescriptor) GetReferencedFields() json.RawMessage {
return m.ReferencedFields
}
-//GetDeclaredFields returns DeclaredFields
+// GetDeclaredFields returns DeclaredFields
func (m abstractcommanddescriptor) GetDeclaredFields() json.RawMessage {
return m.DeclaredFields
}
-//GetIsHidden returns IsHidden
+// GetIsHidden returns IsHidden
func (m abstractcommanddescriptor) GetIsHidden() *bool {
return m.IsHidden
}
+// GetDisplayQueryString returns DisplayQueryString
+func (m abstractcommanddescriptor) GetDisplayQueryString() *string {
+ return m.DisplayQueryString
+}
+
+// GetInternalQueryString returns InternalQueryString
+func (m abstractcommanddescriptor) GetInternalQueryString() *string {
+ return m.InternalQueryString
+}
+
func (m abstractcommanddescriptor) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_field.go
index 3566f844edb..cb72ba5b124 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/abstract_field.go
@@ -123,52 +123,52 @@ func (m *abstractfield) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m abstractfield) GetDisplayName() *string {
return m.DisplayName
}
-//GetIsDeclared returns IsDeclared
+// GetIsDeclared returns IsDeclared
func (m abstractfield) GetIsDeclared() *bool {
return m.IsDeclared
}
-//GetOriginalDisplayNames returns OriginalDisplayNames
+// GetOriginalDisplayNames returns OriginalDisplayNames
func (m abstractfield) GetOriginalDisplayNames() []string {
return m.OriginalDisplayNames
}
-//GetInternalName returns InternalName
+// GetInternalName returns InternalName
func (m abstractfield) GetInternalName() *string {
return m.InternalName
}
-//GetValueType returns ValueType
+// GetValueType returns ValueType
func (m abstractfield) GetValueType() ValueTypeEnum {
return m.ValueType
}
-//GetIsGroupable returns IsGroupable
+// GetIsGroupable returns IsGroupable
func (m abstractfield) GetIsGroupable() *bool {
return m.IsGroupable
}
-//GetIsDuration returns IsDuration
+// GetIsDuration returns IsDuration
func (m abstractfield) GetIsDuration() *bool {
return m.IsDuration
}
-//GetAlias returns Alias
+// GetAlias returns Alias
func (m abstractfield) GetAlias() *string {
return m.Alias
}
-//GetFilterQueryString returns FilterQueryString
+// GetFilterQueryString returns FilterQueryString
func (m abstractfield) GetFilterQueryString() *string {
return m.FilterQueryString
}
-//GetUnitType returns UnitType
+// GetUnitType returns UnitType
func (m abstractfield) GetUnitType() *string {
return m.UnitType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_fields_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_fields_command_descriptor.go
index 1d015d8eebe..e5c6f7cc0d5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_fields_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_fields_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *AddFieldsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,14 +144,10 @@ func (m *AddFieldsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.SubQueries = make([]ParseQueryOutput, len(model.SubQueries))
- for i, n := range model.SubQueries {
- m.SubQueries[i] = n
- }
-
+ copy(m.SubQueries, model.SubQueries)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_insights_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_insights_command_descriptor.go
index 6a629cbd0a8..9015a8b233f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_insights_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/add_insights_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *AddInsightsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *AddInsightsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/anomaly_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/anomaly_command_descriptor.go
index 2edbc0c8e61..689c45480d1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/anomaly_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/anomaly_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *AnomalyCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *AnomalyCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bottom_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bottom_command_descriptor.go
index d2e9f2cfaa0..943cd02b538 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bottom_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bottom_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *BottomCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *BottomCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Limit = model.Limit
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bucket_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bucket_command_descriptor.go
index 315f801670a..6eebe8c2e78 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bucket_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/bucket_command_descriptor.go
@@ -144,7 +144,6 @@ func (m *BucketCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -157,7 +156,6 @@ func (m *BucketCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.MaxBuckets = model.MaxBuckets
@@ -165,10 +163,7 @@ func (m *BucketCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.Span = model.Span
m.Ranges = make([]BucketRange, len(model.Ranges))
- for i, n := range model.Ranges {
- m.Ranges[i] = n
- }
-
+ copy(m.Ranges, model.Ranges)
m.DefaultValue = model.DefaultValue
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_column.go
index 87666460a03..fbf7a3c76bb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_column.go
@@ -198,10 +198,7 @@ func (m *ClassifyColumn) UnmarshalJSON(data []byte) (e error) {
m.SubSystem = model.SubSystem
m.Values = make([]FieldValue, len(model.Values))
- for i, n := range model.Values {
- m.Values[i] = n
- }
-
+ copy(m.Values, model.Values)
m.IsListOfValues = model.IsListOfValues
m.IsMultiValued = model.IsMultiValued
@@ -219,20 +216,11 @@ func (m *ClassifyColumn) UnmarshalJSON(data []byte) (e error) {
m.InternalName = model.InternalName
m.ClassifyFieldNames = make([]string, len(model.ClassifyFieldNames))
- for i, n := range model.ClassifyFieldNames {
- m.ClassifyFieldNames[i] = n
- }
-
+ copy(m.ClassifyFieldNames, model.ClassifyFieldNames)
m.ClassifyFieldNullCount = make([]int64, len(model.ClassifyFieldNullCount))
- for i, n := range model.ClassifyFieldNullCount {
- m.ClassifyFieldNullCount[i] = n
- }
-
+ copy(m.ClassifyFieldNullCount, model.ClassifyFieldNullCount)
m.ClassifyAnomalyIntervalCounts = make([]int64, len(model.ClassifyAnomalyIntervalCounts))
- for i, n := range model.ClassifyAnomalyIntervalCounts {
- m.ClassifyAnomalyIntervalCounts[i] = n
- }
-
+ copy(m.ClassifyAnomalyIntervalCounts, model.ClassifyAnomalyIntervalCounts)
m.ClassifyColumns = make([]AbstractColumn, len(model.ClassifyColumns))
for i, n := range model.ClassifyColumns {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -245,12 +233,8 @@ func (m *ClassifyColumn) UnmarshalJSON(data []byte) (e error) {
m.ClassifyColumns[i] = nil
}
}
-
m.ClassifyResult = make([]map[string]interface{}, len(model.ClassifyResult))
- for i, n := range model.ClassifyResult {
- m.ClassifyResult[i] = n
- }
-
+ copy(m.ClassifyResult, model.ClassifyResult)
m.ClassifyCorrelateColumns = make([]AbstractColumn, len(model.ClassifyCorrelateColumns))
for i, n := range model.ClassifyCorrelateColumns {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -263,11 +247,7 @@ func (m *ClassifyColumn) UnmarshalJSON(data []byte) (e error) {
m.ClassifyCorrelateColumns[i] = nil
}
}
-
m.ClassifyCorrelateResult = make([]map[string]interface{}, len(model.ClassifyCorrelateResult))
- for i, n := range model.ClassifyCorrelateResult {
- m.ClassifyCorrelateResult[i] = n
- }
-
+ copy(m.ClassifyCorrelateResult, model.ClassifyCorrelateResult)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_command_descriptor.go
index 0bfac54f8f0..19bc6597fdc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/classify_command_descriptor.go
@@ -140,7 +140,6 @@ func (m *ClassifyCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -153,7 +152,6 @@ func (m *ClassifyCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.TopCount = model.TopCount
@@ -161,10 +159,7 @@ func (m *ClassifyCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.BottomCount = model.BottomCount
m.Correlate = make([]FieldsAddRemoveField, len(model.Correlate))
- for i, n := range model.Correlate {
- m.Correlate[i] = n
- }
-
+ copy(m.Correlate, model.Correlate)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_command_descriptor.go
index baeb9d3d8e5..f2248daf8c2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *ClusterCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *ClusterCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_compare_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_compare_command_descriptor.go
index 3627a1c3759..b0189e30d0d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_compare_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_compare_command_descriptor.go
@@ -152,7 +152,6 @@ func (m *ClusterCompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -165,7 +164,6 @@ func (m *ClusterCompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.TimeShift = model.TimeShift
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_details_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_details_command_descriptor.go
index f6cd0bdb67b..2b713f3a928 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_details_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_details_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *ClusterDetailsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *ClusterDetailsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_split_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_split_command_descriptor.go
index 1d1c4c2dfb5..9f697035d6f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_split_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/cluster_split_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *ClusterSplitCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *ClusterSplitCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/command_descriptor.go
index 595f1c84272..879dd5bbc8c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/command_descriptor.go
@@ -128,7 +128,6 @@ func (m *CommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *CommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/compare_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/compare_command_descriptor.go
index 44961c4f072..603fe16a18e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/compare_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/compare_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *CompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *CompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_ingest_time_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_ingest_time_rule_details.go
index ca4eab28cc5..27e816b3b7c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_ingest_time_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_ingest_time_rule_details.go
@@ -107,6 +107,5 @@ func (m *CreateIngestTimeRuleDetails) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_scheduled_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_scheduled_task_details.go
index a0cc0cfce27..fcc3b7d255e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_scheduled_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_scheduled_task_details.go
@@ -39,10 +39,10 @@ type CreateScheduledTaskDetails interface {
type createscheduledtaskdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Kind string `json:"kind"`
}
@@ -89,26 +89,26 @@ func (m *createscheduledtaskdetails) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetCompartmentId returns CompartmentId
-func (m createscheduledtaskdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createscheduledtaskdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createscheduledtaskdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createscheduledtaskdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createscheduledtaskdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createscheduledtaskdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_standard_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_standard_task_details.go
index 02db9af3edf..639d21f3bdf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_standard_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_standard_task_details.go
@@ -140,7 +140,6 @@ func (m *CreateStandardTaskDetails) UnmarshalJSON(data []byte) (e error) {
m.Schedules[i] = nil
}
}
-
nn, e = model.Action.UnmarshalPolymorphicJSON(model.Action.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_view_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_view_command_descriptor.go
index 1db928892b5..99540e242b1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_view_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/create_view_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *CreateViewCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *CreateViewCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/dedup_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/dedup_command_descriptor.go
index cb5264b2ece..a9a2851ed05 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/dedup_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/dedup_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *DedupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *DedupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delete_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delete_command_descriptor.go
index bfacba92b5b..89fb5b80190 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delete_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delete_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *DeleteCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *DeleteCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.IsDryRun = model.IsDryRun
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delta_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delta_command_descriptor.go
index 655c41ff74e..9daededd733 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delta_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/delta_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *DeltaCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *DeltaCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Step = model.Step
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/demo_mode_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/demo_mode_command_descriptor.go
index b064fb739a6..801c66e62e8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/demo_mode_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/demo_mode_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *DemoModeCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *DemoModeCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/distinct_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/distinct_command_descriptor.go
index dbf868e80aa..f7021dfbc8a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/distinct_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/distinct_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *DistinctCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *DistinctCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/eval_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/eval_command_descriptor.go
index 8181f3ef79c..4ff0d949073 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/eval_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/eval_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *EvalCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *EvalCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/event_stats_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/event_stats_command_descriptor.go
index 643c0a52b00..77ed418f092 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/event_stats_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/event_stats_command_descriptor.go
@@ -136,7 +136,6 @@ func (m *EventStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -149,7 +148,6 @@ func (m *EventStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.GroupByFields = make([]AbstractField, len(model.GroupByFields))
@@ -164,12 +162,8 @@ func (m *EventStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.GroupByFields[i] = nil
}
}
-
m.Functions = make([]FunctionField, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/extract_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/extract_command_descriptor.go
index b8a7b7cc5a0..21ad6562afe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/extract_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/extract_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *ExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *ExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/field_summary_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/field_summary_command_descriptor.go
index 3d68b7e7d91..1959b3a980a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/field_summary_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/field_summary_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *FieldSummaryCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *FieldSummaryCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.MaxValues = model.MaxValues
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/fields_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/fields_command_descriptor.go
index 0d557bb14f7..632c8d6736f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/fields_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/fields_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *FieldsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *FieldsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/frequent_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/frequent_command_descriptor.go
index deb5b052b2e..c7220b15e81 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/frequent_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/frequent_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *FrequentCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *FrequentCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/function_field.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/function_field.go
index bb61c2b5f54..bf49d0d6317 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/function_field.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/function_field.go
@@ -167,10 +167,7 @@ func (m *FunctionField) UnmarshalJSON(data []byte) (e error) {
m.IsDeclared = model.IsDeclared
m.OriginalDisplayNames = make([]string, len(model.OriginalDisplayNames))
- for i, n := range model.OriginalDisplayNames {
- m.OriginalDisplayNames[i] = n
- }
-
+ copy(m.OriginalDisplayNames, model.OriginalDisplayNames)
m.InternalName = model.InternalName
m.ValueType = model.ValueType
@@ -199,6 +196,5 @@ func (m *FunctionField) UnmarshalJSON(data []byte) (e error) {
m.Arguments[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/geo_stats_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/geo_stats_command_descriptor.go
index 9258adbd446..c266574ab72 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/geo_stats_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/geo_stats_command_descriptor.go
@@ -163,7 +163,6 @@ func (m *GeoStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -176,7 +175,6 @@ func (m *GeoStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Include = model.Include
@@ -243,12 +241,8 @@ func (m *GeoStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.GroupByFields[i] = nil
}
}
-
m.Functions = make([]FunctionField, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/head_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/head_command_descriptor.go
index f296a94ab70..ce34c1a2a75 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/head_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/head_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *HeadCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *HeadCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Limit = model.Limit
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_command_descriptor.go
index b6ca5584aae..853f7c9309f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_command_descriptor.go
@@ -140,7 +140,6 @@ func (m *HighlightCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -153,21 +152,14 @@ func (m *HighlightCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Color = model.Color
m.Fields = make([]string, len(model.Fields))
- for i, n := range model.Fields {
- m.Fields[i] = n
- }
-
+ copy(m.Fields, model.Fields)
m.Keywords = make([]string, len(model.Keywords))
- for i, n := range model.Keywords {
- m.Keywords[i] = n
- }
-
+ copy(m.Keywords, model.Keywords)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_groups_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_groups_command_descriptor.go
index 00f05c68a00..f7de95d8ed2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_groups_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_groups_command_descriptor.go
@@ -152,7 +152,6 @@ func (m *HighlightGroupsCommandDescriptor) UnmarshalJSON(data []byte) (e error)
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -165,7 +164,6 @@ func (m *HighlightGroupsCommandDescriptor) UnmarshalJSON(data []byte) (e error)
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Color = model.Color
@@ -173,25 +171,13 @@ func (m *HighlightGroupsCommandDescriptor) UnmarshalJSON(data []byte) (e error)
m.Priority = model.Priority
m.MatchOnly = make([]string, len(model.MatchOnly))
- for i, n := range model.MatchOnly {
- m.MatchOnly[i] = n
- }
-
+ copy(m.MatchOnly, model.MatchOnly)
m.Fields = make([]string, len(model.Fields))
- for i, n := range model.Fields {
- m.Fields[i] = n
- }
-
+ copy(m.Fields, model.Fields)
m.Keywords = make([]string, len(model.Keywords))
- for i, n := range model.Keywords {
- m.Keywords[i] = n
- }
-
+ copy(m.Keywords, model.Keywords)
m.SubQueries = make([]ParseQueryOutput, len(model.SubQueries))
- for i, n := range model.SubQueries {
- m.SubQueries[i] = n
- }
-
+ copy(m.SubQueries, model.SubQueries)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_rows_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_rows_command_descriptor.go
index b699b2b5908..eac525a6b5f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_rows_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/highlight_rows_command_descriptor.go
@@ -136,7 +136,6 @@ func (m *HighlightRowsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -149,16 +148,12 @@ func (m *HighlightRowsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Color = model.Color
m.Keywords = make([]string, len(model.Keywords))
- for i, n := range model.Keywords {
- m.Keywords[i] = n
- }
-
+ copy(m.Keywords, model.Keywords)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/ingest_time_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/ingest_time_rule.go
index 58a36f949e7..8e7e254e35c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/ingest_time_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/ingest_time_rule.go
@@ -135,7 +135,6 @@ func (m *IngestTimeRule) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.Id = model.Id
m.CompartmentId = model.CompartmentId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/json_extract_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/json_extract_command_descriptor.go
index b4adca529bc..5c53546761d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/json_extract_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/json_extract_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *JsonExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *JsonExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_command_descriptor.go
index e64a9a3c7dc..bcdd43656d5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_command_descriptor.go
@@ -140,7 +140,6 @@ func (m *LinkCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -153,7 +152,6 @@ func (m *LinkCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.ShouldIncludeNulls = model.ShouldIncludeNulls
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_details_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_details_command_descriptor.go
index 54c8ac640d7..8d350a7ba1e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_details_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/link_details_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *LinkDetailsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *LinkDetailsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source.go
index 46bea2b5e84..d260028dcee 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source.go
@@ -205,63 +205,33 @@ func (m *LogAnalyticsSource) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.LabelConditions = make([]LogAnalyticsSourceLabelCondition, len(model.LabelConditions))
- for i, n := range model.LabelConditions {
- m.LabelConditions[i] = n
- }
-
+ copy(m.LabelConditions, model.LabelConditions)
m.AssociationCount = model.AssociationCount
m.AssociationEntity = make([]LogAnalyticsAssociation, len(model.AssociationEntity))
- for i, n := range model.AssociationEntity {
- m.AssociationEntity[i] = n
- }
-
+ copy(m.AssociationEntity, model.AssociationEntity)
m.DataFilterDefinitions = make([]LogAnalyticsSourceDataFilter, len(model.DataFilterDefinitions))
- for i, n := range model.DataFilterDefinitions {
- m.DataFilterDefinitions[i] = n
- }
-
+ copy(m.DataFilterDefinitions, model.DataFilterDefinitions)
m.DatabaseCredential = model.DatabaseCredential
m.ExtendedFieldDefinitions = make([]LogAnalyticsSourceExtendedFieldDefinition, len(model.ExtendedFieldDefinitions))
- for i, n := range model.ExtendedFieldDefinitions {
- m.ExtendedFieldDefinitions[i] = n
- }
-
+ copy(m.ExtendedFieldDefinitions, model.ExtendedFieldDefinitions)
m.IsForCloud = model.IsForCloud
m.Labels = make([]LogAnalyticsLabelView, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.MetricDefinitions = make([]LogAnalyticsMetric, len(model.MetricDefinitions))
- for i, n := range model.MetricDefinitions {
- m.MetricDefinitions[i] = n
- }
-
+ copy(m.MetricDefinitions, model.MetricDefinitions)
m.Metrics = make([]LogAnalyticsSourceMetric, len(model.Metrics))
- for i, n := range model.Metrics {
- m.Metrics[i] = n
- }
-
+ copy(m.Metrics, model.Metrics)
m.OobParsers = make([]LogAnalyticsParser, len(model.OobParsers))
- for i, n := range model.OobParsers {
- m.OobParsers[i] = n
- }
-
+ copy(m.OobParsers, model.OobParsers)
m.Parameters = make([]LogAnalyticsParameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.PatternCount = model.PatternCount
m.Patterns = make([]LogAnalyticsSourcePattern, len(model.Patterns))
- for i, n := range model.Patterns {
- m.Patterns[i] = n
- }
-
+ copy(m.Patterns, model.Patterns)
m.Description = model.Description
m.DisplayName = model.DisplayName
@@ -269,10 +239,7 @@ func (m *LogAnalyticsSource) UnmarshalJSON(data []byte) (e error) {
m.EditVersion = model.EditVersion
m.Functions = make([]LogAnalyticsSourceFunction, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.SourceId = model.SourceId
m.Name = model.Name
@@ -282,10 +249,7 @@ func (m *LogAnalyticsSource) UnmarshalJSON(data []byte) (e error) {
m.IsSystem = model.IsSystem
m.Parsers = make([]LogAnalyticsParser, len(model.Parsers))
- for i, n := range model.Parsers {
- m.Parsers[i] = n
- }
-
+ copy(m.Parsers, model.Parsers)
m.IsAutoAssociationEnabled = model.IsAutoAssociationEnabled
m.IsAutoAssociationOverride = model.IsAutoAssociationOverride
@@ -299,39 +263,21 @@ func (m *LogAnalyticsSource) UnmarshalJSON(data []byte) (e error) {
m.WarningConfig = model.WarningConfig
m.MetadataFields = make([]LogAnalyticsSourceMetadataField, len(model.MetadataFields))
- for i, n := range model.MetadataFields {
- m.MetadataFields[i] = n
- }
-
+ copy(m.MetadataFields, model.MetadataFields)
m.LabelDefinitions = make([]LogAnalyticsLabelDefinition, len(model.LabelDefinitions))
- for i, n := range model.LabelDefinitions {
- m.LabelDefinitions[i] = n
- }
-
+ copy(m.LabelDefinitions, model.LabelDefinitions)
m.EntityTypes = make([]LogAnalyticsSourceEntityType, len(model.EntityTypes))
- for i, n := range model.EntityTypes {
- m.EntityTypes[i] = n
- }
-
+ copy(m.EntityTypes, model.EntityTypes)
m.IsTimezoneOverride = model.IsTimezoneOverride
m.UserParsers = make([]LogAnalyticsParser, len(model.UserParsers))
- for i, n := range model.UserParsers {
- m.UserParsers[i] = n
- }
-
+ copy(m.UserParsers, model.UserParsers)
m.TimeUpdated = model.TimeUpdated
m.EventTypes = make([]EventType, len(model.EventTypes))
- for i, n := range model.EventTypes {
- m.EventTypes[i] = n
- }
-
+ copy(m.EventTypes, model.EventTypes)
m.Categories = make([]LogAnalyticsCategory, len(model.Categories))
- for i, n := range model.Categories {
- m.Categories[i] = n
- }
-
+ copy(m.Categories, model.Categories)
m.Endpoints = make([]LogAnalyticsEndpoint, len(model.Endpoints))
for i, n := range model.Endpoints {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -344,11 +290,7 @@ func (m *LogAnalyticsSource) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
m.SourceProperties = make([]LogAnalyticsProperty, len(model.SourceProperties))
- for i, n := range model.SourceProperties {
- m.SourceProperties[i] = n
- }
-
+ copy(m.SourceProperties, model.SourceProperties)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source_summary.go
index 905fcd7c138..fc5078385b6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/log_analytics_source_summary.go
@@ -196,63 +196,33 @@ func (m *LogAnalyticsSourceSummary) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.LabelConditions = make([]LogAnalyticsSourceLabelCondition, len(model.LabelConditions))
- for i, n := range model.LabelConditions {
- m.LabelConditions[i] = n
- }
-
+ copy(m.LabelConditions, model.LabelConditions)
m.AssociationCount = model.AssociationCount
m.AssociationEntity = make([]LogAnalyticsAssociation, len(model.AssociationEntity))
- for i, n := range model.AssociationEntity {
- m.AssociationEntity[i] = n
- }
-
+ copy(m.AssociationEntity, model.AssociationEntity)
m.DataFilterDefinitions = make([]LogAnalyticsSourceDataFilter, len(model.DataFilterDefinitions))
- for i, n := range model.DataFilterDefinitions {
- m.DataFilterDefinitions[i] = n
- }
-
+ copy(m.DataFilterDefinitions, model.DataFilterDefinitions)
m.DatabaseCredential = model.DatabaseCredential
m.ExtendedFieldDefinitions = make([]LogAnalyticsSourceExtendedFieldDefinition, len(model.ExtendedFieldDefinitions))
- for i, n := range model.ExtendedFieldDefinitions {
- m.ExtendedFieldDefinitions[i] = n
- }
-
+ copy(m.ExtendedFieldDefinitions, model.ExtendedFieldDefinitions)
m.IsForCloud = model.IsForCloud
m.Labels = make([]LogAnalyticsLabelView, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.MetricDefinitions = make([]LogAnalyticsMetric, len(model.MetricDefinitions))
- for i, n := range model.MetricDefinitions {
- m.MetricDefinitions[i] = n
- }
-
+ copy(m.MetricDefinitions, model.MetricDefinitions)
m.Metrics = make([]LogAnalyticsSourceMetric, len(model.Metrics))
- for i, n := range model.Metrics {
- m.Metrics[i] = n
- }
-
+ copy(m.Metrics, model.Metrics)
m.OobParsers = make([]LogAnalyticsParser, len(model.OobParsers))
- for i, n := range model.OobParsers {
- m.OobParsers[i] = n
- }
-
+ copy(m.OobParsers, model.OobParsers)
m.Parameters = make([]LogAnalyticsParameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.PatternCount = model.PatternCount
m.Patterns = make([]LogAnalyticsSourcePattern, len(model.Patterns))
- for i, n := range model.Patterns {
- m.Patterns[i] = n
- }
-
+ copy(m.Patterns, model.Patterns)
m.Description = model.Description
m.DisplayName = model.DisplayName
@@ -260,10 +230,7 @@ func (m *LogAnalyticsSourceSummary) UnmarshalJSON(data []byte) (e error) {
m.EditVersion = model.EditVersion
m.Functions = make([]LogAnalyticsSourceFunction, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.SourceId = model.SourceId
m.Name = model.Name
@@ -273,10 +240,7 @@ func (m *LogAnalyticsSourceSummary) UnmarshalJSON(data []byte) (e error) {
m.IsSystem = model.IsSystem
m.Parsers = make([]LogAnalyticsParser, len(model.Parsers))
- for i, n := range model.Parsers {
- m.Parsers[i] = n
- }
-
+ copy(m.Parsers, model.Parsers)
m.IsAutoAssociationEnabled = model.IsAutoAssociationEnabled
m.IsAutoAssociationOverride = model.IsAutoAssociationOverride
@@ -290,27 +254,15 @@ func (m *LogAnalyticsSourceSummary) UnmarshalJSON(data []byte) (e error) {
m.WarningConfig = model.WarningConfig
m.MetadataFields = make([]LogAnalyticsSourceMetadataField, len(model.MetadataFields))
- for i, n := range model.MetadataFields {
- m.MetadataFields[i] = n
- }
-
+ copy(m.MetadataFields, model.MetadataFields)
m.LabelDefinitions = make([]LogAnalyticsLabelDefinition, len(model.LabelDefinitions))
- for i, n := range model.LabelDefinitions {
- m.LabelDefinitions[i] = n
- }
-
+ copy(m.LabelDefinitions, model.LabelDefinitions)
m.EntityTypes = make([]LogAnalyticsSourceEntityType, len(model.EntityTypes))
- for i, n := range model.EntityTypes {
- m.EntityTypes[i] = n
- }
-
+ copy(m.EntityTypes, model.EntityTypes)
m.IsTimezoneOverride = model.IsTimezoneOverride
m.UserParsers = make([]LogAnalyticsParser, len(model.UserParsers))
- for i, n := range model.UserParsers {
- m.UserParsers[i] = n
- }
-
+ copy(m.UserParsers, model.UserParsers)
m.TimeUpdated = model.TimeUpdated
m.Endpoints = make([]LogAnalyticsEndpoint, len(model.Endpoints))
@@ -325,11 +277,7 @@ func (m *LogAnalyticsSourceSummary) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
m.SourceProperties = make([]LogAnalyticsProperty, len(model.SourceProperties))
- for i, n := range model.SourceProperties {
- m.SourceProperties[i] = n
- }
-
+ copy(m.SourceProperties, model.SourceProperties)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/loganalytics_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/loganalytics_client.go
index bb4b595c231..2669da50673 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/loganalytics_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/loganalytics_client.go
@@ -80,7 +80,7 @@ func (client *LogAnalyticsClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/lookup_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/lookup_command_descriptor.go
index 608544c026e..f3b6bf408f6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/lookup_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/lookup_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *LookupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *LookupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/macro_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/macro_command_descriptor.go
index 13162e86412..1ae71e98e7d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/macro_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/macro_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *MacroCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *MacroCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/map_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/map_command_descriptor.go
index 15be088e40d..ca9f22aea37 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/map_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/map_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *MapCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *MapCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/module_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/module_command_descriptor.go
index d643fe2a554..18c5a5c7a25 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/module_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/module_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *ModuleCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *ModuleCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/multi_search_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/multi_search_command_descriptor.go
index eeeb9f0096c..b714737deaf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/multi_search_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/multi_search_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *MultiSearchCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,14 +144,10 @@ func (m *MultiSearchCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.SubQueries = make([]ParseQueryOutput, len(model.SubQueries))
- for i, n := range model.SubQueries {
- m.SubQueries[i] = n
- }
-
+ copy(m.SubQueries, model.SubQueries)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/nlp_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/nlp_command_descriptor.go
index 240027326fa..240ccf7efc4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/nlp_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/nlp_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *NlpCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *NlpCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/outlier_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/outlier_command_descriptor.go
index f294f9770a2..4683d7ff50b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/outlier_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/outlier_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *OutlierCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *OutlierCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/parse_query_output.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/parse_query_output.go
index d45c626a474..9773b44c4a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/parse_query_output.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/parse_query_output.go
@@ -78,7 +78,6 @@ func (m *ParseQueryOutput) UnmarshalJSON(data []byte) (e error) {
m.Columns[i] = nil
}
}
-
m.ResponseTimeInMs = model.ResponseTimeInMs
m.Commands = make([]AbstractCommandDescriptor, len(model.Commands))
@@ -93,7 +92,6 @@ func (m *ParseQueryOutput) UnmarshalJSON(data []byte) (e error) {
m.Commands[i] = nil
}
}
-
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/query_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/query_aggregation.go
index a35ae7d1e01..3b9d098225a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/query_aggregation.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/query_aggregation.go
@@ -108,7 +108,6 @@ func (m *QueryAggregation) UnmarshalJSON(data []byte) (e error) {
m.Columns[i] = nil
}
}
-
m.Fields = make([]AbstractColumn, len(model.Fields))
for i, n := range model.Fields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -121,12 +120,8 @@ func (m *QueryAggregation) UnmarshalJSON(data []byte) (e error) {
m.Fields[i] = nil
}
}
-
m.Items = make([]map[string]interface{}, len(model.Items))
- for i, n := range model.Items {
- m.Items[i] = n
- }
-
+ copy(m.Items, model.Items)
m.QueryExecutionTimeInMs = model.QueryExecutionTimeInMs
m.PercentComplete = model.PercentComplete
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rare_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rare_command_descriptor.go
index 536267e0056..ecc7a4bcfd2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rare_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rare_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *RareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *RareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/regex_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/regex_command_descriptor.go
index c30a546567e..543f3bf0464 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/regex_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/regex_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *RegexCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *RegexCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rename_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rename_command_descriptor.go
index e16ffd2df2f..85e9e48be57 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rename_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/rename_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *RenameCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *RenameCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/schedule.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/schedule.go
index bb7276f61e6..d7b04982d9a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/schedule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/schedule.go
@@ -75,12 +75,12 @@ func (m *schedule) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetMisfirePolicy returns MisfirePolicy
+// GetMisfirePolicy returns MisfirePolicy
func (m schedule) GetMisfirePolicy() ScheduleMisfirePolicyEnum {
return m.MisfirePolicy
}
-//GetTimeOfFirstExecution returns TimeOfFirstExecution
+// GetTimeOfFirstExecution returns TimeOfFirstExecution
func (m schedule) GetTimeOfFirstExecution() *common.SDKTime {
return m.TimeOfFirstExecution
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/scheduled_task.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/scheduled_task.go
index 6e318f7ed0c..3546728d6ff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/scheduled_task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/scheduled_task.go
@@ -75,22 +75,22 @@ type ScheduledTask interface {
type scheduledtask struct {
JsonData []byte
+ TaskStatus ScheduledTaskTaskStatusEnum `mandatory:"false" json:"taskStatus,omitempty"`
+ PauseReason ScheduledTaskPauseReasonEnum `mandatory:"false" json:"pauseReason,omitempty"`
+ WorkRequestId *string `mandatory:"false" json:"workRequestId"`
+ NumOccurrences *int64 `mandatory:"false" json:"numOccurrences"`
+ TimeOfNextExecution *common.SDKTime `mandatory:"false" json:"timeOfNextExecution"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
TaskType TaskTypeEnum `mandatory:"true" json:"taskType"`
Schedules json.RawMessage `mandatory:"true" json:"schedules"`
- Action Action `mandatory:"true" json:"action"`
+ Action action `mandatory:"true" json:"action"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
LifecycleState ScheduledTaskLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- TaskStatus ScheduledTaskTaskStatusEnum `mandatory:"false" json:"taskStatus,omitempty"`
- PauseReason ScheduledTaskPauseReasonEnum `mandatory:"false" json:"pauseReason,omitempty"`
- WorkRequestId *string `mandatory:"false" json:"workRequestId"`
- NumOccurrences *int64 `mandatory:"false" json:"numOccurrences"`
- TimeOfNextExecution *common.SDKTime `mandatory:"false" json:"timeOfNextExecution"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Kind string `json:"kind"`
}
@@ -145,86 +145,86 @@ func (m *scheduledtask) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetId returns Id
+// GetTaskStatus returns TaskStatus
+func (m scheduledtask) GetTaskStatus() ScheduledTaskTaskStatusEnum {
+ return m.TaskStatus
+}
+
+// GetPauseReason returns PauseReason
+func (m scheduledtask) GetPauseReason() ScheduledTaskPauseReasonEnum {
+ return m.PauseReason
+}
+
+// GetWorkRequestId returns WorkRequestId
+func (m scheduledtask) GetWorkRequestId() *string {
+ return m.WorkRequestId
+}
+
+// GetNumOccurrences returns NumOccurrences
+func (m scheduledtask) GetNumOccurrences() *int64 {
+ return m.NumOccurrences
+}
+
+// GetTimeOfNextExecution returns TimeOfNextExecution
+func (m scheduledtask) GetTimeOfNextExecution() *common.SDKTime {
+ return m.TimeOfNextExecution
+}
+
+// GetFreeformTags returns FreeformTags
+func (m scheduledtask) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m scheduledtask) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetId returns Id
func (m scheduledtask) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m scheduledtask) GetDisplayName() *string {
return m.DisplayName
}
-//GetTaskType returns TaskType
+// GetTaskType returns TaskType
func (m scheduledtask) GetTaskType() TaskTypeEnum {
return m.TaskType
}
-//GetSchedules returns Schedules
+// GetSchedules returns Schedules
func (m scheduledtask) GetSchedules() json.RawMessage {
return m.Schedules
}
-//GetAction returns Action
-func (m scheduledtask) GetAction() Action {
+// GetAction returns Action
+func (m scheduledtask) GetAction() action {
return m.Action
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m scheduledtask) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m scheduledtask) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m scheduledtask) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m scheduledtask) GetLifecycleState() ScheduledTaskLifecycleStateEnum {
return m.LifecycleState
}
-//GetTaskStatus returns TaskStatus
-func (m scheduledtask) GetTaskStatus() ScheduledTaskTaskStatusEnum {
- return m.TaskStatus
-}
-
-//GetPauseReason returns PauseReason
-func (m scheduledtask) GetPauseReason() ScheduledTaskPauseReasonEnum {
- return m.PauseReason
-}
-
-//GetWorkRequestId returns WorkRequestId
-func (m scheduledtask) GetWorkRequestId() *string {
- return m.WorkRequestId
-}
-
-//GetNumOccurrences returns NumOccurrences
-func (m scheduledtask) GetNumOccurrences() *int64 {
- return m.NumOccurrences
-}
-
-//GetTimeOfNextExecution returns TimeOfNextExecution
-func (m scheduledtask) GetTimeOfNextExecution() *common.SDKTime {
- return m.TimeOfNextExecution
-}
-
-//GetFreeformTags returns FreeformTags
-func (m scheduledtask) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m scheduledtask) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m scheduledtask) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_command_descriptor.go
index e6ad2319122..9f156a964aa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *SearchCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,14 +144,10 @@ func (m *SearchCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.SubQueries = make([]ParseQueryOutput, len(model.SubQueries))
- for i, n := range model.SubQueries {
- m.SubQueries[i] = n
- }
-
+ copy(m.SubQueries, model.SubQueries)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_lookup_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_lookup_command_descriptor.go
index 7d1d4fff454..1e95cb80843 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_lookup_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/search_lookup_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *SearchLookupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *SearchLookupCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/sort_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/sort_command_descriptor.go
index 1055de7da29..42e9f382ef7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/sort_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/sort_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *SortCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *SortCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/standard_task.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/standard_task.go
index cb2e0f64419..d16f6432f4d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/standard_task.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/standard_task.go
@@ -268,7 +268,6 @@ func (m *StandardTask) UnmarshalJSON(data []byte) (e error) {
m.Schedules[i] = nil
}
}
-
nn, e = model.Action.UnmarshalPolymorphicJSON(model.Action.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/stats_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/stats_command_descriptor.go
index c11685989df..7ea9d15b760 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/stats_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/stats_command_descriptor.go
@@ -136,7 +136,6 @@ func (m *StatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -149,7 +148,6 @@ func (m *StatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.GroupByFields = make([]AbstractField, len(model.GroupByFields))
@@ -164,12 +162,8 @@ func (m *StatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.GroupByFields[i] = nil
}
}
-
m.Functions = make([]FunctionField, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/table_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/table_column.go
index 0a4b7f82d5d..8500232e773 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/table_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/table_column.go
@@ -178,10 +178,7 @@ func (m *TableColumn) UnmarshalJSON(data []byte) (e error) {
m.SubSystem = model.SubSystem
m.Values = make([]FieldValue, len(model.Values))
- for i, n := range model.Values {
- m.Values[i] = n
- }
-
+ copy(m.Values, model.Values)
m.IsListOfValues = model.IsListOfValues
m.IsMultiValued = model.IsMultiValued
@@ -210,11 +207,7 @@ func (m *TableColumn) UnmarshalJSON(data []byte) (e error) {
m.Columns[i] = nil
}
}
-
m.Result = make([]map[string]interface{}, len(model.Result))
- for i, n := range model.Result {
- m.Result[i] = n
- }
-
+ copy(m.Result, model.Result)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/tail_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/tail_command_descriptor.go
index 83bb8583bff..50b4a6ea9d7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/tail_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/tail_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *TailCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *TailCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Limit = model.Limit
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_column.go
index 38717fda970..be26b3bea63 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_column.go
@@ -190,10 +190,7 @@ func (m *TimeClusterColumn) UnmarshalJSON(data []byte) (e error) {
m.SubSystem = model.SubSystem
m.Values = make([]FieldValue, len(model.Values))
- for i, n := range model.Values {
- m.Values[i] = n
- }
-
+ copy(m.Values, model.Values)
m.IsListOfValues = model.IsListOfValues
m.IsMultiValued = model.IsMultiValued
@@ -213,10 +210,7 @@ func (m *TimeClusterColumn) UnmarshalJSON(data []byte) (e error) {
m.IntervalGap = model.IntervalGap
m.Intervals = make([]int64, len(model.Intervals))
- for i, n := range model.Intervals {
- m.Intervals[i] = n
- }
-
+ copy(m.Intervals, model.Intervals)
m.GroupByColumns = make([]AbstractColumn, len(model.GroupByColumns))
for i, n := range model.GroupByColumns {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -229,13 +223,9 @@ func (m *TimeClusterColumn) UnmarshalJSON(data []byte) (e error) {
m.GroupByColumns[i] = nil
}
}
-
m.Clusters = model.Clusters
m.Series = make([]TimeClusterDataColumn, len(model.Series))
- for i, n := range model.Series {
- m.Series[i] = n
- }
-
+ copy(m.Series, model.Series)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_command_descriptor.go
index a57a69fbe2e..a8cd7d668be 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_command_descriptor.go
@@ -144,7 +144,6 @@ func (m *TimeClusterCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -157,7 +156,6 @@ func (m *TimeClusterCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
nn, e = model.Time.UnmarshalPolymorphicJSON(model.Time.JsonData)
@@ -184,12 +182,8 @@ func (m *TimeClusterCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.GroupByFields[i] = nil
}
}
-
m.Functions = make([]FunctionField, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_data_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_data_column.go
index 01e6b2e3abe..865bdcfbcd5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_data_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_cluster_data_column.go
@@ -178,10 +178,7 @@ func (m *TimeClusterDataColumn) UnmarshalJSON(data []byte) (e error) {
m.SubSystem = model.SubSystem
m.Values = make([]FieldValue, len(model.Values))
- for i, n := range model.Values {
- m.Values[i] = n
- }
-
+ copy(m.Values, model.Values)
m.IsListOfValues = model.IsListOfValues
m.IsMultiValued = model.IsMultiValued
@@ -210,11 +207,7 @@ func (m *TimeClusterDataColumn) UnmarshalJSON(data []byte) (e error) {
m.Columns[i] = nil
}
}
-
m.Result = make([]map[string]interface{}, len(model.Result))
- for i, n := range model.Result {
- m.Result[i] = n
- }
-
+ copy(m.Result, model.Result)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_compare_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_compare_command_descriptor.go
index fa9d4bbe2d4..1aa8d04582a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_compare_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_compare_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *TimeCompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *TimeCompareCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_command_descriptor.go
index cb240b1d24a..f4eb8184589 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_command_descriptor.go
@@ -144,7 +144,6 @@ func (m *TimeStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -157,7 +156,6 @@ func (m *TimeStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
nn, e = model.Time.UnmarshalPolymorphicJSON(model.Time.JsonData)
@@ -184,12 +182,8 @@ func (m *TimeStatsCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.GroupByFields[i] = nil
}
}
-
m.Functions = make([]FunctionField, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.DisplayQueryString = model.DisplayQueryString
m.InternalQueryString = model.InternalQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_data_column.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_data_column.go
index 0fbc9410a03..3f74dd9b97e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_data_column.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/time_stats_data_column.go
@@ -190,10 +190,7 @@ func (m *TimeStatsDataColumn) UnmarshalJSON(data []byte) (e error) {
m.SubSystem = model.SubSystem
m.Values = make([]FieldValue, len(model.Values))
- for i, n := range model.Values {
- m.Values[i] = n
- }
-
+ copy(m.Values, model.Values)
m.IsListOfValues = model.IsListOfValues
m.IsMultiValued = model.IsMultiValued
@@ -222,12 +219,8 @@ func (m *TimeStatsDataColumn) UnmarshalJSON(data []byte) (e error) {
m.Columns[i] = nil
}
}
-
m.Result = make([]map[string]interface{}, len(model.Result))
- for i, n := range model.Result {
- m.Result[i] = n
- }
-
+ copy(m.Result, model.Result)
m.ResultCount = model.ResultCount
m.TotalCount = model.TotalCount
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/top_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/top_command_descriptor.go
index 96204519c9c..3fd0eeac47f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/top_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/top_command_descriptor.go
@@ -132,7 +132,6 @@ func (m *TopCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -145,7 +144,6 @@ func (m *TopCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.Limit = model.Limit
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_scheduled_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_scheduled_task_details.go
index 4ac4da23eaa..6bc9e03cab4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_scheduled_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_scheduled_task_details.go
@@ -86,22 +86,22 @@ func (m *updatescheduledtaskdetails) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatescheduledtaskdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatescheduledtaskdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatescheduledtaskdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSchedules returns Schedules
+// GetSchedules returns Schedules
func (m updatescheduledtaskdetails) GetSchedules() json.RawMessage {
return m.Schedules
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_standard_task_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_standard_task_details.go
index ca09a0e1c60..0d16152b343 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_standard_task_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/update_standard_task_details.go
@@ -123,7 +123,6 @@ func (m *UpdateStandardTaskDetails) UnmarshalJSON(data []byte) (e error) {
m.Schedules[i] = nil
}
}
-
nn, e = model.Action.UnmarshalPolymorphicJSON(model.Action.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/upsert_log_analytics_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/upsert_log_analytics_source_details.go
index f267ddb6deb..0cb371fdb97 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/upsert_log_analytics_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/upsert_log_analytics_source_details.go
@@ -173,54 +173,27 @@ func (m *UpsertLogAnalyticsSourceDetails) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.LabelConditions = make([]LogAnalyticsSourceLabelCondition, len(model.LabelConditions))
- for i, n := range model.LabelConditions {
- m.LabelConditions[i] = n
- }
-
+ copy(m.LabelConditions, model.LabelConditions)
m.DataFilterDefinitions = make([]LogAnalyticsSourceDataFilter, len(model.DataFilterDefinitions))
- for i, n := range model.DataFilterDefinitions {
- m.DataFilterDefinitions[i] = n
- }
-
+ copy(m.DataFilterDefinitions, model.DataFilterDefinitions)
m.DatabaseCredential = model.DatabaseCredential
m.ExtendedFieldDefinitions = make([]LogAnalyticsSourceExtendedFieldDefinition, len(model.ExtendedFieldDefinitions))
- for i, n := range model.ExtendedFieldDefinitions {
- m.ExtendedFieldDefinitions[i] = n
- }
-
+ copy(m.ExtendedFieldDefinitions, model.ExtendedFieldDefinitions)
m.IsForCloud = model.IsForCloud
m.Labels = make([]LogAnalyticsLabelView, len(model.Labels))
- for i, n := range model.Labels {
- m.Labels[i] = n
- }
-
+ copy(m.Labels, model.Labels)
m.MetricDefinitions = make([]LogAnalyticsMetric, len(model.MetricDefinitions))
- for i, n := range model.MetricDefinitions {
- m.MetricDefinitions[i] = n
- }
-
+ copy(m.MetricDefinitions, model.MetricDefinitions)
m.Metrics = make([]LogAnalyticsSourceMetric, len(model.Metrics))
- for i, n := range model.Metrics {
- m.Metrics[i] = n
- }
-
+ copy(m.Metrics, model.Metrics)
m.OobParsers = make([]LogAnalyticsParser, len(model.OobParsers))
- for i, n := range model.OobParsers {
- m.OobParsers[i] = n
- }
-
+ copy(m.OobParsers, model.OobParsers)
m.Parameters = make([]LogAnalyticsParameter, len(model.Parameters))
- for i, n := range model.Parameters {
- m.Parameters[i] = n
- }
-
+ copy(m.Parameters, model.Parameters)
m.Patterns = make([]LogAnalyticsSourcePattern, len(model.Patterns))
- for i, n := range model.Patterns {
- m.Patterns[i] = n
- }
-
+ copy(m.Patterns, model.Patterns)
m.Description = model.Description
m.DisplayName = model.DisplayName
@@ -228,10 +201,7 @@ func (m *UpsertLogAnalyticsSourceDetails) UnmarshalJSON(data []byte) (e error) {
m.EditVersion = model.EditVersion
m.Functions = make([]LogAnalyticsSourceFunction, len(model.Functions))
- for i, n := range model.Functions {
- m.Functions[i] = n
- }
-
+ copy(m.Functions, model.Functions)
m.SourceId = model.SourceId
m.Name = model.Name
@@ -241,10 +211,7 @@ func (m *UpsertLogAnalyticsSourceDetails) UnmarshalJSON(data []byte) (e error) {
m.IsSystem = model.IsSystem
m.Parsers = make([]LogAnalyticsParser, len(model.Parsers))
- for i, n := range model.Parsers {
- m.Parsers[i] = n
- }
-
+ copy(m.Parsers, model.Parsers)
m.RuleId = model.RuleId
m.TypeName = model.TypeName
@@ -252,32 +219,17 @@ func (m *UpsertLogAnalyticsSourceDetails) UnmarshalJSON(data []byte) (e error) {
m.WarningConfig = model.WarningConfig
m.MetadataFields = make([]LogAnalyticsSourceMetadataField, len(model.MetadataFields))
- for i, n := range model.MetadataFields {
- m.MetadataFields[i] = n
- }
-
+ copy(m.MetadataFields, model.MetadataFields)
m.LabelDefinitions = make([]LogAnalyticsLabelDefinition, len(model.LabelDefinitions))
- for i, n := range model.LabelDefinitions {
- m.LabelDefinitions[i] = n
- }
-
+ copy(m.LabelDefinitions, model.LabelDefinitions)
m.EntityTypes = make([]LogAnalyticsSourceEntityType, len(model.EntityTypes))
- for i, n := range model.EntityTypes {
- m.EntityTypes[i] = n
- }
-
+ copy(m.EntityTypes, model.EntityTypes)
m.IsTimezoneOverride = model.IsTimezoneOverride
m.UserParsers = make([]LogAnalyticsParser, len(model.UserParsers))
- for i, n := range model.UserParsers {
- m.UserParsers[i] = n
- }
-
+ copy(m.UserParsers, model.UserParsers)
m.Categories = make([]LogAnalyticsCategory, len(model.Categories))
- for i, n := range model.Categories {
- m.Categories[i] = n
- }
-
+ copy(m.Categories, model.Categories)
m.Endpoints = make([]LogAnalyticsEndpoint, len(model.Endpoints))
for i, n := range model.Endpoints {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -290,11 +242,7 @@ func (m *UpsertLogAnalyticsSourceDetails) UnmarshalJSON(data []byte) (e error) {
m.Endpoints[i] = nil
}
}
-
m.SourceProperties = make([]LogAnalyticsProperty, len(model.SourceProperties))
- for i, n := range model.SourceProperties {
- m.SourceProperties[i] = n
- }
-
+ copy(m.SourceProperties, model.SourceProperties)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/where_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/where_command_descriptor.go
index 689630bcbe4..9ec22bdf531 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/where_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/where_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *WhereCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *WhereCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/xml_extract_command_descriptor.go b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/xml_extract_command_descriptor.go
index b66580e48c6..2b80526fa6d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/xml_extract_command_descriptor.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/loganalytics/xml_extract_command_descriptor.go
@@ -128,7 +128,6 @@ func (m *XmlExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.ReferencedFields[i] = nil
}
}
-
m.DeclaredFields = make([]AbstractField, len(model.DeclaredFields))
for i, n := range model.DeclaredFields {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -141,7 +140,6 @@ func (m *XmlExtractCommandDescriptor) UnmarshalJSON(data []byte) (e error) {
m.DeclaredFields[i] = nil
}
}
-
m.IsHidden = model.IsHidden
m.DisplayQueryString = model.DisplayQueryString
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/logging/logging_loggingmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/logging/logging_loggingmanagement_client.go
index aef0dbe45d0..76847b4653e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/logging/logging_loggingmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/logging/logging_loggingmanagement_client.go
@@ -83,7 +83,7 @@ func (client *LoggingManagementClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_configuration.go
index 0d3ee60bced..3b458bb77a5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_configuration.go
@@ -82,7 +82,6 @@ func (m *UnifiedAgentLoggingConfiguration) UnmarshalJSON(data []byte) (e error)
m.Sources[i] = nil
}
}
-
m.Destination = model.Destination
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_source.go
index 64abb9b364d..fee85bde386 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_logging_source.go
@@ -72,7 +72,7 @@ func (m *unifiedagentloggingsource) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetName returns Name
+// GetName returns Name
func (m unifiedagentloggingsource) GetName() *string {
return m.Name
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_parser.go b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_parser.go
index 659a6091d7d..6811ae58cfd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_parser.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_parser.go
@@ -167,37 +167,37 @@ func (m *unifiedagentparser) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetFieldTimeKey returns FieldTimeKey
+// GetFieldTimeKey returns FieldTimeKey
func (m unifiedagentparser) GetFieldTimeKey() *string {
return m.FieldTimeKey
}
-//GetTypes returns Types
+// GetTypes returns Types
func (m unifiedagentparser) GetTypes() map[string]string {
return m.Types
}
-//GetNullValuePattern returns NullValuePattern
+// GetNullValuePattern returns NullValuePattern
func (m unifiedagentparser) GetNullValuePattern() *string {
return m.NullValuePattern
}
-//GetIsNullEmptyString returns IsNullEmptyString
+// GetIsNullEmptyString returns IsNullEmptyString
func (m unifiedagentparser) GetIsNullEmptyString() *bool {
return m.IsNullEmptyString
}
-//GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
+// GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m unifiedagentparser) GetIsEstimateCurrentEvent() *bool {
return m.IsEstimateCurrentEvent
}
-//GetIsKeepTimeKey returns IsKeepTimeKey
+// GetIsKeepTimeKey returns IsKeepTimeKey
func (m unifiedagentparser) GetIsKeepTimeKey() *bool {
return m.IsKeepTimeKey
}
-//GetTimeoutInMilliseconds returns TimeoutInMilliseconds
+// GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m unifiedagentparser) GetTimeoutInMilliseconds() *int {
return m.TimeoutInMilliseconds
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_tail_log_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_tail_log_source.go
index ac3b7d1c2ff..0df1245085d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_tail_log_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/logging/unified_agent_tail_log_source.go
@@ -92,9 +92,6 @@ func (m *UnifiedAgentTailLogSource) UnmarshalJSON(data []byte) (e error) {
m.Name = model.Name
m.Paths = make([]string, len(model.Paths))
- for i, n := range model.Paths {
- m.Paths[i] = n
- }
-
+ copy(m.Paths, model.Paths)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/managementagent/managementagent_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/managementagent/managementagent_client.go
index 609452d2f97..805ecb542ff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/managementagent/managementagent_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/managementagent/managementagent_client.go
@@ -81,7 +81,7 @@ func (client *ManagementAgentClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/managementdashboard/managementdashboard_dashxapis_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/managementdashboard/managementdashboard_dashxapis_client.go
index b13ac8386b8..8d4115033de 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/managementdashboard/managementdashboard_dashxapis_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/managementdashboard/managementdashboard_dashxapis_client.go
@@ -81,7 +81,7 @@ func (client *DashxApisClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_image_publication_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_image_publication_package.go
index d121319fd05..35d0f7a067c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_image_publication_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_image_publication_package.go
@@ -108,6 +108,5 @@ func (m *CreateImagePublicationPackage) UnmarshalJSON(data []byte) (e error) {
m.Eula[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_details.go
index 516ac705ddc..7daeb3e3e20 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_details.go
@@ -105,10 +105,7 @@ func (m *CreatePublicationDetails) UnmarshalJSON(data []byte) (e error) {
m.ShortDescription = model.ShortDescription
m.SupportContacts = make([]SupportContact, len(model.SupportContacts))
- for i, n := range model.SupportContacts {
- m.SupportContacts[i] = n
- }
-
+ copy(m.SupportContacts, model.SupportContacts)
m.CompartmentId = model.CompartmentId
nn, e = model.PackageDetails.UnmarshalPolymorphicJSON(model.PackageDetails.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_package.go
index 7c59e58b0b9..a10095ef88e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/create_publication_package.go
@@ -74,17 +74,17 @@ func (m *createpublicationpackage) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetPackageVersion returns PackageVersion
+// GetPackageVersion returns PackageVersion
func (m createpublicationpackage) GetPackageVersion() *string {
return m.PackageVersion
}
-//GetOperatingSystem returns OperatingSystem
+// GetOperatingSystem returns OperatingSystem
func (m createpublicationpackage) GetOperatingSystem() *OperatingSystem {
return m.OperatingSystem
}
-//GetEula returns Eula
+// GetEula returns Eula
func (m createpublicationpackage) GetEula() json.RawMessage {
return m.Eula
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/listing_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/listing_package.go
index f8cfd28af10..768a5cf8ebe 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/listing_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/listing_package.go
@@ -46,14 +46,14 @@ type ListingPackage interface {
type listingpackage struct {
JsonData []byte
- ListingId *string `mandatory:"true" json:"listingId"`
- Version *string `mandatory:"true" json:"version"`
Description *string `mandatory:"false" json:"description"`
Pricing *PricingModel `mandatory:"false" json:"pricing"`
ResourceId *string `mandatory:"false" json:"resourceId"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`
Regions []Region `mandatory:"false" json:"regions"`
+ ListingId *string `mandatory:"true" json:"listingId"`
+ Version *string `mandatory:"true" json:"version"`
PackageType string `json:"packageType"`
}
@@ -104,46 +104,46 @@ func (m *listingpackage) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetListingId returns ListingId
-func (m listingpackage) GetListingId() *string {
- return m.ListingId
-}
-
-//GetVersion returns Version
-func (m listingpackage) GetVersion() *string {
- return m.Version
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m listingpackage) GetDescription() *string {
return m.Description
}
-//GetPricing returns Pricing
+// GetPricing returns Pricing
func (m listingpackage) GetPricing() *PricingModel {
return m.Pricing
}
-//GetResourceId returns ResourceId
+// GetResourceId returns ResourceId
func (m listingpackage) GetResourceId() *string {
return m.ResourceId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m listingpackage) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetOperatingSystem returns OperatingSystem
+// GetOperatingSystem returns OperatingSystem
func (m listingpackage) GetOperatingSystem() *OperatingSystem {
return m.OperatingSystem
}
-//GetRegions returns Regions
+// GetRegions returns Regions
func (m listingpackage) GetRegions() []Region {
return m.Regions
}
+// GetListingId returns ListingId
+func (m listingpackage) GetListingId() *string {
+ return m.ListingId
+}
+
+// GetVersion returns Version
+func (m listingpackage) GetVersion() *string {
+ return m.Version
+}
+
func (m listingpackage) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_account_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_account_client.go
index b73ac5c5483..75d9a513fb5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_account_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_account_client.go
@@ -80,7 +80,7 @@ func (client *AccountClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_client.go
index bb4087e3a0b..67e62c193c4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/marketplace_client.go
@@ -80,7 +80,7 @@ func (client *MarketplaceClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/publication_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/publication_package.go
index 58ac81579f5..b01e911b9ee 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/publication_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/publication_package.go
@@ -41,12 +41,12 @@ type PublicationPackage interface {
type publicationpackage struct {
JsonData []byte
- ListingId *string `mandatory:"true" json:"listingId"`
- Version *string `mandatory:"true" json:"version"`
Description *string `mandatory:"false" json:"description"`
ResourceId *string `mandatory:"false" json:"resourceId"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
OperatingSystem *OperatingSystem `mandatory:"false" json:"operatingSystem"`
+ ListingId *string `mandatory:"true" json:"listingId"`
+ Version *string `mandatory:"true" json:"version"`
PackageType string `json:"packageType"`
}
@@ -95,36 +95,36 @@ func (m *publicationpackage) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetListingId returns ListingId
-func (m publicationpackage) GetListingId() *string {
- return m.ListingId
-}
-
-//GetVersion returns Version
-func (m publicationpackage) GetVersion() *string {
- return m.Version
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m publicationpackage) GetDescription() *string {
return m.Description
}
-//GetResourceId returns ResourceId
+// GetResourceId returns ResourceId
func (m publicationpackage) GetResourceId() *string {
return m.ResourceId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m publicationpackage) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetOperatingSystem returns OperatingSystem
+// GetOperatingSystem returns OperatingSystem
func (m publicationpackage) GetOperatingSystem() *OperatingSystem {
return m.OperatingSystem
}
+// GetListingId returns ListingId
+func (m publicationpackage) GetListingId() *string {
+ return m.ListingId
+}
+
+// GetVersion returns Version
+func (m publicationpackage) GetVersion() *string {
+ return m.Version
+}
+
func (m publicationpackage) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/search_listings_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/search_listings_details.go
index c2ff25bd86f..870d4045d08 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/search_listings_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/marketplace/search_listings_details.go
@@ -69,7 +69,7 @@ func (m *searchlistingsdetails) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetMatchingContextType returns MatchingContextType
+// GetMatchingContextType returns MatchingContextType
func (m searchlistingsdetails) GetMatchingContextType() MatchingContextTypeEnumEnum {
return m.MatchingContextType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/create_media_workflow_job_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/create_media_workflow_job_details.go
index c72bb1e2c4b..98fd0d902c2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/create_media_workflow_job_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/create_media_workflow_job_details.go
@@ -47,12 +47,12 @@ type CreateMediaWorkflowJobDetails interface {
type createmediaworkflowjobdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
MediaWorkflowConfigurationIds []string `mandatory:"false" json:"mediaWorkflowConfigurationIds"`
DisplayName *string `mandatory:"false" json:"displayName"`
Parameters map[string]interface{} `mandatory:"false" json:"parameters"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
WorkflowIdentifierType string `json:"workflowIdentifierType"`
}
@@ -101,36 +101,36 @@ func (m *createmediaworkflowjobdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetCompartmentId returns CompartmentId
-func (m createmediaworkflowjobdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetMediaWorkflowConfigurationIds returns MediaWorkflowConfigurationIds
+// GetMediaWorkflowConfigurationIds returns MediaWorkflowConfigurationIds
func (m createmediaworkflowjobdetails) GetMediaWorkflowConfigurationIds() []string {
return m.MediaWorkflowConfigurationIds
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createmediaworkflowjobdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetParameters returns Parameters
+// GetParameters returns Parameters
func (m createmediaworkflowjobdetails) GetParameters() map[string]interface{} {
return m.Parameters
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createmediaworkflowjobdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createmediaworkflowjobdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createmediaworkflowjobdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createmediaworkflowjobdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_client.go
index d1373212a0a..2292a0d231d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_client.go
@@ -81,7 +81,7 @@ func (client *MediaServicesClient) setConfigurationProvider(configProvider commo
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_mediastream_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_mediastream_client.go
index e407748e0bb..4a49a3b6ade 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_mediastream_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/mediaservices_mediastream_client.go
@@ -81,7 +81,7 @@ func (client *MediaStreamClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/stream_packaging_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/stream_packaging_config.go
index 76324335916..3a836f1f33d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/stream_packaging_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mediaservices/stream_packaging_config.go
@@ -61,18 +61,18 @@ type StreamPackagingConfig interface {
type streampackagingconfig struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- DistributionChannelId *string `mandatory:"true" json:"distributionChannelId"`
- DisplayName *string `mandatory:"true" json:"displayName"`
- SegmentTimeInSeconds *int `mandatory:"true" json:"segmentTimeInSeconds"`
- Encryption StreamPackagingConfigEncryption `mandatory:"false" json:"encryption"`
+ Encryption streampackagingconfigencryption `mandatory:"false" json:"encryption"`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
LifecycleState StreamPackagingConfigLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ DistributionChannelId *string `mandatory:"true" json:"distributionChannelId"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ SegmentTimeInSeconds *int `mandatory:"true" json:"segmentTimeInSeconds"`
StreamPackagingFormat string `json:"streamPackagingFormat"`
}
@@ -127,66 +127,66 @@ func (m *streampackagingconfig) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetId returns Id
-func (m streampackagingconfig) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m streampackagingconfig) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDistributionChannelId returns DistributionChannelId
-func (m streampackagingconfig) GetDistributionChannelId() *string {
- return m.DistributionChannelId
-}
-
-//GetDisplayName returns DisplayName
-func (m streampackagingconfig) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetSegmentTimeInSeconds returns SegmentTimeInSeconds
-func (m streampackagingconfig) GetSegmentTimeInSeconds() *int {
- return m.SegmentTimeInSeconds
-}
-
-//GetEncryption returns Encryption
-func (m streampackagingconfig) GetEncryption() StreamPackagingConfigEncryption {
+// GetEncryption returns Encryption
+func (m streampackagingconfig) GetEncryption() streampackagingconfigencryption {
return m.Encryption
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m streampackagingconfig) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m streampackagingconfig) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m streampackagingconfig) GetLifecycleState() StreamPackagingConfigLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m streampackagingconfig) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m streampackagingconfig) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m streampackagingconfig) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m streampackagingconfig) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m streampackagingconfig) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetDistributionChannelId returns DistributionChannelId
+func (m streampackagingconfig) GetDistributionChannelId() *string {
+ return m.DistributionChannelId
+}
+
+// GetDisplayName returns DisplayName
+func (m streampackagingconfig) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetSegmentTimeInSeconds returns SegmentTimeInSeconds
+func (m streampackagingconfig) GetSegmentTimeInSeconds() *int {
+ return m.SegmentTimeInSeconds
+}
+
func (m streampackagingconfig) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go
index ae1c3c81d02..70f96681eec 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/monitoring/monitoring_client.go
@@ -82,7 +82,7 @@ func (client *MonitoringClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_details.go
deleted file mode 100644
index 381a45fbc8e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_details.go
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddAnalyticsClusterDetails DEPRECATED -- please use HeatWave API instead.
-// Details required to add an Analytics Cluster.
-type AddAnalyticsClusterDetails struct {
-
- // The shape determines resources to allocate to the Analytics
- // Cluster nodes - CPU cores, memory.
- ShapeName *string `mandatory:"true" json:"shapeName"`
-
- // The number of analytics-processing nodes provisioned for the
- // Analytics Cluster.
- ClusterSize *int `mandatory:"true" json:"clusterSize"`
-}
-
-func (m AddAnalyticsClusterDetails) 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 AddAnalyticsClusterDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_request_response.go
deleted file mode 100644
index d56b5ce6894..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/add_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,116 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// AddAnalyticsClusterRequest wrapper for the AddAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/AddAnalyticsCluster.go.html to see an example of how to use AddAnalyticsClusterRequest.
-type AddAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // Request to add an Analytics Cluster.
- AddAnalyticsClusterDetails `contributesTo:"body"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // 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"`
-
- // 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 AddAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request AddAnalyticsClusterRequest) 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 AddAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request AddAnalyticsClusterRequest) 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 AddAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// AddAnalyticsClusterResponse wrapper for the AddAnalyticsCluster operation
-type AddAnalyticsClusterResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AnalyticsCluster instance
- AnalyticsCluster `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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response AddAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response AddAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster.go
deleted file mode 100644
index 428b592f407..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster.go
+++ /dev/null
@@ -1,128 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// An Analytics Cluster is a database accelerator for a DB System.
-type AnalyticsCluster struct {
-
- // The OCID of the parent DB System this Analytics Cluster is attached to.
- DbSystemId *string `mandatory:"true" json:"dbSystemId"`
-
- // The shape determines resources to allocate to the Analytics
- // Cluster nodes - CPU cores, memory.
- ShapeName *string `mandatory:"true" json:"shapeName"`
-
- // The number of analytics-processing compute instances, of the
- // specified shape, in the Analytics Cluster.
- ClusterSize *int `mandatory:"true" json:"clusterSize"`
-
- // An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.
- ClusterNodes []AnalyticsClusterNode `mandatory:"true" json:"clusterNodes"`
-
- // The current state of the Analytics Cluster.
- LifecycleState AnalyticsClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // The date and time the Analytics Cluster was created, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The time the Analytics Cluster was last updated, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
-
- // Additional information about the current lifecycleState.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m AnalyticsCluster) 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 AnalyticsCluster) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAnalyticsClusterLifecycleStateEnum(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(GetAnalyticsClusterLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// AnalyticsClusterLifecycleStateEnum Enum with underlying type: string
-type AnalyticsClusterLifecycleStateEnum string
-
-// Set of constants representing the allowable values for AnalyticsClusterLifecycleStateEnum
-const (
- AnalyticsClusterLifecycleStateCreating AnalyticsClusterLifecycleStateEnum = "CREATING"
- AnalyticsClusterLifecycleStateActive AnalyticsClusterLifecycleStateEnum = "ACTIVE"
- AnalyticsClusterLifecycleStateInactive AnalyticsClusterLifecycleStateEnum = "INACTIVE"
- AnalyticsClusterLifecycleStateUpdating AnalyticsClusterLifecycleStateEnum = "UPDATING"
- AnalyticsClusterLifecycleStateDeleting AnalyticsClusterLifecycleStateEnum = "DELETING"
- AnalyticsClusterLifecycleStateDeleted AnalyticsClusterLifecycleStateEnum = "DELETED"
- AnalyticsClusterLifecycleStateFailed AnalyticsClusterLifecycleStateEnum = "FAILED"
-)
-
-var mappingAnalyticsClusterLifecycleStateEnum = map[string]AnalyticsClusterLifecycleStateEnum{
- "CREATING": AnalyticsClusterLifecycleStateCreating,
- "ACTIVE": AnalyticsClusterLifecycleStateActive,
- "INACTIVE": AnalyticsClusterLifecycleStateInactive,
- "UPDATING": AnalyticsClusterLifecycleStateUpdating,
- "DELETING": AnalyticsClusterLifecycleStateDeleting,
- "DELETED": AnalyticsClusterLifecycleStateDeleted,
- "FAILED": AnalyticsClusterLifecycleStateFailed,
-}
-
-var mappingAnalyticsClusterLifecycleStateEnumLowerCase = map[string]AnalyticsClusterLifecycleStateEnum{
- "creating": AnalyticsClusterLifecycleStateCreating,
- "active": AnalyticsClusterLifecycleStateActive,
- "inactive": AnalyticsClusterLifecycleStateInactive,
- "updating": AnalyticsClusterLifecycleStateUpdating,
- "deleting": AnalyticsClusterLifecycleStateDeleting,
- "deleted": AnalyticsClusterLifecycleStateDeleted,
- "failed": AnalyticsClusterLifecycleStateFailed,
-}
-
-// GetAnalyticsClusterLifecycleStateEnumValues Enumerates the set of values for AnalyticsClusterLifecycleStateEnum
-func GetAnalyticsClusterLifecycleStateEnumValues() []AnalyticsClusterLifecycleStateEnum {
- values := make([]AnalyticsClusterLifecycleStateEnum, 0)
- for _, v := range mappingAnalyticsClusterLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAnalyticsClusterLifecycleStateEnumStringValues Enumerates the set of values in String for AnalyticsClusterLifecycleStateEnum
-func GetAnalyticsClusterLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "ACTIVE",
- "INACTIVE",
- "UPDATING",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingAnalyticsClusterLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAnalyticsClusterLifecycleStateEnum(val string) (AnalyticsClusterLifecycleStateEnum, bool) {
- enum, ok := mappingAnalyticsClusterLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate.go
deleted file mode 100644
index 32040f7c676..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsClusterMemoryEstimate DEPRECATED -- please use HeatWave API instead.
-// Analytics Cluster memory estimate
-// that can be used to determine a suitable Analytics Cluster size. For each MySQL user table the estimated memory
-// footprint when the table is loaded to the Analytics Cluster memory is returned.
-type AnalyticsClusterMemoryEstimate struct {
-
- // The OCID of the DB System the Analytics Cluster memory estimate is associated with.
- DbSystemId *string `mandatory:"true" json:"dbSystemId"`
-
- // Current status of the Work Request generating the Analytics Cluster memory estimate.
- Status AnalyticsClusterMemoryEstimateStatusEnum `mandatory:"true" json:"status"`
-
- // The date and time that the Work Request to generate the Analytics Cluster memory estimate was issued, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc333).
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The date and time that the Analytics Cluster memory estimate was generated, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc333).
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
-
- // Collection of schemas with estimated memory footprints for MySQL user tables of each schema
- // when loaded to Analytics Cluster memory.
- TableSchemas []AnalyticsClusterSchemaMemoryEstimate `mandatory:"true" json:"tableSchemas"`
-}
-
-func (m AnalyticsClusterMemoryEstimate) 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 AnalyticsClusterMemoryEstimate) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAnalyticsClusterMemoryEstimateStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetAnalyticsClusterMemoryEstimateStatusEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate_status.go
deleted file mode 100644
index 26d27365134..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_memory_estimate_status.go
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "strings"
-)
-
-// AnalyticsClusterMemoryEstimateStatusEnum Enum with underlying type: string
-type AnalyticsClusterMemoryEstimateStatusEnum string
-
-// Set of constants representing the allowable values for AnalyticsClusterMemoryEstimateStatusEnum
-const (
- AnalyticsClusterMemoryEstimateStatusAccepted AnalyticsClusterMemoryEstimateStatusEnum = "ACCEPTED"
- AnalyticsClusterMemoryEstimateStatusInProgress AnalyticsClusterMemoryEstimateStatusEnum = "IN_PROGRESS"
- AnalyticsClusterMemoryEstimateStatusFailed AnalyticsClusterMemoryEstimateStatusEnum = "FAILED"
- AnalyticsClusterMemoryEstimateStatusSucceeded AnalyticsClusterMemoryEstimateStatusEnum = "SUCCEEDED"
- AnalyticsClusterMemoryEstimateStatusCanceling AnalyticsClusterMemoryEstimateStatusEnum = "CANCELING"
- AnalyticsClusterMemoryEstimateStatusCanceled AnalyticsClusterMemoryEstimateStatusEnum = "CANCELED"
-)
-
-var mappingAnalyticsClusterMemoryEstimateStatusEnum = map[string]AnalyticsClusterMemoryEstimateStatusEnum{
- "ACCEPTED": AnalyticsClusterMemoryEstimateStatusAccepted,
- "IN_PROGRESS": AnalyticsClusterMemoryEstimateStatusInProgress,
- "FAILED": AnalyticsClusterMemoryEstimateStatusFailed,
- "SUCCEEDED": AnalyticsClusterMemoryEstimateStatusSucceeded,
- "CANCELING": AnalyticsClusterMemoryEstimateStatusCanceling,
- "CANCELED": AnalyticsClusterMemoryEstimateStatusCanceled,
-}
-
-var mappingAnalyticsClusterMemoryEstimateStatusEnumLowerCase = map[string]AnalyticsClusterMemoryEstimateStatusEnum{
- "accepted": AnalyticsClusterMemoryEstimateStatusAccepted,
- "in_progress": AnalyticsClusterMemoryEstimateStatusInProgress,
- "failed": AnalyticsClusterMemoryEstimateStatusFailed,
- "succeeded": AnalyticsClusterMemoryEstimateStatusSucceeded,
- "canceling": AnalyticsClusterMemoryEstimateStatusCanceling,
- "canceled": AnalyticsClusterMemoryEstimateStatusCanceled,
-}
-
-// GetAnalyticsClusterMemoryEstimateStatusEnumValues Enumerates the set of values for AnalyticsClusterMemoryEstimateStatusEnum
-func GetAnalyticsClusterMemoryEstimateStatusEnumValues() []AnalyticsClusterMemoryEstimateStatusEnum {
- values := make([]AnalyticsClusterMemoryEstimateStatusEnum, 0)
- for _, v := range mappingAnalyticsClusterMemoryEstimateStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAnalyticsClusterMemoryEstimateStatusEnumStringValues Enumerates the set of values in String for AnalyticsClusterMemoryEstimateStatusEnum
-func GetAnalyticsClusterMemoryEstimateStatusEnumStringValues() []string {
- return []string{
- "ACCEPTED",
- "IN_PROGRESS",
- "FAILED",
- "SUCCEEDED",
- "CANCELING",
- "CANCELED",
- }
-}
-
-// GetMappingAnalyticsClusterMemoryEstimateStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAnalyticsClusterMemoryEstimateStatusEnum(val string) (AnalyticsClusterMemoryEstimateStatusEnum, bool) {
- enum, ok := mappingAnalyticsClusterMemoryEstimateStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_node.go
deleted file mode 100644
index 111e4bfe366..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_node.go
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsClusterNode DEPRECATED -- please use HeatWave API instead.
-// An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.
-type AnalyticsClusterNode struct {
-
- // The ID of the node within MySQL Analytics Cluster.
- NodeId *string `mandatory:"true" json:"nodeId"`
-
- // The current state of the MySQL Analytics Cluster node.
- LifecycleState AnalyticsClusterNodeLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // The date and time the MySQL Analytics Cluster node was created, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The date and time the MySQL Analytics Cluster node was updated, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-}
-
-func (m AnalyticsClusterNode) 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 AnalyticsClusterNode) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAnalyticsClusterNodeLifecycleStateEnum(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(GetAnalyticsClusterNodeLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// AnalyticsClusterNodeLifecycleStateEnum Enum with underlying type: string
-type AnalyticsClusterNodeLifecycleStateEnum string
-
-// Set of constants representing the allowable values for AnalyticsClusterNodeLifecycleStateEnum
-const (
- AnalyticsClusterNodeLifecycleStateCreating AnalyticsClusterNodeLifecycleStateEnum = "CREATING"
- AnalyticsClusterNodeLifecycleStateActive AnalyticsClusterNodeLifecycleStateEnum = "ACTIVE"
- AnalyticsClusterNodeLifecycleStateInactive AnalyticsClusterNodeLifecycleStateEnum = "INACTIVE"
- AnalyticsClusterNodeLifecycleStateUpdating AnalyticsClusterNodeLifecycleStateEnum = "UPDATING"
- AnalyticsClusterNodeLifecycleStateDeleting AnalyticsClusterNodeLifecycleStateEnum = "DELETING"
- AnalyticsClusterNodeLifecycleStateDeleted AnalyticsClusterNodeLifecycleStateEnum = "DELETED"
- AnalyticsClusterNodeLifecycleStateFailed AnalyticsClusterNodeLifecycleStateEnum = "FAILED"
-)
-
-var mappingAnalyticsClusterNodeLifecycleStateEnum = map[string]AnalyticsClusterNodeLifecycleStateEnum{
- "CREATING": AnalyticsClusterNodeLifecycleStateCreating,
- "ACTIVE": AnalyticsClusterNodeLifecycleStateActive,
- "INACTIVE": AnalyticsClusterNodeLifecycleStateInactive,
- "UPDATING": AnalyticsClusterNodeLifecycleStateUpdating,
- "DELETING": AnalyticsClusterNodeLifecycleStateDeleting,
- "DELETED": AnalyticsClusterNodeLifecycleStateDeleted,
- "FAILED": AnalyticsClusterNodeLifecycleStateFailed,
-}
-
-var mappingAnalyticsClusterNodeLifecycleStateEnumLowerCase = map[string]AnalyticsClusterNodeLifecycleStateEnum{
- "creating": AnalyticsClusterNodeLifecycleStateCreating,
- "active": AnalyticsClusterNodeLifecycleStateActive,
- "inactive": AnalyticsClusterNodeLifecycleStateInactive,
- "updating": AnalyticsClusterNodeLifecycleStateUpdating,
- "deleting": AnalyticsClusterNodeLifecycleStateDeleting,
- "deleted": AnalyticsClusterNodeLifecycleStateDeleted,
- "failed": AnalyticsClusterNodeLifecycleStateFailed,
-}
-
-// GetAnalyticsClusterNodeLifecycleStateEnumValues Enumerates the set of values for AnalyticsClusterNodeLifecycleStateEnum
-func GetAnalyticsClusterNodeLifecycleStateEnumValues() []AnalyticsClusterNodeLifecycleStateEnum {
- values := make([]AnalyticsClusterNodeLifecycleStateEnum, 0)
- for _, v := range mappingAnalyticsClusterNodeLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAnalyticsClusterNodeLifecycleStateEnumStringValues Enumerates the set of values in String for AnalyticsClusterNodeLifecycleStateEnum
-func GetAnalyticsClusterNodeLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "ACTIVE",
- "INACTIVE",
- "UPDATING",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingAnalyticsClusterNodeLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAnalyticsClusterNodeLifecycleStateEnum(val string) (AnalyticsClusterNodeLifecycleStateEnum, bool) {
- enum, ok := mappingAnalyticsClusterNodeLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_schema_memory_estimate.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_schema_memory_estimate.go
deleted file mode 100644
index 41633cb59d4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_schema_memory_estimate.go
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsClusterSchemaMemoryEstimate DEPRECATED -- please use HeatWave API instead.
-// Schema with estimated memory footprints for each MySQL user table
-// of the schema when loaded to Analytics Cluster memory.
-type AnalyticsClusterSchemaMemoryEstimate struct {
-
- // The name of the schema.
- SchemaName *string `mandatory:"true" json:"schemaName"`
-
- // Estimated memory footprints for MySQL user tables of the schema
- // when loaded to Analytics Cluster memory.
- PerTableEstimates []AnalyticsClusterTableMemoryEstimate `mandatory:"true" json:"perTableEstimates"`
-}
-
-func (m AnalyticsClusterSchemaMemoryEstimate) 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 AnalyticsClusterSchemaMemoryEstimate) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_summary.go
deleted file mode 100644
index 0a6b0c97c93..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_summary.go
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsClusterSummary DEPRECATED -- please use HeatWave API instead.
-// A summary of an Analytics Cluster.
-type AnalyticsClusterSummary struct {
-
- // The shape determines resources to allocate to the Analytics
- // Cluster nodes - CPU cores, memory.
- ShapeName *string `mandatory:"true" json:"shapeName"`
-
- // The number of analytics-processing compute instances, of the
- // specified shape, in the Analytics Cluster.
- ClusterSize *int `mandatory:"true" json:"clusterSize"`
-
- // The current state of the MySQL Analytics Cluster.
- LifecycleState AnalyticsClusterLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // The date and time the Analytics Cluster was created, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The time the Analytics Cluster was last updated, as described by RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
-}
-
-func (m AnalyticsClusterSummary) 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 AnalyticsClusterSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAnalyticsClusterLifecycleStateEnum(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(GetAnalyticsClusterLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_table_memory_estimate.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_table_memory_estimate.go
deleted file mode 100644
index 1b04b134015..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/analytics_cluster_table_memory_estimate.go
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AnalyticsClusterTableMemoryEstimate DEPRECATED -- please use HeatWave API instead.
-// Estimated memory footprint for a MySQL user table
-// when loaded to the Analytics Cluster memory.
-type AnalyticsClusterTableMemoryEstimate struct {
-
- // The table name.
- TableName *string `mandatory:"true" json:"tableName"`
-
- // The number of columns to be loaded to Analytics Cluster memory.
- // These columns contribute to the analytical memory footprint.
- ToLoadColumnCount *int `mandatory:"true" json:"toLoadColumnCount"`
-
- // The number of variable-length columns to be loaded to Analytics Cluster memory.
- // These columns contribute to the analytical memory footprint.
- VarlenColumnCount *int `mandatory:"true" json:"varlenColumnCount"`
-
- // The estimated number of rows in the table. This number was used to
- // derive the analytical memory footprint.
- EstimatedRowCount *int64 `mandatory:"true" json:"estimatedRowCount"`
-
- // The estimated memory footprint of the table in MBs when loaded to
- // Analytics Cluster memory (null if the table cannot be loaded to the
- // Analytics Cluster).
- AnalyticalFootprintInMbs *int64 `mandatory:"true" json:"analyticalFootprintInMbs"`
-
- // Error comment (empty string if no errors occured).
- ErrorComment *string `mandatory:"true" json:"errorComment"`
-}
-
-func (m AnalyticsClusterTableMemoryEstimate) 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 AnalyticsClusterTableMemoryEstimate) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system.go
index de88b6e0931..2a70f3ae3b6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system.go
@@ -58,12 +58,6 @@ type DbSystem struct {
CurrentPlacement *DbSystemPlacement `mandatory:"false" json:"currentPlacement"`
- // DEPRECATED -- please use `isHeatWaveClusterAttached` instead.
- // If the DB System has an Analytics Cluster attached.
- IsAnalyticsClusterAttached *bool `mandatory:"false" json:"isAnalyticsClusterAttached"`
-
- AnalyticsCluster *AnalyticsClusterSummary `mandatory:"false" json:"analyticsCluster"`
-
// If the DB System has a HeatWave Cluster attached.
IsHeatWaveClusterAttached *bool `mandatory:"false" json:"isHeatWaveClusterAttached"`
@@ -167,8 +161,6 @@ func (m *DbSystem) UnmarshalJSON(data []byte) (e error) {
Description *string `json:"description"`
IsHighlyAvailable *bool `json:"isHighlyAvailable"`
CurrentPlacement *DbSystemPlacement `json:"currentPlacement"`
- IsAnalyticsClusterAttached *bool `json:"isAnalyticsClusterAttached"`
- AnalyticsCluster *AnalyticsClusterSummary `json:"analyticsCluster"`
IsHeatWaveClusterAttached *bool `json:"isHeatWaveClusterAttached"`
HeatWaveCluster *HeatWaveClusterSummary `json:"heatWaveCluster"`
AvailabilityDomain *string `json:"availabilityDomain"`
@@ -212,10 +204,6 @@ func (m *DbSystem) UnmarshalJSON(data []byte) (e error) {
m.CurrentPlacement = model.CurrentPlacement
- m.IsAnalyticsClusterAttached = model.IsAnalyticsClusterAttached
-
- m.AnalyticsCluster = model.AnalyticsCluster
-
m.IsHeatWaveClusterAttached = model.IsHeatWaveClusterAttached
m.HeatWaveCluster = model.HeatWaveCluster
@@ -249,15 +237,9 @@ func (m *DbSystem) UnmarshalJSON(data []byte) (e error) {
m.PortX = model.PortX
m.Endpoints = make([]DbSystemEndpoint, len(model.Endpoints))
- for i, n := range model.Endpoints {
- m.Endpoints[i] = n
- }
-
+ copy(m.Endpoints, model.Endpoints)
m.Channels = make([]ChannelSummary, len(model.Channels))
- for i, n := range model.Channels {
- m.Channels[i] = n
- }
-
+ copy(m.Channels, model.Channels)
m.LifecycleDetails = model.LifecycleDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system_summary.go
index c7185f28987..c6461bd5ea0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/db_system_summary.go
@@ -47,12 +47,6 @@ type DbSystemSummary struct {
CurrentPlacement *DbSystemPlacement `mandatory:"false" json:"currentPlacement"`
- // DEPRECATED -- please use `isHeatWaveClusterAttached` instead.
- // If the DB System has an Analytics Cluster attached.
- IsAnalyticsClusterAttached *bool `mandatory:"false" json:"isAnalyticsClusterAttached"`
-
- AnalyticsCluster *AnalyticsClusterSummary `mandatory:"false" json:"analyticsCluster"`
-
// If the DB System has a HeatWave Cluster attached.
IsHeatWaveClusterAttached *bool `mandatory:"false" json:"isHeatWaveClusterAttached"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/delete_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/delete_analytics_cluster_request_response.go
deleted file mode 100644
index 30140bb4e77..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/delete_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteAnalyticsClusterRequest wrapper for the DeleteAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/DeleteAnalyticsCluster.go.html to see an example of how to use DeleteAnalyticsClusterRequest.
-type DeleteAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with 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 DeleteAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteAnalyticsClusterRequest) 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 DeleteAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteAnalyticsClusterRequest) 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 DeleteAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteAnalyticsClusterResponse wrapper for the DeleteAnalyticsCluster operation
-type DeleteAnalyticsClusterResponse 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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response DeleteAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/generate_analytics_cluster_memory_estimate_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/generate_analytics_cluster_memory_estimate_request_response.go
deleted file mode 100644
index b39e06b1fa9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/generate_analytics_cluster_memory_estimate_request_response.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GenerateAnalyticsClusterMemoryEstimateRequest wrapper for the GenerateAnalyticsClusterMemoryEstimate operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GenerateAnalyticsClusterMemoryEstimate.go.html to see an example of how to use GenerateAnalyticsClusterMemoryEstimateRequest.
-type GenerateAnalyticsClusterMemoryEstimateRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // 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"`
-
- // 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 GenerateAnalyticsClusterMemoryEstimateRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GenerateAnalyticsClusterMemoryEstimateRequest) 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 GenerateAnalyticsClusterMemoryEstimateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GenerateAnalyticsClusterMemoryEstimateRequest) 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 GenerateAnalyticsClusterMemoryEstimateRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GenerateAnalyticsClusterMemoryEstimateResponse wrapper for the GenerateAnalyticsClusterMemoryEstimate operation
-type GenerateAnalyticsClusterMemoryEstimateResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AnalyticsClusterMemoryEstimate instance
- AnalyticsClusterMemoryEstimate `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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response GenerateAnalyticsClusterMemoryEstimateResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GenerateAnalyticsClusterMemoryEstimateResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_memory_estimate_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_memory_estimate_request_response.go
deleted file mode 100644
index 31d1b45db76..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_memory_estimate_request_response.go
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetAnalyticsClusterMemoryEstimateRequest wrapper for the GetAnalyticsClusterMemoryEstimate operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GetAnalyticsClusterMemoryEstimate.go.html to see an example of how to use GetAnalyticsClusterMemoryEstimateRequest.
-type GetAnalyticsClusterMemoryEstimateRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with 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 GetAnalyticsClusterMemoryEstimateRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetAnalyticsClusterMemoryEstimateRequest) 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 GetAnalyticsClusterMemoryEstimateRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAnalyticsClusterMemoryEstimateRequest) 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 GetAnalyticsClusterMemoryEstimateRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetAnalyticsClusterMemoryEstimateResponse wrapper for the GetAnalyticsClusterMemoryEstimate operation
-type GetAnalyticsClusterMemoryEstimateResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AnalyticsClusterMemoryEstimate instance
- AnalyticsClusterMemoryEstimate `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 GetAnalyticsClusterMemoryEstimateResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetAnalyticsClusterMemoryEstimateResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_request_response.go
deleted file mode 100644
index ad5a9f507ae..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/get_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,108 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetAnalyticsClusterRequest wrapper for the GetAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GetAnalyticsCluster.go.html to see an example of how to use GetAnalyticsClusterRequest.
-type GetAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // For conditional requests. In the GET call for a resource, set the
- // `If-None-Match` header to the value of the ETag from a previous GET (or
- // POST or PUT) response for that resource. The server will return with
- // either a 304 Not Modified response if the resource has not changed, or a
- // 200 OK response with the updated representation.
- IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"if-none-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 GetAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetAnalyticsClusterRequest) 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 GetAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAnalyticsClusterRequest) 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 GetAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetAnalyticsClusterResponse wrapper for the GetAnalyticsCluster operation
-type GetAnalyticsClusterResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AnalyticsCluster instance
- AnalyticsCluster `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"`
-
- // Flag to indicate whether or not the object was modified. If this is true,
- // the getter for the object itself will return null. Callers should check this
- // if they specified one of the request params that might result in a conditional
- // response (like 'if-match'/'if-none-match').
- IsNotModified bool
-}
-
-func (response GetAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_db_systems_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_db_systems_request_response.go
index 438b480a1e1..e47ac4cc4fb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_db_systems_request_response.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_db_systems_request_response.go
@@ -26,12 +26,6 @@ type ListDbSystemsRequest struct {
// ID that you supplied in this header with the request.
OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
- // DEPRECATED -- please use HeatWave API instead.
- // If true, return only DB Systems with an Analytics Cluster attached, if false
- // return only DB Systems with no Analytics Cluster attached. If not
- // present, return all DB Systems.
- IsAnalyticsClusterAttached *bool `mandatory:"false" contributesTo:"query" name:"isAnalyticsClusterAttached"`
-
// If true, return only DB Systems with a HeatWave cluster attached, if false
// return only DB Systems with no HeatWave cluster attached. If not
// present, return all DB Systems.
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_shapes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_shapes_request_response.go
index bcc3116159f..8a14b3627a6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_shapes_request_response.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/list_shapes_request_response.go
@@ -111,21 +111,18 @@ type ListShapesIsSupportedForEnum string
// Set of constants representing the allowable values for ListShapesIsSupportedForEnum
const (
- ListShapesIsSupportedForDbsystem ListShapesIsSupportedForEnum = "DBSYSTEM"
- ListShapesIsSupportedForAnalyticscluster ListShapesIsSupportedForEnum = "ANALYTICSCLUSTER"
- ListShapesIsSupportedForHeatwavecluster ListShapesIsSupportedForEnum = "HEATWAVECLUSTER"
+ ListShapesIsSupportedForDbsystem ListShapesIsSupportedForEnum = "DBSYSTEM"
+ ListShapesIsSupportedForHeatwavecluster ListShapesIsSupportedForEnum = "HEATWAVECLUSTER"
)
var mappingListShapesIsSupportedForEnum = map[string]ListShapesIsSupportedForEnum{
- "DBSYSTEM": ListShapesIsSupportedForDbsystem,
- "ANALYTICSCLUSTER": ListShapesIsSupportedForAnalyticscluster,
- "HEATWAVECLUSTER": ListShapesIsSupportedForHeatwavecluster,
+ "DBSYSTEM": ListShapesIsSupportedForDbsystem,
+ "HEATWAVECLUSTER": ListShapesIsSupportedForHeatwavecluster,
}
var mappingListShapesIsSupportedForEnumLowerCase = map[string]ListShapesIsSupportedForEnum{
- "dbsystem": ListShapesIsSupportedForDbsystem,
- "analyticscluster": ListShapesIsSupportedForAnalyticscluster,
- "heatwavecluster": ListShapesIsSupportedForHeatwavecluster,
+ "dbsystem": ListShapesIsSupportedForDbsystem,
+ "heatwavecluster": ListShapesIsSupportedForHeatwavecluster,
}
// GetListShapesIsSupportedForEnumValues Enumerates the set of values for ListShapesIsSupportedForEnum
@@ -141,7 +138,6 @@ func GetListShapesIsSupportedForEnumValues() []ListShapesIsSupportedForEnum {
func GetListShapesIsSupportedForEnumStringValues() []string {
return []string{
"DBSYSTEM",
- "ANALYTICSCLUSTER",
"HEATWAVECLUSTER",
}
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_channels_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_channels_client.go
index 1f2e8bdf2cd..1c66d0f3a5f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_channels_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_channels_client.go
@@ -80,7 +80,7 @@ func (client *ChannelsClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbbackups_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbbackups_client.go
index 510e4b8d536..51454d4b205 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbbackups_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbbackups_client.go
@@ -80,7 +80,7 @@ func (client *DbBackupsClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbsystem_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbsystem_client.go
index f161a5ee41d..0c044a1d25d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbsystem_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_dbsystem_client.go
@@ -80,7 +80,7 @@ func (client *DbSystemClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
@@ -91,70 +91,6 @@ func (client *DbSystemClient) ConfigurationProvider() *common.ConfigurationProvi
return client.config
}
-// AddAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Adds an Analytics Cluster to the DB System.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/AddAnalyticsCluster.go.html to see an example of how to use AddAnalyticsCluster API.
-// A default retry strategy applies to this operation AddAnalyticsCluster()
-func (client DbSystemClient) AddAnalyticsCluster(ctx context.Context, request AddAnalyticsClusterRequest) (response AddAnalyticsClusterResponse, err error) {
- var ociResponse common.OCIResponse
- policy := common.DefaultRetryPolicy()
- 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.addAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = AddAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = AddAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(AddAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into AddAnalyticsClusterResponse")
- }
- return
-}
-
-// addAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) addAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPost, "/dbSystems/{dbSystemId}/analyticsCluster/actions/add", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response AddAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/AddAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "AddAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// AddHeatWaveCluster Adds a HeatWave cluster to the DB System.
//
// See also
@@ -281,66 +217,6 @@ func (client DbSystemClient) createDbSystem(ctx context.Context, request common.
return response, err
}
-// DeleteAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Deletes the Analytics Cluster including terminating, detaching, removing, finalizing and
-// otherwise deleting all related resources.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/DeleteAnalyticsCluster.go.html to see an example of how to use DeleteAnalyticsCluster API.
-// A default retry strategy applies to this operation DeleteAnalyticsCluster()
-func (client DbSystemClient) DeleteAnalyticsCluster(ctx context.Context, request DeleteAnalyticsClusterRequest) (response DeleteAnalyticsClusterResponse, 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.deleteAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = DeleteAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = DeleteAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(DeleteAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into DeleteAnalyticsClusterResponse")
- }
- return
-}
-
-// deleteAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) deleteAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodDelete, "/dbSystems/{dbSystemId}/analyticsCluster", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response DeleteAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/DeleteAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "DeleteAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// DeleteDbSystem Delete a DB System, including terminating, detaching,
// removing, finalizing and otherwise deleting all related resources.
//
@@ -459,70 +335,6 @@ func (client DbSystemClient) deleteHeatWaveCluster(ctx context.Context, request
return response, err
}
-// GenerateAnalyticsClusterMemoryEstimate DEPRECATED -- please use HeatWave API instead.
-// Sends a request to estimate the memory footprints of user tables when loaded to Analytics Cluster memory.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GenerateAnalyticsClusterMemoryEstimate.go.html to see an example of how to use GenerateAnalyticsClusterMemoryEstimate API.
-// A default retry strategy applies to this operation GenerateAnalyticsClusterMemoryEstimate()
-func (client DbSystemClient) GenerateAnalyticsClusterMemoryEstimate(ctx context.Context, request GenerateAnalyticsClusterMemoryEstimateRequest) (response GenerateAnalyticsClusterMemoryEstimateResponse, err error) {
- var ociResponse common.OCIResponse
- policy := common.DefaultRetryPolicy()
- 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.generateAnalyticsClusterMemoryEstimate, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = GenerateAnalyticsClusterMemoryEstimateResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = GenerateAnalyticsClusterMemoryEstimateResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(GenerateAnalyticsClusterMemoryEstimateResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into GenerateAnalyticsClusterMemoryEstimateResponse")
- }
- return
-}
-
-// generateAnalyticsClusterMemoryEstimate implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) generateAnalyticsClusterMemoryEstimate(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPost, "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate/actions/generate", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response GenerateAnalyticsClusterMemoryEstimateResponse
- 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/mysql/20190415/AnalyticsClusterMemoryEstimate/GenerateAnalyticsClusterMemoryEstimate"
- err = common.PostProcessServiceError(err, "DbSystem", "GenerateAnalyticsClusterMemoryEstimate", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// GenerateHeatWaveClusterMemoryEstimate Sends a request to estimate the memory footprints of user tables when loaded to HeatWave cluster memory.
//
// See also
@@ -586,125 +398,6 @@ func (client DbSystemClient) generateHeatWaveClusterMemoryEstimate(ctx context.C
return response, err
}
-// GetAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Gets information about the Analytics Cluster.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GetAnalyticsCluster.go.html to see an example of how to use GetAnalyticsCluster API.
-// A default retry strategy applies to this operation GetAnalyticsCluster()
-func (client DbSystemClient) GetAnalyticsCluster(ctx context.Context, request GetAnalyticsClusterRequest) (response GetAnalyticsClusterResponse, 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.getAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = GetAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = GetAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(GetAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into GetAnalyticsClusterResponse")
- }
- return
-}
-
-// getAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) getAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems/{dbSystemId}/analyticsCluster", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response GetAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/GetAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "GetAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
-// GetAnalyticsClusterMemoryEstimate DEPRECATED -- please use HeatWave API instead.
-// Gets the most recent Analytics Cluster memory estimate that can be used to determine a suitable
-// Analytics Cluster size.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/GetAnalyticsClusterMemoryEstimate.go.html to see an example of how to use GetAnalyticsClusterMemoryEstimate API.
-// A default retry strategy applies to this operation GetAnalyticsClusterMemoryEstimate()
-func (client DbSystemClient) GetAnalyticsClusterMemoryEstimate(ctx context.Context, request GetAnalyticsClusterMemoryEstimateRequest) (response GetAnalyticsClusterMemoryEstimateResponse, 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.getAnalyticsClusterMemoryEstimate, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = GetAnalyticsClusterMemoryEstimateResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = GetAnalyticsClusterMemoryEstimateResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(GetAnalyticsClusterMemoryEstimateResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into GetAnalyticsClusterMemoryEstimateResponse")
- }
- return
-}
-
-// getAnalyticsClusterMemoryEstimate implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) getAnalyticsClusterMemoryEstimate(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodGet, "/dbSystems/{dbSystemId}/analyticsClusterMemoryEstimate", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response GetAnalyticsClusterMemoryEstimateResponse
- 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/mysql/20190415/AnalyticsClusterMemoryEstimate/GetAnalyticsClusterMemoryEstimate"
- err = common.PostProcessServiceError(err, "DbSystem", "GetAnalyticsClusterMemoryEstimate", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// GetDbSystem Get information about the specified DB System.
//
// See also
@@ -939,70 +632,6 @@ func (client DbSystemClient) listDbSystems(ctx context.Context, request common.O
return response, err
}
-// RestartAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Restarts the Analytics Cluster.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/RestartAnalyticsCluster.go.html to see an example of how to use RestartAnalyticsCluster API.
-// A default retry strategy applies to this operation RestartAnalyticsCluster()
-func (client DbSystemClient) RestartAnalyticsCluster(ctx context.Context, request RestartAnalyticsClusterRequest) (response RestartAnalyticsClusterResponse, err error) {
- var ociResponse common.OCIResponse
- policy := common.DefaultRetryPolicy()
- 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.restartAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = RestartAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = RestartAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(RestartAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into RestartAnalyticsClusterResponse")
- }
- return
-}
-
-// restartAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) restartAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPost, "/dbSystems/{dbSystemId}/analyticsCluster/actions/restart", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response RestartAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/RestartAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "RestartAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// RestartDbSystem Restarts the specified DB System.
//
// See also
@@ -1129,70 +758,6 @@ func (client DbSystemClient) restartHeatWaveCluster(ctx context.Context, request
return response, err
}
-// StartAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Starts the Analytics Cluster.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/StartAnalyticsCluster.go.html to see an example of how to use StartAnalyticsCluster API.
-// A default retry strategy applies to this operation StartAnalyticsCluster()
-func (client DbSystemClient) StartAnalyticsCluster(ctx context.Context, request StartAnalyticsClusterRequest) (response StartAnalyticsClusterResponse, err error) {
- var ociResponse common.OCIResponse
- policy := common.DefaultRetryPolicy()
- 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.startAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = StartAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = StartAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(StartAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into StartAnalyticsClusterResponse")
- }
- return
-}
-
-// startAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) startAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPost, "/dbSystems/{dbSystemId}/analyticsCluster/actions/start", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response StartAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/StartAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "StartAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// StartDbSystem Start the specified DB System.
//
// See also
@@ -1319,70 +884,6 @@ func (client DbSystemClient) startHeatWaveCluster(ctx context.Context, request c
return response, err
}
-// StopAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Stops the Analytics Cluster.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/StopAnalyticsCluster.go.html to see an example of how to use StopAnalyticsCluster API.
-// A default retry strategy applies to this operation StopAnalyticsCluster()
-func (client DbSystemClient) StopAnalyticsCluster(ctx context.Context, request StopAnalyticsClusterRequest) (response StopAnalyticsClusterResponse, err error) {
- var ociResponse common.OCIResponse
- policy := common.DefaultRetryPolicy()
- 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.stopAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = StopAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = StopAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(StopAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into StopAnalyticsClusterResponse")
- }
- return
-}
-
-// stopAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) stopAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPost, "/dbSystems/{dbSystemId}/analyticsCluster/actions/stop", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response StopAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/StopAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "StopAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// StopDbSystem Stops the specified DB System.
// A stopped DB System is not billed.
//
@@ -1510,65 +1011,6 @@ func (client DbSystemClient) stopHeatWaveCluster(ctx context.Context, request co
return response, err
}
-// UpdateAnalyticsCluster DEPRECATED -- please use HeatWave API instead.
-// Updates the Analytics Cluster.
-//
-// See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/UpdateAnalyticsCluster.go.html to see an example of how to use UpdateAnalyticsCluster API.
-// A default retry strategy applies to this operation UpdateAnalyticsCluster()
-func (client DbSystemClient) UpdateAnalyticsCluster(ctx context.Context, request UpdateAnalyticsClusterRequest) (response UpdateAnalyticsClusterResponse, 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.updateAnalyticsCluster, policy)
- if err != nil {
- if ociResponse != nil {
- if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil {
- opcRequestId := httpResponse.Header.Get("opc-request-id")
- response = UpdateAnalyticsClusterResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId}
- } else {
- response = UpdateAnalyticsClusterResponse{}
- }
- }
- return
- }
- if convertedResponse, ok := ociResponse.(UpdateAnalyticsClusterResponse); ok {
- response = convertedResponse
- } else {
- err = fmt.Errorf("failed to convert OCIResponse into UpdateAnalyticsClusterResponse")
- }
- return
-}
-
-// updateAnalyticsCluster implements the OCIOperation interface (enables retrying operations)
-func (client DbSystemClient) updateAnalyticsCluster(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) {
-
- httpRequest, err := request.HTTPRequest(http.MethodPut, "/dbSystems/{dbSystemId}/analyticsCluster", binaryReqBody, extraHeaders)
- if err != nil {
- return nil, err
- }
-
- var response UpdateAnalyticsClusterResponse
- 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/mysql/20190415/AnalyticsCluster/UpdateAnalyticsCluster"
- err = common.PostProcessServiceError(err, "DbSystem", "UpdateAnalyticsCluster", apiReferenceLink)
- return response, err
- }
-
- err = common.UnmarshalResponse(httpResponse, &response)
- return response, err
-}
-
// UpdateDbSystem Update the configuration of a DB System.
// Updating different fields in the DB System will have different results
// on the uptime of the DB System. For example, changing the displayName of
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_mysqlaas_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_mysqlaas_client.go
index 31dd55ea2f4..2aefbf5e59d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_mysqlaas_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_mysqlaas_client.go
@@ -80,7 +80,7 @@ func (client *MysqlaasClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_replicas_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_replicas_client.go
index 0d53f00ca74..05a79ad540a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_replicas_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_replicas_client.go
@@ -80,7 +80,7 @@ func (client *ReplicasClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_workrequests_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_workrequests_client.go
index 934a31950ba..d39365ae458 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_workrequests_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/mysql_workrequests_client.go
@@ -80,7 +80,7 @@ func (client *WorkRequestsClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/restart_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/restart_analytics_cluster_request_response.go
deleted file mode 100644
index 83f4c2a3e56..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/restart_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// RestartAnalyticsClusterRequest wrapper for the RestartAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/RestartAnalyticsCluster.go.html to see an example of how to use RestartAnalyticsClusterRequest.
-type RestartAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // 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"`
-
- // 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 RestartAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request RestartAnalyticsClusterRequest) 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 RestartAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request RestartAnalyticsClusterRequest) 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 RestartAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// RestartAnalyticsClusterResponse wrapper for the RestartAnalyticsCluster operation
-type RestartAnalyticsClusterResponse 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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response RestartAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response RestartAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/shape_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/shape_summary.go
index bcdc6262f86..c08fe6ec9a9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/shape_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/shape_summary.go
@@ -61,21 +61,18 @@ type ShapeSummaryIsSupportedForEnum string
// Set of constants representing the allowable values for ShapeSummaryIsSupportedForEnum
const (
- ShapeSummaryIsSupportedForDbsystem ShapeSummaryIsSupportedForEnum = "DBSYSTEM"
- ShapeSummaryIsSupportedForAnalyticscluster ShapeSummaryIsSupportedForEnum = "ANALYTICSCLUSTER"
- ShapeSummaryIsSupportedForHeatwavecluster ShapeSummaryIsSupportedForEnum = "HEATWAVECLUSTER"
+ ShapeSummaryIsSupportedForDbsystem ShapeSummaryIsSupportedForEnum = "DBSYSTEM"
+ ShapeSummaryIsSupportedForHeatwavecluster ShapeSummaryIsSupportedForEnum = "HEATWAVECLUSTER"
)
var mappingShapeSummaryIsSupportedForEnum = map[string]ShapeSummaryIsSupportedForEnum{
- "DBSYSTEM": ShapeSummaryIsSupportedForDbsystem,
- "ANALYTICSCLUSTER": ShapeSummaryIsSupportedForAnalyticscluster,
- "HEATWAVECLUSTER": ShapeSummaryIsSupportedForHeatwavecluster,
+ "DBSYSTEM": ShapeSummaryIsSupportedForDbsystem,
+ "HEATWAVECLUSTER": ShapeSummaryIsSupportedForHeatwavecluster,
}
var mappingShapeSummaryIsSupportedForEnumLowerCase = map[string]ShapeSummaryIsSupportedForEnum{
- "dbsystem": ShapeSummaryIsSupportedForDbsystem,
- "analyticscluster": ShapeSummaryIsSupportedForAnalyticscluster,
- "heatwavecluster": ShapeSummaryIsSupportedForHeatwavecluster,
+ "dbsystem": ShapeSummaryIsSupportedForDbsystem,
+ "heatwavecluster": ShapeSummaryIsSupportedForHeatwavecluster,
}
// GetShapeSummaryIsSupportedForEnumValues Enumerates the set of values for ShapeSummaryIsSupportedForEnum
@@ -91,7 +88,6 @@ func GetShapeSummaryIsSupportedForEnumValues() []ShapeSummaryIsSupportedForEnum
func GetShapeSummaryIsSupportedForEnumStringValues() []string {
return []string{
"DBSYSTEM",
- "ANALYTICSCLUSTER",
"HEATWAVECLUSTER",
}
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/start_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/start_analytics_cluster_request_response.go
deleted file mode 100644
index 6bf25e8220d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/start_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// StartAnalyticsClusterRequest wrapper for the StartAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/StartAnalyticsCluster.go.html to see an example of how to use StartAnalyticsClusterRequest.
-type StartAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // 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"`
-
- // 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 StartAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request StartAnalyticsClusterRequest) 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 StartAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request StartAnalyticsClusterRequest) 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 StartAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// StartAnalyticsClusterResponse wrapper for the StartAnalyticsCluster operation
-type StartAnalyticsClusterResponse 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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response StartAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response StartAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/stop_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/stop_analytics_cluster_request_response.go
deleted file mode 100644
index 7ccee1e68be..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/stop_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,107 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// StopAnalyticsClusterRequest wrapper for the StopAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/StopAnalyticsCluster.go.html to see an example of how to use StopAnalyticsClusterRequest.
-type StopAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with the request.
- OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // 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"`
-
- // 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 StopAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request StopAnalyticsClusterRequest) 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 StopAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request StopAnalyticsClusterRequest) 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 StopAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// StopAnalyticsClusterResponse wrapper for the StopAnalyticsCluster operation
-type StopAnalyticsClusterResponse 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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response StopAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response StopAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_details.go
deleted file mode 100644
index 2d02efd4df4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_details.go
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// MySQL Database Service API
-//
-// The API for the MySQL Database Service
-//
-
-package mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// UpdateAnalyticsClusterDetails DEPRECATED -- please use HeatWave API instead.
-// Details about the Analytics Cluster properties to be updated.
-type UpdateAnalyticsClusterDetails struct {
-
- // A change to the shape of the nodes in the Analytics Cluster will
- // result in the entire cluster being torn down and re-created with
- // Compute instances of the new Shape. This may result in significant
- // downtime for the analytics capability while the Analytics Cluster is
- // re-provisioned.
- ShapeName *string `mandatory:"false" json:"shapeName"`
-
- // A change to the number of nodes in the Analytics Cluster will result
- // in the entire cluster being torn down and re-created with the new
- // cluster of nodes. This may result in a significant downtime for the
- // analytics capability while the Analytics Cluster is
- // re-provisioned.
- ClusterSize *int `mandatory:"false" json:"clusterSize"`
-}
-
-func (m UpdateAnalyticsClusterDetails) 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 UpdateAnalyticsClusterDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_request_response.go
deleted file mode 100644
index 3d5085e85e3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/update_analytics_cluster_request_response.go
+++ /dev/null
@@ -1,102 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 mysql
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateAnalyticsClusterRequest wrapper for the UpdateAnalyticsCluster operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/mysql/UpdateAnalyticsCluster.go.html to see an example of how to use UpdateAnalyticsClusterRequest.
-type UpdateAnalyticsClusterRequest struct {
-
- // The DB System OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- DbSystemId *string `mandatory:"true" contributesTo:"path" name:"dbSystemId"`
-
- // Request to update an Analytics Cluster.
- UpdateAnalyticsClusterDetails `contributesTo:"body"`
-
- // For optimistic concurrency control. In the PUT or DELETE call for a
- // resource, set the `If-Match` header 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"`
-
- // Customer-defined unique identifier for the request. If you need to
- // contact Oracle about a specific request, please provide the request
- // ID that you supplied in this header with 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 UpdateAnalyticsClusterRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateAnalyticsClusterRequest) 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 UpdateAnalyticsClusterRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateAnalyticsClusterRequest) 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 UpdateAnalyticsClusterRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateAnalyticsClusterResponse wrapper for the UpdateAnalyticsCluster operation
-type UpdateAnalyticsClusterResponse 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"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
-}
-
-func (response UpdateAnalyticsClusterResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateAnalyticsClusterResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/work_request_operation_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/work_request_operation_type.go
index ca8857129fe..1f05e871e09 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/mysql/work_request_operation_type.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/mysql/work_request_operation_type.go
@@ -18,96 +18,75 @@ type WorkRequestOperationTypeEnum string
// Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const (
- WorkRequestOperationTypeCreateDbsystem WorkRequestOperationTypeEnum = "CREATE_DBSYSTEM"
- WorkRequestOperationTypeUpdateDbsystem WorkRequestOperationTypeEnum = "UPDATE_DBSYSTEM"
- WorkRequestOperationTypeDeleteDbsystem WorkRequestOperationTypeEnum = "DELETE_DBSYSTEM"
- WorkRequestOperationTypeStartDbsystem WorkRequestOperationTypeEnum = "START_DBSYSTEM"
- WorkRequestOperationTypeStopDbsystem WorkRequestOperationTypeEnum = "STOP_DBSYSTEM"
- WorkRequestOperationTypeRestartDbsystem WorkRequestOperationTypeEnum = "RESTART_DBSYSTEM"
- WorkRequestOperationTypeAddAnalyticsCluster WorkRequestOperationTypeEnum = "ADD_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeUpdateAnalyticsCluster WorkRequestOperationTypeEnum = "UPDATE_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeDeleteAnalyticsCluster WorkRequestOperationTypeEnum = "DELETE_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeStartAnalyticsCluster WorkRequestOperationTypeEnum = "START_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeStopAnalyticsCluster WorkRequestOperationTypeEnum = "STOP_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeRestartAnalyticsCluster WorkRequestOperationTypeEnum = "RESTART_ANALYTICS_CLUSTER"
- WorkRequestOperationTypeGenerateAnalyticsClusterMemoryEstimate WorkRequestOperationTypeEnum = "GENERATE_ANALYTICS_CLUSTER_MEMORY_ESTIMATE"
- WorkRequestOperationTypeAddHeatwaveCluster WorkRequestOperationTypeEnum = "ADD_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeUpdateHeatwaveCluster WorkRequestOperationTypeEnum = "UPDATE_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeDeleteHeatwaveCluster WorkRequestOperationTypeEnum = "DELETE_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeStartHeatwaveCluster WorkRequestOperationTypeEnum = "START_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeStopHeatwaveCluster WorkRequestOperationTypeEnum = "STOP_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeRestartHeatwaveCluster WorkRequestOperationTypeEnum = "RESTART_HEATWAVE_CLUSTER"
- WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate WorkRequestOperationTypeEnum = "GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE"
- WorkRequestOperationTypeCreateReplica WorkRequestOperationTypeEnum = "CREATE_REPLICA"
- WorkRequestOperationTypeUpdateReplica WorkRequestOperationTypeEnum = "UPDATE_REPLICA"
- WorkRequestOperationTypeDeleteReplica WorkRequestOperationTypeEnum = "DELETE_REPLICA"
- WorkRequestOperationTypeCreateChannel WorkRequestOperationTypeEnum = "CREATE_CHANNEL"
- WorkRequestOperationTypeUpdateChannel WorkRequestOperationTypeEnum = "UPDATE_CHANNEL"
- WorkRequestOperationTypeResumeChannel WorkRequestOperationTypeEnum = "RESUME_CHANNEL"
- WorkRequestOperationTypeResetChannel WorkRequestOperationTypeEnum = "RESET_CHANNEL"
- WorkRequestOperationTypeDeleteChannel WorkRequestOperationTypeEnum = "DELETE_CHANNEL"
+ WorkRequestOperationTypeCreateDbsystem WorkRequestOperationTypeEnum = "CREATE_DBSYSTEM"
+ WorkRequestOperationTypeUpdateDbsystem WorkRequestOperationTypeEnum = "UPDATE_DBSYSTEM"
+ WorkRequestOperationTypeDeleteDbsystem WorkRequestOperationTypeEnum = "DELETE_DBSYSTEM"
+ WorkRequestOperationTypeStartDbsystem WorkRequestOperationTypeEnum = "START_DBSYSTEM"
+ WorkRequestOperationTypeStopDbsystem WorkRequestOperationTypeEnum = "STOP_DBSYSTEM"
+ WorkRequestOperationTypeRestartDbsystem WorkRequestOperationTypeEnum = "RESTART_DBSYSTEM"
+ WorkRequestOperationTypeAddHeatwaveCluster WorkRequestOperationTypeEnum = "ADD_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeUpdateHeatwaveCluster WorkRequestOperationTypeEnum = "UPDATE_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeDeleteHeatwaveCluster WorkRequestOperationTypeEnum = "DELETE_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeStartHeatwaveCluster WorkRequestOperationTypeEnum = "START_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeStopHeatwaveCluster WorkRequestOperationTypeEnum = "STOP_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeRestartHeatwaveCluster WorkRequestOperationTypeEnum = "RESTART_HEATWAVE_CLUSTER"
+ WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate WorkRequestOperationTypeEnum = "GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE"
+ WorkRequestOperationTypeCreateReplica WorkRequestOperationTypeEnum = "CREATE_REPLICA"
+ WorkRequestOperationTypeUpdateReplica WorkRequestOperationTypeEnum = "UPDATE_REPLICA"
+ WorkRequestOperationTypeDeleteReplica WorkRequestOperationTypeEnum = "DELETE_REPLICA"
+ WorkRequestOperationTypeCreateChannel WorkRequestOperationTypeEnum = "CREATE_CHANNEL"
+ WorkRequestOperationTypeUpdateChannel WorkRequestOperationTypeEnum = "UPDATE_CHANNEL"
+ WorkRequestOperationTypeResumeChannel WorkRequestOperationTypeEnum = "RESUME_CHANNEL"
+ WorkRequestOperationTypeResetChannel WorkRequestOperationTypeEnum = "RESET_CHANNEL"
+ WorkRequestOperationTypeDeleteChannel WorkRequestOperationTypeEnum = "DELETE_CHANNEL"
)
var mappingWorkRequestOperationTypeEnum = map[string]WorkRequestOperationTypeEnum{
- "CREATE_DBSYSTEM": WorkRequestOperationTypeCreateDbsystem,
- "UPDATE_DBSYSTEM": WorkRequestOperationTypeUpdateDbsystem,
- "DELETE_DBSYSTEM": WorkRequestOperationTypeDeleteDbsystem,
- "START_DBSYSTEM": WorkRequestOperationTypeStartDbsystem,
- "STOP_DBSYSTEM": WorkRequestOperationTypeStopDbsystem,
- "RESTART_DBSYSTEM": WorkRequestOperationTypeRestartDbsystem,
- "ADD_ANALYTICS_CLUSTER": WorkRequestOperationTypeAddAnalyticsCluster,
- "UPDATE_ANALYTICS_CLUSTER": WorkRequestOperationTypeUpdateAnalyticsCluster,
- "DELETE_ANALYTICS_CLUSTER": WorkRequestOperationTypeDeleteAnalyticsCluster,
- "START_ANALYTICS_CLUSTER": WorkRequestOperationTypeStartAnalyticsCluster,
- "STOP_ANALYTICS_CLUSTER": WorkRequestOperationTypeStopAnalyticsCluster,
- "RESTART_ANALYTICS_CLUSTER": WorkRequestOperationTypeRestartAnalyticsCluster,
- "GENERATE_ANALYTICS_CLUSTER_MEMORY_ESTIMATE": WorkRequestOperationTypeGenerateAnalyticsClusterMemoryEstimate,
- "ADD_HEATWAVE_CLUSTER": WorkRequestOperationTypeAddHeatwaveCluster,
- "UPDATE_HEATWAVE_CLUSTER": WorkRequestOperationTypeUpdateHeatwaveCluster,
- "DELETE_HEATWAVE_CLUSTER": WorkRequestOperationTypeDeleteHeatwaveCluster,
- "START_HEATWAVE_CLUSTER": WorkRequestOperationTypeStartHeatwaveCluster,
- "STOP_HEATWAVE_CLUSTER": WorkRequestOperationTypeStopHeatwaveCluster,
- "RESTART_HEATWAVE_CLUSTER": WorkRequestOperationTypeRestartHeatwaveCluster,
- "GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE": WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate,
- "CREATE_REPLICA": WorkRequestOperationTypeCreateReplica,
- "UPDATE_REPLICA": WorkRequestOperationTypeUpdateReplica,
- "DELETE_REPLICA": WorkRequestOperationTypeDeleteReplica,
- "CREATE_CHANNEL": WorkRequestOperationTypeCreateChannel,
- "UPDATE_CHANNEL": WorkRequestOperationTypeUpdateChannel,
- "RESUME_CHANNEL": WorkRequestOperationTypeResumeChannel,
- "RESET_CHANNEL": WorkRequestOperationTypeResetChannel,
- "DELETE_CHANNEL": WorkRequestOperationTypeDeleteChannel,
+ "CREATE_DBSYSTEM": WorkRequestOperationTypeCreateDbsystem,
+ "UPDATE_DBSYSTEM": WorkRequestOperationTypeUpdateDbsystem,
+ "DELETE_DBSYSTEM": WorkRequestOperationTypeDeleteDbsystem,
+ "START_DBSYSTEM": WorkRequestOperationTypeStartDbsystem,
+ "STOP_DBSYSTEM": WorkRequestOperationTypeStopDbsystem,
+ "RESTART_DBSYSTEM": WorkRequestOperationTypeRestartDbsystem,
+ "ADD_HEATWAVE_CLUSTER": WorkRequestOperationTypeAddHeatwaveCluster,
+ "UPDATE_HEATWAVE_CLUSTER": WorkRequestOperationTypeUpdateHeatwaveCluster,
+ "DELETE_HEATWAVE_CLUSTER": WorkRequestOperationTypeDeleteHeatwaveCluster,
+ "START_HEATWAVE_CLUSTER": WorkRequestOperationTypeStartHeatwaveCluster,
+ "STOP_HEATWAVE_CLUSTER": WorkRequestOperationTypeStopHeatwaveCluster,
+ "RESTART_HEATWAVE_CLUSTER": WorkRequestOperationTypeRestartHeatwaveCluster,
+ "GENERATE_HEATWAVE_CLUSTER_MEMORY_ESTIMATE": WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate,
+ "CREATE_REPLICA": WorkRequestOperationTypeCreateReplica,
+ "UPDATE_REPLICA": WorkRequestOperationTypeUpdateReplica,
+ "DELETE_REPLICA": WorkRequestOperationTypeDeleteReplica,
+ "CREATE_CHANNEL": WorkRequestOperationTypeCreateChannel,
+ "UPDATE_CHANNEL": WorkRequestOperationTypeUpdateChannel,
+ "RESUME_CHANNEL": WorkRequestOperationTypeResumeChannel,
+ "RESET_CHANNEL": WorkRequestOperationTypeResetChannel,
+ "DELETE_CHANNEL": WorkRequestOperationTypeDeleteChannel,
}
var mappingWorkRequestOperationTypeEnumLowerCase = map[string]WorkRequestOperationTypeEnum{
- "create_dbsystem": WorkRequestOperationTypeCreateDbsystem,
- "update_dbsystem": WorkRequestOperationTypeUpdateDbsystem,
- "delete_dbsystem": WorkRequestOperationTypeDeleteDbsystem,
- "start_dbsystem": WorkRequestOperationTypeStartDbsystem,
- "stop_dbsystem": WorkRequestOperationTypeStopDbsystem,
- "restart_dbsystem": WorkRequestOperationTypeRestartDbsystem,
- "add_analytics_cluster": WorkRequestOperationTypeAddAnalyticsCluster,
- "update_analytics_cluster": WorkRequestOperationTypeUpdateAnalyticsCluster,
- "delete_analytics_cluster": WorkRequestOperationTypeDeleteAnalyticsCluster,
- "start_analytics_cluster": WorkRequestOperationTypeStartAnalyticsCluster,
- "stop_analytics_cluster": WorkRequestOperationTypeStopAnalyticsCluster,
- "restart_analytics_cluster": WorkRequestOperationTypeRestartAnalyticsCluster,
- "generate_analytics_cluster_memory_estimate": WorkRequestOperationTypeGenerateAnalyticsClusterMemoryEstimate,
- "add_heatwave_cluster": WorkRequestOperationTypeAddHeatwaveCluster,
- "update_heatwave_cluster": WorkRequestOperationTypeUpdateHeatwaveCluster,
- "delete_heatwave_cluster": WorkRequestOperationTypeDeleteHeatwaveCluster,
- "start_heatwave_cluster": WorkRequestOperationTypeStartHeatwaveCluster,
- "stop_heatwave_cluster": WorkRequestOperationTypeStopHeatwaveCluster,
- "restart_heatwave_cluster": WorkRequestOperationTypeRestartHeatwaveCluster,
- "generate_heatwave_cluster_memory_estimate": WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate,
- "create_replica": WorkRequestOperationTypeCreateReplica,
- "update_replica": WorkRequestOperationTypeUpdateReplica,
- "delete_replica": WorkRequestOperationTypeDeleteReplica,
- "create_channel": WorkRequestOperationTypeCreateChannel,
- "update_channel": WorkRequestOperationTypeUpdateChannel,
- "resume_channel": WorkRequestOperationTypeResumeChannel,
- "reset_channel": WorkRequestOperationTypeResetChannel,
- "delete_channel": WorkRequestOperationTypeDeleteChannel,
+ "create_dbsystem": WorkRequestOperationTypeCreateDbsystem,
+ "update_dbsystem": WorkRequestOperationTypeUpdateDbsystem,
+ "delete_dbsystem": WorkRequestOperationTypeDeleteDbsystem,
+ "start_dbsystem": WorkRequestOperationTypeStartDbsystem,
+ "stop_dbsystem": WorkRequestOperationTypeStopDbsystem,
+ "restart_dbsystem": WorkRequestOperationTypeRestartDbsystem,
+ "add_heatwave_cluster": WorkRequestOperationTypeAddHeatwaveCluster,
+ "update_heatwave_cluster": WorkRequestOperationTypeUpdateHeatwaveCluster,
+ "delete_heatwave_cluster": WorkRequestOperationTypeDeleteHeatwaveCluster,
+ "start_heatwave_cluster": WorkRequestOperationTypeStartHeatwaveCluster,
+ "stop_heatwave_cluster": WorkRequestOperationTypeStopHeatwaveCluster,
+ "restart_heatwave_cluster": WorkRequestOperationTypeRestartHeatwaveCluster,
+ "generate_heatwave_cluster_memory_estimate": WorkRequestOperationTypeGenerateHeatwaveClusterMemoryEstimate,
+ "create_replica": WorkRequestOperationTypeCreateReplica,
+ "update_replica": WorkRequestOperationTypeUpdateReplica,
+ "delete_replica": WorkRequestOperationTypeDeleteReplica,
+ "create_channel": WorkRequestOperationTypeCreateChannel,
+ "update_channel": WorkRequestOperationTypeUpdateChannel,
+ "resume_channel": WorkRequestOperationTypeResumeChannel,
+ "reset_channel": WorkRequestOperationTypeResetChannel,
+ "delete_channel": WorkRequestOperationTypeDeleteChannel,
}
// GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
@@ -128,13 +107,6 @@ func GetWorkRequestOperationTypeEnumStringValues() []string {
"START_DBSYSTEM",
"STOP_DBSYSTEM",
"RESTART_DBSYSTEM",
- "ADD_ANALYTICS_CLUSTER",
- "UPDATE_ANALYTICS_CLUSTER",
- "DELETE_ANALYTICS_CLUSTER",
- "START_ANALYTICS_CLUSTER",
- "STOP_ANALYTICS_CLUSTER",
- "RESTART_ANALYTICS_CLUSTER",
- "GENERATE_ANALYTICS_CLUSTER_MEMORY_ESTIMATE",
"ADD_HEATWAVE_CLUSTER",
"UPDATE_HEATWAVE_CLUSTER",
"DELETE_HEATWAVE_CLUSTER",
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/create_network_firewall_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/create_network_firewall_policy_details.go
index 0dd12a4e1b8..3a1dc6dafd1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/create_network_firewall_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/create_network_firewall_policy_details.go
@@ -126,15 +126,9 @@ func (m *CreateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error
m.IpAddressLists = model.IpAddressLists
m.SecurityRules = make([]SecurityRule, len(model.SecurityRules))
- for i, n := range model.SecurityRules {
- m.SecurityRules[i] = n
- }
-
+ copy(m.SecurityRules, model.SecurityRules)
m.DecryptionRules = make([]DecryptionRule, len(model.DecryptionRules))
- for i, n := range model.DecryptionRules {
- m.DecryptionRules[i] = n
- }
-
+ copy(m.DecryptionRules, model.DecryptionRules)
m.DecryptionProfiles = make(map[string]DecryptionProfile)
for k, v := range model.DecryptionProfiles {
nn, e = v.UnmarshalPolymorphicJSON(v.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/mapped_secret.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/mapped_secret.go
index 650b828a8e9..8884a35b219 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/mapped_secret.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/mapped_secret.go
@@ -67,7 +67,7 @@ func (m *mappedsecret) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetType returns Type
+// GetType returns Type
func (m mappedsecret) GetType() MappedSecretTypeEnum {
return m.Type
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/network_firewall_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/network_firewall_policy.go
index c4030e87af0..4aa334e7051 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/network_firewall_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/network_firewall_policy.go
@@ -160,15 +160,9 @@ func (m *NetworkFirewallPolicy) UnmarshalJSON(data []byte) (e error) {
m.IpAddressLists = model.IpAddressLists
m.SecurityRules = make([]SecurityRule, len(model.SecurityRules))
- for i, n := range model.SecurityRules {
- m.SecurityRules[i] = n
- }
-
+ copy(m.SecurityRules, model.SecurityRules)
m.DecryptionRules = make([]DecryptionRule, len(model.DecryptionRules))
- for i, n := range model.DecryptionRules {
- m.DecryptionRules[i] = n
- }
-
+ copy(m.DecryptionRules, model.DecryptionRules)
m.DecryptionProfiles = make(map[string]DecryptionProfile)
for k, v := range model.DecryptionProfiles {
nn, e = v.UnmarshalPolymorphicJSON(v.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/networkfirewall_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/networkfirewall_client.go
index c6cc3d4f2da..8a0221066f4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/networkfirewall_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/networkfirewall_client.go
@@ -80,7 +80,7 @@ func (client *NetworkFirewallClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/update_network_firewall_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/update_network_firewall_policy_details.go
index 113d101df36..0699d0aab06 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/update_network_firewall_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkfirewall/update_network_firewall_policy_details.go
@@ -122,15 +122,9 @@ func (m *UpdateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error
m.IpAddressLists = model.IpAddressLists
m.SecurityRules = make([]SecurityRule, len(model.SecurityRules))
- for i, n := range model.SecurityRules {
- m.SecurityRules[i] = n
- }
-
+ copy(m.SecurityRules, model.SecurityRules)
m.DecryptionRules = make([]DecryptionRule, len(model.DecryptionRules))
- for i, n := range model.DecryptionRules {
- m.DecryptionRules[i] = n
- }
-
+ copy(m.DecryptionRules, model.DecryptionRules)
m.DecryptionProfiles = make(map[string]DecryptionProfile)
for k, v := range model.DecryptionProfiles {
nn, e = v.UnmarshalPolymorphicJSON(v.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go
index e14f53c15e9..531e5221add 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/networkloadbalancer/networkloadbalancer_client.go
@@ -80,7 +80,7 @@ func (client *NetworkLoadBalancerClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/nosql/nosql_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/nosql/nosql_client.go
index fc346918a6c..08a830ca226 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/nosql/nosql_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/nosql/nosql_client.go
@@ -83,7 +83,7 @@ func (client *NosqlClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/objectstorage/objectstorage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/objectstorage/objectstorage_client.go
index 5bcb43f6000..1d56f9c9cb6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/objectstorage/objectstorage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/objectstorage/objectstorage_client.go
@@ -85,7 +85,7 @@ func (client *ObjectStorageClient) setConfigurationProvider(configProvider commo
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oce/oce_oceinstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/oce/oce_oceinstance_client.go
index 5293c4fc93a..e6220e44383 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oce/oce_oceinstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oce/oce_oceinstance_client.go
@@ -80,7 +80,7 @@ func (client *OceInstanceClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_esxihost_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_esxihost_client.go
index b08abdf299c..d58b39ec838 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_esxihost_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_esxihost_client.go
@@ -81,7 +81,7 @@ func (client *EsxiHostClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_sddc_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_sddc_client.go
index e1ea5f3592f..a522aedb1b0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_sddc_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_sddc_client.go
@@ -81,7 +81,7 @@ func (client *SddcClient) setConfigurationProvider(configProvider common.Configu
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_workrequest_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_workrequest_client.go
index c88fbfe7a98..b22c77986fa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_workrequest_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ocvp/ocvp_workrequest_client.go
@@ -81,7 +81,7 @@ func (client *WorkRequestClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/channel.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/channel.go
index dc04f711a4e..7f8d21717ae 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/channel.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/channel.go
@@ -54,16 +54,16 @@ type Channel interface {
type channel struct {
JsonData []byte
+ Description *string `mandatory:"false" json:"description"`
+ SessionExpiryDurationInMilliseconds *int64 `mandatory:"false" json:"sessionExpiryDurationInMilliseconds"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Id *string `mandatory:"true" json:"id"`
Name *string `mandatory:"true" json:"name"`
Category ChannelCategoryEnum `mandatory:"true" json:"category"`
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- Description *string `mandatory:"false" json:"description"`
- SessionExpiryDurationInMilliseconds *int64 `mandatory:"false" json:"sessionExpiryDurationInMilliseconds"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Type string `json:"type"`
}
@@ -168,56 +168,56 @@ func (m *channel) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
+// GetDescription returns Description
+func (m channel) GetDescription() *string {
+ return m.Description
+}
+
+// GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
+func (m channel) GetSessionExpiryDurationInMilliseconds() *int64 {
+ return m.SessionExpiryDurationInMilliseconds
+}
+
+// GetFreeformTags returns FreeformTags
+func (m channel) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m channel) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetId returns Id
func (m channel) GetId() *string {
return m.Id
}
-//GetName returns Name
+// GetName returns Name
func (m channel) GetName() *string {
return m.Name
}
-//GetCategory returns Category
+// GetCategory returns Category
func (m channel) GetCategory() ChannelCategoryEnum {
return m.Category
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m channel) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m channel) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m channel) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetDescription returns Description
-func (m channel) GetDescription() *string {
- return m.Description
-}
-
-//GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
-func (m channel) GetSessionExpiryDurationInMilliseconds() *int64 {
- return m.SessionExpiryDurationInMilliseconds
-}
-
-//GetFreeformTags returns FreeformTags
-func (m channel) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m channel) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m channel) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_details.go
index 8b7bffcb748..5fbaed9afd2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_details.go
@@ -39,11 +39,11 @@ type CreateChannelDetails interface {
type createchanneldetails struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
Description *string `mandatory:"false" json:"description"`
SessionExpiryDurationInMilliseconds *int64 `mandatory:"false" json:"sessionExpiryDurationInMilliseconds"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ Name *string `mandatory:"true" json:"name"`
Type string `json:"type"`
}
@@ -139,31 +139,31 @@ func (m *createchanneldetails) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetName returns Name
-func (m createchanneldetails) GetName() *string {
- return m.Name
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m createchanneldetails) GetDescription() *string {
return m.Description
}
-//GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
+// GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
func (m createchanneldetails) GetSessionExpiryDurationInMilliseconds() *int64 {
return m.SessionExpiryDurationInMilliseconds
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createchanneldetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createchanneldetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetName returns Name
+func (m createchanneldetails) GetName() *string {
+ return m.Name
+}
+
func (m createchanneldetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_result.go
index 0088fd8393d..c6678d0be3b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_channel_result.go
@@ -54,16 +54,16 @@ type CreateChannelResult interface {
type createchannelresult struct {
JsonData []byte
+ Description *string `mandatory:"false" json:"description"`
+ SessionExpiryDurationInMilliseconds *int64 `mandatory:"false" json:"sessionExpiryDurationInMilliseconds"`
+ FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Id *string `mandatory:"true" json:"id"`
Name *string `mandatory:"true" json:"name"`
Category ChannelCategoryEnum `mandatory:"true" json:"category"`
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
- Description *string `mandatory:"false" json:"description"`
- SessionExpiryDurationInMilliseconds *int64 `mandatory:"false" json:"sessionExpiryDurationInMilliseconds"`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
Type string `json:"type"`
}
@@ -168,56 +168,56 @@ func (m *createchannelresult) UnmarshalPolymorphicJSON(data []byte) (interface{}
}
}
-//GetId returns Id
+// GetDescription returns Description
+func (m createchannelresult) GetDescription() *string {
+ return m.Description
+}
+
+// GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
+func (m createchannelresult) GetSessionExpiryDurationInMilliseconds() *int64 {
+ return m.SessionExpiryDurationInMilliseconds
+}
+
+// GetFreeformTags returns FreeformTags
+func (m createchannelresult) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m createchannelresult) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetId returns Id
func (m createchannelresult) GetId() *string {
return m.Id
}
-//GetName returns Name
+// GetName returns Name
func (m createchannelresult) GetName() *string {
return m.Name
}
-//GetCategory returns Category
+// GetCategory returns Category
func (m createchannelresult) GetCategory() ChannelCategoryEnum {
return m.Category
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m createchannelresult) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m createchannelresult) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m createchannelresult) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetDescription returns Description
-func (m createchannelresult) GetDescription() *string {
- return m.Description
-}
-
-//GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
-func (m createchannelresult) GetSessionExpiryDurationInMilliseconds() *int64 {
- return m.SessionExpiryDurationInMilliseconds
-}
-
-//GetFreeformTags returns FreeformTags
-func (m createchannelresult) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m createchannelresult) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
func (m createchannelresult) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_digital_assistant_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_digital_assistant_details.go
index 66fce216e51..5eed8fc6138 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_digital_assistant_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_digital_assistant_details.go
@@ -109,37 +109,37 @@ func (m *createdigitalassistantdetails) UnmarshalPolymorphicJSON(data []byte) (i
}
}
-//GetCategory returns Category
+// GetCategory returns Category
func (m createdigitalassistantdetails) GetCategory() *string {
return m.Category
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createdigitalassistantdetails) GetDescription() *string {
return m.Description
}
-//GetPlatformVersion returns PlatformVersion
+// GetPlatformVersion returns PlatformVersion
func (m createdigitalassistantdetails) GetPlatformVersion() *string {
return m.PlatformVersion
}
-//GetMultilingualMode returns MultilingualMode
+// GetMultilingualMode returns MultilingualMode
func (m createdigitalassistantdetails) GetMultilingualMode() BotMultilingualModeEnum {
return m.MultilingualMode
}
-//GetPrimaryLanguageTag returns PrimaryLanguageTag
+// GetPrimaryLanguageTag returns PrimaryLanguageTag
func (m createdigitalassistantdetails) GetPrimaryLanguageTag() *string {
return m.PrimaryLanguageTag
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdigitalassistantdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdigitalassistantdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_skill_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_skill_details.go
index f06cb8ea4c3..78c6f3a654f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_skill_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/create_skill_details.go
@@ -109,37 +109,37 @@ func (m *createskilldetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetCategory returns Category
+// GetCategory returns Category
func (m createskilldetails) GetCategory() *string {
return m.Category
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createskilldetails) GetDescription() *string {
return m.Description
}
-//GetPlatformVersion returns PlatformVersion
+// GetPlatformVersion returns PlatformVersion
func (m createskilldetails) GetPlatformVersion() *string {
return m.PlatformVersion
}
-//GetMultilingualMode returns MultilingualMode
+// GetMultilingualMode returns MultilingualMode
func (m createskilldetails) GetMultilingualMode() BotMultilingualModeEnum {
return m.MultilingualMode
}
-//GetPrimaryLanguageTag returns PrimaryLanguageTag
+// GetPrimaryLanguageTag returns PrimaryLanguageTag
func (m createskilldetails) GetPrimaryLanguageTag() *string {
return m.PrimaryLanguageTag
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createskilldetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createskilldetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_client.go
index 195d97577fd..52b6ee7caea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_client.go
@@ -80,7 +80,7 @@ func (client *OdaClient) setConfigurationProvider(configProvider common.Configur
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_management_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_management_client.go
index 6511ff78960..a31a6ba2d80 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_management_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_management_client.go
@@ -80,7 +80,7 @@ func (client *ManagementClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_odapackage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_odapackage_client.go
index 04beb6b43c9..b454bfad4c7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_odapackage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/oda_odapackage_client.go
@@ -80,7 +80,7 @@ func (client *OdapackageClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/oda/update_channel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/oda/update_channel_details.go
index c69cdb2a4f0..856c4e2b3e1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/oda/update_channel_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/oda/update_channel_details.go
@@ -139,27 +139,27 @@ func (m *updatechanneldetails) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetName returns Name
+// GetName returns Name
func (m updatechanneldetails) GetName() *string {
return m.Name
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updatechanneldetails) GetDescription() *string {
return m.Description
}
-//GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
+// GetSessionExpiryDurationInMilliseconds returns SessionExpiryDurationInMilliseconds
func (m updatechanneldetails) GetSessionExpiryDurationInMilliseconds() *int64 {
return m.SessionExpiryDurationInMilliseconds
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatechanneldetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatechanneldetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_billingschedule_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_billingschedule_client.go
index d5f9bd66720..8bad4fef8e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_billingschedule_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_billingschedule_client.go
@@ -80,7 +80,7 @@ func (client *BillingScheduleClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_commitment_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_commitment_client.go
index 48a9b981ddc..5ebb246dd77 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_commitment_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_commitment_client.go
@@ -80,7 +80,7 @@ func (client *CommitmentClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_computedusage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_computedusage_client.go
index 339ccdb553b..3404d2bfab6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_computedusage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_computedusage_client.go
@@ -80,7 +80,7 @@ func (client *ComputedUsageClient) setConfigurationProvider(configProvider commo
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_invoicesummary_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_invoicesummary_client.go
index 2c3618c0e24..ef4b4e9d3ed 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_invoicesummary_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_invoicesummary_client.go
@@ -80,7 +80,7 @@ func (client *InvoiceSummaryClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_organizationsubscription_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_organizationsubscription_client.go
index ded04c5f374..b4e108eabdc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_organizationsubscription_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_organizationsubscription_client.go
@@ -80,7 +80,7 @@ func (client *OrganizationSubscriptionClient) setConfigurationProvider(configPro
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_ratecard_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_ratecard_client.go
index be516621635..9f9ceffc2b2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_ratecard_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_ratecard_client.go
@@ -80,7 +80,7 @@ func (client *RatecardClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscribedservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscribedservice_client.go
index 67916abee15..7d214b04239 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscribedservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscribedservice_client.go
@@ -80,7 +80,7 @@ func (client *SubscribedServiceClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscription_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscription_client.go
index 0d9e583716b..9d8ef9a8569 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscription_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/onesubscription/onesubscription_subscription_client.go
@@ -80,7 +80,7 @@ func (client *SubscriptionClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationcontrolplane_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationcontrolplane_client.go
index 31320a77721..47abce3779d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationcontrolplane_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationcontrolplane_client.go
@@ -81,7 +81,7 @@ func (client *NotificationControlPlaneClient) setConfigurationProvider(configPro
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationdataplane_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationdataplane_client.go
index 779ac2e2957..93e69105d47 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationdataplane_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ons/ons_notificationdataplane_client.go
@@ -81,7 +81,7 @@ func (client *NotificationDataPlaneClient) setConfigurationProvider(configProvid
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opa/opa_opainstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/opa/opa_opainstance_client.go
index 8333db5e9ea..e6d51dab937 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opa/opa_opainstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opa/opa_opainstance_client.go
@@ -80,7 +80,7 @@ func (client *OpaInstanceClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchcluster_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchcluster_client.go
index 97471a0dc69..66c2f44206b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchcluster_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchcluster_client.go
@@ -80,7 +80,7 @@ func (client *OpensearchClusterClient) setConfigurationProvider(configProvider c
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchclusterbackup_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchclusterbackup_client.go
index 774bdf82f56..705e43c5880 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchclusterbackup_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opensearch/opensearch_opensearchclusterbackup_client.go
@@ -80,7 +80,7 @@ func (client *OpensearchClusterBackupClient) setConfigurationProvider(configProv
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_accessrequests_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_accessrequests_client.go
index b14240bf784..c144bd62d4e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_accessrequests_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_accessrequests_client.go
@@ -82,7 +82,7 @@ func (client *AccessRequestsClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatoractions_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatoractions_client.go
index 857eaacb7b4..cf71460efcc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatoractions_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatoractions_client.go
@@ -82,7 +82,7 @@ func (client *OperatorActionsClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrol_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrol_client.go
index 0a3d6e9a552..675a902c2b4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrol_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrol_client.go
@@ -82,7 +82,7 @@ func (client *OperatorControlClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrolassignment_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrolassignment_client.go
index 2beb262ef3d..262a4b3a6f0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrolassignment_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/operatoraccesscontrol/operatoraccesscontrol_operatorcontrolassignment_client.go
@@ -82,7 +82,7 @@ func (client *OperatorControlAssignmentClient) setConfigurationProvider(configPr
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/action_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/action_type.go
deleted file mode 100644
index f1ad17b0143..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/action_type.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ActionTypeEnum Enum with underlying type: string
-type ActionTypeEnum string
-
-// Set of constants representing the allowable values for ActionTypeEnum
-const (
- ActionTypeCreated ActionTypeEnum = "CREATED"
- ActionTypeUpdated ActionTypeEnum = "UPDATED"
- ActionTypeDeleted ActionTypeEnum = "DELETED"
- ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
- ActionTypeRelated ActionTypeEnum = "RELATED"
- ActionTypeFailed ActionTypeEnum = "FAILED"
-)
-
-var mappingActionTypeEnum = map[string]ActionTypeEnum{
- "CREATED": ActionTypeCreated,
- "UPDATED": ActionTypeUpdated,
- "DELETED": ActionTypeDeleted,
- "IN_PROGRESS": ActionTypeInProgress,
- "RELATED": ActionTypeRelated,
- "FAILED": ActionTypeFailed,
-}
-
-var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{
- "created": ActionTypeCreated,
- "updated": ActionTypeUpdated,
- "deleted": ActionTypeDeleted,
- "in_progress": ActionTypeInProgress,
- "related": ActionTypeRelated,
- "failed": ActionTypeFailed,
-}
-
-// GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
-func GetActionTypeEnumValues() []ActionTypeEnum {
- values := make([]ActionTypeEnum, 0)
- for _, v := range mappingActionTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
-func GetActionTypeEnumStringValues() []string {
- return []string{
- "CREATED",
- "UPDATED",
- "DELETED",
- "IN_PROGRESS",
- "RELATED",
- "FAILED",
- }
-}
-
-// GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool) {
- enum, ok := mappingActionTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_em_managed_external_exadata_insight_members_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_em_managed_external_exadata_insight_members_details.go
deleted file mode 100644
index 5895362abc9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_em_managed_external_exadata_insight_members_details.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AddEmManagedExternalExadataInsightMembersDetails The information about the members of Exadata system to be added. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
-type AddEmManagedExternalExadataInsightMembersDetails struct {
- MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
-}
-
-func (m AddEmManagedExternalExadataInsightMembersDetails) 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 AddEmManagedExternalExadataInsightMembersDetails) 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 AddEmManagedExternalExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAddEmManagedExternalExadataInsightMembersDetails AddEmManagedExternalExadataInsightMembersDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeAddEmManagedExternalExadataInsightMembersDetails
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeAddEmManagedExternalExadataInsightMembersDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_details.go
deleted file mode 100644
index dfeb5069f11..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_details.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AddExadataInsightMembersDetails The information about the members of Exadata system to be added.
-type AddExadataInsightMembersDetails interface {
-}
-
-type addexadatainsightmembersdetails struct {
- JsonData []byte
- EntitySource string `json:"entitySource"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *addexadatainsightmembersdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshaleraddexadatainsightmembersdetails addexadatainsightmembersdetails
- s := struct {
- Model Unmarshaleraddexadatainsightmembersdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.EntitySource = s.Model.EntitySource
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *addexadatainsightmembersdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.EntitySource {
- case "PE_COMANAGED_EXADATA":
- mm := AddPeComanagedExadataInsightMembersDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "EM_MANAGED_EXTERNAL_EXADATA":
- mm := AddEmManagedExternalExadataInsightMembersDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for AddExadataInsightMembersDetails: %s.", m.EntitySource)
- return *m, nil
- }
-}
-
-func (m addexadatainsightmembersdetails) 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 addexadatainsightmembersdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_request_response.go
deleted file mode 100644
index ec4f25ecfc7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_exadata_insight_members_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// AddExadataInsightMembersRequest wrapper for the AddExadataInsightMembers operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/AddExadataInsightMembers.go.html to see an example of how to use AddExadataInsightMembersRequest.
-type AddExadataInsightMembersRequest struct {
-
- // Details for the members (e.g. databases and hosts) of an Exadata system to be added in Operations Insights.
- AddExadataInsightMembersDetails `contributesTo:"body"`
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 AddExadataInsightMembersRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request AddExadataInsightMembersRequest) 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 AddExadataInsightMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request AddExadataInsightMembersRequest) 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 AddExadataInsightMembersRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// AddExadataInsightMembersResponse wrapper for the AddExadataInsightMembers operation
-type AddExadataInsightMembersResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 AddExadataInsightMembersResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response AddExadataInsightMembersResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_pe_comanaged_exadata_insight_members_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_pe_comanaged_exadata_insight_members_details.go
deleted file mode 100644
index 4dc491eb010..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/add_pe_comanaged_exadata_insight_members_details.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AddPeComanagedExadataInsightMembersDetails The information about the members of Exadata system to be added.
-type AddPeComanagedExadataInsightMembersDetails struct {
- MemberEntityDetails []CreatePeComanagedExadataVmclusterDetails `mandatory:"false" json:"memberEntityDetails"`
-}
-
-func (m AddPeComanagedExadataInsightMembersDetails) 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 AddPeComanagedExadataInsightMembersDetails) 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 AddPeComanagedExadataInsightMembersDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAddPeComanagedExadataInsightMembersDetails AddPeComanagedExadataInsightMembersDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeAddPeComanagedExadataInsightMembersDetails
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypeAddPeComanagedExadataInsightMembersDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_collection.go
deleted file mode 100644
index 50d78285711..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_collection.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbCollection The result of ADDM databases
-type AddmDbCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of ADDM database summary data
- Items []AddmDbSummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbCollection) 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 AddmDbCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation.go
deleted file mode 100644
index 806494c307f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingAggregation Summarizes a specific ADDM finding
-type AddmDbFindingAggregation struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Unique finding id
- FindingId *string `mandatory:"true" json:"findingId"`
-
- // Category name
- CategoryName *string `mandatory:"true" json:"categoryName"`
-
- // Category display name
- CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"`
-
- // Finding name
- Name *string `mandatory:"true" json:"name"`
-
- // Finding message
- Message *string `mandatory:"true" json:"message"`
-
- // Overall impact in terms of percentage of total activity
- ImpactOverallPercent *float64 `mandatory:"true" json:"impactOverallPercent"`
-
- // Maximum impact in terms of percentage of total activity
- ImpactMaxPercent *float64 `mandatory:"true" json:"impactMaxPercent"`
-
- // Number of occurrences for this finding
- FrequencyCount *int `mandatory:"true" json:"frequencyCount"`
-
- // Number of recommendations for this finding
- RecommendationCount *int `mandatory:"true" json:"recommendationCount"`
-
- // Impact in terms of average active sessions
- ImpactAvgActiveSessions *float64 `mandatory:"false" json:"impactAvgActiveSessions"`
-}
-
-func (m AddmDbFindingAggregation) 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 AddmDbFindingAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation_collection.go
deleted file mode 100644
index 6f19a42edb6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_aggregation_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingAggregationCollection Summarizes ADDM findings over specified time period
-type AddmDbFindingAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of ADDM finding summaries
- Items []AddmDbFindingAggregation `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbFindingAggregationCollection) 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 AddmDbFindingAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_collection.go
deleted file mode 100644
index 4d2fee730f1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_collection.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingCategoryCollection List of finding categories
-type AddmDbFindingCategoryCollection struct {
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of finding categories
- Items []AddmDbFindingCategorySummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbFindingCategoryCollection) 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 AddmDbFindingCategoryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_summary.go
deleted file mode 100644
index c949b386e04..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_finding_category_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingCategorySummary Finding category summary
-type AddmDbFindingCategorySummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Name of finding category
- Name *string `mandatory:"true" json:"name"`
-
- // Display name of finding category
- DisplayName *string `mandatory:"true" json:"displayName"`
-}
-
-func (m AddmDbFindingCategorySummary) 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 AddmDbFindingCategorySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_collection.go
deleted file mode 100644
index e818cb13f33..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingsTimeSeriesCollection ADDM findings time series response.
-type AddmDbFindingsTimeSeriesCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of ADDM finding time series data
- Items []AddmDbFindingsTimeSeriesSummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbFindingsTimeSeriesCollection) 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 AddmDbFindingsTimeSeriesCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_summary.go
deleted file mode 100644
index 193ed437b7f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_findings_time_series_summary.go
+++ /dev/null
@@ -1,86 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbFindingsTimeSeriesSummary ADDM findings time series data
-type AddmDbFindingsTimeSeriesSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Unique ADDM task id
- TaskId *int `mandatory:"true" json:"taskId"`
-
- // ADDM task name
- TaskName *string `mandatory:"true" json:"taskName"`
-
- // Unique finding id
- FindingId *string `mandatory:"true" json:"findingId"`
-
- // Timestamp when finding was generated
- Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
-
- // Category name
- CategoryName *string `mandatory:"true" json:"categoryName"`
-
- // Category display name
- CategoryDisplayName *string `mandatory:"true" json:"categoryDisplayName"`
-
- // Finding name
- Name *string `mandatory:"true" json:"name"`
-
- // Finding message
- Message *string `mandatory:"true" json:"message"`
-
- // Impact in terms of percentage of total activity
- ImpactPercent *float64 `mandatory:"true" json:"impactPercent"`
-
- // Impact in terms of average active sessions
- ImpactAvgActiveSessions *float64 `mandatory:"true" json:"impactAvgActiveSessions"`
-
- // Start Timestamp of snapshot
- TimeAnalysisStarted *common.SDKTime `mandatory:"false" json:"timeAnalysisStarted"`
-
- // End Timestamp of snapshot
- TimeAnalysisEnded *common.SDKTime `mandatory:"false" json:"timeAnalysisEnded"`
-
- // DB time in seconds for the snapshot
- AnalysisDbTimeInSecs *float64 `mandatory:"false" json:"analysisDbTimeInSecs"`
-
- // DB avg active sessions for the snapshot
- AnalysisAvgActiveSessions *float64 `mandatory:"false" json:"analysisAvgActiveSessions"`
-
- // Impact in seconds
- ImpactDbTimeInSecs *float64 `mandatory:"false" json:"impactDbTimeInSecs"`
-}
-
-func (m AddmDbFindingsTimeSeriesSummary) 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 AddmDbFindingsTimeSeriesSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation.go
deleted file mode 100644
index ea6a6c8f551..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation.go
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterAggregation Summarizes change history for specific database parameter
-type AddmDbParameterAggregation struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Name of parameter
- Name *string `mandatory:"true" json:"name"`
-
- // Indicates whether the parameter's value changed during the selected time range (TRUE) or
- // did not change during the selected time range (FALSE)
- IsChanged *bool `mandatory:"true" json:"isChanged"`
-
- // Number of database instance
- InstNum *int `mandatory:"false" json:"instNum"`
-
- // Parameter default value
- DefaultValue *string `mandatory:"false" json:"defaultValue"`
-
- // Parameter value when time period began
- BeginValue *string `mandatory:"false" json:"beginValue"`
-
- // Parameter value when time period ended
- EndValue *string `mandatory:"false" json:"endValue"`
-
- // Indicates whether the parameter's end value was set to the default value (TRUE) or was
- // specified in the parameter file (FALSE)
- IsDefault *bool `mandatory:"false" json:"isDefault"`
-
- // Indicates whether the parameter has been modified after instance starup
- // MODIFIED - Parameter has been modified with ALTER SESSION
- // SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM
- // FALSE - Parameter has not been modified after instance starup
- ValueModified *string `mandatory:"false" json:"valueModified"`
-
- // Indicates whether the parameter is a high impact parameter (TRUE) or not (FALSE)
- IsHighImpact *bool `mandatory:"false" json:"isHighImpact"`
-}
-
-func (m AddmDbParameterAggregation) 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 AddmDbParameterAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation_collection.go
deleted file mode 100644
index 4d612f8c74d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_aggregation_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterAggregationCollection Summarizes AWR parameter change history over specified time period
-type AddmDbParameterAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of AWR parameter change summaries
- Items []AddmDbParameterAggregation `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbParameterAggregationCollection) 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 AddmDbParameterAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_collection.go
deleted file mode 100644
index 888addf1aec..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_collection.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterCategoryCollection List of database parameter categories
-type AddmDbParameterCategoryCollection struct {
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of database parameter categories
- Items []AddmDbParameterCategorySummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbParameterCategoryCollection) 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 AddmDbParameterCategoryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_summary.go
deleted file mode 100644
index e045c8a66df..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_category_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterCategorySummary Database parameter category summary
-type AddmDbParameterCategorySummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Name of database parameter category
- Name *string `mandatory:"true" json:"name"`
-
- // Display name of database parameter category
- DisplayName *string `mandatory:"true" json:"displayName"`
-}
-
-func (m AddmDbParameterCategorySummary) 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 AddmDbParameterCategorySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation.go
deleted file mode 100644
index ca5fd1f924f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterChangeAggregation Change record for AWR database parameter
-type AddmDbParameterChangeAggregation struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Begin time of interval which includes change
- TimeBegin *common.SDKTime `mandatory:"true" json:"timeBegin"`
-
- // End time of interval which includes change
- TimeEnd *common.SDKTime `mandatory:"true" json:"timeEnd"`
-
- // Instance number
- InstNum *int `mandatory:"true" json:"instNum"`
-
- // AWR snapshot id which includes the parameter value change
- SnapshotId *int `mandatory:"true" json:"snapshotId"`
-
- // Previous value
- PreviousValue *string `mandatory:"false" json:"previousValue"`
-
- // Current value
- Value *string `mandatory:"false" json:"value"`
-}
-
-func (m AddmDbParameterChangeAggregation) 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 AddmDbParameterChangeAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation_collection.go
deleted file mode 100644
index e122e28d6d0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_parameter_change_aggregation_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbParameterChangeAggregationCollection Summarizes AWR parameter change history over specified time period for specified parameter
-type AddmDbParameterChangeAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of AWR parameter changes
- Items []AddmDbParameterChangeAggregation `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbParameterChangeAggregationCollection) 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 AddmDbParameterChangeAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation.go
index 849a0b0c6dd..36805255d0f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation.go
@@ -98,10 +98,7 @@ func (m *AddmDbRecommendationAggregation) UnmarshalJSON(data []byte) (e error) {
m.RequiresDbRestart = model.RequiresDbRestart
m.ImplementActions = make([]string, len(model.ImplementActions))
- for i, n := range model.ImplementActions {
- m.ImplementActions[i] = n
- }
-
+ copy(m.ImplementActions, model.ImplementActions)
m.Rationale = model.Rationale
m.MaxBenefitPercent = model.MaxBenefitPercent
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation_collection.go
deleted file mode 100644
index eda3e6a5647..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_aggregation_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbRecommendationAggregationCollection Summarizes ADDM recommendations over specified time period
-type AddmDbRecommendationAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of ADDM recommendation summaries
- Items []AddmDbRecommendationAggregation `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbRecommendationAggregationCollection) 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 AddmDbRecommendationAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_collection.go
deleted file mode 100644
index 5d1b23d839e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_collection.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbRecommendationCategoryCollection List of recommendation categories
-type AddmDbRecommendationCategoryCollection struct {
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of recommendation categories
- Items []AddmDbRecommendationCategorySummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbRecommendationCategoryCollection) 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 AddmDbRecommendationCategoryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_summary.go
deleted file mode 100644
index 3bbb09e5e33..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendation_category_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbRecommendationCategorySummary Recommendation category summary
-type AddmDbRecommendationCategorySummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Name of recommendation category
- Name *string `mandatory:"true" json:"name"`
-
- // Display name of recommendation category
- DisplayName *string `mandatory:"true" json:"displayName"`
-}
-
-func (m AddmDbRecommendationCategorySummary) 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 AddmDbRecommendationCategorySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_collection.go
deleted file mode 100644
index 2d2cd87f550..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbRecommendationsTimeSeriesCollection ADDM recommendations time series
-type AddmDbRecommendationsTimeSeriesCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of ADDM recommendations time series data
- Items []AddmDbRecommendationsTimeSeriesSummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbRecommendationsTimeSeriesCollection) 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 AddmDbRecommendationsTimeSeriesCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_summary.go
deleted file mode 100644
index b6dbe1d2055..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_recommendations_time_series_summary.go
+++ /dev/null
@@ -1,137 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AddmDbRecommendationsTimeSeriesSummary ADDM recommendation
-type AddmDbRecommendationsTimeSeriesSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Unique ADDM task id
- TaskId *int `mandatory:"true" json:"taskId"`
-
- // ADDM task name
- TaskName *string `mandatory:"true" json:"taskName"`
-
- // Timestamp when recommendation was generated
- Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
-
- // Start Timestamp of snapshot
- TimeAnalysisStarted *common.SDKTime `mandatory:"false" json:"timeAnalysisStarted"`
-
- // End Timestamp of snapshot
- TimeAnalysisEnded *common.SDKTime `mandatory:"false" json:"timeAnalysisEnded"`
-
- // Type of recommendation
- Type *string `mandatory:"false" json:"type"`
-
- // DB time in seconds for the snapshot
- AnalysisDbTimeInSecs *float64 `mandatory:"false" json:"analysisDbTimeInSecs"`
-
- // DB avg active sessions for the snapshot
- AnalysisAvgActiveSessions *float64 `mandatory:"false" json:"analysisAvgActiveSessions"`
-
- // Maximum estimated benefit in terms of percentage of total activity
- MaxBenefitPercent *float64 `mandatory:"false" json:"maxBenefitPercent"`
-
- // Maximum estimated benefit in terms of seconds
- MaxBenefitDbTimeInSecs *float64 `mandatory:"false" json:"maxBenefitDbTimeInSecs"`
-
- // Maximum estimated benefit in terms of average active sessions
- MaxBenefitAvgActiveSessions *float64 `mandatory:"false" json:"maxBenefitAvgActiveSessions"`
-
- RelatedObject RelatedObjectTypeDetails `mandatory:"false" json:"relatedObject"`
-}
-
-func (m AddmDbRecommendationsTimeSeriesSummary) 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 AddmDbRecommendationsTimeSeriesSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *AddmDbRecommendationsTimeSeriesSummary) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- TimeAnalysisStarted *common.SDKTime `json:"timeAnalysisStarted"`
- TimeAnalysisEnded *common.SDKTime `json:"timeAnalysisEnded"`
- Type *string `json:"type"`
- AnalysisDbTimeInSecs *float64 `json:"analysisDbTimeInSecs"`
- AnalysisAvgActiveSessions *float64 `json:"analysisAvgActiveSessions"`
- MaxBenefitPercent *float64 `json:"maxBenefitPercent"`
- MaxBenefitDbTimeInSecs *float64 `json:"maxBenefitDbTimeInSecs"`
- MaxBenefitAvgActiveSessions *float64 `json:"maxBenefitAvgActiveSessions"`
- RelatedObject relatedobjecttypedetails `json:"relatedObject"`
- Id *string `json:"id"`
- TaskId *int `json:"taskId"`
- TaskName *string `json:"taskName"`
- Timestamp *common.SDKTime `json:"timestamp"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.TimeAnalysisStarted = model.TimeAnalysisStarted
-
- m.TimeAnalysisEnded = model.TimeAnalysisEnded
-
- m.Type = model.Type
-
- m.AnalysisDbTimeInSecs = model.AnalysisDbTimeInSecs
-
- m.AnalysisAvgActiveSessions = model.AnalysisAvgActiveSessions
-
- m.MaxBenefitPercent = model.MaxBenefitPercent
-
- m.MaxBenefitDbTimeInSecs = model.MaxBenefitDbTimeInSecs
-
- m.MaxBenefitAvgActiveSessions = model.MaxBenefitAvgActiveSessions
-
- nn, e = model.RelatedObject.UnmarshalPolymorphicJSON(model.RelatedObject.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.RelatedObject = nn.(RelatedObjectTypeDetails)
- } else {
- m.RelatedObject = nil
- }
-
- m.Id = model.Id
-
- m.TaskId = model.TaskId
-
- m.TaskName = model.TaskName
-
- m.Timestamp = model.Timestamp
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_collection.go
deleted file mode 100644
index 325aa04c430..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbSchemaObjectCollection Summarizes Schema Objects over specified time period
-type AddmDbSchemaObjectCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of Schema Objects
- Items []AddmDbSchemaObjectSummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbSchemaObjectCollection) 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 AddmDbSchemaObjectCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_summary.go
deleted file mode 100644
index ddacbe10e4d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_schema_object_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbSchemaObjectSummary Details for a given object id
-type AddmDbSchemaObjectSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // Object id (from RDBMS)
- ObjectIdentifier *int `mandatory:"true" json:"objectIdentifier"`
-
- // Owner of object
- Owner *string `mandatory:"true" json:"owner"`
-
- // Name of object
- ObjectName *string `mandatory:"true" json:"objectName"`
-
- // Type of the object (such as TABLE, INDEX)
- ObjectType *string `mandatory:"true" json:"objectType"`
-
- // Subobject name; for example, partition name
- SubObjectName *string `mandatory:"false" json:"subObjectName"`
-}
-
-func (m AddmDbSchemaObjectSummary) 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 AddmDbSchemaObjectSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_collection.go
deleted file mode 100644
index 58028a1b940..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbSqlStatementCollection Summarizes SQL statements over specified time period
-type AddmDbSqlStatementCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of database details data
- DatabaseDetailsItems []DatabaseDetails `mandatory:"true" json:"databaseDetailsItems"`
-
- // List of SQL statements
- Items []AddmDbSqlStatementSummary `mandatory:"true" json:"items"`
-}
-
-func (m AddmDbSqlStatementCollection) 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 AddmDbSqlStatementCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_summary.go
deleted file mode 100644
index 7f99dd36fde..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_sql_statement_summary.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbSqlStatementSummary Details for a given SQL ID
-type AddmDbSqlStatementSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database insight.
- Id *string `mandatory:"true" json:"id"`
-
- // SQL identifier
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // First 3800 characters of the SQL text
- SqlText *string `mandatory:"true" json:"sqlText"`
-
- // SQL identifier
- IsSqlTextTruncated *bool `mandatory:"true" json:"isSqlTextTruncated"`
-
- // SQL command name (such as SELECT, INSERT)
- SqlCommand *string `mandatory:"true" json:"sqlCommand"`
-}
-
-func (m AddmDbSqlStatementSummary) 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 AddmDbSqlStatementSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_summary.go
deleted file mode 100644
index 3e90997bf03..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_db_summary.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmDbSummary ADDM summary for a database
-type AddmDbSummary struct {
- DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`
-
- // Number of ADDM findings
- NumberOfFindings *int `mandatory:"false" json:"numberOfFindings"`
-
- // Number of ADDM tasks
- NumberOfAddmTasks *int `mandatory:"false" json:"numberOfAddmTasks"`
-
- // The start timestamp that was passed into the request.
- TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"`
-
- // The end timestamp that was passed into the request.
- TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"`
-
- // AWR snapshot id.
- SnapshotIntervalStart *string `mandatory:"false" json:"snapshotIntervalStart"`
-
- // AWR snapshot id.
- SnapshotIntervalEnd *string `mandatory:"false" json:"snapshotIntervalEnd"`
-
- // Maximum overall impact in terms of percentage of total activity
- MaxOverallImpact *float64 `mandatory:"false" json:"maxOverallImpact"`
-
- // Category name
- MostFrequentCategoryName *string `mandatory:"false" json:"mostFrequentCategoryName"`
-
- // Category display name
- MostFrequentCategoryDisplayName *string `mandatory:"false" json:"mostFrequentCategoryDisplayName"`
-}
-
-func (m AddmDbSummary) 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 AddmDbSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_report.go
deleted file mode 100644
index 826c46bc432..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/addm_report.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AddmReport ADDM Tasks.
-type AddmReport struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // TASK_ID in the oracle database view DBA_ADDM_TASKS
- TaskIdentifier *string `mandatory:"true" json:"taskIdentifier"`
-
- // Internal id of the database.
- DatabaseIdentifier *string `mandatory:"true" json:"databaseIdentifier"`
-
- // AWR snapshot id.
- SnapshotIntervalStart *string `mandatory:"true" json:"snapshotIntervalStart"`
-
- // AWR snapshot id.
- SnapshotIntervalEnd *string `mandatory:"true" json:"snapshotIntervalEnd"`
-
- // The complete ADDM report
- AddmReport *string `mandatory:"true" json:"addmReport"`
-}
-
-func (m AddmReport) 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 AddmReport) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_configuration_summary.go
deleted file mode 100644
index 2d37f261da4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_configuration_summary.go
+++ /dev/null
@@ -1,138 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AutonomousDatabaseConfigurationSummary Configuration Summary of autonomous database.
-type AutonomousDatabaseConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
-
- // Name of the CDB.Only applies to PDB.
- CdbName *string `mandatory:"true" json:"cdbName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-}
-
-//GetDatabaseInsightId returns DatabaseInsightId
-func (m AutonomousDatabaseConfigurationSummary) GetDatabaseInsightId() *string {
- return m.DatabaseInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m AutonomousDatabaseConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m AutonomousDatabaseConfigurationSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m AutonomousDatabaseConfigurationSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m AutonomousDatabaseConfigurationSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m AutonomousDatabaseConfigurationSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetCdbName returns CdbName
-func (m AutonomousDatabaseConfigurationSummary) GetCdbName() *string {
- return m.CdbName
-}
-
-//GetDefinedTags returns DefinedTags
-func (m AutonomousDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m AutonomousDatabaseConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m AutonomousDatabaseConfigurationSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-func (m AutonomousDatabaseConfigurationSummary) 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 AutonomousDatabaseConfigurationSummary) 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 AutonomousDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAutonomousDatabaseConfigurationSummary AutonomousDatabaseConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeAutonomousDatabaseConfigurationSummary
- }{
- "AUTONOMOUS_DATABASE",
- (MarshalTypeAutonomousDatabaseConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight.go
deleted file mode 100644
index a64ea466a6d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight.go
+++ /dev/null
@@ -1,289 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AutonomousDatabaseInsight Database insight resource.
-type AutonomousDatabaseInsight struct {
-
- // Database insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // Name of database
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
-
- // Operations Insights internal representation of the database type.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // Display name of database
- DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
-
- // Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
- DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // Flag is to identify if advanced features for autonomous database is enabled or not
- IsAdvancedFeaturesEnabled *bool `mandatory:"false" json:"isAdvancedFeaturesEnabled"`
-
- ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
-
- CredentialDetails CredentialDetails `mandatory:"false" json:"credentialDetails"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m AutonomousDatabaseInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m AutonomousDatabaseInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetStatus returns Status
-func (m AutonomousDatabaseInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetDatabaseType returns DatabaseType
-func (m AutonomousDatabaseInsight) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m AutonomousDatabaseInsight) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m AutonomousDatabaseInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m AutonomousDatabaseInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m AutonomousDatabaseInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m AutonomousDatabaseInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m AutonomousDatabaseInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m AutonomousDatabaseInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m AutonomousDatabaseInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m AutonomousDatabaseInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m AutonomousDatabaseInsight) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m AutonomousDatabaseInsight) 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 AutonomousDatabaseInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m AutonomousDatabaseInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAutonomousDatabaseInsight AutonomousDatabaseInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeAutonomousDatabaseInsight
- }{
- "AUTONOMOUS_DATABASE",
- (MarshalTypeAutonomousDatabaseInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *AutonomousDatabaseInsight) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- DatabaseType *string `json:"databaseType"`
- DatabaseVersion *string `json:"databaseVersion"`
- ProcessorCount *int `json:"processorCount"`
- SystemTags map[string]map[string]interface{} `json:"systemTags"`
- TimeUpdated *common.SDKTime `json:"timeUpdated"`
- LifecycleDetails *string `json:"lifecycleDetails"`
- DatabaseConnectionStatusDetails *string `json:"databaseConnectionStatusDetails"`
- DatabaseDisplayName *string `json:"databaseDisplayName"`
- DbAdditionalDetails *interface{} `json:"dbAdditionalDetails"`
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- IsAdvancedFeaturesEnabled *bool `json:"isAdvancedFeaturesEnabled"`
- ConnectionDetails *ConnectionDetails `json:"connectionDetails"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- Id *string `json:"id"`
- CompartmentId *string `json:"compartmentId"`
- Status ResourceStatusEnum `json:"status"`
- FreeformTags map[string]string `json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `json:"definedTags"`
- TimeCreated *common.SDKTime `json:"timeCreated"`
- LifecycleState LifecycleStateEnum `json:"lifecycleState"`
- DatabaseId *string `json:"databaseId"`
- DatabaseName *string `json:"databaseName"`
- DatabaseResourceType *string `json:"databaseResourceType"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.DatabaseType = model.DatabaseType
-
- m.DatabaseVersion = model.DatabaseVersion
-
- m.ProcessorCount = model.ProcessorCount
-
- m.SystemTags = model.SystemTags
-
- m.TimeUpdated = model.TimeUpdated
-
- m.LifecycleDetails = model.LifecycleDetails
-
- m.DatabaseConnectionStatusDetails = model.DatabaseConnectionStatusDetails
-
- m.DatabaseDisplayName = model.DatabaseDisplayName
-
- m.DbAdditionalDetails = model.DbAdditionalDetails
-
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.IsAdvancedFeaturesEnabled = model.IsAdvancedFeaturesEnabled
-
- m.ConnectionDetails = model.ConnectionDetails
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- m.Id = model.Id
-
- m.CompartmentId = model.CompartmentId
-
- m.Status = model.Status
-
- m.FreeformTags = model.FreeformTags
-
- m.DefinedTags = model.DefinedTags
-
- m.TimeCreated = model.TimeCreated
-
- m.LifecycleState = model.LifecycleState
-
- m.DatabaseId = model.DatabaseId
-
- m.DatabaseName = model.DatabaseName
-
- m.DatabaseResourceType = model.DatabaseResourceType
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight_summary.go
deleted file mode 100644
index 11debeeaaa6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/autonomous_database_insight_summary.go
+++ /dev/null
@@ -1,212 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AutonomousDatabaseInsightSummary Summary of a database insight resource.
-type AutonomousDatabaseInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"false" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // The hostnames for the database.
- DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
-
- // Flag is to identify if advanced features for autonomous database is enabled or not
- IsAdvancedFeaturesEnabled *bool `mandatory:"false" json:"isAdvancedFeaturesEnabled"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m AutonomousDatabaseInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetDatabaseId returns DatabaseId
-func (m AutonomousDatabaseInsightSummary) GetDatabaseId() *string {
- return m.DatabaseId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m AutonomousDatabaseInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m AutonomousDatabaseInsightSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m AutonomousDatabaseInsightSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m AutonomousDatabaseInsightSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m AutonomousDatabaseInsightSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetDatabaseHostNames returns DatabaseHostNames
-func (m AutonomousDatabaseInsightSummary) GetDatabaseHostNames() []string {
- return m.DatabaseHostNames
-}
-
-//GetFreeformTags returns FreeformTags
-func (m AutonomousDatabaseInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m AutonomousDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m AutonomousDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m AutonomousDatabaseInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetStatus returns Status
-func (m AutonomousDatabaseInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m AutonomousDatabaseInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m AutonomousDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m AutonomousDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m AutonomousDatabaseInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m AutonomousDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m AutonomousDatabaseInsightSummary) 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 AutonomousDatabaseInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m AutonomousDatabaseInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAutonomousDatabaseInsightSummary AutonomousDatabaseInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeAutonomousDatabaseInsightSummary
- }{
- "AUTONOMOUS_DATABASE",
- (MarshalTypeAutonomousDatabaseInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_collection.go
deleted file mode 100644
index 5eab856f583..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseCollection The result of AWR query.
-type AwrDatabaseCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR summary data.
- Items []AwrDatabaseSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseCollection) 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 AwrDatabaseCollection) 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 AwrDatabaseCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseCollection AwrDatabaseCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseCollection
- }{
- "AWRDB_SET",
- (MarshalTypeAwrDatabaseCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_collection.go
deleted file mode 100644
index d36a218b65e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_collection.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseCpuUsageCollection The AWR CPU usage data.
-type AwrDatabaseCpuUsageCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // The number of available CPU cores, which include subcores of multicore and single-core CPUs.
- NumCpuCores *int `mandatory:"false" json:"numCpuCores"`
-
- // The number of CPUs available for the database to use.
- DatabaseCpuCount *int `mandatory:"false" json:"databaseCpuCount"`
-
- // The number of available CPUs or processors.
- HostCpuCount *float64 `mandatory:"false" json:"hostCpuCount"`
-
- // A list of AWR CPU usage summary data.
- Items []AwrDatabaseCpuUsageSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseCpuUsageCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseCpuUsageCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseCpuUsageCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseCpuUsageCollection) 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 AwrDatabaseCpuUsageCollection) 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 AwrDatabaseCpuUsageCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseCpuUsageCollection AwrDatabaseCpuUsageCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseCpuUsageCollection
- }{
- "AWRDB_ASH_CPU_USAGE_SET",
- (MarshalTypeAwrDatabaseCpuUsageCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_summary.go
deleted file mode 100644
index b7b938e8b1a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_cpu_usage_summary.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseCpuUsageSummary A summary of the AWR CPU resource limits and metrics.
-type AwrDatabaseCpuUsageSummary struct {
-
- // The timestamp for the CPU summary data.
- Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
-
- // The average CPU usage per second.
- AvgUsageInSecs *float64 `mandatory:"false" json:"avgUsageInSecs"`
-}
-
-func (m AwrDatabaseCpuUsageSummary) 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 AwrDatabaseCpuUsageSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_collection.go
deleted file mode 100644
index 8b751f8e1e9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseMetricCollection The AWR metrics time series summary data.
-type AwrDatabaseMetricCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR metric summary data.
- Items []AwrDatabaseMetricSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseMetricCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseMetricCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseMetricCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseMetricCollection) 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 AwrDatabaseMetricCollection) 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 AwrDatabaseMetricCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseMetricCollection AwrDatabaseMetricCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseMetricCollection
- }{
- "AWRDB_METRICS_SET",
- (MarshalTypeAwrDatabaseMetricCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_summary.go
deleted file mode 100644
index cd6bce32861..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_metric_summary.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseMetricSummary The summary of the AWR metric data for a particular metric at a specific time.
-type AwrDatabaseMetricSummary struct {
-
- // The name of the metric.
- Name *string `mandatory:"true" json:"name"`
-
- // The time of the sampling.
- Timestamp *common.SDKTime `mandatory:"false" json:"timestamp"`
-
- // The average value of the sampling period.
- AvgValue *float64 `mandatory:"false" json:"avgValue"`
-
- // The minimum value of the sampling period.
- MinValue *float64 `mandatory:"false" json:"minValue"`
-
- // The maximum value of the sampling period.
- MaxValue *float64 `mandatory:"false" json:"maxValue"`
-}
-
-func (m AwrDatabaseMetricSummary) 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 AwrDatabaseMetricSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_collection.go
deleted file mode 100644
index e57d60974ef..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseParameterChangeCollection The AWR database parameter change history.
-type AwrDatabaseParameterChangeCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR database parameter change summary data.
- Items []AwrDatabaseParameterChangeSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseParameterChangeCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseParameterChangeCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseParameterChangeCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseParameterChangeCollection) 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 AwrDatabaseParameterChangeCollection) 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 AwrDatabaseParameterChangeCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseParameterChangeCollection AwrDatabaseParameterChangeCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseParameterChangeCollection
- }{
- "AWRDB_DB_PARAMETER_CHANGE",
- (MarshalTypeAwrDatabaseParameterChangeCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_summary.go
deleted file mode 100644
index 6cd0a9bcf33..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_change_summary.go
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseParameterChangeSummary A summary of the changes made to a single AWR database parameter.
-type AwrDatabaseParameterChangeSummary struct {
-
- // The ID of the snapshot with the parameter value changed. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
-
- // The start time of the interval.
- TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"`
-
- // The end time of the interval.
- TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
-
- // The database instance number.
- InstanceNumber *int `mandatory:"false" json:"instanceNumber"`
-
- // The previous value of the database parameter.
- PreviousValue *string `mandatory:"false" json:"previousValue"`
-
- // The current value of the database parameter.
- Value *string `mandatory:"false" json:"value"`
-
- // Indicates whether the parameter has been modified after instance startup:
- // - MODIFIED - Parameter has been modified with ALTER SESSION
- // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions values to be modified)
- // - FALSE - Parameter has not been modified after instance startup
- ValueModified *string `mandatory:"false" json:"valueModified"`
-
- // Indicates whether the parameter value in the end snapshot is the default.
- IsDefault *bool `mandatory:"false" json:"isDefault"`
-}
-
-func (m AwrDatabaseParameterChangeSummary) 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 AwrDatabaseParameterChangeSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_collection.go
deleted file mode 100644
index e58add7dcce..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseParameterCollection The AWR database parameter data.
-type AwrDatabaseParameterCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR database parameter summary data.
- Items []AwrDatabaseParameterSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseParameterCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseParameterCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseParameterCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseParameterCollection) 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 AwrDatabaseParameterCollection) 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 AwrDatabaseParameterCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseParameterCollection AwrDatabaseParameterCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseParameterCollection
- }{
- "AWRDB_DB_PARAMETER_SET",
- (MarshalTypeAwrDatabaseParameterCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_summary.go
deleted file mode 100644
index 5b323ae386e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_parameter_summary.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseParameterSummary The summary of the AWR change history data for a single database parameter.
-type AwrDatabaseParameterSummary struct {
-
- // The name of the parameter.
- Name *string `mandatory:"true" json:"name"`
-
- // The database instance number.
- InstanceNumber *int `mandatory:"false" json:"instanceNumber"`
-
- // The parameter value when the period began.
- BeginValue *string `mandatory:"false" json:"beginValue"`
-
- // The parameter value when the period ended.
- EndValue *string `mandatory:"false" json:"endValue"`
-
- // Indicates whether the parameter value changed within the period.
- IsChanged *bool `mandatory:"false" json:"isChanged"`
-
- // Indicates whether the parameter has been modified after instance startup:
- // - MODIFIED - Parameter has been modified with ALTER SESSION
- // - SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions values to be modified)
- // - FALSE - Parameter has not been modified after instance startup
- ValueModified *string `mandatory:"false" json:"valueModified"`
-
- // Indicates whether the parameter value in the end snapshot is the default.
- IsDefault *bool `mandatory:"false" json:"isDefault"`
-}
-
-func (m AwrDatabaseParameterSummary) 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 AwrDatabaseParameterSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_report.go
deleted file mode 100644
index f509582b95f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_report.go
+++ /dev/null
@@ -1,132 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseReport The result of the AWR report.
-type AwrDatabaseReport struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // The content of the report.
- Content *string `mandatory:"false" json:"content"`
-
- // The format of the report.
- Format AwrDatabaseReportFormatEnum `mandatory:"false" json:"format,omitempty"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseReport) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseReport) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseReport) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseReport) 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 AwrDatabaseReport) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAwrDatabaseReportFormatEnum(string(m.Format)); !ok && m.Format != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Format: %s. Supported values are: %s.", m.Format, strings.Join(GetAwrDatabaseReportFormatEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m AwrDatabaseReport) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseReport AwrDatabaseReport
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseReport
- }{
- "AWRDB_DB_REPORT",
- (MarshalTypeAwrDatabaseReport)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// AwrDatabaseReportFormatEnum Enum with underlying type: string
-type AwrDatabaseReportFormatEnum string
-
-// Set of constants representing the allowable values for AwrDatabaseReportFormatEnum
-const (
- AwrDatabaseReportFormatHtml AwrDatabaseReportFormatEnum = "HTML"
- AwrDatabaseReportFormatText AwrDatabaseReportFormatEnum = "TEXT"
- AwrDatabaseReportFormatXml AwrDatabaseReportFormatEnum = "XML"
-)
-
-var mappingAwrDatabaseReportFormatEnum = map[string]AwrDatabaseReportFormatEnum{
- "HTML": AwrDatabaseReportFormatHtml,
- "TEXT": AwrDatabaseReportFormatText,
- "XML": AwrDatabaseReportFormatXml,
-}
-
-var mappingAwrDatabaseReportFormatEnumLowerCase = map[string]AwrDatabaseReportFormatEnum{
- "html": AwrDatabaseReportFormatHtml,
- "text": AwrDatabaseReportFormatText,
- "xml": AwrDatabaseReportFormatXml,
-}
-
-// GetAwrDatabaseReportFormatEnumValues Enumerates the set of values for AwrDatabaseReportFormatEnum
-func GetAwrDatabaseReportFormatEnumValues() []AwrDatabaseReportFormatEnum {
- values := make([]AwrDatabaseReportFormatEnum, 0)
- for _, v := range mappingAwrDatabaseReportFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAwrDatabaseReportFormatEnumStringValues Enumerates the set of values in String for AwrDatabaseReportFormatEnum
-func GetAwrDatabaseReportFormatEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- "XML",
- }
-}
-
-// GetMappingAwrDatabaseReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAwrDatabaseReportFormatEnum(val string) (AwrDatabaseReportFormatEnum, bool) {
- enum, ok := mappingAwrDatabaseReportFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_collection.go
deleted file mode 100644
index 7ee3392c73d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseSnapshotCollection The list of AWR snapshots for one database.
-type AwrDatabaseSnapshotCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR snapshot summary data.
- Items []AwrDatabaseSnapshotSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseSnapshotCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseSnapshotCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseSnapshotCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseSnapshotCollection) 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 AwrDatabaseSnapshotCollection) 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 AwrDatabaseSnapshotCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseSnapshotCollection AwrDatabaseSnapshotCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseSnapshotCollection
- }{
- "AWRDB_SNAPSHOT_SET",
- (MarshalTypeAwrDatabaseSnapshotCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_collection.go
deleted file mode 100644
index 4f732a09650..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseSnapshotRangeCollection The AWR snapshot range list.
-type AwrDatabaseSnapshotRangeCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR snapshot range summary data.
- Items []AwrDatabaseSnapshotRangeSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseSnapshotRangeCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseSnapshotRangeCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseSnapshotRangeCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseSnapshotRangeCollection) 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 AwrDatabaseSnapshotRangeCollection) 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 AwrDatabaseSnapshotRangeCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseSnapshotRangeCollection AwrDatabaseSnapshotRangeCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseSnapshotRangeCollection
- }{
- "AWRDB_SNAPSHOT_RANGE_SET",
- (MarshalTypeAwrDatabaseSnapshotRangeCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_summary.go
deleted file mode 100644
index a69c9c82f12..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_range_summary.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseSnapshotRangeSummary The summary data for a range of AWR snapshots.
-type AwrDatabaseSnapshotRangeSummary struct {
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
-
- // The name of the database.
- DbName *string `mandatory:"true" json:"dbName"`
-
- // The database instance numbers.
- InstanceList []int `mandatory:"false" json:"instanceList"`
-
- // The timestamp of the database startup.
- TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"`
-
- // The start time of the earliest snapshot.
- TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"`
-
- // The end time of the latest snapshot.
- TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"`
-
- // The ID of the earliest snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- FirstSnapshotIdentifier *int `mandatory:"false" json:"firstSnapshotIdentifier"`
-
- // The ID of the latest snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- LatestSnapshotIdentifier *int `mandatory:"false" json:"latestSnapshotIdentifier"`
-
- // The total number of snapshots.
- SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"`
-
- // The interval time between snapshots (in minutes).
- SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"`
-
- // The version of the database.
- DbVersion *string `mandatory:"false" json:"dbVersion"`
-
- // The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
- SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"`
-}
-
-func (m AwrDatabaseSnapshotRangeSummary) 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 AwrDatabaseSnapshotRangeSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_summary.go
deleted file mode 100644
index ad6bdb9457d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_snapshot_summary.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseSnapshotSummary The AWR snapshot summary of one snapshot.
-type AwrDatabaseSnapshotSummary struct {
-
- // Internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
-
- // The ID of the snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDbSnapshots
- SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
-
- // The database instance number.
- InstanceNumber *int `mandatory:"false" json:"instanceNumber"`
-
- // The timestamp of the database startup.
- TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"`
-
- // The start time of the snapshot.
- TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"`
-
- // The end time of the snapshot.
- TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
-
- // The total number of errors.
- ErrorCount *int64 `mandatory:"false" json:"errorCount"`
-}
-
-func (m AwrDatabaseSnapshotSummary) 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 AwrDatabaseSnapshotSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sql_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sql_report.go
deleted file mode 100644
index f845aa8057b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sql_report.go
+++ /dev/null
@@ -1,128 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseSqlReport The result of the AWR SQL report.
-type AwrDatabaseSqlReport struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // The content of the report.
- Content *string `mandatory:"false" json:"content"`
-
- // The format of the report.
- Format AwrDatabaseSqlReportFormatEnum `mandatory:"false" json:"format,omitempty"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseSqlReport) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseSqlReport) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseSqlReport) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseSqlReport) 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 AwrDatabaseSqlReport) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAwrDatabaseSqlReportFormatEnum(string(m.Format)); !ok && m.Format != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Format: %s. Supported values are: %s.", m.Format, strings.Join(GetAwrDatabaseSqlReportFormatEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m AwrDatabaseSqlReport) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseSqlReport AwrDatabaseSqlReport
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseSqlReport
- }{
- "AWRDB_SQL_REPORT",
- (MarshalTypeAwrDatabaseSqlReport)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// AwrDatabaseSqlReportFormatEnum Enum with underlying type: string
-type AwrDatabaseSqlReportFormatEnum string
-
-// Set of constants representing the allowable values for AwrDatabaseSqlReportFormatEnum
-const (
- AwrDatabaseSqlReportFormatHtml AwrDatabaseSqlReportFormatEnum = "HTML"
- AwrDatabaseSqlReportFormatText AwrDatabaseSqlReportFormatEnum = "TEXT"
-)
-
-var mappingAwrDatabaseSqlReportFormatEnum = map[string]AwrDatabaseSqlReportFormatEnum{
- "HTML": AwrDatabaseSqlReportFormatHtml,
- "TEXT": AwrDatabaseSqlReportFormatText,
-}
-
-var mappingAwrDatabaseSqlReportFormatEnumLowerCase = map[string]AwrDatabaseSqlReportFormatEnum{
- "html": AwrDatabaseSqlReportFormatHtml,
- "text": AwrDatabaseSqlReportFormatText,
-}
-
-// GetAwrDatabaseSqlReportFormatEnumValues Enumerates the set of values for AwrDatabaseSqlReportFormatEnum
-func GetAwrDatabaseSqlReportFormatEnumValues() []AwrDatabaseSqlReportFormatEnum {
- values := make([]AwrDatabaseSqlReportFormatEnum, 0)
- for _, v := range mappingAwrDatabaseSqlReportFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAwrDatabaseSqlReportFormatEnumStringValues Enumerates the set of values in String for AwrDatabaseSqlReportFormatEnum
-func GetAwrDatabaseSqlReportFormatEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- }
-}
-
-// GetMappingAwrDatabaseSqlReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAwrDatabaseSqlReportFormatEnum(val string) (AwrDatabaseSqlReportFormatEnum, bool) {
- enum, ok := mappingAwrDatabaseSqlReportFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_summary.go
deleted file mode 100644
index 032821d1a13..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_summary.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseSummary The AWR summary for a database.
-type AwrDatabaseSummary struct {
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" json:"awrSourceDatabaseIdentifier"`
-
- // The name of the database.
- DbName *string `mandatory:"true" json:"dbName"`
-
- // The database instance numbers.
- InstanceList []int `mandatory:"false" json:"instanceList"`
-
- // The timestamp of the database startup.
- TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"`
-
- // The start time of the earliest snapshot.
- TimeFirstSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeFirstSnapshotBegin"`
-
- // The end time of the latest snapshot.
- TimeLatestSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeLatestSnapshotEnd"`
-
- // The ID of the earliest snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- FirstSnapshotIdentifier *int `mandatory:"false" json:"firstSnapshotIdentifier"`
-
- // The ID of the latest snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- LatestSnapshotIdentifier *int `mandatory:"false" json:"latestSnapshotIdentifier"`
-
- // The total number of snapshots.
- SnapshotCount *int64 `mandatory:"false" json:"snapshotCount"`
-
- // The interval time between snapshots (in minutes).
- SnapshotIntervalInMin *int `mandatory:"false" json:"snapshotIntervalInMin"`
-
- // The version of the database.
- DbVersion *string `mandatory:"false" json:"dbVersion"`
-
- // The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
- SnapshotTimezone *string `mandatory:"false" json:"snapshotTimezone"`
-}
-
-func (m AwrDatabaseSummary) 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 AwrDatabaseSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_collection.go
deleted file mode 100644
index 2b8103724df..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseSysstatCollection The AWR SYSSTAT time series summary data.
-type AwrDatabaseSysstatCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR SYSSTAT summary data.
- Items []AwrDatabaseSysstatSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseSysstatCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseSysstatCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseSysstatCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseSysstatCollection) 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 AwrDatabaseSysstatCollection) 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 AwrDatabaseSysstatCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseSysstatCollection AwrDatabaseSysstatCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseSysstatCollection
- }{
- "AWRDB_SYSSTAT_SET",
- (MarshalTypeAwrDatabaseSysstatCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_summary.go
deleted file mode 100644
index f5f541afd2d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_sysstat_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseSysstatSummary The summary of the AWR SYSSTAT data.
-type AwrDatabaseSysstatSummary struct {
-
- // The name of the SYSSTAT.
- Name *string `mandatory:"true" json:"name"`
-
- // The name of the SYSSTAT category.
- Category *string `mandatory:"false" json:"category"`
-
- // The start time of the SYSSTAT.
- TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"`
-
- // The end time of the SYSSTAT.
- TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
-
- // The average value of the SYSSTAT. The units are stats name/val per the time period {timeBegin - timeEnd}.
- AvgValue *float64 `mandatory:"false" json:"avgValue"`
-
- // The last value of the SYSSTAT. The units are stats name/val per the time period {timeBegin - timeEnd}.
- CurrentValue *float64 `mandatory:"false" json:"currentValue"`
-}
-
-func (m AwrDatabaseSysstatSummary) 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 AwrDatabaseSysstatSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_collection.go
deleted file mode 100644
index c7126c3a345..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseTopWaitEventCollection The AWR top wait event data.
-type AwrDatabaseTopWaitEventCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR top event summary data.
- Items []AwrDatabaseTopWaitEventSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseTopWaitEventCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseTopWaitEventCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseTopWaitEventCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseTopWaitEventCollection) 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 AwrDatabaseTopWaitEventCollection) 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 AwrDatabaseTopWaitEventCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseTopWaitEventCollection AwrDatabaseTopWaitEventCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseTopWaitEventCollection
- }{
- "AWRDB_TOP_EVENT_SET",
- (MarshalTypeAwrDatabaseTopWaitEventCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_summary.go
deleted file mode 100644
index e3b9d9cc880..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_top_wait_event_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseTopWaitEventSummary A summary of the AWR top wait event data for one event.
-type AwrDatabaseTopWaitEventSummary struct {
-
- // The name of the event.
- Name *string `mandatory:"true" json:"name"`
-
- // The wait count per second.
- WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"`
-
- // The average wait time per second.
- AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"`
-}
-
-func (m AwrDatabaseTopWaitEventSummary) 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 AwrDatabaseTopWaitEventSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_collection.go
deleted file mode 100644
index 4e44ce09018..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_collection.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseWaitEventBucketCollection The percentage distribution of waits in the AWR wait event buckets.
-type AwrDatabaseWaitEventBucketCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // The total waits of the database.
- TotalWaits *int64 `mandatory:"false" json:"totalWaits"`
-
- // A list of AWR wait event buckets.
- Items []AwrDatabaseWaitEventBucketSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseWaitEventBucketCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseWaitEventBucketCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseWaitEventBucketCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseWaitEventBucketCollection) 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 AwrDatabaseWaitEventBucketCollection) 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 AwrDatabaseWaitEventBucketCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseWaitEventBucketCollection AwrDatabaseWaitEventBucketCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseWaitEventBucketCollection
- }{
- "AWRDB_EVENT_HISTOGRAM_SET",
- (MarshalTypeAwrDatabaseWaitEventBucketCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_summary.go
deleted file mode 100644
index 67dc2a790cf..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_bucket_summary.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseWaitEventBucketSummary A summary of the AWR wait event bucket and waits percentage.
-type AwrDatabaseWaitEventBucketSummary struct {
-
- // The name of the wait event frequency category. Normally, it is the upper range of the waits within the AWR wait event bucket.
- Category *string `mandatory:"true" json:"category"`
-
- // The percentage of waits in a wait event bucket over the total waits of the database.
- Percentage *float64 `mandatory:"true" json:"percentage"`
-}
-
-func (m AwrDatabaseWaitEventBucketSummary) 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 AwrDatabaseWaitEventBucketSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_collection.go
deleted file mode 100644
index 14980830dcc..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_collection.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// AwrDatabaseWaitEventCollection The AWR wait event data.
-type AwrDatabaseWaitEventCollection struct {
-
- // The name of the query result.
- Name *string `mandatory:"true" json:"name"`
-
- // The version of the query result.
- Version *string `mandatory:"false" json:"version"`
-
- // The time taken to query the database tier (in seconds).
- DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
-
- // A list of AWR wait events.
- Items []AwrDatabaseWaitEventSummary `mandatory:"false" json:"items"`
-}
-
-//GetName returns Name
-func (m AwrDatabaseWaitEventCollection) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
-func (m AwrDatabaseWaitEventCollection) GetVersion() *string {
- return m.Version
-}
-
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
-func (m AwrDatabaseWaitEventCollection) GetDbQueryTimeInSecs() *float64 {
- return m.DbQueryTimeInSecs
-}
-
-func (m AwrDatabaseWaitEventCollection) 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 AwrDatabaseWaitEventCollection) 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 AwrDatabaseWaitEventCollection) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeAwrDatabaseWaitEventCollection AwrDatabaseWaitEventCollection
- s := struct {
- DiscriminatorParam string `json:"awrResultType"`
- MarshalTypeAwrDatabaseWaitEventCollection
- }{
- "AWRDB_EVENT_SET",
- (MarshalTypeAwrDatabaseWaitEventCollection)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_summary.go
deleted file mode 100644
index 08ad6e4f612..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_database_wait_event_summary.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrDatabaseWaitEventSummary The summary of the AWR wait event time series data for one event.
-type AwrDatabaseWaitEventSummary struct {
-
- // The name of the event.
- Name *string `mandatory:"true" json:"name"`
-
- // The begin time of the wait event.
- TimeBegin *common.SDKTime `mandatory:"false" json:"timeBegin"`
-
- // The end time of the wait event.
- TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
-
- // The wait count per second.
- WaitsPerSec *float64 `mandatory:"false" json:"waitsPerSec"`
-
- // The average wait time per second.
- AvgWaitTimePerSec *float64 `mandatory:"false" json:"avgWaitTimePerSec"`
-
- // The ID of the snapshot. The snapshot identifier is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabaseSnapshots
- SnapshotIdentifier *int `mandatory:"false" json:"snapshotIdentifier"`
-}
-
-func (m AwrDatabaseWaitEventSummary) 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 AwrDatabaseWaitEventSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_lifecycle_state.go
deleted file mode 100644
index 98b62b9e10a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_lifecycle_state.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// AwrHubLifecycleStateEnum Enum with underlying type: string
-type AwrHubLifecycleStateEnum string
-
-// Set of constants representing the allowable values for AwrHubLifecycleStateEnum
-const (
- AwrHubLifecycleStateCreating AwrHubLifecycleStateEnum = "CREATING"
- AwrHubLifecycleStateUpdating AwrHubLifecycleStateEnum = "UPDATING"
- AwrHubLifecycleStateActive AwrHubLifecycleStateEnum = "ACTIVE"
- AwrHubLifecycleStateDeleting AwrHubLifecycleStateEnum = "DELETING"
- AwrHubLifecycleStateDeleted AwrHubLifecycleStateEnum = "DELETED"
- AwrHubLifecycleStateFailed AwrHubLifecycleStateEnum = "FAILED"
-)
-
-var mappingAwrHubLifecycleStateEnum = map[string]AwrHubLifecycleStateEnum{
- "CREATING": AwrHubLifecycleStateCreating,
- "UPDATING": AwrHubLifecycleStateUpdating,
- "ACTIVE": AwrHubLifecycleStateActive,
- "DELETING": AwrHubLifecycleStateDeleting,
- "DELETED": AwrHubLifecycleStateDeleted,
- "FAILED": AwrHubLifecycleStateFailed,
-}
-
-var mappingAwrHubLifecycleStateEnumLowerCase = map[string]AwrHubLifecycleStateEnum{
- "creating": AwrHubLifecycleStateCreating,
- "updating": AwrHubLifecycleStateUpdating,
- "active": AwrHubLifecycleStateActive,
- "deleting": AwrHubLifecycleStateDeleting,
- "deleted": AwrHubLifecycleStateDeleted,
- "failed": AwrHubLifecycleStateFailed,
-}
-
-// GetAwrHubLifecycleStateEnumValues Enumerates the set of values for AwrHubLifecycleStateEnum
-func GetAwrHubLifecycleStateEnumValues() []AwrHubLifecycleStateEnum {
- values := make([]AwrHubLifecycleStateEnum, 0)
- for _, v := range mappingAwrHubLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAwrHubLifecycleStateEnumStringValues Enumerates the set of values in String for AwrHubLifecycleStateEnum
-func GetAwrHubLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingAwrHubLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAwrHubLifecycleStateEnum(val string) (AwrHubLifecycleStateEnum, bool) {
- enum, ok := mappingAwrHubLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary.go
deleted file mode 100644
index 7605a4d8641..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrHubSummary Summary Hub resource.
-type AwrHubSummary struct {
-
- // OPSI Warehouse OCID
- OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
-
- // AWR Hub OCID
- Id *string `mandatory:"true" json:"id"`
-
- // 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 AWR Hub that does not have to be unique.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Object Storage Bucket Name
- ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Possible lifecycle states
- LifecycleState AwrHubLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // Mailbox URL required for AWR hub and AWR source setup.
- AwrMailboxUrl *string `mandatory:"false" json:"awrMailboxUrl"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m AwrHubSummary) 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 AwrHubSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAwrHubLifecycleStateEnum(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(GetAwrHubLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary_collection.go
deleted file mode 100644
index 6e170c4859f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_hub_summary_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrHubSummaryCollection Collection of Hub resources.
-type AwrHubSummaryCollection struct {
-
- // Array of Hub summary objects.
- Items []AwrHubSummary `mandatory:"true" json:"items"`
-}
-
-func (m AwrHubSummaryCollection) 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 AwrHubSummaryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_query_result.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_query_result.go
index 1699c388d04..a5dae7b2175 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_query_result.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_query_result.go
@@ -33,9 +33,9 @@ type AwrQueryResult interface {
type awrqueryresult struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
Version *string `mandatory:"false" json:"version"`
DbQueryTimeInSecs *float64 `mandatory:"false" json:"dbQueryTimeInSecs"`
+ Name *string `mandatory:"true" json:"name"`
AwrResultType string `json:"awrResultType"`
}
@@ -125,21 +125,21 @@ func (m *awrqueryresult) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetName returns Name
-func (m awrqueryresult) GetName() *string {
- return m.Name
-}
-
-//GetVersion returns Version
+// GetVersion returns Version
func (m awrqueryresult) GetVersion() *string {
return m.Version
}
-//GetDbQueryTimeInSecs returns DbQueryTimeInSecs
+// GetDbQueryTimeInSecs returns DbQueryTimeInSecs
func (m awrqueryresult) GetDbQueryTimeInSecs() *float64 {
return m.DbQueryTimeInSecs
}
+// GetName returns Name
+func (m awrqueryresult) GetName() *string {
+ return m.Name
+}
+
func (m awrqueryresult) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report.go
deleted file mode 100644
index ac401402db7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrReport The result of the AWR report.
-type AwrReport struct {
-
- // The format of the report.
- Format AwrReportFormatTypeEnum `mandatory:"true" json:"format"`
-
- // The content of the report.
- Content *string `mandatory:"false" json:"content"`
-}
-
-func (m AwrReport) 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 AwrReport) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingAwrReportFormatTypeEnum(string(m.Format)); !ok && m.Format != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Format: %s. Supported values are: %s.", m.Format, strings.Join(GetAwrReportFormatTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report_format_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report_format_type.go
deleted file mode 100644
index 1a174d880b0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_report_format_type.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// AwrReportFormatTypeEnum Enum with underlying type: string
-type AwrReportFormatTypeEnum string
-
-// Set of constants representing the allowable values for AwrReportFormatTypeEnum
-const (
- AwrReportFormatTypeHtml AwrReportFormatTypeEnum = "HTML"
- AwrReportFormatTypeText AwrReportFormatTypeEnum = "TEXT"
-)
-
-var mappingAwrReportFormatTypeEnum = map[string]AwrReportFormatTypeEnum{
- "HTML": AwrReportFormatTypeHtml,
- "TEXT": AwrReportFormatTypeText,
-}
-
-var mappingAwrReportFormatTypeEnumLowerCase = map[string]AwrReportFormatTypeEnum{
- "html": AwrReportFormatTypeHtml,
- "text": AwrReportFormatTypeText,
-}
-
-// GetAwrReportFormatTypeEnumValues Enumerates the set of values for AwrReportFormatTypeEnum
-func GetAwrReportFormatTypeEnumValues() []AwrReportFormatTypeEnum {
- values := make([]AwrReportFormatTypeEnum, 0)
- for _, v := range mappingAwrReportFormatTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetAwrReportFormatTypeEnumStringValues Enumerates the set of values in String for AwrReportFormatTypeEnum
-func GetAwrReportFormatTypeEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- }
-}
-
-// GetMappingAwrReportFormatTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingAwrReportFormatTypeEnum(val string) (AwrReportFormatTypeEnum, bool) {
- enum, ok := mappingAwrReportFormatTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_collection.go
deleted file mode 100644
index d63c8d470c1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrSnapshotCollection The list of AWR snapshots for one database.
-type AwrSnapshotCollection struct {
-
- // A list of AWR snapshot summary data.
- Items []AwrSnapshotSummary `mandatory:"true" json:"items"`
-}
-
-func (m AwrSnapshotCollection) 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 AwrSnapshotCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_summary.go
deleted file mode 100644
index 8c8120b49ad..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_snapshot_summary.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrSnapshotSummary The AWR snapshot summary of one snapshot.
-type AwrSnapshotSummary struct {
-
- // DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- AwrSourceDatabaseId *string `mandatory:"true" json:"awrSourceDatabaseId"`
-
- // The identifier of the snapshot.
- SnapshotIdentifier *int `mandatory:"true" json:"snapshotIdentifier"`
-
- // The database instance number.
- InstanceNumber *int `mandatory:"false" json:"instanceNumber"`
-
- // The timestamp of the database startup.
- TimeDbStartup *common.SDKTime `mandatory:"false" json:"timeDbStartup"`
-
- // The start time of the snapshot.
- TimeSnapshotBegin *common.SDKTime `mandatory:"false" json:"timeSnapshotBegin"`
-
- // The end time of the snapshot.
- TimeSnapshotEnd *common.SDKTime `mandatory:"false" json:"timeSnapshotEnd"`
-
- // The total number of errors.
- ErrorCount *int64 `mandatory:"false" json:"errorCount"`
-}
-
-func (m AwrSnapshotSummary) 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 AwrSnapshotSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_source_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_source_summary.go
deleted file mode 100644
index e7e0f93e61f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/awr_source_summary.go
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// AwrSourceSummary Summary of an AwrSource.
-type AwrSourceSummary struct {
-
- // AWR Hub OCID
- AwrHubId *string `mandatory:"true" json:"awrHubId"`
-
- // Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
- Name *string `mandatory:"true" json:"name"`
-
- // DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- AwrSourceDatabaseId *string `mandatory:"true" json:"awrSourceDatabaseId"`
-
- // Number of AWR snapshots uploaded from the Source database.
- SnapshotsUploaded *float32 `mandatory:"true" json:"snapshotsUploaded"`
-
- // The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- MinSnapshotIdentifier *float32 `mandatory:"true" json:"minSnapshotIdentifier"`
-
- // The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- MaxSnapshotIdentifier *float32 `mandatory:"true" json:"maxSnapshotIdentifier"`
-
- // The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- TimeFirstSnapshotGenerated *common.SDKTime `mandatory:"true" json:"timeFirstSnapshotGenerated"`
-
- // The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- TimeLastSnapshotGenerated *common.SDKTime `mandatory:"true" json:"timeLastSnapshotGenerated"`
-
- // Number of hours since last AWR snapshots import happened from the Source database.
- HoursSinceLastImport *float64 `mandatory:"true" json:"hoursSinceLastImport"`
-}
-
-func (m AwrSourceSummary) 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 AwrSourceSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_metadata.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_metadata.go
deleted file mode 100644
index 5ab7da842a0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_metadata.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// BasicConfigurationItemMetadata Basic configuration item metadata.
-type BasicConfigurationItemMetadata struct {
-
- // User-friendly display name for the configuration item.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Description of configuration item .
- Description *string `mandatory:"false" json:"description"`
-
- // Data type of configuration item.
- // Examples: STRING, BOOLEAN, NUMBER
- DataType *string `mandatory:"false" json:"dataType"`
-
- UnitDetails *ConfigurationItemUnitDetails `mandatory:"false" json:"unitDetails"`
-
- ValueInputDetails ConfigurationItemAllowedValueDetails `mandatory:"false" json:"valueInputDetails"`
-}
-
-func (m BasicConfigurationItemMetadata) 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 BasicConfigurationItemMetadata) 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 BasicConfigurationItemMetadata) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeBasicConfigurationItemMetadata BasicConfigurationItemMetadata
- s := struct {
- DiscriminatorParam string `json:"configItemType"`
- MarshalTypeBasicConfigurationItemMetadata
- }{
- "BASIC",
- (MarshalTypeBasicConfigurationItemMetadata)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *BasicConfigurationItemMetadata) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- DisplayName *string `json:"displayName"`
- Description *string `json:"description"`
- DataType *string `json:"dataType"`
- UnitDetails *ConfigurationItemUnitDetails `json:"unitDetails"`
- ValueInputDetails configurationitemallowedvaluedetails `json:"valueInputDetails"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.DisplayName = model.DisplayName
-
- m.Description = model.Description
-
- m.DataType = model.DataType
-
- m.UnitDetails = model.UnitDetails
-
- nn, e = model.ValueInputDetails.UnmarshalPolymorphicJSON(model.ValueInputDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.ValueInputDetails = nn.(ConfigurationItemAllowedValueDetails)
- } else {
- m.ValueInputDetails = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_summary.go
index 457cbce64dd..1ea27b8f071 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/basic_configuration_item_summary.go
@@ -99,10 +99,7 @@ func (m *BasicConfigurationItemSummary) UnmarshalJSON(data []byte) (e error) {
m.DefaultValue = model.DefaultValue
m.ApplicableContexts = make([]string, len(model.ApplicableContexts))
- for i, n := range model.ApplicableContexts {
- m.ApplicableContexts[i] = n
- }
-
+ copy(m.ApplicableContexts, model.ApplicableContexts)
nn, e = model.Metadata.UnmarshalPolymorphicJSON(model.Metadata.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_details.go
deleted file mode 100644
index 06c2c8f4eed..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_details.go
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails Advanced feature details of autonomous database insight.
-type ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails struct {
- ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
-
- CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-}
-
-func (m ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- ConnectionDetails *ConnectionDetails `json:"connectionDetails"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.ConnectionDetails = model.ConnectionDetails
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_request_response.go
deleted file mode 100644
index 3a039cb6306..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_autonomous_database_insight_advanced_features_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the ChangeAutonomousDatabaseInsightAdvancedFeatures operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest.
-type ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
-
- // Details for the advanced features of Autonomous Database in Operations Insights.
- ChangeAutonomousDatabaseInsightAdvancedFeaturesDetails `contributesTo:"body"`
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the ChangeAutonomousDatabaseInsightAdvancedFeatures operation
-type ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_details.go
deleted file mode 100644
index fc907bfeca5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeDatabaseInsightCompartmentDetails The information to be updated.
-type ChangeDatabaseInsightCompartmentDetails struct {
-
- // The OCID of the compartment into which the resource should be moved.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m ChangeDatabaseInsightCompartmentDetails) 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 ChangeDatabaseInsightCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_request_response.go
deleted file mode 100644
index 069f998bd14..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_database_insight_compartment_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeDatabaseInsightCompartmentRequest wrapper for the ChangeDatabaseInsightCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeDatabaseInsightCompartment.go.html to see an example of how to use ChangeDatabaseInsightCompartmentRequest.
-type ChangeDatabaseInsightCompartmentRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // The information to be updated.
- ChangeDatabaseInsightCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeDatabaseInsightCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeDatabaseInsightCompartmentRequest) 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 ChangeDatabaseInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeDatabaseInsightCompartmentRequest) 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 ChangeDatabaseInsightCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeDatabaseInsightCompartmentResponse wrapper for the ChangeDatabaseInsightCompartment operation
-type ChangeDatabaseInsightCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeDatabaseInsightCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeDatabaseInsightCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_details.go
deleted file mode 100644
index c53f6b611f7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeEnterpriseManagerBridgeCompartmentDetails The information to be updated.
-type ChangeEnterpriseManagerBridgeCompartmentDetails struct {
-
- // The OCID of the compartment into which the resource should be moved.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m ChangeEnterpriseManagerBridgeCompartmentDetails) 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 ChangeEnterpriseManagerBridgeCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_request_response.go
deleted file mode 100644
index e3833063f72..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_enterprise_manager_bridge_compartment_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeEnterpriseManagerBridgeCompartmentRequest wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeEnterpriseManagerBridgeCompartment.go.html to see an example of how to use ChangeEnterpriseManagerBridgeCompartmentRequest.
-type ChangeEnterpriseManagerBridgeCompartmentRequest struct {
-
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
-
- // The information to be updated.
- ChangeEnterpriseManagerBridgeCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 ChangeEnterpriseManagerBridgeCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeEnterpriseManagerBridgeCompartmentRequest) 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 ChangeEnterpriseManagerBridgeCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeEnterpriseManagerBridgeCompartmentRequest) 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 ChangeEnterpriseManagerBridgeCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeEnterpriseManagerBridgeCompartmentResponse wrapper for the ChangeEnterpriseManagerBridgeCompartment operation
-type ChangeEnterpriseManagerBridgeCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeEnterpriseManagerBridgeCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeEnterpriseManagerBridgeCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_details.go
deleted file mode 100644
index 5bc357b1c01..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeExadataInsightCompartmentDetails The information to be updated.
-type ChangeExadataInsightCompartmentDetails struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m ChangeExadataInsightCompartmentDetails) 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 ChangeExadataInsightCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_request_response.go
deleted file mode 100644
index 48148580f66..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_exadata_insight_compartment_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeExadataInsightCompartmentRequest wrapper for the ChangeExadataInsightCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeExadataInsightCompartment.go.html to see an example of how to use ChangeExadataInsightCompartmentRequest.
-type ChangeExadataInsightCompartmentRequest struct {
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // The information to be updated.
- ChangeExadataInsightCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeExadataInsightCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeExadataInsightCompartmentRequest) 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 ChangeExadataInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeExadataInsightCompartmentRequest) 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 ChangeExadataInsightCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeExadataInsightCompartmentResponse wrapper for the ChangeExadataInsightCompartment operation
-type ChangeExadataInsightCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeExadataInsightCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeExadataInsightCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_details.go
deleted file mode 100644
index 4ef5362f002..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeHostInsightCompartmentDetails The information to be updated.
-type ChangeHostInsightCompartmentDetails struct {
-
- // The OCID of the compartment into which the resource should be moved.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m ChangeHostInsightCompartmentDetails) 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 ChangeHostInsightCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_request_response.go
deleted file mode 100644
index acf1a083f9a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_host_insight_compartment_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeHostInsightCompartmentRequest wrapper for the ChangeHostInsightCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeHostInsightCompartment.go.html to see an example of how to use ChangeHostInsightCompartmentRequest.
-type ChangeHostInsightCompartmentRequest struct {
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // The information to be updated.
- ChangeHostInsightCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeHostInsightCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeHostInsightCompartmentRequest) 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 ChangeHostInsightCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeHostInsightCompartmentRequest) 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 ChangeHostInsightCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeHostInsightCompartmentResponse wrapper for the ChangeHostInsightCompartment operation
-type ChangeHostInsightCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeHostInsightCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeHostInsightCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_details.go
deleted file mode 100644
index 7a796f8cd72..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeOperationsInsightsPrivateEndpointCompartmentDetails The details used to change the compartment of a Operation Insights private endpoint.
-type ChangeOperationsInsightsPrivateEndpointCompartmentDetails struct {
-
- // The new compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-}
-
-func (m ChangeOperationsInsightsPrivateEndpointCompartmentDetails) 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 ChangeOperationsInsightsPrivateEndpointCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_request_response.go
deleted file mode 100644
index dd5d5cdb50e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_operations_insights_private_endpoint_compartment_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeOperationsInsightsPrivateEndpointCompartmentRequest wrapper for the ChangeOperationsInsightsPrivateEndpointCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOperationsInsightsPrivateEndpointCompartment.go.html to see an example of how to use ChangeOperationsInsightsPrivateEndpointCompartmentRequest.
-type ChangeOperationsInsightsPrivateEndpointCompartmentRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
- OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
-
- // The details used to change the compartment of a private endpoint
- ChangeOperationsInsightsPrivateEndpointCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeOperationsInsightsPrivateEndpointCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) 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 ChangeOperationsInsightsPrivateEndpointCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeOperationsInsightsPrivateEndpointCompartmentRequest) 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 ChangeOperationsInsightsPrivateEndpointCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeOperationsInsightsPrivateEndpointCompartmentResponse wrapper for the ChangeOperationsInsightsPrivateEndpointCompartment operation
-type ChangeOperationsInsightsPrivateEndpointCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeOperationsInsightsPrivateEndpointCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeOperationsInsightsPrivateEndpointCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_details.go
deleted file mode 100644
index 93e628dd300..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ChangeOpsiConfigurationCompartmentDetails The information used to change the compartment of an OPSI configuration resource.
-type ChangeOpsiConfigurationCompartmentDetails struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m ChangeOpsiConfigurationCompartmentDetails) 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 ChangeOpsiConfigurationCompartmentDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_request_response.go
deleted file mode 100644
index a66cd68ffee..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_opsi_configuration_compartment_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangeOpsiConfigurationCompartmentRequest wrapper for the ChangeOpsiConfigurationCompartment operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangeOpsiConfigurationCompartment.go.html to see an example of how to use ChangeOpsiConfigurationCompartmentRequest.
-type ChangeOpsiConfigurationCompartmentRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
- OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
-
- // The information to be updated.
- ChangeOpsiConfigurationCompartmentDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangeOpsiConfigurationCompartmentRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangeOpsiConfigurationCompartmentRequest) 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 ChangeOpsiConfigurationCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangeOpsiConfigurationCompartmentRequest) 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 ChangeOpsiConfigurationCompartmentRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangeOpsiConfigurationCompartmentResponse wrapper for the ChangeOpsiConfigurationCompartment operation
-type ChangeOpsiConfigurationCompartmentResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangeOpsiConfigurationCompartmentResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangeOpsiConfigurationCompartmentResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_details.go
deleted file mode 100644
index b71360426ae..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_details.go
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ChangePeComanagedDatabaseInsightDetails Details of a Private Endpoint co-managed database insight.
-type ChangePeComanagedDatabaseInsightDetails struct {
-
- // Database service name used for connection requests.
- ServiceName *string `mandatory:"true" json:"serviceName"`
-
- CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
-}
-
-func (m ChangePeComanagedDatabaseInsightDetails) 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 ChangePeComanagedDatabaseInsightDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *ChangePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `json:"connectionDetails"`
- ServiceName *string `json:"serviceName"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.ConnectionDetails = model.ConnectionDetails
-
- m.ServiceName = model.ServiceName
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_request_response.go
deleted file mode 100644
index c96257bc88f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/change_pe_comanaged_database_insight_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ChangePeComanagedDatabaseInsightRequest wrapper for the ChangePeComanagedDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ChangePeComanagedDatabaseInsight.go.html to see an example of how to use ChangePeComanagedDatabaseInsightRequest.
-type ChangePeComanagedDatabaseInsightRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // The information to be updated.
- ChangePeComanagedDatabaseInsightDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 ChangePeComanagedDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ChangePeComanagedDatabaseInsightRequest) 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 ChangePeComanagedDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ChangePeComanagedDatabaseInsightRequest) 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 ChangePeComanagedDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ChangePeComanagedDatabaseInsightResponse wrapper for the ChangePeComanagedDatabaseInsight operation
-type ChangePeComanagedDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 ChangePeComanagedDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ChangePeComanagedDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/cloud_importable_compute_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/cloud_importable_compute_entity_summary.go
deleted file mode 100644
index ec7a3228232..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/cloud_importable_compute_entity_summary.go
+++ /dev/null
@@ -1,147 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CloudImportableComputeEntitySummary A compute host entity that can be imported into Operations Insights.
-type CloudImportableComputeEntitySummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
- ComputeId *string `mandatory:"true" json:"computeId"`
-
- // The Display Name (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Compute Instance
- ComputeDisplayName *string `mandatory:"true" json:"computeDisplayName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType CloudImportableComputeEntitySummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetComputeId returns ComputeId
-func (m CloudImportableComputeEntitySummary) GetComputeId() *string {
- return m.ComputeId
-}
-
-//GetComputeDisplayName returns ComputeDisplayName
-func (m CloudImportableComputeEntitySummary) GetComputeDisplayName() *string {
- return m.ComputeDisplayName
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CloudImportableComputeEntitySummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-func (m CloudImportableComputeEntitySummary) 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 CloudImportableComputeEntitySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingCloudImportableComputeEntitySummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetCloudImportableComputeEntitySummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m CloudImportableComputeEntitySummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCloudImportableComputeEntitySummary CloudImportableComputeEntitySummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCloudImportableComputeEntitySummary
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeCloudImportableComputeEntitySummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// CloudImportableComputeEntitySummaryPlatformTypeEnum Enum with underlying type: string
-type CloudImportableComputeEntitySummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for CloudImportableComputeEntitySummaryPlatformTypeEnum
-const (
- CloudImportableComputeEntitySummaryPlatformTypeLinux CloudImportableComputeEntitySummaryPlatformTypeEnum = "LINUX"
- CloudImportableComputeEntitySummaryPlatformTypeSolaris CloudImportableComputeEntitySummaryPlatformTypeEnum = "SOLARIS"
- CloudImportableComputeEntitySummaryPlatformTypeSunos CloudImportableComputeEntitySummaryPlatformTypeEnum = "SUNOS"
- CloudImportableComputeEntitySummaryPlatformTypeZlinux CloudImportableComputeEntitySummaryPlatformTypeEnum = "ZLINUX"
- CloudImportableComputeEntitySummaryPlatformTypeWindows CloudImportableComputeEntitySummaryPlatformTypeEnum = "WINDOWS"
- CloudImportableComputeEntitySummaryPlatformTypeAix CloudImportableComputeEntitySummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingCloudImportableComputeEntitySummaryPlatformTypeEnum = map[string]CloudImportableComputeEntitySummaryPlatformTypeEnum{
- "LINUX": CloudImportableComputeEntitySummaryPlatformTypeLinux,
- "SOLARIS": CloudImportableComputeEntitySummaryPlatformTypeSolaris,
- "SUNOS": CloudImportableComputeEntitySummaryPlatformTypeSunos,
- "ZLINUX": CloudImportableComputeEntitySummaryPlatformTypeZlinux,
- "WINDOWS": CloudImportableComputeEntitySummaryPlatformTypeWindows,
- "AIX": CloudImportableComputeEntitySummaryPlatformTypeAix,
-}
-
-var mappingCloudImportableComputeEntitySummaryPlatformTypeEnumLowerCase = map[string]CloudImportableComputeEntitySummaryPlatformTypeEnum{
- "linux": CloudImportableComputeEntitySummaryPlatformTypeLinux,
- "solaris": CloudImportableComputeEntitySummaryPlatformTypeSolaris,
- "sunos": CloudImportableComputeEntitySummaryPlatformTypeSunos,
- "zlinux": CloudImportableComputeEntitySummaryPlatformTypeZlinux,
- "windows": CloudImportableComputeEntitySummaryPlatformTypeWindows,
- "aix": CloudImportableComputeEntitySummaryPlatformTypeAix,
-}
-
-// GetCloudImportableComputeEntitySummaryPlatformTypeEnumValues Enumerates the set of values for CloudImportableComputeEntitySummaryPlatformTypeEnum
-func GetCloudImportableComputeEntitySummaryPlatformTypeEnumValues() []CloudImportableComputeEntitySummaryPlatformTypeEnum {
- values := make([]CloudImportableComputeEntitySummaryPlatformTypeEnum, 0)
- for _, v := range mappingCloudImportableComputeEntitySummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCloudImportableComputeEntitySummaryPlatformTypeEnumStringValues Enumerates the set of values in String for CloudImportableComputeEntitySummaryPlatformTypeEnum
-func GetCloudImportableComputeEntitySummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingCloudImportableComputeEntitySummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCloudImportableComputeEntitySummaryPlatformTypeEnum(val string) (CloudImportableComputeEntitySummaryPlatformTypeEnum, bool) {
- enum, ok := mappingCloudImportableComputeEntitySummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_details.go
deleted file mode 100644
index 596d6edfa27..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_details.go
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemAllowedValueDetails Allowed value details of configuration item, to validate what value can be assigned to a configuration item.
-type ConfigurationItemAllowedValueDetails interface {
-}
-
-type configurationitemallowedvaluedetails struct {
- JsonData []byte
- AllowedValueType string `json:"allowedValueType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *configurationitemallowedvaluedetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerconfigurationitemallowedvaluedetails configurationitemallowedvaluedetails
- s := struct {
- Model Unmarshalerconfigurationitemallowedvaluedetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.AllowedValueType = s.Model.AllowedValueType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *configurationitemallowedvaluedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.AllowedValueType {
- case "FREE_TEXT":
- mm := ConfigurationItemFreeTextAllowedValueDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "PICK":
- mm := ConfigurationItemPickAllowedValueDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "LIMIT":
- mm := ConfigurationItemLimitAllowedValueDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for ConfigurationItemAllowedValueDetails: %s.", m.AllowedValueType)
- return *m, nil
- }
-}
-
-func (m configurationitemallowedvaluedetails) 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 configurationitemallowedvaluedetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_type.go
deleted file mode 100644
index eec9a475f47..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_allowed_value_type.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ConfigurationItemAllowedValueTypeEnum Enum with underlying type: string
-type ConfigurationItemAllowedValueTypeEnum string
-
-// Set of constants representing the allowable values for ConfigurationItemAllowedValueTypeEnum
-const (
- ConfigurationItemAllowedValueTypeLimit ConfigurationItemAllowedValueTypeEnum = "LIMIT"
- ConfigurationItemAllowedValueTypePick ConfigurationItemAllowedValueTypeEnum = "PICK"
- ConfigurationItemAllowedValueTypeFreeText ConfigurationItemAllowedValueTypeEnum = "FREE_TEXT"
-)
-
-var mappingConfigurationItemAllowedValueTypeEnum = map[string]ConfigurationItemAllowedValueTypeEnum{
- "LIMIT": ConfigurationItemAllowedValueTypeLimit,
- "PICK": ConfigurationItemAllowedValueTypePick,
- "FREE_TEXT": ConfigurationItemAllowedValueTypeFreeText,
-}
-
-var mappingConfigurationItemAllowedValueTypeEnumLowerCase = map[string]ConfigurationItemAllowedValueTypeEnum{
- "limit": ConfigurationItemAllowedValueTypeLimit,
- "pick": ConfigurationItemAllowedValueTypePick,
- "free_text": ConfigurationItemAllowedValueTypeFreeText,
-}
-
-// GetConfigurationItemAllowedValueTypeEnumValues Enumerates the set of values for ConfigurationItemAllowedValueTypeEnum
-func GetConfigurationItemAllowedValueTypeEnumValues() []ConfigurationItemAllowedValueTypeEnum {
- values := make([]ConfigurationItemAllowedValueTypeEnum, 0)
- for _, v := range mappingConfigurationItemAllowedValueTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetConfigurationItemAllowedValueTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemAllowedValueTypeEnum
-func GetConfigurationItemAllowedValueTypeEnumStringValues() []string {
- return []string{
- "LIMIT",
- "PICK",
- "FREE_TEXT",
- }
-}
-
-// GetMappingConfigurationItemAllowedValueTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingConfigurationItemAllowedValueTypeEnum(val string) (ConfigurationItemAllowedValueTypeEnum, bool) {
- enum, ok := mappingConfigurationItemAllowedValueTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_free_text_allowed_value_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_free_text_allowed_value_details.go
deleted file mode 100644
index a2f2c456b52..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_free_text_allowed_value_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemFreeTextAllowedValueDetails Allowed value details of configuration item for FREE_TEXT type.
-type ConfigurationItemFreeTextAllowedValueDetails struct {
-}
-
-func (m ConfigurationItemFreeTextAllowedValueDetails) 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 ConfigurationItemFreeTextAllowedValueDetails) 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 ConfigurationItemFreeTextAllowedValueDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeConfigurationItemFreeTextAllowedValueDetails ConfigurationItemFreeTextAllowedValueDetails
- s := struct {
- DiscriminatorParam string `json:"allowedValueType"`
- MarshalTypeConfigurationItemFreeTextAllowedValueDetails
- }{
- "FREE_TEXT",
- (MarshalTypeConfigurationItemFreeTextAllowedValueDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_limit_allowed_value_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_limit_allowed_value_details.go
deleted file mode 100644
index b4d05064a8b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_limit_allowed_value_details.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemLimitAllowedValueDetails Allowed value details of configuration item for LIMIT type. Value has to be between minValue and maxValue.
-type ConfigurationItemLimitAllowedValueDetails struct {
-
- // Minimum value limit for the configuration item.
- MinValue *string `mandatory:"false" json:"minValue"`
-
- // Maximum value limit for the configuration item.
- MaxValue *string `mandatory:"false" json:"maxValue"`
-}
-
-func (m ConfigurationItemLimitAllowedValueDetails) 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 ConfigurationItemLimitAllowedValueDetails) 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 ConfigurationItemLimitAllowedValueDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeConfigurationItemLimitAllowedValueDetails ConfigurationItemLimitAllowedValueDetails
- s := struct {
- DiscriminatorParam string `json:"allowedValueType"`
- MarshalTypeConfigurationItemLimitAllowedValueDetails
- }{
- "LIMIT",
- (MarshalTypeConfigurationItemLimitAllowedValueDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_metadata.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_metadata.go
deleted file mode 100644
index b581e7f7c3a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_metadata.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemMetadata Configuration item metadata.
-type ConfigurationItemMetadata interface {
-}
-
-type configurationitemmetadata struct {
- JsonData []byte
- ConfigItemType string `json:"configItemType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *configurationitemmetadata) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerconfigurationitemmetadata configurationitemmetadata
- s := struct {
- Model Unmarshalerconfigurationitemmetadata
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ConfigItemType = s.Model.ConfigItemType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *configurationitemmetadata) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ConfigItemType {
- case "BASIC":
- mm := BasicConfigurationItemMetadata{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for ConfigurationItemMetadata: %s.", m.ConfigItemType)
- return *m, nil
- }
-}
-
-func (m configurationitemmetadata) 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 configurationitemmetadata) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_pick_allowed_value_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_pick_allowed_value_details.go
deleted file mode 100644
index 079e802d68c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_pick_allowed_value_details.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemPickAllowedValueDetails Allowed value details of configuration item for PICK type. Value has to be from one of the possibleValues.
-type ConfigurationItemPickAllowedValueDetails struct {
-
- // Allowed values to pick for the configuration item.
- PossibleValues []string `mandatory:"false" json:"possibleValues"`
-}
-
-func (m ConfigurationItemPickAllowedValueDetails) 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 ConfigurationItemPickAllowedValueDetails) 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 ConfigurationItemPickAllowedValueDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeConfigurationItemPickAllowedValueDetails ConfigurationItemPickAllowedValueDetails
- s := struct {
- DiscriminatorParam string `json:"allowedValueType"`
- MarshalTypeConfigurationItemPickAllowedValueDetails
- }{
- "PICK",
- (MarshalTypeConfigurationItemPickAllowedValueDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_summary.go
deleted file mode 100644
index d2a7d952dca..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_summary.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ConfigurationItemSummary Configuration item summary.
-type ConfigurationItemSummary interface {
-}
-
-type configurationitemsummary struct {
- JsonData []byte
- ConfigItemType string `json:"configItemType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *configurationitemsummary) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerconfigurationitemsummary configurationitemsummary
- s := struct {
- Model Unmarshalerconfigurationitemsummary
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ConfigItemType = s.Model.ConfigItemType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *configurationitemsummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ConfigItemType {
- case "BASIC":
- mm := BasicConfigurationItemSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for ConfigurationItemSummary: %s.", m.ConfigItemType)
- return *m, nil
- }
-}
-
-func (m configurationitemsummary) 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 configurationitemsummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_type.go
deleted file mode 100644
index 0564dfa9af2..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_type.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ConfigurationItemTypeEnum Enum with underlying type: string
-type ConfigurationItemTypeEnum string
-
-// Set of constants representing the allowable values for ConfigurationItemTypeEnum
-const (
- ConfigurationItemTypeBasic ConfigurationItemTypeEnum = "BASIC"
-)
-
-var mappingConfigurationItemTypeEnum = map[string]ConfigurationItemTypeEnum{
- "BASIC": ConfigurationItemTypeBasic,
-}
-
-var mappingConfigurationItemTypeEnumLowerCase = map[string]ConfigurationItemTypeEnum{
- "basic": ConfigurationItemTypeBasic,
-}
-
-// GetConfigurationItemTypeEnumValues Enumerates the set of values for ConfigurationItemTypeEnum
-func GetConfigurationItemTypeEnumValues() []ConfigurationItemTypeEnum {
- values := make([]ConfigurationItemTypeEnum, 0)
- for _, v := range mappingConfigurationItemTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetConfigurationItemTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemTypeEnum
-func GetConfigurationItemTypeEnumStringValues() []string {
- return []string{
- "BASIC",
- }
-}
-
-// GetMappingConfigurationItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingConfigurationItemTypeEnum(val string) (ConfigurationItemTypeEnum, bool) {
- enum, ok := mappingConfigurationItemTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_unit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_unit_details.go
deleted file mode 100644
index 4b2785c896d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_unit_details.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ConfigurationItemUnitDetails Unit details of configuration item.
-type ConfigurationItemUnitDetails struct {
-
- // Unit of configuration item.
- Unit *string `mandatory:"false" json:"unit"`
-
- // User-friendly display name for the configuration item unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-}
-
-func (m ConfigurationItemUnitDetails) 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 ConfigurationItemUnitDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_value_source_configuration_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_value_source_configuration_type.go
deleted file mode 100644
index 81b300ca356..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_item_value_source_configuration_type.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ConfigurationItemValueSourceConfigurationTypeEnum Enum with underlying type: string
-type ConfigurationItemValueSourceConfigurationTypeEnum string
-
-// Set of constants representing the allowable values for ConfigurationItemValueSourceConfigurationTypeEnum
-const (
- ConfigurationItemValueSourceConfigurationTypeDefault ConfigurationItemValueSourceConfigurationTypeEnum = "DEFAULT"
- ConfigurationItemValueSourceConfigurationTypeTenant ConfigurationItemValueSourceConfigurationTypeEnum = "TENANT"
- ConfigurationItemValueSourceConfigurationTypeCompartment ConfigurationItemValueSourceConfigurationTypeEnum = "COMPARTMENT"
-)
-
-var mappingConfigurationItemValueSourceConfigurationTypeEnum = map[string]ConfigurationItemValueSourceConfigurationTypeEnum{
- "DEFAULT": ConfigurationItemValueSourceConfigurationTypeDefault,
- "TENANT": ConfigurationItemValueSourceConfigurationTypeTenant,
- "COMPARTMENT": ConfigurationItemValueSourceConfigurationTypeCompartment,
-}
-
-var mappingConfigurationItemValueSourceConfigurationTypeEnumLowerCase = map[string]ConfigurationItemValueSourceConfigurationTypeEnum{
- "default": ConfigurationItemValueSourceConfigurationTypeDefault,
- "tenant": ConfigurationItemValueSourceConfigurationTypeTenant,
- "compartment": ConfigurationItemValueSourceConfigurationTypeCompartment,
-}
-
-// GetConfigurationItemValueSourceConfigurationTypeEnumValues Enumerates the set of values for ConfigurationItemValueSourceConfigurationTypeEnum
-func GetConfigurationItemValueSourceConfigurationTypeEnumValues() []ConfigurationItemValueSourceConfigurationTypeEnum {
- values := make([]ConfigurationItemValueSourceConfigurationTypeEnum, 0)
- for _, v := range mappingConfigurationItemValueSourceConfigurationTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetConfigurationItemValueSourceConfigurationTypeEnumStringValues Enumerates the set of values in String for ConfigurationItemValueSourceConfigurationTypeEnum
-func GetConfigurationItemValueSourceConfigurationTypeEnumStringValues() []string {
- return []string{
- "DEFAULT",
- "TENANT",
- "COMPARTMENT",
- }
-}
-
-// GetMappingConfigurationItemValueSourceConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingConfigurationItemValueSourceConfigurationTypeEnum(val string) (ConfigurationItemValueSourceConfigurationTypeEnum, bool) {
- enum, ok := mappingConfigurationItemValueSourceConfigurationTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_items_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_items_collection.go
index 02d2de4bd2b..383548e6615 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_items_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/configuration_items_collection.go
@@ -67,7 +67,7 @@ func (m *configurationitemscollection) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetConfigItems returns ConfigItems
+// GetConfigItems returns ConfigItems
func (m configurationitemscollection) GetConfigItems() json.RawMessage {
return m.ConfigItems
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/connection_details.go
deleted file mode 100644
index 857486eea2d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/connection_details.go
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ConnectionDetails Connection details to connect to the database. HostName, protocol, and port should be specified.
-type ConnectionDetails struct {
-
- // Name of the listener host that will be used to create the connect string to the database.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Protocol used for connection requests.
- Protocol ConnectionDetailsProtocolEnum `mandatory:"true" json:"protocol"`
-
- // Listener port number used for connection requests.
- Port *int `mandatory:"true" json:"port"`
-
- // Database service name used for connection requests.
- ServiceName *string `mandatory:"true" json:"serviceName"`
-}
-
-func (m ConnectionDetails) 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 ConnectionDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingConnectionDetailsProtocolEnum(string(m.Protocol)); !ok && m.Protocol != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetConnectionDetailsProtocolEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ConnectionDetailsProtocolEnum Enum with underlying type: string
-type ConnectionDetailsProtocolEnum string
-
-// Set of constants representing the allowable values for ConnectionDetailsProtocolEnum
-const (
- ConnectionDetailsProtocolTcp ConnectionDetailsProtocolEnum = "TCP"
- ConnectionDetailsProtocolTcps ConnectionDetailsProtocolEnum = "TCPS"
-)
-
-var mappingConnectionDetailsProtocolEnum = map[string]ConnectionDetailsProtocolEnum{
- "TCP": ConnectionDetailsProtocolTcp,
- "TCPS": ConnectionDetailsProtocolTcps,
-}
-
-var mappingConnectionDetailsProtocolEnumLowerCase = map[string]ConnectionDetailsProtocolEnum{
- "tcp": ConnectionDetailsProtocolTcp,
- "tcps": ConnectionDetailsProtocolTcps,
-}
-
-// GetConnectionDetailsProtocolEnumValues Enumerates the set of values for ConnectionDetailsProtocolEnum
-func GetConnectionDetailsProtocolEnumValues() []ConnectionDetailsProtocolEnum {
- values := make([]ConnectionDetailsProtocolEnum, 0)
- for _, v := range mappingConnectionDetailsProtocolEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for ConnectionDetailsProtocolEnum
-func GetConnectionDetailsProtocolEnumStringValues() []string {
- return []string{
- "TCP",
- "TCPS",
- }
-}
-
-// GetMappingConnectionDetailsProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingConnectionDetailsProtocolEnum(val string) (ConnectionDetailsProtocolEnum, bool) {
- enum, ok := mappingConnectionDetailsProtocolEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_details.go
deleted file mode 100644
index ed0ea7c5e60..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_details.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateAwrHubDetails The information about Hub to be analyzed. Input compartmentId MUST be the root compartment.
-type CreateAwrHubDetails struct {
-
- // OPSI Warehouse OCID
- OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
-
- // 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 AWR Hub that does not have to be unique.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Object Storage Bucket Name
- ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m CreateAwrHubDetails) 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 CreateAwrHubDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_request_response.go
deleted file mode 100644
index 7151b68816c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_awr_hub_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateAwrHubRequest wrapper for the CreateAwrHub operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateAwrHub.go.html to see an example of how to use CreateAwrHubRequest.
-type CreateAwrHubRequest struct {
-
- // Details using which an AWR hub resource will be created in Operations Insights.
- CreateAwrHubDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateAwrHubRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateAwrHubRequest) 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 CreateAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateAwrHubRequest) 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 CreateAwrHubRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateAwrHubResponse wrapper for the CreateAwrHub operation
-type CreateAwrHubResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AwrHub instance
- AwrHub `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateAwrHubResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateAwrHubResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_basic_configuration_item_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_basic_configuration_item_details.go
deleted file mode 100644
index 11df8577eca..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_basic_configuration_item_details.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateBasicConfigurationItemDetails Basic configuration item details for OPSI configuration creation.
-type CreateBasicConfigurationItemDetails struct {
-
- // Name of configuration item.
- Name *string `mandatory:"false" json:"name"`
-
- // Value of configuration item.
- Value *string `mandatory:"false" json:"value"`
-}
-
-func (m CreateBasicConfigurationItemDetails) 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 CreateBasicConfigurationItemDetails) 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 CreateBasicConfigurationItemDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateBasicConfigurationItemDetails CreateBasicConfigurationItemDetails
- s := struct {
- DiscriminatorParam string `json:"configItemType"`
- MarshalTypeCreateBasicConfigurationItemDetails
- }{
- "BASIC",
- (MarshalTypeCreateBasicConfigurationItemDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_configuration_item_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_configuration_item_details.go
deleted file mode 100644
index d509b4811d0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_configuration_item_details.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateConfigurationItemDetails Configuration item details for OPSI configuration creation.
-type CreateConfigurationItemDetails interface {
-}
-
-type createconfigurationitemdetails struct {
- JsonData []byte
- ConfigItemType string `json:"configItemType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *createconfigurationitemdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalercreateconfigurationitemdetails createconfigurationitemdetails
- s := struct {
- Model Unmarshalercreateconfigurationitemdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ConfigItemType = s.Model.ConfigItemType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *createconfigurationitemdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ConfigItemType {
- case "BASIC":
- mm := CreateBasicConfigurationItemDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for CreateConfigurationItemDetails: %s.", m.ConfigItemType)
- return *m, nil
- }
-}
-
-func (m createconfigurationitemdetails) 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 createconfigurationitemdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_details.go
index bee15ebac11..4f0995e63e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_details.go
@@ -35,9 +35,9 @@ type CreateDatabaseInsightDetails interface {
type createdatabaseinsightdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
EntitySource string `json:"entitySource"`
}
@@ -83,21 +83,21 @@ func (m *createdatabaseinsightdetails) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetCompartmentId returns CompartmentId
-func (m createdatabaseinsightdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createdatabaseinsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createdatabaseinsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createdatabaseinsightdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createdatabaseinsightdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_request_response.go
deleted file mode 100644
index 6c6277f6ff8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_database_insight_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateDatabaseInsightRequest wrapper for the CreateDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateDatabaseInsight.go.html to see an example of how to use CreateDatabaseInsightRequest.
-type CreateDatabaseInsightRequest struct {
-
- // Details for the database for which a Database Insight resource will be created in Operations Insights.
- CreateDatabaseInsightDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateDatabaseInsightRequest) 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 CreateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateDatabaseInsightRequest) 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 CreateDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateDatabaseInsightResponse wrapper for the CreateDatabaseInsight operation
-type CreateDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The DatabaseInsight instance
- DatabaseInsight `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_database_insight_details.go
deleted file mode 100644
index a7e06701711..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_database_insight_details.go
+++ /dev/null
@@ -1,91 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
-type CreateEmManagedExternalDatabaseInsightDetails struct {
-
- // Compartment Identifier of database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreateEmManagedExternalDatabaseInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreateEmManagedExternalDatabaseInsightDetails) 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 CreateEmManagedExternalDatabaseInsightDetails) 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 CreateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateEmManagedExternalDatabaseInsightDetails CreateEmManagedExternalDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreateEmManagedExternalDatabaseInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeCreateEmManagedExternalDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_insight_details.go
deleted file mode 100644
index e8e5ce9cc6d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_insight_details.go
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed. If memberEntityDetails is not specified, the the Enterprise Manager entity (e.g. databases and hosts) associated with an Exadata system will be placed in the same compartment as the Exadata system.
-type CreateEmManagedExternalExadataInsightDetails struct {
-
- // Compartment Identifier of Exadata insight
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- MemberEntityDetails []CreateEmManagedExternalExadataMemberEntityDetails `mandatory:"false" json:"memberEntityDetails"`
-
- // Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
- IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreateEmManagedExternalExadataInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreateEmManagedExternalExadataInsightDetails) 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 CreateEmManagedExternalExadataInsightDetails) 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 CreateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateEmManagedExternalExadataInsightDetails CreateEmManagedExternalExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreateEmManagedExternalExadataInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeCreateEmManagedExternalExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_member_entity_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_member_entity_details.go
deleted file mode 100644
index 9609ebea7e5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_exadata_member_entity_details.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateEmManagedExternalExadataMemberEntityDetails Compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Enterprise Manager member entity (e.g. databases and hosts) associated with an Exadata system.
-type CreateEmManagedExternalExadataMemberEntityDetails struct {
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-}
-
-func (m CreateEmManagedExternalExadataMemberEntityDetails) 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 CreateEmManagedExternalExadataMemberEntityDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_host_insight_details.go
deleted file mode 100644
index b71e820508f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_em_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,91 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
-type CreateEmManagedExternalHostInsightDetails struct {
-
- // Compartment Identifier of host
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreateEmManagedExternalHostInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreateEmManagedExternalHostInsightDetails) 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 CreateEmManagedExternalHostInsightDetails) 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 CreateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateEmManagedExternalHostInsightDetails CreateEmManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreateEmManagedExternalHostInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeCreateEmManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_details.go
deleted file mode 100644
index d81acc647a1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_details.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateEnterpriseManagerBridgeDetails The information about a Enterprise Manager bridge resource to be created
-type CreateEnterpriseManagerBridgeDetails struct {
-
- // Compartment identifier of the Enterprise Manager bridge
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Object Storage Bucket Name
- ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
-
- // Description of Enterprise Manager Bridge
- Description *string `mandatory:"false" json:"description"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m CreateEnterpriseManagerBridgeDetails) 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 CreateEnterpriseManagerBridgeDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_request_response.go
deleted file mode 100644
index f3dce167ca7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_enterprise_manager_bridge_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateEnterpriseManagerBridgeRequest wrapper for the CreateEnterpriseManagerBridge operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateEnterpriseManagerBridge.go.html to see an example of how to use CreateEnterpriseManagerBridgeRequest.
-type CreateEnterpriseManagerBridgeRequest struct {
-
- // Details for the Enterprise Manager bridge to be created in Operations Insights.
- CreateEnterpriseManagerBridgeDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateEnterpriseManagerBridgeRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateEnterpriseManagerBridgeRequest) 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 CreateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateEnterpriseManagerBridgeRequest) 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 CreateEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateEnterpriseManagerBridgeResponse wrapper for the CreateEnterpriseManagerBridge operation
-type CreateEnterpriseManagerBridgeResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The EnterpriseManagerBridge instance
- EnterpriseManagerBridge `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateEnterpriseManagerBridgeResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_details.go
index 7ef39f1a356..5dcef9b58ef 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_details.go
@@ -35,9 +35,9 @@ type CreateExadataInsightDetails interface {
type createexadatainsightdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
EntitySource string `json:"entitySource"`
}
@@ -83,21 +83,21 @@ func (m *createexadatainsightdetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetCompartmentId returns CompartmentId
-func (m createexadatainsightdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createexadatainsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createexadatainsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createexadatainsightdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createexadatainsightdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_request_response.go
deleted file mode 100644
index fc63ff18afa..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_exadata_insight_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateExadataInsightRequest wrapper for the CreateExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateExadataInsight.go.html to see an example of how to use CreateExadataInsightRequest.
-type CreateExadataInsightRequest struct {
-
- // Details for the Exadata system for which an Exadata insight resource will be created in Operations Insights.
- CreateExadataInsightDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateExadataInsightRequest) 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 CreateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateExadataInsightRequest) 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 CreateExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateExadataInsightResponse wrapper for the CreateExadataInsight operation
-type CreateExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The ExadataInsight instance
- ExadataInsight `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_details.go
index 16648fb4d74..7b3d42a1f6d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_details.go
@@ -35,9 +35,9 @@ type CreateHostInsightDetails interface {
type createhostinsightdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
EntitySource string `json:"entitySource"`
}
@@ -87,21 +87,21 @@ func (m *createhostinsightdetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetCompartmentId returns CompartmentId
-func (m createhostinsightdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createhostinsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createhostinsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
+// GetCompartmentId returns CompartmentId
+func (m createhostinsightdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createhostinsightdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_request_response.go
deleted file mode 100644
index 0fff1db544c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_host_insight_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateHostInsightRequest wrapper for the CreateHostInsight operation
-//
-// # See also
-//
-// 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.
- CreateHostInsightDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateHostInsightRequest) 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 CreateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateHostInsightRequest) 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 CreateHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateHostInsightResponse wrapper for the CreateHostInsight operation
-type CreateHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The HostInsight instance
- HostInsight `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_cloud_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_cloud_host_insight_details.go
deleted file mode 100644
index 7ba8b267232..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_cloud_host_insight_details.go
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateMacsManagedCloudHostInsightDetails The information about the Compute Instance host to be analyzed.
-type CreateMacsManagedCloudHostInsightDetails struct {
-
- // Compartment Identifier of host
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
- ComputeId *string `mandatory:"true" json:"computeId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreateMacsManagedCloudHostInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreateMacsManagedCloudHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreateMacsManagedCloudHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreateMacsManagedCloudHostInsightDetails) 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 CreateMacsManagedCloudHostInsightDetails) 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 CreateMacsManagedCloudHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateMacsManagedCloudHostInsightDetails CreateMacsManagedCloudHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreateMacsManagedCloudHostInsightDetails
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeCreateMacsManagedCloudHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_external_host_insight_details.go
deleted file mode 100644
index cc871f9b30e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_macs_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,82 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreateMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
-type CreateMacsManagedExternalHostInsightDetails struct {
-
- // Compartment Identifier of host
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreateMacsManagedExternalHostInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreateMacsManagedExternalHostInsightDetails) 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 CreateMacsManagedExternalHostInsightDetails) 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 CreateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreateMacsManagedExternalHostInsightDetails CreateMacsManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreateMacsManagedExternalHostInsightDetails
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeCreateMacsManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_details.go
deleted file mode 100644
index ed76398fd1d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_details.go
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateOperationsInsightsPrivateEndpointDetails The details used to create a new Operation Insights private endpoint.
-type CreateOperationsInsightsPrivateEndpointDetails struct {
-
- // The display name for the private endpoint. It is changeable.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The VCN OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
- VcnId *string `mandatory:"true" json:"vcnId"`
-
- // 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
- IsUsedForRacDbs *bool `mandatory:"true" json:"isUsedForRacDbs"`
-
- // The description of the private endpoint.
- Description *string `mandatory:"false" json:"description"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups that the private endpoint belongs to.
- NsgIds []string `mandatory:"false" json:"nsgIds"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m CreateOperationsInsightsPrivateEndpointDetails) 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 CreateOperationsInsightsPrivateEndpointDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_request_response.go
deleted file mode 100644
index b93ff3a1a13..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_private_endpoint_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateOperationsInsightsPrivateEndpointRequest wrapper for the CreateOperationsInsightsPrivateEndpoint operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsPrivateEndpoint.go.html to see an example of how to use CreateOperationsInsightsPrivateEndpointRequest.
-type CreateOperationsInsightsPrivateEndpointRequest struct {
-
- // Details to create a new private endpoint.
- CreateOperationsInsightsPrivateEndpointDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateOperationsInsightsPrivateEndpointRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateOperationsInsightsPrivateEndpointRequest) 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 CreateOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateOperationsInsightsPrivateEndpointRequest) 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 CreateOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateOperationsInsightsPrivateEndpointResponse wrapper for the CreateOperationsInsightsPrivateEndpoint operation
-type CreateOperationsInsightsPrivateEndpointResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsPrivateEndpoint instance
- OperationsInsightsPrivateEndpoint `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateOperationsInsightsPrivateEndpointResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_details.go
deleted file mode 100644
index 80ace7d5006..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_details.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateOperationsInsightsWarehouseDetails The information about a Operations Insights Warehouse resource to be created. Input compartmentId MUST be the root compartment.
-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.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Number of OCPUs allocated to OPSI Warehouse ADW.
- CpuAllocated *float64 `mandatory:"true" json:"cpuAllocated"`
-
- // Storage allocated to OPSI Warehouse ADW.
- StorageAllocatedInGBs *float64 `mandatory:"false" json:"storageAllocatedInGBs"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m CreateOperationsInsightsWarehouseDetails) 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 CreateOperationsInsightsWarehouseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_request_response.go
deleted file mode 100644
index 07aa30fbfe9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateOperationsInsightsWarehouseRequest wrapper for the CreateOperationsInsightsWarehouse operation
-//
-// # See also
-//
-// 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.
- CreateOperationsInsightsWarehouseDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateOperationsInsightsWarehouseRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateOperationsInsightsWarehouseRequest) 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 CreateOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateOperationsInsightsWarehouseRequest) 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 CreateOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateOperationsInsightsWarehouseResponse wrapper for the CreateOperationsInsightsWarehouse operation
-type CreateOperationsInsightsWarehouseResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsWarehouse instance
- OperationsInsightsWarehouse `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateOperationsInsightsWarehouseResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_details.go
deleted file mode 100644
index bc52fd59c0d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_details.go
+++ /dev/null
@@ -1,67 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreateOperationsInsightsWarehouseUserDetails The information about a Operations Insights Warehouse User to be created. Input compartmentId MUST be the root compartment.
-type CreateOperationsInsightsWarehouseUserDetails struct {
-
- // OPSI Warehouse OCID
- OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
-
- // 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.
- Name *string `mandatory:"true" json:"name"`
-
- // User provided connection password for the AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub.
- ConnectionPassword *string `mandatory:"true" json:"connectionPassword"`
-
- // Indicate whether user has access to AWR data.
- IsAwrDataAccess *bool `mandatory:"true" json:"isAwrDataAccess"`
-
- // Indicate whether user has access to EM data.
- IsEmDataAccess *bool `mandatory:"false" json:"isEmDataAccess"`
-
- // Indicate whether user has access to OPSI data.
- IsOpsiDataAccess *bool `mandatory:"false" json:"isOpsiDataAccess"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m CreateOperationsInsightsWarehouseUserDetails) 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 CreateOperationsInsightsWarehouseUserDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_request_response.go
deleted file mode 100644
index af051a25b18..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_operations_insights_warehouse_user_request_response.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateOperationsInsightsWarehouseUserRequest wrapper for the CreateOperationsInsightsWarehouseUser operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOperationsInsightsWarehouseUser.go.html to see an example of how to use CreateOperationsInsightsWarehouseUserRequest.
-type CreateOperationsInsightsWarehouseUserRequest struct {
-
- // Parameter using which an Operations Insights Warehouse user resource will be created.
- CreateOperationsInsightsWarehouseUserDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // 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 CreateOperationsInsightsWarehouseUserRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateOperationsInsightsWarehouseUserRequest) 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 CreateOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateOperationsInsightsWarehouseUserRequest) 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 CreateOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateOperationsInsightsWarehouseUserResponse wrapper for the CreateOperationsInsightsWarehouseUser operation
-type CreateOperationsInsightsWarehouseUserResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsWarehouseUser instance
- OperationsInsightsWarehouseUser `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // URI of the resource
- Location *string `presentIn:"header" name:"location"`
-
- // URI of the resource
- ContentLocation *string `presentIn:"header" name:"content-location"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateOperationsInsightsWarehouseUserResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_details.go
index c84d46fc570..a0758a1f8db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_details.go
@@ -100,37 +100,37 @@ func (m *createopsiconfigurationdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m createopsiconfigurationdetails) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createopsiconfigurationdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createopsiconfigurationdetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createopsiconfigurationdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createopsiconfigurationdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createopsiconfigurationdetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetConfigItems returns ConfigItems
+// GetConfigItems returns ConfigItems
func (m createopsiconfigurationdetails) GetConfigItems() json.RawMessage {
return m.ConfigItems
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_request_response.go
deleted file mode 100644
index a3ca36a4f40..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_configuration_request_response.go
+++ /dev/null
@@ -1,269 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// CreateOpsiConfigurationRequest wrapper for the CreateOpsiConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/CreateOpsiConfiguration.go.html to see an example of how to use CreateOpsiConfigurationRequest.
-type CreateOpsiConfigurationRequest struct {
-
- // Information about OPSI configuration resource to be created.
- CreateOpsiConfigurationDetails `contributesTo:"body"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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"`
-
- // Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
- OpsiConfigField []CreateOpsiConfigurationOpsiConfigFieldEnum `contributesTo:"query" name:"opsiConfigField" omitEmpty:"true" collectionFormat:"multi"`
-
- // Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.
- // By default only customized configuration items are returned.
- ConfigItemCustomStatus []CreateOpsiConfigurationConfigItemCustomStatusEnum `contributesTo:"query" name:"configItemCustomStatus" omitEmpty:"true" collectionFormat:"multi"`
-
- // Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
- ConfigItemsApplicableContext []string `contributesTo:"query" name:"configItemsApplicableContext" collectionFormat:"multi"`
-
- // Specifies the fields to return in a config item summary.
- ConfigItemField []CreateOpsiConfigurationConfigItemFieldEnum `contributesTo:"query" name:"configItemField" 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
-}
-
-func (request CreateOpsiConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request CreateOpsiConfigurationRequest) 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 CreateOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request CreateOpsiConfigurationRequest) 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 CreateOpsiConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.OpsiConfigField {
- if _, ok := GetMappingCreateOpsiConfigurationOpsiConfigFieldEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OpsiConfigField: %s. Supported values are: %s.", val, strings.Join(GetCreateOpsiConfigurationOpsiConfigFieldEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.ConfigItemCustomStatus {
- if _, ok := GetMappingCreateOpsiConfigurationConfigItemCustomStatusEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigItemCustomStatus: %s. Supported values are: %s.", val, strings.Join(GetCreateOpsiConfigurationConfigItemCustomStatusEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.ConfigItemField {
- if _, ok := GetMappingCreateOpsiConfigurationConfigItemFieldEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigItemField: %s. Supported values are: %s.", val, strings.Join(GetCreateOpsiConfigurationConfigItemFieldEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// CreateOpsiConfigurationResponse wrapper for the CreateOpsiConfiguration operation
-type CreateOpsiConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OpsiConfiguration instance
- OpsiConfiguration `presentIn:"body"`
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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"`
-
- // For optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response CreateOpsiConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response CreateOpsiConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// CreateOpsiConfigurationOpsiConfigFieldEnum Enum with underlying type: string
-type CreateOpsiConfigurationOpsiConfigFieldEnum string
-
-// Set of constants representing the allowable values for CreateOpsiConfigurationOpsiConfigFieldEnum
-const (
- CreateOpsiConfigurationOpsiConfigFieldConfigitems CreateOpsiConfigurationOpsiConfigFieldEnum = "configItems"
-)
-
-var mappingCreateOpsiConfigurationOpsiConfigFieldEnum = map[string]CreateOpsiConfigurationOpsiConfigFieldEnum{
- "configItems": CreateOpsiConfigurationOpsiConfigFieldConfigitems,
-}
-
-var mappingCreateOpsiConfigurationOpsiConfigFieldEnumLowerCase = map[string]CreateOpsiConfigurationOpsiConfigFieldEnum{
- "configitems": CreateOpsiConfigurationOpsiConfigFieldConfigitems,
-}
-
-// GetCreateOpsiConfigurationOpsiConfigFieldEnumValues Enumerates the set of values for CreateOpsiConfigurationOpsiConfigFieldEnum
-func GetCreateOpsiConfigurationOpsiConfigFieldEnumValues() []CreateOpsiConfigurationOpsiConfigFieldEnum {
- values := make([]CreateOpsiConfigurationOpsiConfigFieldEnum, 0)
- for _, v := range mappingCreateOpsiConfigurationOpsiConfigFieldEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCreateOpsiConfigurationOpsiConfigFieldEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationOpsiConfigFieldEnum
-func GetCreateOpsiConfigurationOpsiConfigFieldEnumStringValues() []string {
- return []string{
- "configItems",
- }
-}
-
-// GetMappingCreateOpsiConfigurationOpsiConfigFieldEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCreateOpsiConfigurationOpsiConfigFieldEnum(val string) (CreateOpsiConfigurationOpsiConfigFieldEnum, bool) {
- enum, ok := mappingCreateOpsiConfigurationOpsiConfigFieldEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// CreateOpsiConfigurationConfigItemCustomStatusEnum Enum with underlying type: string
-type CreateOpsiConfigurationConfigItemCustomStatusEnum string
-
-// Set of constants representing the allowable values for CreateOpsiConfigurationConfigItemCustomStatusEnum
-const (
- CreateOpsiConfigurationConfigItemCustomStatusCustomized CreateOpsiConfigurationConfigItemCustomStatusEnum = "customized"
- CreateOpsiConfigurationConfigItemCustomStatusNoncustomized CreateOpsiConfigurationConfigItemCustomStatusEnum = "nonCustomized"
-)
-
-var mappingCreateOpsiConfigurationConfigItemCustomStatusEnum = map[string]CreateOpsiConfigurationConfigItemCustomStatusEnum{
- "customized": CreateOpsiConfigurationConfigItemCustomStatusCustomized,
- "nonCustomized": CreateOpsiConfigurationConfigItemCustomStatusNoncustomized,
-}
-
-var mappingCreateOpsiConfigurationConfigItemCustomStatusEnumLowerCase = map[string]CreateOpsiConfigurationConfigItemCustomStatusEnum{
- "customized": CreateOpsiConfigurationConfigItemCustomStatusCustomized,
- "noncustomized": CreateOpsiConfigurationConfigItemCustomStatusNoncustomized,
-}
-
-// GetCreateOpsiConfigurationConfigItemCustomStatusEnumValues Enumerates the set of values for CreateOpsiConfigurationConfigItemCustomStatusEnum
-func GetCreateOpsiConfigurationConfigItemCustomStatusEnumValues() []CreateOpsiConfigurationConfigItemCustomStatusEnum {
- values := make([]CreateOpsiConfigurationConfigItemCustomStatusEnum, 0)
- for _, v := range mappingCreateOpsiConfigurationConfigItemCustomStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCreateOpsiConfigurationConfigItemCustomStatusEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationConfigItemCustomStatusEnum
-func GetCreateOpsiConfigurationConfigItemCustomStatusEnumStringValues() []string {
- return []string{
- "customized",
- "nonCustomized",
- }
-}
-
-// GetMappingCreateOpsiConfigurationConfigItemCustomStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCreateOpsiConfigurationConfigItemCustomStatusEnum(val string) (CreateOpsiConfigurationConfigItemCustomStatusEnum, bool) {
- enum, ok := mappingCreateOpsiConfigurationConfigItemCustomStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// CreateOpsiConfigurationConfigItemFieldEnum Enum with underlying type: string
-type CreateOpsiConfigurationConfigItemFieldEnum string
-
-// Set of constants representing the allowable values for CreateOpsiConfigurationConfigItemFieldEnum
-const (
- CreateOpsiConfigurationConfigItemFieldName CreateOpsiConfigurationConfigItemFieldEnum = "name"
- CreateOpsiConfigurationConfigItemFieldValue CreateOpsiConfigurationConfigItemFieldEnum = "value"
- CreateOpsiConfigurationConfigItemFieldDefaultvalue CreateOpsiConfigurationConfigItemFieldEnum = "defaultValue"
- CreateOpsiConfigurationConfigItemFieldMetadata CreateOpsiConfigurationConfigItemFieldEnum = "metadata"
- CreateOpsiConfigurationConfigItemFieldApplicablecontexts CreateOpsiConfigurationConfigItemFieldEnum = "applicableContexts"
-)
-
-var mappingCreateOpsiConfigurationConfigItemFieldEnum = map[string]CreateOpsiConfigurationConfigItemFieldEnum{
- "name": CreateOpsiConfigurationConfigItemFieldName,
- "value": CreateOpsiConfigurationConfigItemFieldValue,
- "defaultValue": CreateOpsiConfigurationConfigItemFieldDefaultvalue,
- "metadata": CreateOpsiConfigurationConfigItemFieldMetadata,
- "applicableContexts": CreateOpsiConfigurationConfigItemFieldApplicablecontexts,
-}
-
-var mappingCreateOpsiConfigurationConfigItemFieldEnumLowerCase = map[string]CreateOpsiConfigurationConfigItemFieldEnum{
- "name": CreateOpsiConfigurationConfigItemFieldName,
- "value": CreateOpsiConfigurationConfigItemFieldValue,
- "defaultvalue": CreateOpsiConfigurationConfigItemFieldDefaultvalue,
- "metadata": CreateOpsiConfigurationConfigItemFieldMetadata,
- "applicablecontexts": CreateOpsiConfigurationConfigItemFieldApplicablecontexts,
-}
-
-// GetCreateOpsiConfigurationConfigItemFieldEnumValues Enumerates the set of values for CreateOpsiConfigurationConfigItemFieldEnum
-func GetCreateOpsiConfigurationConfigItemFieldEnumValues() []CreateOpsiConfigurationConfigItemFieldEnum {
- values := make([]CreateOpsiConfigurationConfigItemFieldEnum, 0)
- for _, v := range mappingCreateOpsiConfigurationConfigItemFieldEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCreateOpsiConfigurationConfigItemFieldEnumStringValues Enumerates the set of values in String for CreateOpsiConfigurationConfigItemFieldEnum
-func GetCreateOpsiConfigurationConfigItemFieldEnumStringValues() []string {
- return []string{
- "name",
- "value",
- "defaultValue",
- "metadata",
- "applicableContexts",
- }
-}
-
-// GetMappingCreateOpsiConfigurationConfigItemFieldEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCreateOpsiConfigurationConfigItemFieldEnum(val string) (CreateOpsiConfigurationConfigItemFieldEnum, bool) {
- enum, ok := mappingCreateOpsiConfigurationConfigItemFieldEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_ux_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_ux_configuration_details.go
index da71265a9e8..f30f2dd80bf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_ux_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_opsi_ux_configuration_details.go
@@ -152,6 +152,5 @@ func (m *CreateOpsiUxConfigurationDetails) UnmarshalJSON(data []byte) (e error)
m.ConfigItems[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_database_insight_details.go
deleted file mode 100644
index 426c966859c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_database_insight_details.go
+++ /dev/null
@@ -1,211 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreatePeComanagedDatabaseInsightDetails The information about database to be analyzed. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.
-type CreatePeComanagedDatabaseInsightDetails struct {
-
- // Compartment Identifier of database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
-
- // Database service name used for connection requests.
- ServiceName *string `mandatory:"true" json:"serviceName"`
-
- CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint
- DbmPrivateEndpointId *string `mandatory:"false" json:"dbmPrivateEndpointId"`
-
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // Database Deployment Type
- DeploymentType CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum `mandatory:"true" json:"deploymentType"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreatePeComanagedDatabaseInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreatePeComanagedDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreatePeComanagedDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreatePeComanagedDatabaseInsightDetails) 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 CreatePeComanagedDatabaseInsightDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum(string(m.DeploymentType)); !ok && m.DeploymentType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DeploymentType: %s. Supported values are: %s.", m.DeploymentType, strings.Join(GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m CreatePeComanagedDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreatePeComanagedDatabaseInsightDetails CreatePeComanagedDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreatePeComanagedDatabaseInsightDetails
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypeCreatePeComanagedDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *CreatePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- FreeformTags map[string]string `json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `json:"definedTags"`
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- DbmPrivateEndpointId *string `json:"dbmPrivateEndpointId"`
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `json:"connectionDetails"`
- SystemTags map[string]map[string]interface{} `json:"systemTags"`
- CompartmentId *string `json:"compartmentId"`
- DatabaseId *string `json:"databaseId"`
- DatabaseResourceType *string `json:"databaseResourceType"`
- ServiceName *string `json:"serviceName"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- DeploymentType CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum `json:"deploymentType"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.FreeformTags = model.FreeformTags
-
- m.DefinedTags = model.DefinedTags
-
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.DbmPrivateEndpointId = model.DbmPrivateEndpointId
-
- m.ConnectionDetails = model.ConnectionDetails
-
- m.SystemTags = model.SystemTags
-
- m.CompartmentId = model.CompartmentId
-
- m.DatabaseId = model.DatabaseId
-
- m.DatabaseResourceType = model.DatabaseResourceType
-
- m.ServiceName = model.ServiceName
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- m.DeploymentType = model.DeploymentType
-
- return
-}
-
-// CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum Enum with underlying type: string
-type CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum string
-
-// Set of constants representing the allowable values for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
-const (
- CreatePeComanagedDatabaseInsightDetailsDeploymentTypeVirtualMachine CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "VIRTUAL_MACHINE"
- CreatePeComanagedDatabaseInsightDetailsDeploymentTypeBareMetal CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "BARE_METAL"
- CreatePeComanagedDatabaseInsightDetailsDeploymentTypeExacs CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = "EXACS"
-)
-
-var mappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum = map[string]CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum{
- "VIRTUAL_MACHINE": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeVirtualMachine,
- "BARE_METAL": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeBareMetal,
- "EXACS": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeExacs,
-}
-
-var mappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumLowerCase = map[string]CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum{
- "virtual_machine": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeVirtualMachine,
- "bare_metal": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeBareMetal,
- "exacs": CreatePeComanagedDatabaseInsightDetailsDeploymentTypeExacs,
-}
-
-// GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumValues Enumerates the set of values for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
-func GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumValues() []CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum {
- values := make([]CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum, 0)
- for _, v := range mappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumStringValues Enumerates the set of values in String for CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum
-func GetCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumStringValues() []string {
- return []string{
- "VIRTUAL_MACHINE",
- "BARE_METAL",
- "EXACS",
- }
-}
-
-// GetMappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum(val string) (CreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnum, bool) {
- enum, ok := mappingCreatePeComanagedDatabaseInsightDetailsDeploymentTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_insight_details.go
deleted file mode 100644
index 4c327adc138..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_insight_details.go
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CreatePeComanagedExadataInsightDetails The information about the Exadata system to be analyzed.
-type CreatePeComanagedExadataInsightDetails struct {
-
- // Compartment Identifier of Exadata insight
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- MemberVmClusterDetails []CreatePeComanagedExadataVmclusterDetails `mandatory:"false" json:"memberVmClusterDetails"`
-}
-
-//GetCompartmentId returns CompartmentId
-func (m CreatePeComanagedExadataInsightDetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetFreeformTags returns FreeformTags
-func (m CreatePeComanagedExadataInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m CreatePeComanagedExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m CreatePeComanagedExadataInsightDetails) 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 CreatePeComanagedExadataInsightDetails) 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 CreatePeComanagedExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCreatePeComanagedExadataInsightDetails CreatePeComanagedExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeCreatePeComanagedExadataInsightDetails
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypeCreatePeComanagedExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_vmcluster_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_vmcluster_details.go
deleted file mode 100644
index c3460e4b29b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/create_pe_comanaged_exadata_vmcluster_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// CreatePeComanagedExadataVmclusterDetails The information of the VM Cluster which contains databases. Either an opsiPrivateEndpointId or dbmPrivateEndpointId must be specified. If the dbmPrivateEndpointId is specified, a new Operations Insights private endpoint will be created.
-type CreatePeComanagedExadataVmclusterDetails struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster.
- VmclusterId *string `mandatory:"true" json:"vmclusterId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint
- DbmPrivateEndpointId *string `mandatory:"false" json:"dbmPrivateEndpointId"`
-
- // The databases that belong to the VM Cluster
- MemberDatabaseDetails []CreatePeComanagedDatabaseInsightDetails `mandatory:"false" json:"memberDatabaseDetails"`
-}
-
-func (m CreatePeComanagedExadataVmclusterDetails) 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 CreatePeComanagedExadataVmclusterDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_by_vault.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_by_vault.go
deleted file mode 100644
index d0869e219e8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_by_vault.go
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CredentialByVault Vault Credential Details to connect to the database.
-type CredentialByVault struct {
-
- // Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- CredentialSourceName *string `mandatory:"true" json:"credentialSourceName"`
-
- // database user name.
- UserName *string `mandatory:"false" json:"userName"`
-
- // The secret OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) mapping to the database credentials.
- PasswordSecretId *string `mandatory:"false" json:"passwordSecretId"`
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases.
- WalletSecretId *string `mandatory:"false" json:"walletSecretId"`
-
- // database user role.
- Role CredentialByVaultRoleEnum `mandatory:"false" json:"role,omitempty"`
-}
-
-//GetCredentialSourceName returns CredentialSourceName
-func (m CredentialByVault) GetCredentialSourceName() *string {
- return m.CredentialSourceName
-}
-
-func (m CredentialByVault) 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 CredentialByVault) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingCredentialByVaultRoleEnum(string(m.Role)); !ok && m.Role != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Role: %s. Supported values are: %s.", m.Role, strings.Join(GetCredentialByVaultRoleEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m CredentialByVault) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCredentialByVault CredentialByVault
- s := struct {
- DiscriminatorParam string `json:"credentialType"`
- MarshalTypeCredentialByVault
- }{
- "CREDENTIALS_BY_VAULT",
- (MarshalTypeCredentialByVault)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// CredentialByVaultRoleEnum Enum with underlying type: string
-type CredentialByVaultRoleEnum string
-
-// Set of constants representing the allowable values for CredentialByVaultRoleEnum
-const (
- CredentialByVaultRoleNormal CredentialByVaultRoleEnum = "NORMAL"
-)
-
-var mappingCredentialByVaultRoleEnum = map[string]CredentialByVaultRoleEnum{
- "NORMAL": CredentialByVaultRoleNormal,
-}
-
-var mappingCredentialByVaultRoleEnumLowerCase = map[string]CredentialByVaultRoleEnum{
- "normal": CredentialByVaultRoleNormal,
-}
-
-// GetCredentialByVaultRoleEnumValues Enumerates the set of values for CredentialByVaultRoleEnum
-func GetCredentialByVaultRoleEnumValues() []CredentialByVaultRoleEnum {
- values := make([]CredentialByVaultRoleEnum, 0)
- for _, v := range mappingCredentialByVaultRoleEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetCredentialByVaultRoleEnumStringValues Enumerates the set of values in String for CredentialByVaultRoleEnum
-func GetCredentialByVaultRoleEnumStringValues() []string {
- return []string{
- "NORMAL",
- }
-}
-
-// GetMappingCredentialByVaultRoleEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingCredentialByVaultRoleEnum(val string) (CredentialByVaultRoleEnum, bool) {
- enum, ok := mappingCredentialByVaultRoleEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_details.go
index 9c7673faca0..085ef5209a4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credential_details.go
@@ -71,7 +71,7 @@ func (m *credentialdetails) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetCredentialSourceName returns CredentialSourceName
+// GetCredentialSourceName returns CredentialSourceName
func (m credentialdetails) GetCredentialSourceName() *string {
return m.CredentialSourceName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credentials_by_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credentials_by_source.go
deleted file mode 100644
index 705016f7aa4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/credentials_by_source.go
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// CredentialsBySource Credential Source to connect to the database.
-type CredentialsBySource struct {
-
- // Credential source name that had been added in Management Agent wallet. This is supplied in the External Database Service.
- CredentialSourceName *string `mandatory:"true" json:"credentialSourceName"`
-}
-
-//GetCredentialSourceName returns CredentialSourceName
-func (m CredentialsBySource) GetCredentialSourceName() *string {
- return m.CredentialSourceName
-}
-
-func (m CredentialsBySource) 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 CredentialsBySource) 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 CredentialsBySource) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeCredentialsBySource CredentialsBySource
- s := struct {
- DiscriminatorParam string `json:"credentialType"`
- MarshalTypeCredentialsBySource
- }{
- "CREDENTIALS_BY_SOURCE",
- (MarshalTypeCredentialsBySource)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_column_unit.go
index a6b9feb4fa4..b34c05e8ba5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_column_unit.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_column_unit.go
@@ -99,7 +99,7 @@ func (m *dataobjectcolumnunit) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m dataobjectcolumnunit) GetDisplayName() *string {
return m.DisplayName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_core_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_core_column_unit.go
deleted file mode 100644
index de1cd178e1b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_core_column_unit.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectCoreColumnUnit Unit details of a data object column of CORE unit category.
-type DataObjectCoreColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Core unit.
- Unit DataObjectCoreColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectCoreColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectCoreColumnUnit) 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 DataObjectCoreColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectCoreColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectCoreColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectCoreColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectCoreColumnUnit DataObjectCoreColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectCoreColumnUnit
- }{
- "CORE",
- (MarshalTypeDataObjectCoreColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectCoreColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectCoreColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectCoreColumnUnitUnitEnum
-const (
- DataObjectCoreColumnUnitUnitCore DataObjectCoreColumnUnitUnitEnum = "CORE"
- DataObjectCoreColumnUnitUnitMilliCore DataObjectCoreColumnUnitUnitEnum = "MILLI_CORE"
-)
-
-var mappingDataObjectCoreColumnUnitUnitEnum = map[string]DataObjectCoreColumnUnitUnitEnum{
- "CORE": DataObjectCoreColumnUnitUnitCore,
- "MILLI_CORE": DataObjectCoreColumnUnitUnitMilliCore,
-}
-
-var mappingDataObjectCoreColumnUnitUnitEnumLowerCase = map[string]DataObjectCoreColumnUnitUnitEnum{
- "core": DataObjectCoreColumnUnitUnitCore,
- "milli_core": DataObjectCoreColumnUnitUnitMilliCore,
-}
-
-// GetDataObjectCoreColumnUnitUnitEnumValues Enumerates the set of values for DataObjectCoreColumnUnitUnitEnum
-func GetDataObjectCoreColumnUnitUnitEnumValues() []DataObjectCoreColumnUnitUnitEnum {
- values := make([]DataObjectCoreColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectCoreColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectCoreColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectCoreColumnUnitUnitEnum
-func GetDataObjectCoreColumnUnitUnitEnumStringValues() []string {
- return []string{
- "CORE",
- "MILLI_CORE",
- }
-}
-
-// GetMappingDataObjectCoreColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectCoreColumnUnitUnitEnum(val string) (DataObjectCoreColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectCoreColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_custom_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_custom_column_unit.go
deleted file mode 100644
index a23bafa33d9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_custom_column_unit.go
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectCustomColumnUnit Unit details of a data object column of CUSTOM unit category.
-type DataObjectCustomColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Custom column unit.
- Unit *string `mandatory:"false" json:"unit"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectCustomColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectCustomColumnUnit) 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 DataObjectCustomColumnUnit) 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 DataObjectCustomColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectCustomColumnUnit DataObjectCustomColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectCustomColumnUnit
- }{
- "CUSTOM",
- (MarshalTypeDataObjectCustomColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_data_size_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_data_size_column_unit.go
deleted file mode 100644
index 99ebf7dad0a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_data_size_column_unit.go
+++ /dev/null
@@ -1,149 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectDataSizeColumnUnit Unit details of a data object column of DATA_SIZE unit category.
-type DataObjectDataSizeColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Data size unit.
- Unit DataObjectDataSizeColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectDataSizeColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectDataSizeColumnUnit) 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 DataObjectDataSizeColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectDataSizeColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectDataSizeColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectDataSizeColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectDataSizeColumnUnit DataObjectDataSizeColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectDataSizeColumnUnit
- }{
- "DATA_SIZE",
- (MarshalTypeDataObjectDataSizeColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectDataSizeColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectDataSizeColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectDataSizeColumnUnitUnitEnum
-const (
- DataObjectDataSizeColumnUnitUnitCharacter DataObjectDataSizeColumnUnitUnitEnum = "CHARACTER"
- DataObjectDataSizeColumnUnitUnitBlock DataObjectDataSizeColumnUnitUnitEnum = "BLOCK"
- DataObjectDataSizeColumnUnitUnitBit DataObjectDataSizeColumnUnitUnitEnum = "BIT"
- DataObjectDataSizeColumnUnitUnitByte DataObjectDataSizeColumnUnitUnitEnum = "BYTE"
- DataObjectDataSizeColumnUnitUnitKiloByte DataObjectDataSizeColumnUnitUnitEnum = "KILO_BYTE"
- DataObjectDataSizeColumnUnitUnitMegaByte DataObjectDataSizeColumnUnitUnitEnum = "MEGA_BYTE"
- DataObjectDataSizeColumnUnitUnitGigaByte DataObjectDataSizeColumnUnitUnitEnum = "GIGA_BYTE"
- DataObjectDataSizeColumnUnitUnitTeraByte DataObjectDataSizeColumnUnitUnitEnum = "TERA_BYTE"
- DataObjectDataSizeColumnUnitUnitPetaByte DataObjectDataSizeColumnUnitUnitEnum = "PETA_BYTE"
- DataObjectDataSizeColumnUnitUnitExaByte DataObjectDataSizeColumnUnitUnitEnum = "EXA_BYTE"
- DataObjectDataSizeColumnUnitUnitZettaByte DataObjectDataSizeColumnUnitUnitEnum = "ZETTA_BYTE"
- DataObjectDataSizeColumnUnitUnitYottaByte DataObjectDataSizeColumnUnitUnitEnum = "YOTTA_BYTE"
-)
-
-var mappingDataObjectDataSizeColumnUnitUnitEnum = map[string]DataObjectDataSizeColumnUnitUnitEnum{
- "CHARACTER": DataObjectDataSizeColumnUnitUnitCharacter,
- "BLOCK": DataObjectDataSizeColumnUnitUnitBlock,
- "BIT": DataObjectDataSizeColumnUnitUnitBit,
- "BYTE": DataObjectDataSizeColumnUnitUnitByte,
- "KILO_BYTE": DataObjectDataSizeColumnUnitUnitKiloByte,
- "MEGA_BYTE": DataObjectDataSizeColumnUnitUnitMegaByte,
- "GIGA_BYTE": DataObjectDataSizeColumnUnitUnitGigaByte,
- "TERA_BYTE": DataObjectDataSizeColumnUnitUnitTeraByte,
- "PETA_BYTE": DataObjectDataSizeColumnUnitUnitPetaByte,
- "EXA_BYTE": DataObjectDataSizeColumnUnitUnitExaByte,
- "ZETTA_BYTE": DataObjectDataSizeColumnUnitUnitZettaByte,
- "YOTTA_BYTE": DataObjectDataSizeColumnUnitUnitYottaByte,
-}
-
-var mappingDataObjectDataSizeColumnUnitUnitEnumLowerCase = map[string]DataObjectDataSizeColumnUnitUnitEnum{
- "character": DataObjectDataSizeColumnUnitUnitCharacter,
- "block": DataObjectDataSizeColumnUnitUnitBlock,
- "bit": DataObjectDataSizeColumnUnitUnitBit,
- "byte": DataObjectDataSizeColumnUnitUnitByte,
- "kilo_byte": DataObjectDataSizeColumnUnitUnitKiloByte,
- "mega_byte": DataObjectDataSizeColumnUnitUnitMegaByte,
- "giga_byte": DataObjectDataSizeColumnUnitUnitGigaByte,
- "tera_byte": DataObjectDataSizeColumnUnitUnitTeraByte,
- "peta_byte": DataObjectDataSizeColumnUnitUnitPetaByte,
- "exa_byte": DataObjectDataSizeColumnUnitUnitExaByte,
- "zetta_byte": DataObjectDataSizeColumnUnitUnitZettaByte,
- "yotta_byte": DataObjectDataSizeColumnUnitUnitYottaByte,
-}
-
-// GetDataObjectDataSizeColumnUnitUnitEnumValues Enumerates the set of values for DataObjectDataSizeColumnUnitUnitEnum
-func GetDataObjectDataSizeColumnUnitUnitEnumValues() []DataObjectDataSizeColumnUnitUnitEnum {
- values := make([]DataObjectDataSizeColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectDataSizeColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectDataSizeColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectDataSizeColumnUnitUnitEnum
-func GetDataObjectDataSizeColumnUnitUnitEnumStringValues() []string {
- return []string{
- "CHARACTER",
- "BLOCK",
- "BIT",
- "BYTE",
- "KILO_BYTE",
- "MEGA_BYTE",
- "GIGA_BYTE",
- "TERA_BYTE",
- "PETA_BYTE",
- "EXA_BYTE",
- "ZETTA_BYTE",
- "YOTTA_BYTE",
- }
-}
-
-// GetMappingDataObjectDataSizeColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectDataSizeColumnUnitUnitEnum(val string) (DataObjectDataSizeColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectDataSizeColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_frequency_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_frequency_column_unit.go
deleted file mode 100644
index 1b75f730b96..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_frequency_column_unit.go
+++ /dev/null
@@ -1,121 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectFrequencyColumnUnit Unit details of a data object column of FREQEUENCY unit category.
-type DataObjectFrequencyColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Frequency unit.
- Unit DataObjectFrequencyColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectFrequencyColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectFrequencyColumnUnit) 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 DataObjectFrequencyColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectFrequencyColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectFrequencyColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectFrequencyColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectFrequencyColumnUnit DataObjectFrequencyColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectFrequencyColumnUnit
- }{
- "FREQUENCY",
- (MarshalTypeDataObjectFrequencyColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectFrequencyColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectFrequencyColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectFrequencyColumnUnitUnitEnum
-const (
- DataObjectFrequencyColumnUnitUnitHertz DataObjectFrequencyColumnUnitUnitEnum = "HERTZ"
- DataObjectFrequencyColumnUnitUnitKiloHertz DataObjectFrequencyColumnUnitUnitEnum = "KILO_HERTZ"
- DataObjectFrequencyColumnUnitUnitMegaHertz DataObjectFrequencyColumnUnitUnitEnum = "MEGA_HERTZ"
- DataObjectFrequencyColumnUnitUnitGigaHertz DataObjectFrequencyColumnUnitUnitEnum = "GIGA_HERTZ"
- DataObjectFrequencyColumnUnitUnitTeraHertz DataObjectFrequencyColumnUnitUnitEnum = "TERA_HERTZ"
-)
-
-var mappingDataObjectFrequencyColumnUnitUnitEnum = map[string]DataObjectFrequencyColumnUnitUnitEnum{
- "HERTZ": DataObjectFrequencyColumnUnitUnitHertz,
- "KILO_HERTZ": DataObjectFrequencyColumnUnitUnitKiloHertz,
- "MEGA_HERTZ": DataObjectFrequencyColumnUnitUnitMegaHertz,
- "GIGA_HERTZ": DataObjectFrequencyColumnUnitUnitGigaHertz,
- "TERA_HERTZ": DataObjectFrequencyColumnUnitUnitTeraHertz,
-}
-
-var mappingDataObjectFrequencyColumnUnitUnitEnumLowerCase = map[string]DataObjectFrequencyColumnUnitUnitEnum{
- "hertz": DataObjectFrequencyColumnUnitUnitHertz,
- "kilo_hertz": DataObjectFrequencyColumnUnitUnitKiloHertz,
- "mega_hertz": DataObjectFrequencyColumnUnitUnitMegaHertz,
- "giga_hertz": DataObjectFrequencyColumnUnitUnitGigaHertz,
- "tera_hertz": DataObjectFrequencyColumnUnitUnitTeraHertz,
-}
-
-// GetDataObjectFrequencyColumnUnitUnitEnumValues Enumerates the set of values for DataObjectFrequencyColumnUnitUnitEnum
-func GetDataObjectFrequencyColumnUnitUnitEnumValues() []DataObjectFrequencyColumnUnitUnitEnum {
- values := make([]DataObjectFrequencyColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectFrequencyColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectFrequencyColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectFrequencyColumnUnitUnitEnum
-func GetDataObjectFrequencyColumnUnitUnitEnumStringValues() []string {
- return []string{
- "HERTZ",
- "KILO_HERTZ",
- "MEGA_HERTZ",
- "GIGA_HERTZ",
- "TERA_HERTZ",
- }
-}
-
-// GetMappingDataObjectFrequencyColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectFrequencyColumnUnitUnitEnum(val string) (DataObjectFrequencyColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectFrequencyColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_other_standard_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_other_standard_column_unit.go
deleted file mode 100644
index 2493edff17a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_other_standard_column_unit.go
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectOtherStandardColumnUnit Unit details of a data object column of OTHER_STANDARD unit category.
-type DataObjectOtherStandardColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Other standard column unit.
- Unit DataObjectOtherStandardColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectOtherStandardColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectOtherStandardColumnUnit) 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 DataObjectOtherStandardColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectOtherStandardColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectOtherStandardColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectOtherStandardColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectOtherStandardColumnUnit DataObjectOtherStandardColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectOtherStandardColumnUnit
- }{
- "OTHER_STANDARD",
- (MarshalTypeDataObjectOtherStandardColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectOtherStandardColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectOtherStandardColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectOtherStandardColumnUnitUnitEnum
-const (
- DataObjectOtherStandardColumnUnitUnitPercentage DataObjectOtherStandardColumnUnitUnitEnum = "PERCENTAGE"
- DataObjectOtherStandardColumnUnitUnitCount DataObjectOtherStandardColumnUnitUnitEnum = "COUNT"
- DataObjectOtherStandardColumnUnitUnitIo DataObjectOtherStandardColumnUnitUnitEnum = "IO"
- DataObjectOtherStandardColumnUnitUnitBoolean DataObjectOtherStandardColumnUnitUnitEnum = "BOOLEAN"
- DataObjectOtherStandardColumnUnitUnitOperation DataObjectOtherStandardColumnUnitUnitEnum = "OPERATION"
- DataObjectOtherStandardColumnUnitUnitTransaction DataObjectOtherStandardColumnUnitUnitEnum = "TRANSACTION"
- DataObjectOtherStandardColumnUnitUnitConnection DataObjectOtherStandardColumnUnitUnitEnum = "CONNECTION"
- DataObjectOtherStandardColumnUnitUnitAccess DataObjectOtherStandardColumnUnitUnitEnum = "ACCESS"
- DataObjectOtherStandardColumnUnitUnitRequest DataObjectOtherStandardColumnUnitUnitEnum = "REQUEST"
- DataObjectOtherStandardColumnUnitUnitMessage DataObjectOtherStandardColumnUnitUnitEnum = "MESSAGE"
- DataObjectOtherStandardColumnUnitUnitExecution DataObjectOtherStandardColumnUnitUnitEnum = "EXECUTION"
- DataObjectOtherStandardColumnUnitUnitLogons DataObjectOtherStandardColumnUnitUnitEnum = "LOGONS"
- DataObjectOtherStandardColumnUnitUnitThread DataObjectOtherStandardColumnUnitUnitEnum = "THREAD"
- DataObjectOtherStandardColumnUnitUnitError DataObjectOtherStandardColumnUnitUnitEnum = "ERROR"
-)
-
-var mappingDataObjectOtherStandardColumnUnitUnitEnum = map[string]DataObjectOtherStandardColumnUnitUnitEnum{
- "PERCENTAGE": DataObjectOtherStandardColumnUnitUnitPercentage,
- "COUNT": DataObjectOtherStandardColumnUnitUnitCount,
- "IO": DataObjectOtherStandardColumnUnitUnitIo,
- "BOOLEAN": DataObjectOtherStandardColumnUnitUnitBoolean,
- "OPERATION": DataObjectOtherStandardColumnUnitUnitOperation,
- "TRANSACTION": DataObjectOtherStandardColumnUnitUnitTransaction,
- "CONNECTION": DataObjectOtherStandardColumnUnitUnitConnection,
- "ACCESS": DataObjectOtherStandardColumnUnitUnitAccess,
- "REQUEST": DataObjectOtherStandardColumnUnitUnitRequest,
- "MESSAGE": DataObjectOtherStandardColumnUnitUnitMessage,
- "EXECUTION": DataObjectOtherStandardColumnUnitUnitExecution,
- "LOGONS": DataObjectOtherStandardColumnUnitUnitLogons,
- "THREAD": DataObjectOtherStandardColumnUnitUnitThread,
- "ERROR": DataObjectOtherStandardColumnUnitUnitError,
-}
-
-var mappingDataObjectOtherStandardColumnUnitUnitEnumLowerCase = map[string]DataObjectOtherStandardColumnUnitUnitEnum{
- "percentage": DataObjectOtherStandardColumnUnitUnitPercentage,
- "count": DataObjectOtherStandardColumnUnitUnitCount,
- "io": DataObjectOtherStandardColumnUnitUnitIo,
- "boolean": DataObjectOtherStandardColumnUnitUnitBoolean,
- "operation": DataObjectOtherStandardColumnUnitUnitOperation,
- "transaction": DataObjectOtherStandardColumnUnitUnitTransaction,
- "connection": DataObjectOtherStandardColumnUnitUnitConnection,
- "access": DataObjectOtherStandardColumnUnitUnitAccess,
- "request": DataObjectOtherStandardColumnUnitUnitRequest,
- "message": DataObjectOtherStandardColumnUnitUnitMessage,
- "execution": DataObjectOtherStandardColumnUnitUnitExecution,
- "logons": DataObjectOtherStandardColumnUnitUnitLogons,
- "thread": DataObjectOtherStandardColumnUnitUnitThread,
- "error": DataObjectOtherStandardColumnUnitUnitError,
-}
-
-// GetDataObjectOtherStandardColumnUnitUnitEnumValues Enumerates the set of values for DataObjectOtherStandardColumnUnitUnitEnum
-func GetDataObjectOtherStandardColumnUnitUnitEnumValues() []DataObjectOtherStandardColumnUnitUnitEnum {
- values := make([]DataObjectOtherStandardColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectOtherStandardColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectOtherStandardColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectOtherStandardColumnUnitUnitEnum
-func GetDataObjectOtherStandardColumnUnitUnitEnumStringValues() []string {
- return []string{
- "PERCENTAGE",
- "COUNT",
- "IO",
- "BOOLEAN",
- "OPERATION",
- "TRANSACTION",
- "CONNECTION",
- "ACCESS",
- "REQUEST",
- "MESSAGE",
- "EXECUTION",
- "LOGONS",
- "THREAD",
- "ERROR",
- }
-}
-
-// GetMappingDataObjectOtherStandardColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectOtherStandardColumnUnitUnitEnum(val string) (DataObjectOtherStandardColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectOtherStandardColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_power_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_power_column_unit.go
deleted file mode 100644
index f0b508b0c33..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_power_column_unit.go
+++ /dev/null
@@ -1,121 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectPowerColumnUnit Unit details of a data object column of POWER unit category.
-type DataObjectPowerColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Power unit.
- Unit DataObjectPowerColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectPowerColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectPowerColumnUnit) 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 DataObjectPowerColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectPowerColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectPowerColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectPowerColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectPowerColumnUnit DataObjectPowerColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectPowerColumnUnit
- }{
- "POWER",
- (MarshalTypeDataObjectPowerColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectPowerColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectPowerColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectPowerColumnUnitUnitEnum
-const (
- DataObjectPowerColumnUnitUnitAmp DataObjectPowerColumnUnitUnitEnum = "AMP"
- DataObjectPowerColumnUnitUnitWatt DataObjectPowerColumnUnitUnitEnum = "WATT"
- DataObjectPowerColumnUnitUnitKiloWatt DataObjectPowerColumnUnitUnitEnum = "KILO_WATT"
- DataObjectPowerColumnUnitUnitMegaWatt DataObjectPowerColumnUnitUnitEnum = "MEGA_WATT"
- DataObjectPowerColumnUnitUnitGigaWatt DataObjectPowerColumnUnitUnitEnum = "GIGA_WATT"
-)
-
-var mappingDataObjectPowerColumnUnitUnitEnum = map[string]DataObjectPowerColumnUnitUnitEnum{
- "AMP": DataObjectPowerColumnUnitUnitAmp,
- "WATT": DataObjectPowerColumnUnitUnitWatt,
- "KILO_WATT": DataObjectPowerColumnUnitUnitKiloWatt,
- "MEGA_WATT": DataObjectPowerColumnUnitUnitMegaWatt,
- "GIGA_WATT": DataObjectPowerColumnUnitUnitGigaWatt,
-}
-
-var mappingDataObjectPowerColumnUnitUnitEnumLowerCase = map[string]DataObjectPowerColumnUnitUnitEnum{
- "amp": DataObjectPowerColumnUnitUnitAmp,
- "watt": DataObjectPowerColumnUnitUnitWatt,
- "kilo_watt": DataObjectPowerColumnUnitUnitKiloWatt,
- "mega_watt": DataObjectPowerColumnUnitUnitMegaWatt,
- "giga_watt": DataObjectPowerColumnUnitUnitGigaWatt,
-}
-
-// GetDataObjectPowerColumnUnitUnitEnumValues Enumerates the set of values for DataObjectPowerColumnUnitUnitEnum
-func GetDataObjectPowerColumnUnitUnitEnumValues() []DataObjectPowerColumnUnitUnitEnum {
- values := make([]DataObjectPowerColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectPowerColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectPowerColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectPowerColumnUnitUnitEnum
-func GetDataObjectPowerColumnUnitUnitEnumStringValues() []string {
- return []string{
- "AMP",
- "WATT",
- "KILO_WATT",
- "MEGA_WATT",
- "GIGA_WATT",
- }
-}
-
-// GetMappingDataObjectPowerColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectPowerColumnUnitUnitEnum(val string) (DataObjectPowerColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectPowerColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query.go
index 7c20eb7b11f..3874bf106ea 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query.go
@@ -76,12 +76,12 @@ func (m *dataobjectquery) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetBindParams returns BindParams
+// GetBindParams returns BindParams
func (m dataobjectquery) GetBindParams() []DataObjectBindParameter {
return m.BindParams
}
-//GetQueryExecutionTimeoutInSeconds returns QueryExecutionTimeoutInSeconds
+// GetQueryExecutionTimeoutInSeconds returns QueryExecutionTimeoutInSeconds
func (m dataobjectquery) GetQueryExecutionTimeoutInSeconds() *float64 {
return m.QueryExecutionTimeoutInSeconds
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query_time_filters.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query_time_filters.go
deleted file mode 100644
index e62233c8ad8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_query_time_filters.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// DataObjectQueryTimeFilters Time filters to be applied in the data object query.
-type DataObjectQueryTimeFilters struct {
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timePeriod is specified, then timeStart and timeEnd will be ignored.
- // Examples: P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months).
- TimePeriod *string `mandatory:"false" json:"timePeriod"`
-
- // Start time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.
- // timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.
- TimeStart *common.SDKTime `mandatory:"false" json:"timeStart"`
-
- // End time in UTC in RFC3339 formatted datetime string. Example: 2021-10-30T00:00:00.000Z.
- // timeStart and timeEnd are used together. If timePeriod is specified, this parameter is ignored.
- // If timeEnd is not specified, current time is used as timeEnd.
- TimeEnd *common.SDKTime `mandatory:"false" json:"timeEnd"`
-}
-
-func (m DataObjectQueryTimeFilters) 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 DataObjectQueryTimeFilters) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_rate_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_rate_column_unit.go
deleted file mode 100644
index 838557b3158..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_rate_column_unit.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectRateColumnUnit Unit details of a data object column of RATE unit category.
-type DataObjectRateColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- Numerator DataObjectColumnUnit `mandatory:"false" json:"numerator"`
-
- Denominator DataObjectColumnUnit `mandatory:"false" json:"denominator"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectRateColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectRateColumnUnit) 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 DataObjectRateColumnUnit) 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 DataObjectRateColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectRateColumnUnit DataObjectRateColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectRateColumnUnit
- }{
- "RATE",
- (MarshalTypeDataObjectRateColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *DataObjectRateColumnUnit) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- DisplayName *string `json:"displayName"`
- Numerator dataobjectcolumnunit `json:"numerator"`
- Denominator dataobjectcolumnunit `json:"denominator"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.DisplayName = model.DisplayName
-
- nn, e = model.Numerator.UnmarshalPolymorphicJSON(model.Numerator.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.Numerator = nn.(DataObjectColumnUnit)
- } else {
- m.Numerator = nil
- }
-
- nn, e = model.Denominator.UnmarshalPolymorphicJSON(model.Denominator.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.Denominator = nn.(DataObjectColumnUnit)
- } else {
- m.Denominator = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_temperature_column_unit.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_temperature_column_unit.go
deleted file mode 100644
index 8147a12ee98..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/data_object_temperature_column_unit.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DataObjectTemperatureColumnUnit Unit details of a data object column of TEMPERATURE unit category.
-type DataObjectTemperatureColumnUnit struct {
-
- // Display name of the column's unit.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Temparature unit.
- Unit DataObjectTemperatureColumnUnitUnitEnum `mandatory:"false" json:"unit,omitempty"`
-}
-
-//GetDisplayName returns DisplayName
-func (m DataObjectTemperatureColumnUnit) GetDisplayName() *string {
- return m.DisplayName
-}
-
-func (m DataObjectTemperatureColumnUnit) 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 DataObjectTemperatureColumnUnit) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingDataObjectTemperatureColumnUnitUnitEnum(string(m.Unit)); !ok && m.Unit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Unit: %s. Supported values are: %s.", m.Unit, strings.Join(GetDataObjectTemperatureColumnUnitUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m DataObjectTemperatureColumnUnit) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDataObjectTemperatureColumnUnit DataObjectTemperatureColumnUnit
- s := struct {
- DiscriminatorParam string `json:"unitCategory"`
- MarshalTypeDataObjectTemperatureColumnUnit
- }{
- "TEMPERATURE",
- (MarshalTypeDataObjectTemperatureColumnUnit)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// DataObjectTemperatureColumnUnitUnitEnum Enum with underlying type: string
-type DataObjectTemperatureColumnUnitUnitEnum string
-
-// Set of constants representing the allowable values for DataObjectTemperatureColumnUnitUnitEnum
-const (
- DataObjectTemperatureColumnUnitUnitCelsius DataObjectTemperatureColumnUnitUnitEnum = "CELSIUS"
- DataObjectTemperatureColumnUnitUnitFahrenheit DataObjectTemperatureColumnUnitUnitEnum = "FAHRENHEIT"
-)
-
-var mappingDataObjectTemperatureColumnUnitUnitEnum = map[string]DataObjectTemperatureColumnUnitUnitEnum{
- "CELSIUS": DataObjectTemperatureColumnUnitUnitCelsius,
- "FAHRENHEIT": DataObjectTemperatureColumnUnitUnitFahrenheit,
-}
-
-var mappingDataObjectTemperatureColumnUnitUnitEnumLowerCase = map[string]DataObjectTemperatureColumnUnitUnitEnum{
- "celsius": DataObjectTemperatureColumnUnitUnitCelsius,
- "fahrenheit": DataObjectTemperatureColumnUnitUnitFahrenheit,
-}
-
-// GetDataObjectTemperatureColumnUnitUnitEnumValues Enumerates the set of values for DataObjectTemperatureColumnUnitUnitEnum
-func GetDataObjectTemperatureColumnUnitUnitEnumValues() []DataObjectTemperatureColumnUnitUnitEnum {
- values := make([]DataObjectTemperatureColumnUnitUnitEnum, 0)
- for _, v := range mappingDataObjectTemperatureColumnUnitUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDataObjectTemperatureColumnUnitUnitEnumStringValues Enumerates the set of values in String for DataObjectTemperatureColumnUnitUnitEnum
-func GetDataObjectTemperatureColumnUnitUnitEnumStringValues() []string {
- return []string{
- "CELSIUS",
- "FAHRENHEIT",
- }
-}
-
-// GetMappingDataObjectTemperatureColumnUnitUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDataObjectTemperatureColumnUnitUnitEnum(val string) (DataObjectTemperatureColumnUnitUnitEnum, bool) {
- enum, ok := mappingDataObjectTemperatureColumnUnitUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database.go
deleted file mode 100644
index 4706b9bd7fe..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// DatabaseEnum Enum with underlying type: string
-type DatabaseEnum string
-
-// Set of constants representing the allowable values for DatabaseEnum
-const (
- DatabaseCpu DatabaseEnum = "CPU"
- DatabaseStorage DatabaseEnum = "STORAGE"
- DatabaseIo DatabaseEnum = "IO"
- DatabaseMemory DatabaseEnum = "MEMORY"
-)
-
-var mappingDatabaseEnum = map[string]DatabaseEnum{
- "CPU": DatabaseCpu,
- "STORAGE": DatabaseStorage,
- "IO": DatabaseIo,
- "MEMORY": DatabaseMemory,
-}
-
-var mappingDatabaseEnumLowerCase = map[string]DatabaseEnum{
- "cpu": DatabaseCpu,
- "storage": DatabaseStorage,
- "io": DatabaseIo,
- "memory": DatabaseMemory,
-}
-
-// GetDatabaseEnumValues Enumerates the set of values for DatabaseEnum
-func GetDatabaseEnumValues() []DatabaseEnum {
- values := make([]DatabaseEnum, 0)
- for _, v := range mappingDatabaseEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDatabaseEnumStringValues Enumerates the set of values in String for DatabaseEnum
-func GetDatabaseEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- }
-}
-
-// GetMappingDatabaseEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDatabaseEnum(val string) (DatabaseEnum, bool) {
- enum, ok := mappingDatabaseEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_collection.go
index 0ab9111c473..b506177dbfb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_collection.go
@@ -64,6 +64,5 @@ func (m *DatabaseConfigurationCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_metric_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_metric_group.go
index c592edf51da..d3ca48ce484 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_metric_group.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_metric_group.go
@@ -80,7 +80,7 @@ func (m *databaseconfigurationmetricgroup) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetTimeCollected returns TimeCollected
+// GetTimeCollected returns TimeCollected
func (m databaseconfigurationmetricgroup) GetTimeCollected() *common.SDKTime {
return m.TimeCollected
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_summary.go
index 779854001f6..f02edd3c3da 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_configuration_summary.go
@@ -56,6 +56,7 @@ type DatabaseConfigurationSummary interface {
type databaseconfigurationsummary struct {
JsonData []byte
+ ProcessorCount *int `mandatory:"false" json:"processorCount"`
DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
DatabaseName *string `mandatory:"true" json:"databaseName"`
@@ -65,7 +66,6 @@ type databaseconfigurationsummary struct {
CdbName *string `mandatory:"true" json:"cdbName"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
EntitySource string `json:"entitySource"`
}
@@ -126,56 +126,56 @@ func (m *databaseconfigurationsummary) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetDatabaseInsightId returns DatabaseInsightId
+// GetProcessorCount returns ProcessorCount
+func (m databaseconfigurationsummary) GetProcessorCount() *int {
+ return m.ProcessorCount
+}
+
+// GetDatabaseInsightId returns DatabaseInsightId
func (m databaseconfigurationsummary) GetDatabaseInsightId() *string {
return m.DatabaseInsightId
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m databaseconfigurationsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDatabaseName returns DatabaseName
+// GetDatabaseName returns DatabaseName
func (m databaseconfigurationsummary) GetDatabaseName() *string {
return m.DatabaseName
}
-//GetDatabaseDisplayName returns DatabaseDisplayName
+// GetDatabaseDisplayName returns DatabaseDisplayName
func (m databaseconfigurationsummary) GetDatabaseDisplayName() *string {
return m.DatabaseDisplayName
}
-//GetDatabaseType returns DatabaseType
+// GetDatabaseType returns DatabaseType
func (m databaseconfigurationsummary) GetDatabaseType() *string {
return m.DatabaseType
}
-//GetDatabaseVersion returns DatabaseVersion
+// GetDatabaseVersion returns DatabaseVersion
func (m databaseconfigurationsummary) GetDatabaseVersion() *string {
return m.DatabaseVersion
}
-//GetCdbName returns CdbName
+// GetCdbName returns CdbName
func (m databaseconfigurationsummary) GetCdbName() *string {
return m.CdbName
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m databaseconfigurationsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m databaseconfigurationsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetProcessorCount returns ProcessorCount
-func (m databaseconfigurationsummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
func (m databaseconfigurationsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_details.go
deleted file mode 100644
index ccbc1e56a9a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_details.go
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// DatabaseDetails Partial information about the database which includes id, name, type.
-type DatabaseDetails struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The user-friendly name for the database. The name does not have to be unique.
- DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // Array of hostname and instance name.
- Instances []HostInstanceMap `mandatory:"false" json:"instances"`
-
- // Name of the CDB.Only applies to PDB.
- CdbName *string `mandatory:"false" json:"cdbName"`
-}
-
-func (m DatabaseDetails) 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 DatabaseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source.go
deleted file mode 100644
index d4495f26298..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// DatabaseEntitySourceEnum Enum with underlying type: string
-type DatabaseEntitySourceEnum string
-
-// Set of constants representing the allowable values for DatabaseEntitySourceEnum
-const (
- DatabaseEntitySourceEmManagedExternalDatabase DatabaseEntitySourceEnum = "EM_MANAGED_EXTERNAL_DATABASE"
- DatabaseEntitySourcePeComanagedDatabase DatabaseEntitySourceEnum = "PE_COMANAGED_DATABASE"
-)
-
-var mappingDatabaseEntitySourceEnum = map[string]DatabaseEntitySourceEnum{
- "EM_MANAGED_EXTERNAL_DATABASE": DatabaseEntitySourceEmManagedExternalDatabase,
- "PE_COMANAGED_DATABASE": DatabaseEntitySourcePeComanagedDatabase,
-}
-
-var mappingDatabaseEntitySourceEnumLowerCase = map[string]DatabaseEntitySourceEnum{
- "em_managed_external_database": DatabaseEntitySourceEmManagedExternalDatabase,
- "pe_comanaged_database": DatabaseEntitySourcePeComanagedDatabase,
-}
-
-// GetDatabaseEntitySourceEnumValues Enumerates the set of values for DatabaseEntitySourceEnum
-func GetDatabaseEntitySourceEnumValues() []DatabaseEntitySourceEnum {
- values := make([]DatabaseEntitySourceEnum, 0)
- for _, v := range mappingDatabaseEntitySourceEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDatabaseEntitySourceEnumStringValues Enumerates the set of values in String for DatabaseEntitySourceEnum
-func GetDatabaseEntitySourceEnumStringValues() []string {
- return []string{
- "EM_MANAGED_EXTERNAL_DATABASE",
- "PE_COMANAGED_DATABASE",
- }
-}
-
-// GetMappingDatabaseEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDatabaseEntitySourceEnum(val string) (DatabaseEntitySourceEnum, bool) {
- enum, ok := mappingDatabaseEntitySourceEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source_all.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source_all.go
deleted file mode 100644
index 4f38339a26c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_entity_source_all.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// DatabaseEntitySourceAllEnum Enum with underlying type: string
-type DatabaseEntitySourceAllEnum string
-
-// Set of constants representing the allowable values for DatabaseEntitySourceAllEnum
-const (
- DatabaseEntitySourceAllAutonomousDatabase DatabaseEntitySourceAllEnum = "AUTONOMOUS_DATABASE"
- DatabaseEntitySourceAllEmManagedExternalDatabase DatabaseEntitySourceAllEnum = "EM_MANAGED_EXTERNAL_DATABASE"
- DatabaseEntitySourceAllMacsManagedExternalDatabase DatabaseEntitySourceAllEnum = "MACS_MANAGED_EXTERNAL_DATABASE"
- DatabaseEntitySourceAllPeComanagedDatabase DatabaseEntitySourceAllEnum = "PE_COMANAGED_DATABASE"
-)
-
-var mappingDatabaseEntitySourceAllEnum = map[string]DatabaseEntitySourceAllEnum{
- "AUTONOMOUS_DATABASE": DatabaseEntitySourceAllAutonomousDatabase,
- "EM_MANAGED_EXTERNAL_DATABASE": DatabaseEntitySourceAllEmManagedExternalDatabase,
- "MACS_MANAGED_EXTERNAL_DATABASE": DatabaseEntitySourceAllMacsManagedExternalDatabase,
- "PE_COMANAGED_DATABASE": DatabaseEntitySourceAllPeComanagedDatabase,
-}
-
-var mappingDatabaseEntitySourceAllEnumLowerCase = map[string]DatabaseEntitySourceAllEnum{
- "autonomous_database": DatabaseEntitySourceAllAutonomousDatabase,
- "em_managed_external_database": DatabaseEntitySourceAllEmManagedExternalDatabase,
- "macs_managed_external_database": DatabaseEntitySourceAllMacsManagedExternalDatabase,
- "pe_comanaged_database": DatabaseEntitySourceAllPeComanagedDatabase,
-}
-
-// GetDatabaseEntitySourceAllEnumValues Enumerates the set of values for DatabaseEntitySourceAllEnum
-func GetDatabaseEntitySourceAllEnumValues() []DatabaseEntitySourceAllEnum {
- values := make([]DatabaseEntitySourceAllEnum, 0)
- for _, v := range mappingDatabaseEntitySourceAllEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDatabaseEntitySourceAllEnumStringValues Enumerates the set of values in String for DatabaseEntitySourceAllEnum
-func GetDatabaseEntitySourceAllEnumStringValues() []string {
- return []string{
- "AUTONOMOUS_DATABASE",
- "EM_MANAGED_EXTERNAL_DATABASE",
- "MACS_MANAGED_EXTERNAL_DATABASE",
- "PE_COMANAGED_DATABASE",
- }
-}
-
-// GetMappingDatabaseEntitySourceAllEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDatabaseEntitySourceAllEnum(val string) (DatabaseEntitySourceAllEnum, bool) {
- enum, ok := mappingDatabaseEntitySourceAllEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight.go
index 28c6f53576d..9d9a394a6d1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight.go
@@ -69,13 +69,6 @@ type DatabaseInsight interface {
type databaseinsight struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
DatabaseType *string `mandatory:"false" json:"databaseType"`
DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
ProcessorCount *int `mandatory:"false" json:"processorCount"`
@@ -83,6 +76,13 @@ type databaseinsight struct {
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ Status ResourceStatusEnum `mandatory:"true" json:"status"`
+ FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
+ DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
+ TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
+ LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
EntitySource string `json:"entitySource"`
}
@@ -147,76 +147,76 @@ func (m *databaseinsight) UnmarshalPolymorphicJSON(data []byte) (interface{}, er
}
}
-//GetId returns Id
-func (m databaseinsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m databaseinsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetStatus returns Status
-func (m databaseinsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetFreeformTags returns FreeformTags
-func (m databaseinsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m databaseinsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m databaseinsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m databaseinsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetDatabaseType returns DatabaseType
+// GetDatabaseType returns DatabaseType
func (m databaseinsight) GetDatabaseType() *string {
return m.DatabaseType
}
-//GetDatabaseVersion returns DatabaseVersion
+// GetDatabaseVersion returns DatabaseVersion
func (m databaseinsight) GetDatabaseVersion() *string {
return m.DatabaseVersion
}
-//GetProcessorCount returns ProcessorCount
+// GetProcessorCount returns ProcessorCount
func (m databaseinsight) GetProcessorCount() *int {
return m.ProcessorCount
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m databaseinsight) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m databaseinsight) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m databaseinsight) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
+// GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m databaseinsight) GetDatabaseConnectionStatusDetails() *string {
return m.DatabaseConnectionStatusDetails
}
+// GetId returns Id
+func (m databaseinsight) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m databaseinsight) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetStatus returns Status
+func (m databaseinsight) GetStatus() ResourceStatusEnum {
+ return m.Status
+}
+
+// GetFreeformTags returns FreeformTags
+func (m databaseinsight) GetFreeformTags() map[string]string {
+ return m.FreeformTags
+}
+
+// GetDefinedTags returns DefinedTags
+func (m databaseinsight) GetDefinedTags() map[string]map[string]interface{} {
+ return m.DefinedTags
+}
+
+// GetTimeCreated returns TimeCreated
+func (m databaseinsight) GetTimeCreated() *common.SDKTime {
+ return m.TimeCreated
+}
+
+// GetLifecycleState returns LifecycleState
+func (m databaseinsight) GetLifecycleState() LifecycleStateEnum {
+ return m.LifecycleState
+}
+
func (m databaseinsight) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight_summary.go
index 3d4bbda19ac..8fcc9c86ccd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insight_summary.go
@@ -81,8 +81,6 @@ type DatabaseInsightSummary interface {
type databaseinsightsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- DatabaseId *string `mandatory:"true" json:"databaseId"`
CompartmentId *string `mandatory:"false" json:"compartmentId"`
DatabaseName *string `mandatory:"false" json:"databaseName"`
DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
@@ -99,6 +97,8 @@ type databaseinsightsummary struct {
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
+ Id *string `mandatory:"true" json:"id"`
+ DatabaseId *string `mandatory:"true" json:"databaseId"`
EntitySource string `json:"entitySource"`
}
@@ -167,96 +167,96 @@ func (m *databaseinsightsummary) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetId returns Id
-func (m databaseinsightsummary) GetId() *string {
- return m.Id
-}
-
-//GetDatabaseId returns DatabaseId
-func (m databaseinsightsummary) GetDatabaseId() *string {
- return m.DatabaseId
-}
-
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m databaseinsightsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDatabaseName returns DatabaseName
+// GetDatabaseName returns DatabaseName
func (m databaseinsightsummary) GetDatabaseName() *string {
return m.DatabaseName
}
-//GetDatabaseDisplayName returns DatabaseDisplayName
+// GetDatabaseDisplayName returns DatabaseDisplayName
func (m databaseinsightsummary) GetDatabaseDisplayName() *string {
return m.DatabaseDisplayName
}
-//GetDatabaseType returns DatabaseType
+// GetDatabaseType returns DatabaseType
func (m databaseinsightsummary) GetDatabaseType() *string {
return m.DatabaseType
}
-//GetDatabaseVersion returns DatabaseVersion
+// GetDatabaseVersion returns DatabaseVersion
func (m databaseinsightsummary) GetDatabaseVersion() *string {
return m.DatabaseVersion
}
-//GetDatabaseHostNames returns DatabaseHostNames
+// GetDatabaseHostNames returns DatabaseHostNames
func (m databaseinsightsummary) GetDatabaseHostNames() []string {
return m.DatabaseHostNames
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m databaseinsightsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m databaseinsightsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m databaseinsightsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetProcessorCount returns ProcessorCount
+// GetProcessorCount returns ProcessorCount
func (m databaseinsightsummary) GetProcessorCount() *int {
return m.ProcessorCount
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m databaseinsightsummary) GetStatus() ResourceStatusEnum {
return m.Status
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m databaseinsightsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m databaseinsightsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m databaseinsightsummary) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m databaseinsightsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
+// GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
func (m databaseinsightsummary) GetDatabaseConnectionStatusDetails() *string {
return m.DatabaseConnectionStatusDetails
}
+// GetId returns Id
+func (m databaseinsightsummary) GetId() *string {
+ return m.Id
+}
+
+// GetDatabaseId returns DatabaseId
+func (m databaseinsightsummary) GetDatabaseId() *string {
+ return m.DatabaseId
+}
+
func (m databaseinsightsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights.go
deleted file mode 100644
index aa1ca165ed1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// DatabaseInsights Logical grouping used for Operations Insights database-targeted operations.
-type DatabaseInsights struct {
-
- // Database Insights Object.
- DatabaseInsights *interface{} `mandatory:"false" json:"databaseInsights"`
-}
-
-func (m DatabaseInsights) 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 DatabaseInsights) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights_collection.go
index a4bcefdd208..600a070f0ad 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_insights_collection.go
@@ -64,6 +64,5 @@ func (m *DatabaseInsightsCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_parameter_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_parameter_type_details.go
deleted file mode 100644
index 8de8a93aa4d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/database_parameter_type_details.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DatabaseParameterTypeDetails Database parameter details
-type DatabaseParameterTypeDetails struct {
-
- // Name of database parameter
- Name *string `mandatory:"true" json:"name"`
-}
-
-func (m DatabaseParameterTypeDetails) 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 DatabaseParameterTypeDetails) 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 DatabaseParameterTypeDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDatabaseParameterTypeDetails DatabaseParameterTypeDetails
- s := struct {
- DiscriminatorParam string `json:"type"`
- MarshalTypeDatabaseParameterTypeDetails
- }{
- "DATABASE_PARAMETER",
- (MarshalTypeDatabaseParameterTypeDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_instance.go
deleted file mode 100644
index 656ba306518..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_instance.go
+++ /dev/null
@@ -1,98 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DbExternalInstance Configuration parameters defined for external databases instance level.
-type DbExternalInstance struct {
-
- // Name of the database instance.
- InstanceName *string `mandatory:"true" json:"instanceName"`
-
- // Host name of the database instance.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
-
- // Total number of CPUs allocated for the host.
- CpuCount *int `mandatory:"false" json:"cpuCount"`
-
- // Total amount of usable Physical RAM Memory available in gigabytes.
- HostMemoryCapacity *float64 `mandatory:"false" json:"hostMemoryCapacity"`
-
- // Database version.
- Version *string `mandatory:"false" json:"version"`
-
- // Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).
- Parallel *string `mandatory:"false" json:"parallel"`
-
- // Role (permissions) of the database instance.
- InstanceRole *string `mandatory:"false" json:"instanceRole"`
-
- // Indicates if logins are allowed or restricted.
- Logins *string `mandatory:"false" json:"logins"`
-
- // Status of the database.
- DatabaseStatus *string `mandatory:"false" json:"databaseStatus"`
-
- // Status of the instance.
- Status *string `mandatory:"false" json:"status"`
-
- // The edition of the database.
- Edition *string `mandatory:"false" json:"edition"`
-
- // Start up time of the database instance.
- StartupTime *common.SDKTime `mandatory:"false" json:"startupTime"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m DbExternalInstance) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m DbExternalInstance) 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 DbExternalInstance) 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 DbExternalInstance) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDbExternalInstance DbExternalInstance
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeDbExternalInstance
- }{
- "DB_EXTERNAL_INSTANCE",
- (MarshalTypeDbExternalInstance)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_properties.go
deleted file mode 100644
index 7801f18c78f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_external_properties.go
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DbExternalProperties Configuration parameters defined for external databases.
-type DbExternalProperties struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
-
- // Name of the database.
- Name *string `mandatory:"false" json:"name"`
-
- // Archive log mode.
- LogMode *string `mandatory:"false" json:"logMode"`
-
- // Indicates if it is a CDB or not. This would be 'yes' or 'no'.
- Cdb *string `mandatory:"false" json:"cdb"`
-
- // Open mode information.
- OpenMode *string `mandatory:"false" json:"openMode"`
-
- // Current role of the database.
- DatabaseRole *string `mandatory:"false" json:"databaseRole"`
-
- // Data protection policy.
- GuardStatus *string `mandatory:"false" json:"guardStatus"`
-
- // Platform name of the database, OS with architecture.
- PlatformName *string `mandatory:"false" json:"platformName"`
-
- // Type of control file.
- ControlFileType *string `mandatory:"false" json:"controlFileType"`
-
- // Indicates whether switchover is allowed.
- SwitchoverStatus *string `mandatory:"false" json:"switchoverStatus"`
-
- // Creation time.
- Created *common.SDKTime `mandatory:"false" json:"created"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m DbExternalProperties) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m DbExternalProperties) 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 DbExternalProperties) 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 DbExternalProperties) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDbExternalProperties DbExternalProperties
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeDbExternalProperties
- }{
- "DB_EXTERNAL_PROPERTIES",
- (MarshalTypeDbExternalProperties)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_parameters.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_parameters.go
deleted file mode 100644
index 5b3fd3a0635..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/db_parameters.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DbParameters Initialization parameters for a database.
-type DbParameters struct {
-
- // Database instance number.
- InstanceNumber *int `mandatory:"true" json:"instanceNumber"`
-
- // Database parameter name.
- ParameterName *string `mandatory:"true" json:"parameterName"`
-
- // Database parameter value.
- ParameterValue *string `mandatory:"true" json:"parameterValue"`
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
-
- // AWR snapshot id for the parameter value
- SnapshotId *int `mandatory:"false" json:"snapshotId"`
-
- // Indicates whether the parameter's value changed in given snapshot or not.
- IsChanged *string `mandatory:"false" json:"isChanged"`
-
- // Indicates whether this value is the default value or not.
- IsDefault *string `mandatory:"false" json:"isDefault"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m DbParameters) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m DbParameters) 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 DbParameters) 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 DbParameters) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDbParameters DbParameters
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeDbParameters
- }{
- "DB_PARAMETERS",
- (MarshalTypeDbParameters)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/dbos_config_instance.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/dbos_config_instance.go
deleted file mode 100644
index f1ff1961055..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/dbos_config_instance.go
+++ /dev/null
@@ -1,80 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// DbosConfigInstance Configuration parameters defined for external databases instance level.
-type DbosConfigInstance struct {
-
- // Name of the database instance.
- InstanceName *string `mandatory:"true" json:"instanceName"`
-
- // Host name of the database instance.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"false" json:"timeCollected"`
-
- // Total number of CPUs available.
- NumCPUs *int `mandatory:"false" json:"numCPUs"`
-
- // Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs).
- NumCPUCores *int `mandatory:"false" json:"numCPUCores"`
-
- // Number of CPU Sockets available.
- NumCPUSockets *int `mandatory:"false" json:"numCPUSockets"`
-
- // Total number of bytes of physical memory.
- PhysicalMemoryBytes *float64 `mandatory:"false" json:"physicalMemoryBytes"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m DbosConfigInstance) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m DbosConfigInstance) 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 DbosConfigInstance) 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 DbosConfigInstance) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeDbosConfigInstance DbosConfigInstance
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeDbosConfigInstance
- }{
- "DB_OS_CONFIG_INSTANCE",
- (MarshalTypeDbosConfigInstance)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_awr_hub_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_awr_hub_request_response.go
deleted file mode 100644
index 26cadb9e40d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_awr_hub_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteAwrHubRequest wrapper for the DeleteAwrHub operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteAwrHub.go.html to see an example of how to use DeleteAwrHubRequest.
-type DeleteAwrHubRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteAwrHubRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteAwrHubRequest) 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 DeleteAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteAwrHubRequest) 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 DeleteAwrHubRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteAwrHubResponse wrapper for the DeleteAwrHub operation
-type DeleteAwrHubResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteAwrHubResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteAwrHubResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_database_insight_request_response.go
deleted file mode 100644
index fee70cdae94..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_database_insight_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteDatabaseInsightRequest wrapper for the DeleteDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteDatabaseInsight.go.html to see an example of how to use DeleteDatabaseInsightRequest.
-type DeleteDatabaseInsightRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteDatabaseInsightRequest) 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 DeleteDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteDatabaseInsightRequest) 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 DeleteDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteDatabaseInsightResponse wrapper for the DeleteDatabaseInsight operation
-type DeleteDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_enterprise_manager_bridge_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_enterprise_manager_bridge_request_response.go
deleted file mode 100644
index 913eef6e2d7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_enterprise_manager_bridge_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteEnterpriseManagerBridgeRequest wrapper for the DeleteEnterpriseManagerBridge operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteEnterpriseManagerBridge.go.html to see an example of how to use DeleteEnterpriseManagerBridgeRequest.
-type DeleteEnterpriseManagerBridgeRequest struct {
-
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteEnterpriseManagerBridgeRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteEnterpriseManagerBridgeRequest) 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 DeleteEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteEnterpriseManagerBridgeRequest) 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 DeleteEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteEnterpriseManagerBridgeResponse wrapper for the DeleteEnterpriseManagerBridge operation
-type DeleteEnterpriseManagerBridgeResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteEnterpriseManagerBridgeResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_exadata_insight_request_response.go
deleted file mode 100644
index 09622e3ec84..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_exadata_insight_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteExadataInsightRequest wrapper for the DeleteExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteExadataInsight.go.html to see an example of how to use DeleteExadataInsightRequest.
-type DeleteExadataInsightRequest struct {
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteExadataInsightRequest) 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 DeleteExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteExadataInsightRequest) 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 DeleteExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteExadataInsightResponse wrapper for the DeleteExadataInsight operation
-type DeleteExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_host_insight_request_response.go
deleted file mode 100644
index 11a02091bee..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_host_insight_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteHostInsightRequest wrapper for the DeleteHostInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteHostInsight.go.html to see an example of how to use DeleteHostInsightRequest.
-type DeleteHostInsightRequest struct {
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteHostInsightRequest) 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 DeleteHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteHostInsightRequest) 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 DeleteHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteHostInsightResponse wrapper for the DeleteHostInsight operation
-type DeleteHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_private_endpoint_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_private_endpoint_request_response.go
deleted file mode 100644
index c8e7527e3fe..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_private_endpoint_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteOperationsInsightsPrivateEndpointRequest wrapper for the DeleteOperationsInsightsPrivateEndpoint operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsPrivateEndpoint.go.html to see an example of how to use DeleteOperationsInsightsPrivateEndpointRequest.
-type DeleteOperationsInsightsPrivateEndpointRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
- OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteOperationsInsightsPrivateEndpointRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteOperationsInsightsPrivateEndpointRequest) 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 DeleteOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteOperationsInsightsPrivateEndpointRequest) 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 DeleteOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteOperationsInsightsPrivateEndpointResponse wrapper for the DeleteOperationsInsightsPrivateEndpoint operation
-type DeleteOperationsInsightsPrivateEndpointResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteOperationsInsightsPrivateEndpointResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_request_response.go
deleted file mode 100644
index 3eeeb17a1e5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteOperationsInsightsWarehouseRequest wrapper for the DeleteOperationsInsightsWarehouse operation
-//
-// # See also
-//
-// 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
- 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`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteOperationsInsightsWarehouseRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteOperationsInsightsWarehouseRequest) 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 DeleteOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteOperationsInsightsWarehouseRequest) 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 DeleteOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteOperationsInsightsWarehouseResponse wrapper for the DeleteOperationsInsightsWarehouse operation
-type DeleteOperationsInsightsWarehouseResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteOperationsInsightsWarehouseResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_user_request_response.go
deleted file mode 100644
index bb7971c92f9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_operations_insights_warehouse_user_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteOperationsInsightsWarehouseUserRequest wrapper for the DeleteOperationsInsightsWarehouseUser operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOperationsInsightsWarehouseUser.go.html to see an example of how to use DeleteOperationsInsightsWarehouseUserRequest.
-type DeleteOperationsInsightsWarehouseUserRequest struct {
-
- // Unique Operations Insights Warehouse User identifier
- OperationsInsightsWarehouseUserId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseUserId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteOperationsInsightsWarehouseUserRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteOperationsInsightsWarehouseUserRequest) 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 DeleteOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteOperationsInsightsWarehouseUserRequest) 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 DeleteOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteOperationsInsightsWarehouseUserResponse wrapper for the DeleteOperationsInsightsWarehouseUser operation
-type DeleteOperationsInsightsWarehouseUserResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteOperationsInsightsWarehouseUserResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_opsi_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_opsi_configuration_request_response.go
deleted file mode 100644
index 4ef74cd3cb2..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/delete_opsi_configuration_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DeleteOpsiConfigurationRequest wrapper for the DeleteOpsiConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DeleteOpsiConfiguration.go.html to see an example of how to use DeleteOpsiConfigurationRequest.
-type DeleteOpsiConfigurationRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
- OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 DeleteOpsiConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DeleteOpsiConfigurationRequest) 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 DeleteOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DeleteOpsiConfigurationRequest) 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 DeleteOpsiConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DeleteOpsiConfigurationResponse wrapper for the DeleteOpsiConfiguration operation
-type DeleteOpsiConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DeleteOpsiConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DeleteOpsiConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_autonomous_database_insight_advanced_features_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_autonomous_database_insight_advanced_features_request_response.go
deleted file mode 100644
index 81445c7bc1a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_autonomous_database_insight_advanced_features_request_response.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DisableAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the DisableAutonomousDatabaseInsightAdvancedFeatures operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use DisableAutonomousDatabaseInsightAdvancedFeaturesRequest.
-type DisableAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 DisableAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DisableAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the DisableAutonomousDatabaseInsightAdvancedFeatures operation
-type DisableAutonomousDatabaseInsightAdvancedFeaturesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DisableAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DisableAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_database_insight_request_response.go
deleted file mode 100644
index 2dea9ff1b30..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_database_insight_request_response.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DisableDatabaseInsightRequest wrapper for the DisableDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableDatabaseInsight.go.html to see an example of how to use DisableDatabaseInsightRequest.
-type DisableDatabaseInsightRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 DisableDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DisableDatabaseInsightRequest) 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 DisableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DisableDatabaseInsightRequest) 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 DisableDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DisableDatabaseInsightResponse wrapper for the DisableDatabaseInsight operation
-type DisableDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DisableDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DisableDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_exadata_insight_request_response.go
deleted file mode 100644
index d64289b093d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_exadata_insight_request_response.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DisableExadataInsightRequest wrapper for the DisableExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableExadataInsight.go.html to see an example of how to use DisableExadataInsightRequest.
-type DisableExadataInsightRequest struct {
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 DisableExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DisableExadataInsightRequest) 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 DisableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DisableExadataInsightRequest) 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 DisableExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DisableExadataInsightResponse wrapper for the DisableExadataInsight operation
-type DisableExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DisableExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DisableExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_host_insight_request_response.go
deleted file mode 100644
index 10a012d5eb5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disable_host_insight_request_response.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// DisableHostInsightRequest wrapper for the DisableHostInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/DisableHostInsight.go.html to see an example of how to use DisableHostInsightRequest.
-type DisableHostInsightRequest struct {
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 DisableHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DisableHostInsightRequest) 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 DisableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DisableHostInsightRequest) 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 DisableHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DisableHostInsightResponse wrapper for the DisableHostInsight operation
-type DisableHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 DisableHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DisableHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group.go
deleted file mode 100644
index 8539d4e2f48..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// DiskGroupEnum Enum with underlying type: string
-type DiskGroupEnum string
-
-// Set of constants representing the allowable values for DiskGroupEnum
-const (
- DiskGroupStorage DiskGroupEnum = "STORAGE"
-)
-
-var mappingDiskGroupEnum = map[string]DiskGroupEnum{
- "STORAGE": DiskGroupStorage,
-}
-
-var mappingDiskGroupEnumLowerCase = map[string]DiskGroupEnum{
- "storage": DiskGroupStorage,
-}
-
-// GetDiskGroupEnumValues Enumerates the set of values for DiskGroupEnum
-func GetDiskGroupEnumValues() []DiskGroupEnum {
- values := make([]DiskGroupEnum, 0)
- for _, v := range mappingDiskGroupEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetDiskGroupEnumStringValues Enumerates the set of values in String for DiskGroupEnum
-func GetDiskGroupEnumStringValues() []string {
- return []string{
- "STORAGE",
- }
-}
-
-// GetMappingDiskGroupEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingDiskGroupEnum(val string) (DiskGroupEnum, bool) {
- enum, ok := mappingDiskGroupEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group_details.go
deleted file mode 100644
index d76229db0bb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/disk_group_details.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// DiskGroupDetails Information about a diskgroup which includes diskgroup name and ASM name.
-type DiskGroupDetails struct {
-
- // The diskgroup name.
- DiskgroupName *string `mandatory:"true" json:"diskgroupName"`
-
- // The ASM name.
- AsmName *string `mandatory:"true" json:"asmName"`
-}
-
-func (m DiskGroupDetails) 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 DiskGroupDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_details.go
deleted file mode 100644
index 8b2c947a03c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// DownloadOperationsInsightsWarehouseWalletDetails Download Wallet details.
-type DownloadOperationsInsightsWarehouseWalletDetails struct {
-
- // User provided ADW wallet password for the Operations Insights Warehouse.
- OperationsInsightsWarehouseWalletPassword *string `mandatory:"true" json:"operationsInsightsWarehouseWalletPassword"`
-}
-
-func (m DownloadOperationsInsightsWarehouseWalletDetails) 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 DownloadOperationsInsightsWarehouseWalletDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_request_response.go
deleted file mode 100644
index bef6ad95a69..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/download_operations_insights_warehouse_wallet_request_response.go
+++ /dev/null
@@ -1,111 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "io"
- "net/http"
- "strings"
-)
-
-// DownloadOperationsInsightsWarehouseWalletRequest wrapper for the DownloadOperationsInsightsWarehouseWallet operation
-//
-// # See also
-//
-// 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
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
-
- // The information to be updated.
- DownloadOperationsInsightsWarehouseWalletDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 DownloadOperationsInsightsWarehouseWalletRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request DownloadOperationsInsightsWarehouseWalletRequest) 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 DownloadOperationsInsightsWarehouseWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request DownloadOperationsInsightsWarehouseWalletRequest) 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 DownloadOperationsInsightsWarehouseWalletRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// DownloadOperationsInsightsWarehouseWalletResponse wrapper for the DownloadOperationsInsightsWarehouseWallet operation
-type DownloadOperationsInsightsWarehouseWalletResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The io.ReadCloser instance
- Content io.ReadCloser `presentIn:"body" encoding:"binary"`
-
- // 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"`
-
- // Size of the file.
- ContentLength *int64 `presentIn:"header" name:"content-length"`
-
- // The date and time the wallet was created, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
- LastModified *common.SDKTime `presentIn:"header" name:"last-modified"`
-}
-
-func (response DownloadOperationsInsightsWarehouseWalletResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response DownloadOperationsInsightsWarehouseWalletResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_configuration_summary.go
deleted file mode 100644
index 3b03aa04e0c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_configuration_summary.go
+++ /dev/null
@@ -1,146 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalDatabaseConfigurationSummary Configuration summary of a EM Managed External database.
-type EmManagedExternalDatabaseConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
-
- // Name of the CDB.Only applies to PDB.
- CdbName *string `mandatory:"true" json:"cdbName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Array of hostname and instance name.
- Instances []HostInstanceMap `mandatory:"true" json:"instances"`
-
- ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-}
-
-//GetDatabaseInsightId returns DatabaseInsightId
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string {
- return m.DatabaseInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetCdbName returns CdbName
-func (m EmManagedExternalDatabaseConfigurationSummary) GetCdbName() *string {
- return m.CdbName
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m EmManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-func (m EmManagedExternalDatabaseConfigurationSummary) 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 EmManagedExternalDatabaseConfigurationSummary) 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 EmManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalDatabaseConfigurationSummary EmManagedExternalDatabaseConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalDatabaseConfigurationSummary
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeEmManagedExternalDatabaseConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight.go
deleted file mode 100644
index 83e484771c7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight.go
+++ /dev/null
@@ -1,195 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalDatabaseInsight Database insight resource.
-type EmManagedExternalDatabaseInsight struct {
-
- // Database insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Operations Insights internal representation of the database type.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalDatabaseInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalDatabaseInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetDatabaseType returns DatabaseType
-func (m EmManagedExternalDatabaseInsight) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m EmManagedExternalDatabaseInsight) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m EmManagedExternalDatabaseInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalDatabaseInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalDatabaseInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m EmManagedExternalDatabaseInsight) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m EmManagedExternalDatabaseInsight) 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 EmManagedExternalDatabaseInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalDatabaseInsight EmManagedExternalDatabaseInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalDatabaseInsight
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeEmManagedExternalDatabaseInsight)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight_summary.go
deleted file mode 100644
index 85d723f1b77..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_database_insight_summary.go
+++ /dev/null
@@ -1,227 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalDatabaseInsightSummary Summary of a database insight resource.
-type EmManagedExternalDatabaseInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"false" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // The hostnames for the database.
- DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalDatabaseInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetDatabaseId returns DatabaseId
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseId() *string {
- return m.DatabaseId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalDatabaseInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetDatabaseHostNames returns DatabaseHostNames
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string {
- return m.DatabaseHostNames
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m EmManagedExternalDatabaseInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m EmManagedExternalDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m EmManagedExternalDatabaseInsightSummary) 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 EmManagedExternalDatabaseInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalDatabaseInsightSummary EmManagedExternalDatabaseInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalDatabaseInsightSummary
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeEmManagedExternalDatabaseInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight.go
deleted file mode 100644
index 9399541943e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight.go
+++ /dev/null
@@ -1,209 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalExadataInsight EM-managed Exadata insight resource.
-type EmManagedExternalExadataInsight struct {
-
- // Exadata insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the Exadata insight resource
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-
- // true if virtualization is used in the Exadata system
- IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Exadata insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
- IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
-
- // Exadata rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
-
- // Indicates the status of an Exadata insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the Exadata insight.
- LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalExadataInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalExadataInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m EmManagedExternalExadataInsight) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m EmManagedExternalExadataInsight) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m EmManagedExternalExadataInsight) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m EmManagedExternalExadataInsight) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetIsVirtualizedExadata returns IsVirtualizedExadata
-func (m EmManagedExternalExadataInsight) GetIsVirtualizedExadata() *bool {
- return m.IsVirtualizedExadata
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalExadataInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalExadataInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalExadataInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalExadataInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalExadataInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalExadataInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalExadataInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m EmManagedExternalExadataInsight) 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 EmManagedExternalExadataInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataInsightLifecycleStateEnum(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(GetExadataInsightLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalExadataInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalExadataInsight EmManagedExternalExadataInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalExadataInsight
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeEmManagedExternalExadataInsight)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight_summary.go
deleted file mode 100644
index 942a54d627c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_exadata_insight_summary.go
+++ /dev/null
@@ -1,198 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalExadataInsightSummary Summary of an Exadata insight resource.
-type EmManagedExternalExadataInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Exadata insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
-
- // Operations Insights internal representation of the the Exadata system rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
-
- // Indicates the status of an Exadata insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the Exadata insight.
- LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalExadataInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalExadataInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m EmManagedExternalExadataInsightSummary) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m EmManagedExternalExadataInsightSummary) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m EmManagedExternalExadataInsightSummary) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m EmManagedExternalExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalExadataInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalExadataInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalExadataInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalExadataInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalExadataInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalExadataInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m EmManagedExternalExadataInsightSummary) 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 EmManagedExternalExadataInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataInsightLifecycleStateEnum(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(GetExadataInsightLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalExadataInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalExadataInsightSummary EmManagedExternalExadataInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalExadataInsightSummary
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeEmManagedExternalExadataInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_configuration_summary.go
deleted file mode 100644
index 5bf19830628..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_configuration_summary.go
+++ /dev/null
@@ -1,221 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalHostConfigurationSummary Configuration summary of a EM Managed External host.
-type EmManagedExternalHostConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- HostInsightId *string `mandatory:"true" json:"hostInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"true" json:"platformVersion"`
-
- // Platform vendor.
- PlatformVendor *string `mandatory:"true" json:"platformVendor"`
-
- // Total CPU on this host.
- TotalCpus *int `mandatory:"true" json:"totalCpus"`
-
- // Total amount of usable physical memory in gibabytes
- TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
-
- // CPU architechure
- CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
-
- // Size of cache memory in megabytes.
- CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
-
- // Name of the CPU vendor.
- CpuVendor *string `mandatory:"true" json:"cpuVendor"`
-
- // Clock frequency of the processor in megahertz.
- CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
-
- // Model name of processor.
- CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
-
- // Number of cores per socket.
- CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
-
- // Number of total sockets.
- TotalSockets *int `mandatory:"true" json:"totalSockets"`
-
- // Number of threads per socket.
- ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
-
- // Indicates if hyper-threading is enabled or not
- IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetHostInsightId returns HostInsightId
-func (m EmManagedExternalHostConfigurationSummary) GetHostInsightId() *string {
- return m.HostInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalHostConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m EmManagedExternalHostConfigurationSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetPlatformType returns PlatformType
-func (m EmManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum {
- return m.PlatformType
-}
-
-//GetPlatformVersion returns PlatformVersion
-func (m EmManagedExternalHostConfigurationSummary) GetPlatformVersion() *string {
- return m.PlatformVersion
-}
-
-//GetPlatformVendor returns PlatformVendor
-func (m EmManagedExternalHostConfigurationSummary) GetPlatformVendor() *string {
- return m.PlatformVendor
-}
-
-//GetTotalCpus returns TotalCpus
-func (m EmManagedExternalHostConfigurationSummary) GetTotalCpus() *int {
- return m.TotalCpus
-}
-
-//GetTotalMemoryInGBs returns TotalMemoryInGBs
-func (m EmManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64 {
- return m.TotalMemoryInGBs
-}
-
-//GetCpuArchitecture returns CpuArchitecture
-func (m EmManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string {
- return m.CpuArchitecture
-}
-
-//GetCpuCacheInMBs returns CpuCacheInMBs
-func (m EmManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64 {
- return m.CpuCacheInMBs
-}
-
-//GetCpuVendor returns CpuVendor
-func (m EmManagedExternalHostConfigurationSummary) GetCpuVendor() *string {
- return m.CpuVendor
-}
-
-//GetCpuFrequencyInMhz returns CpuFrequencyInMhz
-func (m EmManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64 {
- return m.CpuFrequencyInMhz
-}
-
-//GetCpuImplementation returns CpuImplementation
-func (m EmManagedExternalHostConfigurationSummary) GetCpuImplementation() *string {
- return m.CpuImplementation
-}
-
-//GetCoresPerSocket returns CoresPerSocket
-func (m EmManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int {
- return m.CoresPerSocket
-}
-
-//GetTotalSockets returns TotalSockets
-func (m EmManagedExternalHostConfigurationSummary) GetTotalSockets() *int {
- return m.TotalSockets
-}
-
-//GetThreadsPerSocket returns ThreadsPerSocket
-func (m EmManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int {
- return m.ThreadsPerSocket
-}
-
-//GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
-func (m EmManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool {
- return m.IsHyperThreadingEnabled
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-func (m EmManagedExternalHostConfigurationSummary) 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 EmManagedExternalHostConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingHostConfigurationSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostConfigurationSummaryPlatformTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalHostConfigurationSummary EmManagedExternalHostConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalHostConfigurationSummary
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeEmManagedExternalHostConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight.go
deleted file mode 100644
index ecf51eb9896..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight.go
+++ /dev/null
@@ -1,268 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalHostInsight EM-managed external host insight resource.
-type EmManagedExternalHostInsight struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // Platform name.
- PlatformName *string `mandatory:"false" json:"platformName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"false" json:"platformVersion"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType EmManagedExternalHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalHostInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalHostInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m EmManagedExternalHostInsight) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m EmManagedExternalHostInsight) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m EmManagedExternalHostInsight) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m EmManagedExternalHostInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalHostInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalHostInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalHostInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalHostInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m EmManagedExternalHostInsight) 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 EmManagedExternalHostInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingEmManagedExternalHostInsightPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetEmManagedExternalHostInsightPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalHostInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalHostInsight EmManagedExternalHostInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalHostInsight
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeEmManagedExternalHostInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// EmManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
-type EmManagedExternalHostInsightPlatformTypeEnum string
-
-// Set of constants representing the allowable values for EmManagedExternalHostInsightPlatformTypeEnum
-const (
- EmManagedExternalHostInsightPlatformTypeLinux EmManagedExternalHostInsightPlatformTypeEnum = "LINUX"
- EmManagedExternalHostInsightPlatformTypeSolaris EmManagedExternalHostInsightPlatformTypeEnum = "SOLARIS"
- EmManagedExternalHostInsightPlatformTypeSunos EmManagedExternalHostInsightPlatformTypeEnum = "SUNOS"
- EmManagedExternalHostInsightPlatformTypeZlinux EmManagedExternalHostInsightPlatformTypeEnum = "ZLINUX"
- EmManagedExternalHostInsightPlatformTypeWindows EmManagedExternalHostInsightPlatformTypeEnum = "WINDOWS"
- EmManagedExternalHostInsightPlatformTypeAix EmManagedExternalHostInsightPlatformTypeEnum = "AIX"
-)
-
-var mappingEmManagedExternalHostInsightPlatformTypeEnum = map[string]EmManagedExternalHostInsightPlatformTypeEnum{
- "LINUX": EmManagedExternalHostInsightPlatformTypeLinux,
- "SOLARIS": EmManagedExternalHostInsightPlatformTypeSolaris,
- "SUNOS": EmManagedExternalHostInsightPlatformTypeSunos,
- "ZLINUX": EmManagedExternalHostInsightPlatformTypeZlinux,
- "WINDOWS": EmManagedExternalHostInsightPlatformTypeWindows,
- "AIX": EmManagedExternalHostInsightPlatformTypeAix,
-}
-
-var mappingEmManagedExternalHostInsightPlatformTypeEnumLowerCase = map[string]EmManagedExternalHostInsightPlatformTypeEnum{
- "linux": EmManagedExternalHostInsightPlatformTypeLinux,
- "solaris": EmManagedExternalHostInsightPlatformTypeSolaris,
- "sunos": EmManagedExternalHostInsightPlatformTypeSunos,
- "zlinux": EmManagedExternalHostInsightPlatformTypeZlinux,
- "windows": EmManagedExternalHostInsightPlatformTypeWindows,
- "aix": EmManagedExternalHostInsightPlatformTypeAix,
-}
-
-// GetEmManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightPlatformTypeEnum
-func GetEmManagedExternalHostInsightPlatformTypeEnumValues() []EmManagedExternalHostInsightPlatformTypeEnum {
- values := make([]EmManagedExternalHostInsightPlatformTypeEnum, 0)
- for _, v := range mappingEmManagedExternalHostInsightPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetEmManagedExternalHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for EmManagedExternalHostInsightPlatformTypeEnum
-func GetEmManagedExternalHostInsightPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingEmManagedExternalHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingEmManagedExternalHostInsightPlatformTypeEnum(val string) (EmManagedExternalHostInsightPlatformTypeEnum, bool) {
- enum, ok := mappingEmManagedExternalHostInsightPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight_summary.go
deleted file mode 100644
index ab95fdc5d8c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/em_managed_external_host_insight_summary.go
+++ /dev/null
@@ -1,270 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EmManagedExternalHostInsightSummary Summary of an EM-managed external host insight resource.
-type EmManagedExternalHostInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Enterprise Manager Entity Display Name
- EnterpriseManagerEntityDisplayName *string `mandatory:"false" json:"enterpriseManagerEntityDisplayName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"false" json:"exadataInsightId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType EmManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m EmManagedExternalHostInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m EmManagedExternalHostInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m EmManagedExternalHostInsightSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m EmManagedExternalHostInsightSummary) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m EmManagedExternalHostInsightSummary) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m EmManagedExternalHostInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m EmManagedExternalHostInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m EmManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m EmManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
-func (m EmManagedExternalHostInsightSummary) GetOpsiPrivateEndpointId() *string {
- return m.OpsiPrivateEndpointId
-}
-
-//GetStatus returns Status
-func (m EmManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m EmManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m EmManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m EmManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m EmManagedExternalHostInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m EmManagedExternalHostInsightSummary) 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 EmManagedExternalHostInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingEmManagedExternalHostInsightSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetEmManagedExternalHostInsightSummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m EmManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEmManagedExternalHostInsightSummary EmManagedExternalHostInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEmManagedExternalHostInsightSummary
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeEmManagedExternalHostInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// EmManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
-type EmManagedExternalHostInsightSummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
-const (
- EmManagedExternalHostInsightSummaryPlatformTypeLinux EmManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX"
- EmManagedExternalHostInsightSummaryPlatformTypeSolaris EmManagedExternalHostInsightSummaryPlatformTypeEnum = "SOLARIS"
- EmManagedExternalHostInsightSummaryPlatformTypeSunos EmManagedExternalHostInsightSummaryPlatformTypeEnum = "SUNOS"
- EmManagedExternalHostInsightSummaryPlatformTypeZlinux EmManagedExternalHostInsightSummaryPlatformTypeEnum = "ZLINUX"
- EmManagedExternalHostInsightSummaryPlatformTypeWindows EmManagedExternalHostInsightSummaryPlatformTypeEnum = "WINDOWS"
- EmManagedExternalHostInsightSummaryPlatformTypeAix EmManagedExternalHostInsightSummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingEmManagedExternalHostInsightSummaryPlatformTypeEnum = map[string]EmManagedExternalHostInsightSummaryPlatformTypeEnum{
- "LINUX": EmManagedExternalHostInsightSummaryPlatformTypeLinux,
- "SOLARIS": EmManagedExternalHostInsightSummaryPlatformTypeSolaris,
- "SUNOS": EmManagedExternalHostInsightSummaryPlatformTypeSunos,
- "ZLINUX": EmManagedExternalHostInsightSummaryPlatformTypeZlinux,
- "WINDOWS": EmManagedExternalHostInsightSummaryPlatformTypeWindows,
- "AIX": EmManagedExternalHostInsightSummaryPlatformTypeAix,
-}
-
-var mappingEmManagedExternalHostInsightSummaryPlatformTypeEnumLowerCase = map[string]EmManagedExternalHostInsightSummaryPlatformTypeEnum{
- "linux": EmManagedExternalHostInsightSummaryPlatformTypeLinux,
- "solaris": EmManagedExternalHostInsightSummaryPlatformTypeSolaris,
- "sunos": EmManagedExternalHostInsightSummaryPlatformTypeSunos,
- "zlinux": EmManagedExternalHostInsightSummaryPlatformTypeZlinux,
- "windows": EmManagedExternalHostInsightSummaryPlatformTypeWindows,
- "aix": EmManagedExternalHostInsightSummaryPlatformTypeAix,
-}
-
-// GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for EmManagedExternalHostInsightSummaryPlatformTypeEnum
-func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumValues() []EmManagedExternalHostInsightSummaryPlatformTypeEnum {
- values := make([]EmManagedExternalHostInsightSummaryPlatformTypeEnum, 0)
- for _, v := range mappingEmManagedExternalHostInsightSummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetEmManagedExternalHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for EmManagedExternalHostInsightSummaryPlatformTypeEnum
-func GetEmManagedExternalHostInsightSummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingEmManagedExternalHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingEmManagedExternalHostInsightSummaryPlatformTypeEnum(val string) (EmManagedExternalHostInsightSummaryPlatformTypeEnum, bool) {
- enum, ok := mappingEmManagedExternalHostInsightSummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_details.go
deleted file mode 100644
index db1e8873c58..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_details.go
+++ /dev/null
@@ -1,75 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableAutonomousDatabaseInsightAdvancedFeaturesDetails The advanced feature details for autonomous database to be enabled.
-type EnableAutonomousDatabaseInsightAdvancedFeaturesDetails struct {
- ConnectionDetails *ConnectionDetails `mandatory:"true" json:"connectionDetails"`
-
- CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-}
-
-func (m EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) 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 EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *EnableAutonomousDatabaseInsightAdvancedFeaturesDetails) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- ConnectionDetails *ConnectionDetails `json:"connectionDetails"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.ConnectionDetails = model.ConnectionDetails
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_request_response.go
deleted file mode 100644
index 045736579b1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_autonomous_database_insight_advanced_features_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// EnableAutonomousDatabaseInsightAdvancedFeaturesRequest wrapper for the EnableAutonomousDatabaseInsightAdvancedFeatures operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableAutonomousDatabaseInsightAdvancedFeatures.go.html to see an example of how to use EnableAutonomousDatabaseInsightAdvancedFeaturesRequest.
-type EnableAutonomousDatabaseInsightAdvancedFeaturesRequest struct {
-
- // Connection Details for the Autonomous Database in Operations Insights.
- EnableAutonomousDatabaseInsightAdvancedFeaturesDetails `contributesTo:"body"`
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) 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 EnableAutonomousDatabaseInsightAdvancedFeaturesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// EnableAutonomousDatabaseInsightAdvancedFeaturesResponse wrapper for the EnableAutonomousDatabaseInsightAdvancedFeatures operation
-type EnableAutonomousDatabaseInsightAdvancedFeaturesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 EnableAutonomousDatabaseInsightAdvancedFeaturesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response EnableAutonomousDatabaseInsightAdvancedFeaturesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_details.go
deleted file mode 100644
index 9bdf041ee54..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_details.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableDatabaseInsightDetails The information about database to be analyzed.
-type EnableDatabaseInsightDetails interface {
-}
-
-type enabledatabaseinsightdetails struct {
- JsonData []byte
- EntitySource string `json:"entitySource"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *enabledatabaseinsightdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerenabledatabaseinsightdetails enabledatabaseinsightdetails
- s := struct {
- Model Unmarshalerenabledatabaseinsightdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.EntitySource = s.Model.EntitySource
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *enabledatabaseinsightdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.EntitySource {
- case "EM_MANAGED_EXTERNAL_DATABASE":
- mm := EnableEmManagedExternalDatabaseInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "PE_COMANAGED_DATABASE":
- mm := EnablePeComanagedDatabaseInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for EnableDatabaseInsightDetails: %s.", m.EntitySource)
- return *m, nil
- }
-}
-
-func (m enabledatabaseinsightdetails) 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 enabledatabaseinsightdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_request_response.go
deleted file mode 100644
index fc41e473d11..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_database_insight_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// EnableDatabaseInsightRequest wrapper for the EnableDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableDatabaseInsight.go.html to see an example of how to use EnableDatabaseInsightRequest.
-type EnableDatabaseInsightRequest struct {
-
- // Details for the database to be enabled in Operations Insights.
- EnableDatabaseInsightDetails `contributesTo:"body"`
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 EnableDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request EnableDatabaseInsightRequest) 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 EnableDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request EnableDatabaseInsightRequest) 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 EnableDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// EnableDatabaseInsightResponse wrapper for the EnableDatabaseInsight operation
-type EnableDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 EnableDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response EnableDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_database_insight_details.go
deleted file mode 100644
index aa7baf942ff..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_database_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableEmManagedExternalDatabaseInsightDetails The information about database to be analyzed.
-type EnableEmManagedExternalDatabaseInsightDetails struct {
-}
-
-func (m EnableEmManagedExternalDatabaseInsightDetails) 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 EnableEmManagedExternalDatabaseInsightDetails) 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 EnableEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnableEmManagedExternalDatabaseInsightDetails EnableEmManagedExternalDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnableEmManagedExternalDatabaseInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeEnableEmManagedExternalDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_exadata_insight_details.go
deleted file mode 100644
index 6a45e9184fb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_exadata_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableEmManagedExternalExadataInsightDetails The information about the Exadata system to be analyzed.
-type EnableEmManagedExternalExadataInsightDetails struct {
-}
-
-func (m EnableEmManagedExternalExadataInsightDetails) 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 EnableEmManagedExternalExadataInsightDetails) 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 EnableEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnableEmManagedExternalExadataInsightDetails EnableEmManagedExternalExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnableEmManagedExternalExadataInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeEnableEmManagedExternalExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_host_insight_details.go
deleted file mode 100644
index d0a3aec2d99..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_em_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableEmManagedExternalHostInsightDetails The information about the EM-managed external host to be analyzed.
-type EnableEmManagedExternalHostInsightDetails struct {
-}
-
-func (m EnableEmManagedExternalHostInsightDetails) 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 EnableEmManagedExternalHostInsightDetails) 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 EnableEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnableEmManagedExternalHostInsightDetails EnableEmManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnableEmManagedExternalHostInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeEnableEmManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_details.go
deleted file mode 100644
index ead69aa2e1e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_details.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableExadataInsightDetails The information about the Exadata system to be analyzed.
-type EnableExadataInsightDetails interface {
-}
-
-type enableexadatainsightdetails struct {
- JsonData []byte
- EntitySource string `json:"entitySource"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *enableexadatainsightdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerenableexadatainsightdetails enableexadatainsightdetails
- s := struct {
- Model Unmarshalerenableexadatainsightdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.EntitySource = s.Model.EntitySource
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *enableexadatainsightdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.EntitySource {
- case "PE_COMANAGED_EXADATA":
- mm := EnablePeComanagedExadataInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "EM_MANAGED_EXTERNAL_EXADATA":
- mm := EnableEmManagedExternalExadataInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for EnableExadataInsightDetails: %s.", m.EntitySource)
- return *m, nil
- }
-}
-
-func (m enableexadatainsightdetails) 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 enableexadatainsightdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_request_response.go
deleted file mode 100644
index c24f982b24e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_exadata_insight_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// EnableExadataInsightRequest wrapper for the EnableExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/EnableExadataInsight.go.html to see an example of how to use EnableExadataInsightRequest.
-type EnableExadataInsightRequest struct {
-
- // Details for the Exadata system to be enabled in Operations Insights.
- EnableExadataInsightDetails `contributesTo:"body"`
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 EnableExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request EnableExadataInsightRequest) 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 EnableExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request EnableExadataInsightRequest) 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 EnableExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// EnableExadataInsightResponse wrapper for the EnableExadataInsight operation
-type EnableExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 EnableExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response EnableExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_details.go
deleted file mode 100644
index 2aae33f6677..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_details.go
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableHostInsightDetails The information about the host to be analyzed.
-type EnableHostInsightDetails interface {
-}
-
-type enablehostinsightdetails struct {
- JsonData []byte
- EntitySource string `json:"entitySource"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *enablehostinsightdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerenablehostinsightdetails enablehostinsightdetails
- s := struct {
- Model Unmarshalerenablehostinsightdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.EntitySource = s.Model.EntitySource
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *enablehostinsightdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.EntitySource {
- case "MACS_MANAGED_EXTERNAL_HOST":
- mm := EnableMacsManagedExternalHostInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "MACS_MANAGED_CLOUD_HOST":
- mm := EnableMacsManagedCloudHostInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "EM_MANAGED_EXTERNAL_HOST":
- mm := EnableEmManagedExternalHostInsightDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for EnableHostInsightDetails: %s.", m.EntitySource)
- return *m, nil
- }
-}
-
-func (m enablehostinsightdetails) 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 enablehostinsightdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_request_response.go
deleted file mode 100644
index 3b637a68db0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_host_insight_request_response.go
+++ /dev/null
@@ -1,106 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// EnableHostInsightRequest wrapper for the EnableHostInsight operation
-//
-// # See also
-//
-// 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.
- EnableHostInsightDetails `contributesTo:"body"`
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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 token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 EnableHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request EnableHostInsightRequest) 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 EnableHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request EnableHostInsightRequest) 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 EnableHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// EnableHostInsightResponse wrapper for the EnableHostInsight operation
-type EnableHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 EnableHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response EnableHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_cloud_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_cloud_host_insight_details.go
deleted file mode 100644
index 04358e25683..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_cloud_host_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableMacsManagedCloudHostInsightDetails The information about the MACS-managed external host to be analyzed.
-type EnableMacsManagedCloudHostInsightDetails struct {
-}
-
-func (m EnableMacsManagedCloudHostInsightDetails) 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 EnableMacsManagedCloudHostInsightDetails) 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 EnableMacsManagedCloudHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnableMacsManagedCloudHostInsightDetails EnableMacsManagedCloudHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnableMacsManagedCloudHostInsightDetails
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeEnableMacsManagedCloudHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_external_host_insight_details.go
deleted file mode 100644
index e79e6ea55c4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_macs_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnableMacsManagedExternalHostInsightDetails The information about the MACS-managed external host to be analyzed.
-type EnableMacsManagedExternalHostInsightDetails struct {
-}
-
-func (m EnableMacsManagedExternalHostInsightDetails) 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 EnableMacsManagedExternalHostInsightDetails) 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 EnableMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnableMacsManagedExternalHostInsightDetails EnableMacsManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnableMacsManagedExternalHostInsightDetails
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeEnableMacsManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_database_insight_details.go
deleted file mode 100644
index dfea8372445..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_database_insight_details.go
+++ /dev/null
@@ -1,123 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnablePeComanagedDatabaseInsightDetails The information about database to be analyzed.
-type EnablePeComanagedDatabaseInsightDetails struct {
-
- // The compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Private service accessed database.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- // Database service name used for connection requests.
- ServiceName *string `mandatory:"true" json:"serviceName"`
-
- CredentialDetails CredentialDetails `mandatory:"true" json:"credentialDetails"`
-
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-}
-
-func (m EnablePeComanagedDatabaseInsightDetails) 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 EnablePeComanagedDatabaseInsightDetails) 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 EnablePeComanagedDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnablePeComanagedDatabaseInsightDetails EnablePeComanagedDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnablePeComanagedDatabaseInsightDetails
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypeEnablePeComanagedDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *EnablePeComanagedDatabaseInsightDetails) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `json:"connectionDetails"`
- FreeformTags map[string]string `json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `json:"definedTags"`
- SystemTags map[string]map[string]interface{} `json:"systemTags"`
- CompartmentId *string `json:"compartmentId"`
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- ServiceName *string `json:"serviceName"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.ConnectionDetails = model.ConnectionDetails
-
- m.FreeformTags = model.FreeformTags
-
- m.DefinedTags = model.DefinedTags
-
- m.SystemTags = model.SystemTags
-
- m.CompartmentId = model.CompartmentId
-
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.ServiceName = model.ServiceName
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_exadata_insight_details.go
deleted file mode 100644
index 059f9fa1646..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enable_pe_comanaged_exadata_insight_details.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// EnablePeComanagedExadataInsightDetails The information about the Exadata system to be analyzed. (ExaCS)
-type EnablePeComanagedExadataInsightDetails struct {
-}
-
-func (m EnablePeComanagedExadataInsightDetails) 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 EnablePeComanagedExadataInsightDetails) 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 EnablePeComanagedExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeEnablePeComanagedExadataInsightDetails EnablePeComanagedExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeEnablePeComanagedExadataInsightDetails
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypeEnablePeComanagedExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge.go
deleted file mode 100644
index 5e931e00f25..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge.go
+++ /dev/null
@@ -1,86 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// EnterpriseManagerBridge Enterprise Manager bridge resource.
-type EnterpriseManagerBridge struct {
-
- // Enterprise Manager bridge identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the Enterprise Manager bridge
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Object Storage Namespace Name
- ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"`
-
- // Object Storage Bucket Name
- ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The current state of the Enterprise Manager bridge.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // Description of Enterprise Manager Bridge
- Description *string `mandatory:"false" json:"description"`
-
- // A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
- ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m EnterpriseManagerBridge) 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 EnterpriseManagerBridge) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_collection.go
deleted file mode 100644
index 02cdbb9813b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// EnterpriseManagerBridgeCollection Collection of Enterprose Manager bridge summary objects.
-type EnterpriseManagerBridgeCollection struct {
-
- // Array of Enterprose Manager bridge summary objects.
- Items []EnterpriseManagerBridgeSummary `mandatory:"true" json:"items"`
-}
-
-func (m EnterpriseManagerBridgeCollection) 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 EnterpriseManagerBridgeCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_summary.go
deleted file mode 100644
index 0a03166899b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridge_summary.go
+++ /dev/null
@@ -1,83 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// EnterpriseManagerBridgeSummary Summary of a Enterprise Manager bridge resource.
-type EnterpriseManagerBridgeSummary struct {
-
- // Enterprise Manager bridge identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the Enterprise Manager bridge
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Object Storage Namespace Name
- ObjectStorageNamespaceName *string `mandatory:"true" json:"objectStorageNamespaceName"`
-
- // Object Storage Bucket Name
- ObjectStorageBucketName *string `mandatory:"true" json:"objectStorageBucketName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The current state of the Enterprise Manager bridge.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // A message describing status of the object storage bucket of this resource. For example, it can be used to provide actionable information about the permission and content validity of the bucket.
- ObjectStorageBucketStatusDetails *string `mandatory:"false" json:"objectStorageBucketStatusDetails"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m EnterpriseManagerBridgeSummary) 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 EnterpriseManagerBridgeSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridges.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridges.go
deleted file mode 100644
index be4444a91f3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/enterprise_manager_bridges.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// EnterpriseManagerBridges Logical grouping used for Operations Insights Enterprise Manager Bridge operations.
-type EnterpriseManagerBridges struct {
-
- // Enterprise Manager Bridge Object.
- EnterpriseManagerBridges *interface{} `mandatory:"false" json:"enterpriseManagerBridges"`
-}
-
-func (m EnterpriseManagerBridges) 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 EnterpriseManagerBridges) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_collection.go
index 6b02403f552..c52b63420a2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_collection.go
@@ -64,6 +64,5 @@ func (m *ExadataConfigurationCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_summary.go
index 83d3857b999..d8b10517676 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_configuration_summary.go
@@ -53,6 +53,7 @@ type ExadataConfigurationSummary interface {
type exadataconfigurationsummary struct {
JsonData []byte
+ VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
ExadataName *string `mandatory:"true" json:"exadataName"`
@@ -61,7 +62,6 @@ type exadataconfigurationsummary struct {
ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
- VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
EntitySource string `json:"entitySource"`
}
@@ -113,51 +113,51 @@ func (m *exadataconfigurationsummary) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetExadataInsightId returns ExadataInsightId
+// GetVmclusterDetails returns VmclusterDetails
+func (m exadataconfigurationsummary) GetVmclusterDetails() []VmClusterSummary {
+ return m.VmclusterDetails
+}
+
+// GetExadataInsightId returns ExadataInsightId
func (m exadataconfigurationsummary) GetExadataInsightId() *string {
return m.ExadataInsightId
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m exadataconfigurationsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetExadataName returns ExadataName
+// GetExadataName returns ExadataName
func (m exadataconfigurationsummary) GetExadataName() *string {
return m.ExadataName
}
-//GetExadataDisplayName returns ExadataDisplayName
+// GetExadataDisplayName returns ExadataDisplayName
func (m exadataconfigurationsummary) GetExadataDisplayName() *string {
return m.ExadataDisplayName
}
-//GetExadataType returns ExadataType
+// GetExadataType returns ExadataType
func (m exadataconfigurationsummary) GetExadataType() ExadataTypeEnum {
return m.ExadataType
}
-//GetExadataRackType returns ExadataRackType
+// GetExadataRackType returns ExadataRackType
func (m exadataconfigurationsummary) GetExadataRackType() ExadataRackTypeEnum {
return m.ExadataRackType
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m exadataconfigurationsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m exadataconfigurationsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetVmclusterDetails returns VmclusterDetails
-func (m exadataconfigurationsummary) GetVmclusterDetails() []VmClusterSummary {
- return m.VmclusterDetails
-}
-
func (m exadataconfigurationsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_machine_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_machine_configuration_summary.go
deleted file mode 100644
index cbedc3d7d55..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_machine_configuration_summary.go
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataDatabaseMachineConfigurationSummary Configuration summary of a database machine.
-type ExadataDatabaseMachineConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // OPSI Enterprise Manager Bridge OCID
- EnterpriseManagerBridgeId *string `mandatory:"true" json:"enterpriseManagerBridgeId"`
-
- // Array of objects containing VM cluster information.
- VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
-
- // Exadata rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
-}
-
-//GetExadataInsightId returns ExadataInsightId
-func (m ExadataDatabaseMachineConfigurationSummary) GetExadataInsightId() *string {
- return m.ExadataInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m ExadataDatabaseMachineConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m ExadataDatabaseMachineConfigurationSummary) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m ExadataDatabaseMachineConfigurationSummary) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m ExadataDatabaseMachineConfigurationSummary) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m ExadataDatabaseMachineConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetDefinedTags returns DefinedTags
-func (m ExadataDatabaseMachineConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m ExadataDatabaseMachineConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetVmclusterDetails returns VmclusterDetails
-func (m ExadataDatabaseMachineConfigurationSummary) GetVmclusterDetails() []VmClusterSummary {
- return m.VmclusterDetails
-}
-
-func (m ExadataDatabaseMachineConfigurationSummary) 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 ExadataDatabaseMachineConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m ExadataDatabaseMachineConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataDatabaseMachineConfigurationSummary ExadataDatabaseMachineConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeExadataDatabaseMachineConfigurationSummary
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeExadataDatabaseMachineConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_statistics_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_statistics_summary.go
deleted file mode 100644
index 1fa536106ec..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_database_statistics_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataDatabaseStatisticsSummary Database details and statistics.
-type ExadataDatabaseStatisticsSummary struct {
- ResourceDetails *DatabaseDetails `mandatory:"true" json:"resourceDetails"`
-
- CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
-}
-
-func (m ExadataDatabaseStatisticsSummary) 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 ExadataDatabaseStatisticsSummary) 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 ExadataDatabaseStatisticsSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataDatabaseStatisticsSummary ExadataDatabaseStatisticsSummary
- s := struct {
- DiscriminatorParam string `json:"exadataResourceType"`
- MarshalTypeExadataDatabaseStatisticsSummary
- }{
- "DATABASE",
- (MarshalTypeExadataDatabaseStatisticsSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_details.go
deleted file mode 100644
index 34d11bcb463..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_details.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataDetails Partial information about the exadata which includes id, name and vmclusterNames.
-type ExadataDetails struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // Name of exadata insight resource.
- Name *string `mandatory:"true" json:"name"`
-
- // Array of vm cluster names. Applicable for ExaCC and ExaCS.
- VmclusterNames []string `mandatory:"false" json:"vmclusterNames"`
-}
-
-func (m ExadataDetails) 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 ExadataDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_diskgroup_statistics_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_diskgroup_statistics_summary.go
deleted file mode 100644
index e199fae6d52..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_diskgroup_statistics_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataDiskgroupStatisticsSummary Diskgroup details and statistics.
-type ExadataDiskgroupStatisticsSummary struct {
- ResourceDetails *DiskGroupDetails `mandatory:"true" json:"resourceDetails"`
-
- CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
-}
-
-func (m ExadataDiskgroupStatisticsSummary) 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 ExadataDiskgroupStatisticsSummary) 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 ExadataDiskgroupStatisticsSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataDiskgroupStatisticsSummary ExadataDiskgroupStatisticsSummary
- s := struct {
- DiscriminatorParam string `json:"exadataResourceType"`
- MarshalTypeExadataDiskgroupStatisticsSummary
- }{
- "DISKGROUP",
- (MarshalTypeExadataDiskgroupStatisticsSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_entity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_entity_source.go
deleted file mode 100644
index 20b363eeb6c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_entity_source.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ExadataEntitySourceEnum Enum with underlying type: string
-type ExadataEntitySourceEnum string
-
-// Set of constants representing the allowable values for ExadataEntitySourceEnum
-const (
- ExadataEntitySourceEmManagedExternalExadata ExadataEntitySourceEnum = "EM_MANAGED_EXTERNAL_EXADATA"
- ExadataEntitySourcePeComanagedExadata ExadataEntitySourceEnum = "PE_COMANAGED_EXADATA"
-)
-
-var mappingExadataEntitySourceEnum = map[string]ExadataEntitySourceEnum{
- "EM_MANAGED_EXTERNAL_EXADATA": ExadataEntitySourceEmManagedExternalExadata,
- "PE_COMANAGED_EXADATA": ExadataEntitySourcePeComanagedExadata,
-}
-
-var mappingExadataEntitySourceEnumLowerCase = map[string]ExadataEntitySourceEnum{
- "em_managed_external_exadata": ExadataEntitySourceEmManagedExternalExadata,
- "pe_comanaged_exadata": ExadataEntitySourcePeComanagedExadata,
-}
-
-// GetExadataEntitySourceEnumValues Enumerates the set of values for ExadataEntitySourceEnum
-func GetExadataEntitySourceEnumValues() []ExadataEntitySourceEnum {
- values := make([]ExadataEntitySourceEnum, 0)
- for _, v := range mappingExadataEntitySourceEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataEntitySourceEnumStringValues Enumerates the set of values in String for ExadataEntitySourceEnum
-func GetExadataEntitySourceEnumStringValues() []string {
- return []string{
- "EM_MANAGED_EXTERNAL_EXADATA",
- "PE_COMANAGED_EXADATA",
- }
-}
-
-// GetMappingExadataEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataEntitySourceEnum(val string) (ExadataEntitySourceEnum, bool) {
- enum, ok := mappingExadataEntitySourceEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_exacs_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_exacs_configuration_summary.go
deleted file mode 100644
index aaeae2e85d7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_exacs_configuration_summary.go
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataExacsConfigurationSummary Configuration summary of a Exacs exadata machine.
-type ExadataExacsConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- ParentId *string `mandatory:"true" json:"parentId"`
-
- // Array of objects containing VM cluster information.
- VmclusterDetails []VmClusterSummary `mandatory:"false" json:"vmclusterDetails"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
-
- // Exadata rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
-}
-
-//GetExadataInsightId returns ExadataInsightId
-func (m ExadataExacsConfigurationSummary) GetExadataInsightId() *string {
- return m.ExadataInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m ExadataExacsConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m ExadataExacsConfigurationSummary) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m ExadataExacsConfigurationSummary) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m ExadataExacsConfigurationSummary) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m ExadataExacsConfigurationSummary) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetDefinedTags returns DefinedTags
-func (m ExadataExacsConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m ExadataExacsConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetVmclusterDetails returns VmclusterDetails
-func (m ExadataExacsConfigurationSummary) GetVmclusterDetails() []VmClusterSummary {
- return m.VmclusterDetails
-}
-
-func (m ExadataExacsConfigurationSummary) 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 ExadataExacsConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m ExadataExacsConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataExacsConfigurationSummary ExadataExacsConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeExadataExacsConfigurationSummary
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypeExadataExacsConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_host_statistics_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_host_statistics_summary.go
deleted file mode 100644
index da771b24064..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_host_statistics_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataHostStatisticsSummary Host details and statistics.
-type ExadataHostStatisticsSummary struct {
- ResourceDetails *HostDetails `mandatory:"true" json:"resourceDetails"`
-
- CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
-}
-
-func (m ExadataHostStatisticsSummary) 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 ExadataHostStatisticsSummary) 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 ExadataHostStatisticsSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataHostStatisticsSummary ExadataHostStatisticsSummary
- s := struct {
- DiscriminatorParam string `json:"exadataResourceType"`
- MarshalTypeExadataHostStatisticsSummary
- }{
- "HOST",
- (MarshalTypeExadataHostStatisticsSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight.go
index 1b365da9ca2..f13bf3a7038 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight.go
@@ -72,6 +72,13 @@ type ExadataInsight interface {
type exadatainsight struct {
JsonData []byte
+ ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
+ ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
+ ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
+ IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
ExadataName *string `mandatory:"true" json:"exadataName"`
@@ -80,13 +87,6 @@ type exadatainsight struct {
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
- IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
EntitySource string `json:"entitySource"`
}
@@ -144,81 +144,81 @@ func (m *exadatainsight) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetId returns Id
+// GetExadataDisplayName returns ExadataDisplayName
+func (m exadatainsight) GetExadataDisplayName() *string {
+ return m.ExadataDisplayName
+}
+
+// GetExadataType returns ExadataType
+func (m exadatainsight) GetExadataType() ExadataTypeEnum {
+ return m.ExadataType
+}
+
+// GetExadataRackType returns ExadataRackType
+func (m exadatainsight) GetExadataRackType() ExadataRackTypeEnum {
+ return m.ExadataRackType
+}
+
+// GetIsVirtualizedExadata returns IsVirtualizedExadata
+func (m exadatainsight) GetIsVirtualizedExadata() *bool {
+ return m.IsVirtualizedExadata
+}
+
+// GetSystemTags returns SystemTags
+func (m exadatainsight) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m exadatainsight) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m exadatainsight) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m exadatainsight) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m exadatainsight) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetExadataName returns ExadataName
+// GetExadataName returns ExadataName
func (m exadatainsight) GetExadataName() *string {
return m.ExadataName
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m exadatainsight) GetStatus() ResourceStatusEnum {
return m.Status
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m exadatainsight) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m exadatainsight) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m exadatainsight) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m exadatainsight) GetLifecycleState() ExadataInsightLifecycleStateEnum {
return m.LifecycleState
}
-//GetExadataDisplayName returns ExadataDisplayName
-func (m exadatainsight) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m exadatainsight) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m exadatainsight) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetIsVirtualizedExadata returns IsVirtualizedExadata
-func (m exadatainsight) GetIsVirtualizedExadata() *bool {
- return m.IsVirtualizedExadata
-}
-
-//GetSystemTags returns SystemTags
-func (m exadatainsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m exadatainsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m exadatainsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m exadatainsight) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_lifecycle_state.go
deleted file mode 100644
index eb542cf00b5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_lifecycle_state.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ExadataInsightLifecycleStateEnum Enum with underlying type: string
-type ExadataInsightLifecycleStateEnum string
-
-// Set of constants representing the allowable values for ExadataInsightLifecycleStateEnum
-const (
- ExadataInsightLifecycleStateCreating ExadataInsightLifecycleStateEnum = "CREATING"
- ExadataInsightLifecycleStateUpdating ExadataInsightLifecycleStateEnum = "UPDATING"
- ExadataInsightLifecycleStateActive ExadataInsightLifecycleStateEnum = "ACTIVE"
- ExadataInsightLifecycleStateDeleting ExadataInsightLifecycleStateEnum = "DELETING"
- ExadataInsightLifecycleStateDeleted ExadataInsightLifecycleStateEnum = "DELETED"
- ExadataInsightLifecycleStateFailed ExadataInsightLifecycleStateEnum = "FAILED"
-)
-
-var mappingExadataInsightLifecycleStateEnum = map[string]ExadataInsightLifecycleStateEnum{
- "CREATING": ExadataInsightLifecycleStateCreating,
- "UPDATING": ExadataInsightLifecycleStateUpdating,
- "ACTIVE": ExadataInsightLifecycleStateActive,
- "DELETING": ExadataInsightLifecycleStateDeleting,
- "DELETED": ExadataInsightLifecycleStateDeleted,
- "FAILED": ExadataInsightLifecycleStateFailed,
-}
-
-var mappingExadataInsightLifecycleStateEnumLowerCase = map[string]ExadataInsightLifecycleStateEnum{
- "creating": ExadataInsightLifecycleStateCreating,
- "updating": ExadataInsightLifecycleStateUpdating,
- "active": ExadataInsightLifecycleStateActive,
- "deleting": ExadataInsightLifecycleStateDeleting,
- "deleted": ExadataInsightLifecycleStateDeleted,
- "failed": ExadataInsightLifecycleStateFailed,
-}
-
-// GetExadataInsightLifecycleStateEnumValues Enumerates the set of values for ExadataInsightLifecycleStateEnum
-func GetExadataInsightLifecycleStateEnumValues() []ExadataInsightLifecycleStateEnum {
- values := make([]ExadataInsightLifecycleStateEnum, 0)
- for _, v := range mappingExadataInsightLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataInsightLifecycleStateEnumStringValues Enumerates the set of values in String for ExadataInsightLifecycleStateEnum
-func GetExadataInsightLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingExadataInsightLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataInsightLifecycleStateEnum(val string) (ExadataInsightLifecycleStateEnum, bool) {
- enum, ok := mappingExadataInsightLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_aggregation.go
deleted file mode 100644
index 913e6ba6510..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_aggregation.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataInsightResourceCapacityTrendAggregation Resource Capacity samples
-type ExadataInsightResourceCapacityTrendAggregation struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m ExadataInsightResourceCapacityTrendAggregation) 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 ExadataInsightResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_summary.go
deleted file mode 100644
index 73d8b68b8cf..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_capacity_trend_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataInsightResourceCapacityTrendSummary List of resource id, name , capacity time series data
-type ExadataInsightResourceCapacityTrendSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The name of the resource.
- Name *string `mandatory:"true" json:"name"`
-
- // Time series data for capacity
- CapacityData []ExadataInsightResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
-}
-
-func (m ExadataInsightResourceCapacityTrendSummary) 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 ExadataInsightResourceCapacityTrendSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_insight_utilization_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_insight_utilization_item.go
deleted file mode 100644
index 01ed3a1654b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_insight_utilization_item.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataInsightResourceInsightUtilizationItem Object containing current utilization, projected utilization, id and daysToReach high and low utilization value.
-type ExadataInsightResourceInsightUtilizationItem struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // Current utilization
- CurrentUtilization *float64 `mandatory:"true" json:"currentUtilization"`
-
- // Projected utilization
- ProjectedUtilization *float64 `mandatory:"true" json:"projectedUtilization"`
-
- // Days to reach projected high utilization
- DaysToReachHighUtilization *int `mandatory:"true" json:"daysToReachHighUtilization"`
-
- // Days to reach projected low utilization
- DaysToReachLowUtilization *int `mandatory:"true" json:"daysToReachLowUtilization"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-}
-
-func (m ExadataInsightResourceInsightUtilizationItem) 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 ExadataInsightResourceInsightUtilizationItem) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics.go
deleted file mode 100644
index 659e6b23690..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataInsightResourceStatistics Contains resource statistics with usage unit
-type ExadataInsightResourceStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-
- // Array of instance metrics
- InstanceMetrics []InstanceMetrics `mandatory:"false" json:"instanceMetrics"`
-}
-
-func (m ExadataInsightResourceStatistics) 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 ExadataInsightResourceStatistics) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics_aggregation.go
deleted file mode 100644
index 8151cead194..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_resource_statistics_aggregation.go
+++ /dev/null
@@ -1,141 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataInsightResourceStatisticsAggregation Contains resource details and current statistics
-type ExadataInsightResourceStatisticsAggregation interface {
-}
-
-type exadatainsightresourcestatisticsaggregation struct {
- JsonData []byte
- ExadataResourceType string `json:"exadataResourceType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *exadatainsightresourcestatisticsaggregation) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerexadatainsightresourcestatisticsaggregation exadatainsightresourcestatisticsaggregation
- s := struct {
- Model Unmarshalerexadatainsightresourcestatisticsaggregation
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ExadataResourceType = s.Model.ExadataResourceType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *exadatainsightresourcestatisticsaggregation) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ExadataResourceType {
- case "STORAGE_SERVER":
- mm := ExadataStorageServerStatisticsSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "HOST":
- mm := ExadataHostStatisticsSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "DATABASE":
- mm := ExadataDatabaseStatisticsSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "DISKGROUP":
- mm := ExadataDiskgroupStatisticsSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for ExadataInsightResourceStatisticsAggregation: %s.", m.ExadataResourceType)
- return *m, nil
- }
-}
-
-func (m exadatainsightresourcestatisticsaggregation) 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 exadatainsightresourcestatisticsaggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum Enum with underlying type: string
-type ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
-const (
- ExadataInsightResourceStatisticsAggregationExadataResourceTypeDatabase ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DATABASE"
- ExadataInsightResourceStatisticsAggregationExadataResourceTypeHost ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "HOST"
- ExadataInsightResourceStatisticsAggregationExadataResourceTypeStorageServer ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "STORAGE_SERVER"
- ExadataInsightResourceStatisticsAggregationExadataResourceTypeDiskgroup ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum = map[string]ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum{
- "DATABASE": ExadataInsightResourceStatisticsAggregationExadataResourceTypeDatabase,
- "HOST": ExadataInsightResourceStatisticsAggregationExadataResourceTypeHost,
- "STORAGE_SERVER": ExadataInsightResourceStatisticsAggregationExadataResourceTypeStorageServer,
- "DISKGROUP": ExadataInsightResourceStatisticsAggregationExadataResourceTypeDiskgroup,
-}
-
-var mappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumLowerCase = map[string]ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum{
- "database": ExadataInsightResourceStatisticsAggregationExadataResourceTypeDatabase,
- "host": ExadataInsightResourceStatisticsAggregationExadataResourceTypeHost,
- "storage_server": ExadataInsightResourceStatisticsAggregationExadataResourceTypeStorageServer,
- "diskgroup": ExadataInsightResourceStatisticsAggregationExadataResourceTypeDiskgroup,
-}
-
-// GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues Enumerates the set of values for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
-func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumValues() []ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum {
- values := make([]ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum, 0)
- for _, v := range mappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum
-func GetExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum(val string) (ExadataInsightResourceStatisticsAggregationExadataResourceTypeEnum, bool) {
- enum, ok := mappingExadataInsightResourceStatisticsAggregationExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary.go
index b815f882301..1c500d46741 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary.go
@@ -69,6 +69,12 @@ type ExadataInsightSummary interface {
type exadatainsightsummary struct {
JsonData []byte
+ ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
+ ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
+ ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
ExadataName *string `mandatory:"true" json:"exadataName"`
@@ -77,12 +83,6 @@ type exadatainsightsummary struct {
Status ResourceStatusEnum `mandatory:"true" json:"status"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
EntitySource string `json:"entitySource"`
}
@@ -139,76 +139,76 @@ func (m *exadatainsightsummary) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetId returns Id
+// GetExadataDisplayName returns ExadataDisplayName
+func (m exadatainsightsummary) GetExadataDisplayName() *string {
+ return m.ExadataDisplayName
+}
+
+// GetExadataType returns ExadataType
+func (m exadatainsightsummary) GetExadataType() ExadataTypeEnum {
+ return m.ExadataType
+}
+
+// GetExadataRackType returns ExadataRackType
+func (m exadatainsightsummary) GetExadataRackType() ExadataRackTypeEnum {
+ return m.ExadataRackType
+}
+
+// GetSystemTags returns SystemTags
+func (m exadatainsightsummary) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m exadatainsightsummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m exadatainsightsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m exadatainsightsummary) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m exadatainsightsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetExadataName returns ExadataName
+// GetExadataName returns ExadataName
func (m exadatainsightsummary) GetExadataName() *string {
return m.ExadataName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m exadatainsightsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m exadatainsightsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m exadatainsightsummary) GetStatus() ResourceStatusEnum {
return m.Status
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m exadatainsightsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m exadatainsightsummary) GetLifecycleState() ExadataInsightLifecycleStateEnum {
return m.LifecycleState
}
-//GetExadataDisplayName returns ExadataDisplayName
-func (m exadatainsightsummary) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m exadatainsightsummary) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m exadatainsightsummary) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetSystemTags returns SystemTags
-func (m exadatainsightsummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m exadatainsightsummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m exadatainsightsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m exadatainsightsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary_collection.go
index 7696c5df181..70e93ae035b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insight_summary_collection.go
@@ -64,6 +64,5 @@ func (m *ExadataInsightSummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insights.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insights.go
deleted file mode 100644
index 5fa7ca32197..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_insights.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataInsights Logical grouping used for Operations Insights Exadata related operations.
-type ExadataInsights struct {
-
- // Exadata Insights Object.
- ExadataInsights *interface{} `mandatory:"false" json:"exadataInsights"`
-}
-
-func (m ExadataInsights) 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 ExadataInsights) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_collection.go
deleted file mode 100644
index 56c371450af..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_collection.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataMemberCollection Partial definition of the exadata insight resource.
-type ExadataMemberCollection struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"true" json:"exadataDisplayName"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"true" json:"exadataType"`
-
- // Exadata rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"true" json:"exadataRackType"`
-
- // Collection of Exadata members
- Items []ExadataMemberSummary `mandatory:"true" json:"items"`
-}
-
-func (m ExadataMemberCollection) 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 ExadataMemberCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_summary.go
deleted file mode 100644
index 97b15e67fb6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_member_summary.go
+++ /dev/null
@@ -1,120 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ExadataMemberSummary Lists name, display name and type of exadata member.
-type ExadataMemberSummary struct {
-
- // Name of exadata member target
- Name *string `mandatory:"true" json:"name"`
-
- // Display Name of exadata member target
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Entity type of exadata member target
- EntityType ExadataMemberSummaryEntityTypeEnum `mandatory:"true" json:"entityType"`
-}
-
-func (m ExadataMemberSummary) 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 ExadataMemberSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingExadataMemberSummaryEntityTypeEnum(string(m.EntityType)); !ok && m.EntityType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for EntityType: %s. Supported values are: %s.", m.EntityType, strings.Join(GetExadataMemberSummaryEntityTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ExadataMemberSummaryEntityTypeEnum Enum with underlying type: string
-type ExadataMemberSummaryEntityTypeEnum string
-
-// Set of constants representing the allowable values for ExadataMemberSummaryEntityTypeEnum
-const (
- ExadataMemberSummaryEntityTypeDatabase ExadataMemberSummaryEntityTypeEnum = "DATABASE"
- ExadataMemberSummaryEntityTypeIlomServer ExadataMemberSummaryEntityTypeEnum = "ILOM_SERVER"
- ExadataMemberSummaryEntityTypePdu ExadataMemberSummaryEntityTypeEnum = "PDU"
- ExadataMemberSummaryEntityTypeStorageServer ExadataMemberSummaryEntityTypeEnum = "STORAGE_SERVER"
- ExadataMemberSummaryEntityTypeClusterAsm ExadataMemberSummaryEntityTypeEnum = "CLUSTER_ASM"
- ExadataMemberSummaryEntityTypeInfinibandSwitch ExadataMemberSummaryEntityTypeEnum = "INFINIBAND_SWITCH"
- ExadataMemberSummaryEntityTypeEthernetSwitch ExadataMemberSummaryEntityTypeEnum = "ETHERNET_SWITCH"
- ExadataMemberSummaryEntityTypeHost ExadataMemberSummaryEntityTypeEnum = "HOST"
- ExadataMemberSummaryEntityTypeVmCluster ExadataMemberSummaryEntityTypeEnum = "VM_CLUSTER"
-)
-
-var mappingExadataMemberSummaryEntityTypeEnum = map[string]ExadataMemberSummaryEntityTypeEnum{
- "DATABASE": ExadataMemberSummaryEntityTypeDatabase,
- "ILOM_SERVER": ExadataMemberSummaryEntityTypeIlomServer,
- "PDU": ExadataMemberSummaryEntityTypePdu,
- "STORAGE_SERVER": ExadataMemberSummaryEntityTypeStorageServer,
- "CLUSTER_ASM": ExadataMemberSummaryEntityTypeClusterAsm,
- "INFINIBAND_SWITCH": ExadataMemberSummaryEntityTypeInfinibandSwitch,
- "ETHERNET_SWITCH": ExadataMemberSummaryEntityTypeEthernetSwitch,
- "HOST": ExadataMemberSummaryEntityTypeHost,
- "VM_CLUSTER": ExadataMemberSummaryEntityTypeVmCluster,
-}
-
-var mappingExadataMemberSummaryEntityTypeEnumLowerCase = map[string]ExadataMemberSummaryEntityTypeEnum{
- "database": ExadataMemberSummaryEntityTypeDatabase,
- "ilom_server": ExadataMemberSummaryEntityTypeIlomServer,
- "pdu": ExadataMemberSummaryEntityTypePdu,
- "storage_server": ExadataMemberSummaryEntityTypeStorageServer,
- "cluster_asm": ExadataMemberSummaryEntityTypeClusterAsm,
- "infiniband_switch": ExadataMemberSummaryEntityTypeInfinibandSwitch,
- "ethernet_switch": ExadataMemberSummaryEntityTypeEthernetSwitch,
- "host": ExadataMemberSummaryEntityTypeHost,
- "vm_cluster": ExadataMemberSummaryEntityTypeVmCluster,
-}
-
-// GetExadataMemberSummaryEntityTypeEnumValues Enumerates the set of values for ExadataMemberSummaryEntityTypeEnum
-func GetExadataMemberSummaryEntityTypeEnumValues() []ExadataMemberSummaryEntityTypeEnum {
- values := make([]ExadataMemberSummaryEntityTypeEnum, 0)
- for _, v := range mappingExadataMemberSummaryEntityTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataMemberSummaryEntityTypeEnumStringValues Enumerates the set of values in String for ExadataMemberSummaryEntityTypeEnum
-func GetExadataMemberSummaryEntityTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "ILOM_SERVER",
- "PDU",
- "STORAGE_SERVER",
- "CLUSTER_ASM",
- "INFINIBAND_SWITCH",
- "ETHERNET_SWITCH",
- "HOST",
- "VM_CLUSTER",
- }
-}
-
-// GetMappingExadataMemberSummaryEntityTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataMemberSummaryEntityTypeEnum(val string) (ExadataMemberSummaryEntityTypeEnum, bool) {
- enum, ok := mappingExadataMemberSummaryEntityTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_rack_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_rack_type.go
deleted file mode 100644
index 8ebaf42b8b3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_rack_type.go
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ExadataRackTypeEnum Enum with underlying type: string
-type ExadataRackTypeEnum string
-
-// Set of constants representing the allowable values for ExadataRackTypeEnum
-const (
- ExadataRackTypeFull ExadataRackTypeEnum = "FULL"
- ExadataRackTypeHalf ExadataRackTypeEnum = "HALF"
- ExadataRackTypeQuarter ExadataRackTypeEnum = "QUARTER"
- ExadataRackTypeEighth ExadataRackTypeEnum = "EIGHTH"
- ExadataRackTypeFlex ExadataRackTypeEnum = "FLEX"
-)
-
-var mappingExadataRackTypeEnum = map[string]ExadataRackTypeEnum{
- "FULL": ExadataRackTypeFull,
- "HALF": ExadataRackTypeHalf,
- "QUARTER": ExadataRackTypeQuarter,
- "EIGHTH": ExadataRackTypeEighth,
- "FLEX": ExadataRackTypeFlex,
-}
-
-var mappingExadataRackTypeEnumLowerCase = map[string]ExadataRackTypeEnum{
- "full": ExadataRackTypeFull,
- "half": ExadataRackTypeHalf,
- "quarter": ExadataRackTypeQuarter,
- "eighth": ExadataRackTypeEighth,
- "flex": ExadataRackTypeFlex,
-}
-
-// GetExadataRackTypeEnumValues Enumerates the set of values for ExadataRackTypeEnum
-func GetExadataRackTypeEnumValues() []ExadataRackTypeEnum {
- values := make([]ExadataRackTypeEnum, 0)
- for _, v := range mappingExadataRackTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataRackTypeEnumStringValues Enumerates the set of values in String for ExadataRackTypeEnum
-func GetExadataRackTypeEnumStringValues() []string {
- return []string{
- "FULL",
- "HALF",
- "QUARTER",
- "EIGHTH",
- "FLEX",
- }
-}
-
-// GetMappingExadataRackTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataRackTypeEnum(val string) (ExadataRackTypeEnum, bool) {
- enum, ok := mappingExadataRackTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_resource_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_resource_type.go
deleted file mode 100644
index 75ec0388bb8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_resource_type.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ExadataResourceTypeEnum Enum with underlying type: string
-type ExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for ExadataResourceTypeEnum
-const (
- ExadataResourceTypeCloudExadataInfrastructure ExadataResourceTypeEnum = "cloudExadataInfrastructure"
-)
-
-var mappingExadataResourceTypeEnum = map[string]ExadataResourceTypeEnum{
- "cloudExadataInfrastructure": ExadataResourceTypeCloudExadataInfrastructure,
-}
-
-var mappingExadataResourceTypeEnumLowerCase = map[string]ExadataResourceTypeEnum{
- "cloudexadatainfrastructure": ExadataResourceTypeCloudExadataInfrastructure,
-}
-
-// GetExadataResourceTypeEnumValues Enumerates the set of values for ExadataResourceTypeEnum
-func GetExadataResourceTypeEnumValues() []ExadataResourceTypeEnum {
- values := make([]ExadataResourceTypeEnum, 0)
- for _, v := range mappingExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataResourceTypeEnumStringValues Enumerates the set of values in String for ExadataResourceTypeEnum
-func GetExadataResourceTypeEnumStringValues() []string {
- return []string{
- "cloudExadataInfrastructure",
- }
-}
-
-// GetMappingExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataResourceTypeEnum(val string) (ExadataResourceTypeEnum, bool) {
- enum, ok := mappingExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_storage_server_statistics_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_storage_server_statistics_summary.go
deleted file mode 100644
index 474a25b39c5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_storage_server_statistics_summary.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// ExadataStorageServerStatisticsSummary Storage server details and statistics.
-type ExadataStorageServerStatisticsSummary struct {
- ResourceDetails *StorageServerDetails `mandatory:"true" json:"resourceDetails"`
-
- CurrentStatistics *ExadataInsightResourceStatistics `mandatory:"true" json:"currentStatistics"`
-}
-
-func (m ExadataStorageServerStatisticsSummary) 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 ExadataStorageServerStatisticsSummary) 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 ExadataStorageServerStatisticsSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeExadataStorageServerStatisticsSummary ExadataStorageServerStatisticsSummary
- s := struct {
- DiscriminatorParam string `json:"exadataResourceType"`
- MarshalTypeExadataStorageServerStatisticsSummary
- }{
- "STORAGE_SERVER",
- (MarshalTypeExadataStorageServerStatisticsSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_type.go
deleted file mode 100644
index 488864b4beb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/exadata_type.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ExadataTypeEnum Enum with underlying type: string
-type ExadataTypeEnum string
-
-// Set of constants representing the allowable values for ExadataTypeEnum
-const (
- ExadataTypeDbmachine ExadataTypeEnum = "DBMACHINE"
- ExadataTypeExacs ExadataTypeEnum = "EXACS"
- ExadataTypeExacc ExadataTypeEnum = "EXACC"
-)
-
-var mappingExadataTypeEnum = map[string]ExadataTypeEnum{
- "DBMACHINE": ExadataTypeDbmachine,
- "EXACS": ExadataTypeExacs,
- "EXACC": ExadataTypeExacc,
-}
-
-var mappingExadataTypeEnumLowerCase = map[string]ExadataTypeEnum{
- "dbmachine": ExadataTypeDbmachine,
- "exacs": ExadataTypeExacs,
- "exacc": ExadataTypeExacc,
-}
-
-// GetExadataTypeEnumValues Enumerates the set of values for ExadataTypeEnum
-func GetExadataTypeEnumValues() []ExadataTypeEnum {
- values := make([]ExadataTypeEnum, 0)
- for _, v := range mappingExadataTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetExadataTypeEnumStringValues Enumerates the set of values in String for ExadataTypeEnum
-func GetExadataTypeEnumStringValues() []string {
- return []string{
- "DBMACHINE",
- "EXACS",
- "EXACC",
- }
-}
-
-// GetMappingExadataTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingExadataTypeEnum(val string) (ExadataTypeEnum, bool) {
- enum, ok := mappingExadataTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_report_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_report_request_response.go
deleted file mode 100644
index de70ec37eb6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_report_request_response.go
+++ /dev/null
@@ -1,207 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetAwrDatabaseReportRequest wrapper for the GetAwrDatabaseReport operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrDatabaseReport.go.html to see an example of how to use GetAwrDatabaseReportRequest.
-type GetAwrDatabaseReportRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The query parameter to filter the AWR report types.
- ReportType GetAwrDatabaseReportReportTypeEnum `mandatory:"false" contributesTo:"query" name:"reportType" omitEmpty:"true"`
-
- // The format of the AWR report.
- ReportFormat GetAwrDatabaseReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" 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"`
-
- // 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 GetAwrDatabaseReportRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetAwrDatabaseReportRequest) 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 GetAwrDatabaseReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAwrDatabaseReportRequest) 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 GetAwrDatabaseReportRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingGetAwrDatabaseReportReportTypeEnum(string(request.ReportType)); !ok && request.ReportType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ReportType: %s. Supported values are: %s.", request.ReportType, strings.Join(GetGetAwrDatabaseReportReportTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingGetAwrDatabaseReportReportFormatEnum(string(request.ReportFormat)); !ok && request.ReportFormat != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ReportFormat: %s. Supported values are: %s.", request.ReportFormat, strings.Join(GetGetAwrDatabaseReportReportFormatEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetAwrDatabaseReportResponse wrapper for the GetAwrDatabaseReport operation
-type GetAwrDatabaseReportResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AwrDatabaseReport instance
- AwrDatabaseReport `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 GetAwrDatabaseReportResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetAwrDatabaseReportResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// GetAwrDatabaseReportReportTypeEnum Enum with underlying type: string
-type GetAwrDatabaseReportReportTypeEnum string
-
-// Set of constants representing the allowable values for GetAwrDatabaseReportReportTypeEnum
-const (
- GetAwrDatabaseReportReportTypeAwr GetAwrDatabaseReportReportTypeEnum = "AWR"
- GetAwrDatabaseReportReportTypeAsh GetAwrDatabaseReportReportTypeEnum = "ASH"
-)
-
-var mappingGetAwrDatabaseReportReportTypeEnum = map[string]GetAwrDatabaseReportReportTypeEnum{
- "AWR": GetAwrDatabaseReportReportTypeAwr,
- "ASH": GetAwrDatabaseReportReportTypeAsh,
-}
-
-var mappingGetAwrDatabaseReportReportTypeEnumLowerCase = map[string]GetAwrDatabaseReportReportTypeEnum{
- "awr": GetAwrDatabaseReportReportTypeAwr,
- "ash": GetAwrDatabaseReportReportTypeAsh,
-}
-
-// GetGetAwrDatabaseReportReportTypeEnumValues Enumerates the set of values for GetAwrDatabaseReportReportTypeEnum
-func GetGetAwrDatabaseReportReportTypeEnumValues() []GetAwrDatabaseReportReportTypeEnum {
- values := make([]GetAwrDatabaseReportReportTypeEnum, 0)
- for _, v := range mappingGetAwrDatabaseReportReportTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetAwrDatabaseReportReportTypeEnumStringValues Enumerates the set of values in String for GetAwrDatabaseReportReportTypeEnum
-func GetGetAwrDatabaseReportReportTypeEnumStringValues() []string {
- return []string{
- "AWR",
- "ASH",
- }
-}
-
-// GetMappingGetAwrDatabaseReportReportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetAwrDatabaseReportReportTypeEnum(val string) (GetAwrDatabaseReportReportTypeEnum, bool) {
- enum, ok := mappingGetAwrDatabaseReportReportTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// GetAwrDatabaseReportReportFormatEnum Enum with underlying type: string
-type GetAwrDatabaseReportReportFormatEnum string
-
-// Set of constants representing the allowable values for GetAwrDatabaseReportReportFormatEnum
-const (
- GetAwrDatabaseReportReportFormatHtml GetAwrDatabaseReportReportFormatEnum = "HTML"
- GetAwrDatabaseReportReportFormatText GetAwrDatabaseReportReportFormatEnum = "TEXT"
-)
-
-var mappingGetAwrDatabaseReportReportFormatEnum = map[string]GetAwrDatabaseReportReportFormatEnum{
- "HTML": GetAwrDatabaseReportReportFormatHtml,
- "TEXT": GetAwrDatabaseReportReportFormatText,
-}
-
-var mappingGetAwrDatabaseReportReportFormatEnumLowerCase = map[string]GetAwrDatabaseReportReportFormatEnum{
- "html": GetAwrDatabaseReportReportFormatHtml,
- "text": GetAwrDatabaseReportReportFormatText,
-}
-
-// GetGetAwrDatabaseReportReportFormatEnumValues Enumerates the set of values for GetAwrDatabaseReportReportFormatEnum
-func GetGetAwrDatabaseReportReportFormatEnumValues() []GetAwrDatabaseReportReportFormatEnum {
- values := make([]GetAwrDatabaseReportReportFormatEnum, 0)
- for _, v := range mappingGetAwrDatabaseReportReportFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetAwrDatabaseReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDatabaseReportReportFormatEnum
-func GetGetAwrDatabaseReportReportFormatEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- }
-}
-
-// GetMappingGetAwrDatabaseReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetAwrDatabaseReportReportFormatEnum(val string) (GetAwrDatabaseReportReportFormatEnum, bool) {
- enum, ok := mappingGetAwrDatabaseReportReportFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_sql_report_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_sql_report_request_response.go
deleted file mode 100644
index 8899e2e3603..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_database_sql_report_request_response.go
+++ /dev/null
@@ -1,162 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetAwrDatabaseSqlReportRequest wrapper for the GetAwrDatabaseSqlReport operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrDatabaseSqlReport.go.html to see an example of how to use GetAwrDatabaseSqlReportRequest.
-type GetAwrDatabaseSqlReportRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The parameter to filter SQL by ID. Note that the SQL ID is generated internally by Oracle for each SQL statement and can be retrieved from AWR Report API (/awrHubs/{awrHubId}/awrDbReport).
- SqlId *string `mandatory:"true" contributesTo:"query" name:"sqlId"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The format of the AWR report.
- ReportFormat GetAwrDatabaseSqlReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" 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"`
-
- // 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 GetAwrDatabaseSqlReportRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetAwrDatabaseSqlReportRequest) 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 GetAwrDatabaseSqlReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAwrDatabaseSqlReportRequest) 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 GetAwrDatabaseSqlReportRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingGetAwrDatabaseSqlReportReportFormatEnum(string(request.ReportFormat)); !ok && request.ReportFormat != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ReportFormat: %s. Supported values are: %s.", request.ReportFormat, strings.Join(GetGetAwrDatabaseSqlReportReportFormatEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetAwrDatabaseSqlReportResponse wrapper for the GetAwrDatabaseSqlReport operation
-type GetAwrDatabaseSqlReportResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AwrDatabaseSqlReport instance
- AwrDatabaseSqlReport `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 GetAwrDatabaseSqlReportResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetAwrDatabaseSqlReportResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// GetAwrDatabaseSqlReportReportFormatEnum Enum with underlying type: string
-type GetAwrDatabaseSqlReportReportFormatEnum string
-
-// Set of constants representing the allowable values for GetAwrDatabaseSqlReportReportFormatEnum
-const (
- GetAwrDatabaseSqlReportReportFormatHtml GetAwrDatabaseSqlReportReportFormatEnum = "HTML"
- GetAwrDatabaseSqlReportReportFormatText GetAwrDatabaseSqlReportReportFormatEnum = "TEXT"
-)
-
-var mappingGetAwrDatabaseSqlReportReportFormatEnum = map[string]GetAwrDatabaseSqlReportReportFormatEnum{
- "HTML": GetAwrDatabaseSqlReportReportFormatHtml,
- "TEXT": GetAwrDatabaseSqlReportReportFormatText,
-}
-
-var mappingGetAwrDatabaseSqlReportReportFormatEnumLowerCase = map[string]GetAwrDatabaseSqlReportReportFormatEnum{
- "html": GetAwrDatabaseSqlReportReportFormatHtml,
- "text": GetAwrDatabaseSqlReportReportFormatText,
-}
-
-// GetGetAwrDatabaseSqlReportReportFormatEnumValues Enumerates the set of values for GetAwrDatabaseSqlReportReportFormatEnum
-func GetGetAwrDatabaseSqlReportReportFormatEnumValues() []GetAwrDatabaseSqlReportReportFormatEnum {
- values := make([]GetAwrDatabaseSqlReportReportFormatEnum, 0)
- for _, v := range mappingGetAwrDatabaseSqlReportReportFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetAwrDatabaseSqlReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrDatabaseSqlReportReportFormatEnum
-func GetGetAwrDatabaseSqlReportReportFormatEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- }
-}
-
-// GetMappingGetAwrDatabaseSqlReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetAwrDatabaseSqlReportReportFormatEnum(val string) (GetAwrDatabaseSqlReportReportFormatEnum, bool) {
- enum, ok := mappingGetAwrDatabaseSqlReportReportFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_report_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_report_request_response.go
deleted file mode 100644
index 7067610a68c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_awr_report_request_response.go
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetAwrReportRequest wrapper for the GetAwrReport operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetAwrReport.go.html to see an example of how to use GetAwrReportRequest.
-type GetAwrReportRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // AWR source database identifier.
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The format of the AWR report. Default report format is HTML.
- ReportFormat GetAwrReportReportFormatEnum `mandatory:"false" contributesTo:"query" name:"reportFormat" omitEmpty:"true"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // 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"`
-
- // 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 GetAwrReportRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetAwrReportRequest) 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 GetAwrReportRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetAwrReportRequest) 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 GetAwrReportRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingGetAwrReportReportFormatEnum(string(request.ReportFormat)); !ok && request.ReportFormat != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ReportFormat: %s. Supported values are: %s.", request.ReportFormat, strings.Join(GetGetAwrReportReportFormatEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetAwrReportResponse wrapper for the GetAwrReport operation
-type GetAwrReportResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AwrReport instance
- AwrReport `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 GetAwrReportResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetAwrReportResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// GetAwrReportReportFormatEnum Enum with underlying type: string
-type GetAwrReportReportFormatEnum string
-
-// Set of constants representing the allowable values for GetAwrReportReportFormatEnum
-const (
- GetAwrReportReportFormatHtml GetAwrReportReportFormatEnum = "HTML"
- GetAwrReportReportFormatText GetAwrReportReportFormatEnum = "TEXT"
-)
-
-var mappingGetAwrReportReportFormatEnum = map[string]GetAwrReportReportFormatEnum{
- "HTML": GetAwrReportReportFormatHtml,
- "TEXT": GetAwrReportReportFormatText,
-}
-
-var mappingGetAwrReportReportFormatEnumLowerCase = map[string]GetAwrReportReportFormatEnum{
- "html": GetAwrReportReportFormatHtml,
- "text": GetAwrReportReportFormatText,
-}
-
-// GetGetAwrReportReportFormatEnumValues Enumerates the set of values for GetAwrReportReportFormatEnum
-func GetGetAwrReportReportFormatEnumValues() []GetAwrReportReportFormatEnum {
- values := make([]GetAwrReportReportFormatEnum, 0)
- for _, v := range mappingGetAwrReportReportFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetAwrReportReportFormatEnumStringValues Enumerates the set of values in String for GetAwrReportReportFormatEnum
-func GetGetAwrReportReportFormatEnumStringValues() []string {
- return []string{
- "HTML",
- "TEXT",
- }
-}
-
-// GetMappingGetAwrReportReportFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetAwrReportReportFormatEnum(val string) (GetAwrReportReportFormatEnum, bool) {
- enum, ok := mappingGetAwrReportReportFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_database_insight_request_response.go
deleted file mode 100644
index 6bee15f6f65..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_database_insight_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetDatabaseInsightRequest wrapper for the GetDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetDatabaseInsight.go.html to see an example of how to use GetDatabaseInsightRequest.
-type GetDatabaseInsightRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // 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"`
-
- // 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 GetDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetDatabaseInsightRequest) 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 GetDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetDatabaseInsightRequest) 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 GetDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetDatabaseInsightResponse wrapper for the GetDatabaseInsight operation
-type GetDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The DatabaseInsight instance
- DatabaseInsight `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 GetDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_exadata_insight_request_response.go
deleted file mode 100644
index 829f55ee403..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_exadata_insight_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetExadataInsightRequest wrapper for the GetExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetExadataInsight.go.html to see an example of how to use GetExadataInsightRequest.
-type GetExadataInsightRequest struct {
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // 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"`
-
- // 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 GetExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetExadataInsightRequest) 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 GetExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetExadataInsightRequest) 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 GetExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetExadataInsightResponse wrapper for the GetExadataInsight operation
-type GetExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The ExadataInsight instance
- ExadataInsight `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 GetExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_host_insight_request_response.go
deleted file mode 100644
index aedc41811f8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_host_insight_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetHostInsightRequest wrapper for the GetHostInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetHostInsight.go.html to see an example of how to use GetHostInsightRequest.
-type GetHostInsightRequest struct {
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // 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"`
-
- // 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 GetHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetHostInsightRequest) 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 GetHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetHostInsightRequest) 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 GetHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetHostInsightResponse wrapper for the GetHostInsight operation
-type GetHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The HostInsight instance
- HostInsight `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 GetHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_private_endpoint_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_private_endpoint_request_response.go
deleted file mode 100644
index 150cbaf9de7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_private_endpoint_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetOperationsInsightsPrivateEndpointRequest wrapper for the GetOperationsInsightsPrivateEndpoint operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsPrivateEndpoint.go.html to see an example of how to use GetOperationsInsightsPrivateEndpointRequest.
-type GetOperationsInsightsPrivateEndpointRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
- OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
-
- // 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"`
-
- // 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 GetOperationsInsightsPrivateEndpointRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetOperationsInsightsPrivateEndpointRequest) 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 GetOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetOperationsInsightsPrivateEndpointRequest) 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 GetOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetOperationsInsightsPrivateEndpointResponse wrapper for the GetOperationsInsightsPrivateEndpoint operation
-type GetOperationsInsightsPrivateEndpointResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsPrivateEndpoint instance
- OperationsInsightsPrivateEndpoint `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 GetOperationsInsightsPrivateEndpointResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_request_response.go
deleted file mode 100644
index 54aeec0c97a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetOperationsInsightsWarehouseRequest wrapper for the GetOperationsInsightsWarehouse operation
-//
-// # See also
-//
-// 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
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
-
- // 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"`
-
- // 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 GetOperationsInsightsWarehouseRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetOperationsInsightsWarehouseRequest) 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 GetOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetOperationsInsightsWarehouseRequest) 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 GetOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetOperationsInsightsWarehouseResponse wrapper for the GetOperationsInsightsWarehouse operation
-type GetOperationsInsightsWarehouseResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsWarehouse instance
- OperationsInsightsWarehouse `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 GetOperationsInsightsWarehouseResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_user_request_response.go
deleted file mode 100644
index e03225189ad..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_operations_insights_warehouse_user_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetOperationsInsightsWarehouseUserRequest wrapper for the GetOperationsInsightsWarehouseUser operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOperationsInsightsWarehouseUser.go.html to see an example of how to use GetOperationsInsightsWarehouseUserRequest.
-type GetOperationsInsightsWarehouseUserRequest struct {
-
- // Unique Operations Insights Warehouse User identifier
- OperationsInsightsWarehouseUserId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseUserId"`
-
- // 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"`
-
- // 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 GetOperationsInsightsWarehouseUserRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetOperationsInsightsWarehouseUserRequest) 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 GetOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetOperationsInsightsWarehouseUserRequest) 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 GetOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetOperationsInsightsWarehouseUserResponse wrapper for the GetOperationsInsightsWarehouseUser operation
-type GetOperationsInsightsWarehouseUserResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OperationsInsightsWarehouseUser instance
- OperationsInsightsWarehouseUser `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 GetOperationsInsightsWarehouseUserResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_configuration_request_response.go
deleted file mode 100644
index 250207559a6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_configuration_request_response.go
+++ /dev/null
@@ -1,259 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetOpsiConfigurationRequest wrapper for the GetOpsiConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOpsiConfiguration.go.html to see an example of how to use GetOpsiConfigurationRequest.
-type GetOpsiConfigurationRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
- OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
-
- // Optional fields to return as part of OpsiConfiguration object. Unless requested, these fields will not be returned by default.
- OpsiConfigField []GetOpsiConfigurationOpsiConfigFieldEnum `contributesTo:"query" name:"opsiConfigField" omitEmpty:"true" collectionFormat:"multi"`
-
- // Specifies whether only customized configuration items or only non-customized configuration items or both have to be returned.
- // By default only customized configuration items are returned.
- ConfigItemCustomStatus []GetOpsiConfigurationConfigItemCustomStatusEnum `contributesTo:"query" name:"configItemCustomStatus" omitEmpty:"true" collectionFormat:"multi"`
-
- // Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
- ConfigItemsApplicableContext []string `contributesTo:"query" name:"configItemsApplicableContext" collectionFormat:"multi"`
-
- // Specifies the fields to return in a config item summary.
- ConfigItemField []GetOpsiConfigurationConfigItemFieldEnum `contributesTo:"query" name:"configItemField" omitEmpty:"true" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 GetOpsiConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetOpsiConfigurationRequest) 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 GetOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetOpsiConfigurationRequest) 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 GetOpsiConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.OpsiConfigField {
- if _, ok := GetMappingGetOpsiConfigurationOpsiConfigFieldEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OpsiConfigField: %s. Supported values are: %s.", val, strings.Join(GetGetOpsiConfigurationOpsiConfigFieldEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.ConfigItemCustomStatus {
- if _, ok := GetMappingGetOpsiConfigurationConfigItemCustomStatusEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigItemCustomStatus: %s. Supported values are: %s.", val, strings.Join(GetGetOpsiConfigurationConfigItemCustomStatusEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.ConfigItemField {
- if _, ok := GetMappingGetOpsiConfigurationConfigItemFieldEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigItemField: %s. Supported values are: %s.", val, strings.Join(GetGetOpsiConfigurationConfigItemFieldEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetOpsiConfigurationResponse wrapper for the GetOpsiConfiguration operation
-type GetOpsiConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OpsiConfiguration instance
- OpsiConfiguration `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 GetOpsiConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetOpsiConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// GetOpsiConfigurationOpsiConfigFieldEnum Enum with underlying type: string
-type GetOpsiConfigurationOpsiConfigFieldEnum string
-
-// Set of constants representing the allowable values for GetOpsiConfigurationOpsiConfigFieldEnum
-const (
- GetOpsiConfigurationOpsiConfigFieldConfigitems GetOpsiConfigurationOpsiConfigFieldEnum = "configItems"
-)
-
-var mappingGetOpsiConfigurationOpsiConfigFieldEnum = map[string]GetOpsiConfigurationOpsiConfigFieldEnum{
- "configItems": GetOpsiConfigurationOpsiConfigFieldConfigitems,
-}
-
-var mappingGetOpsiConfigurationOpsiConfigFieldEnumLowerCase = map[string]GetOpsiConfigurationOpsiConfigFieldEnum{
- "configitems": GetOpsiConfigurationOpsiConfigFieldConfigitems,
-}
-
-// GetGetOpsiConfigurationOpsiConfigFieldEnumValues Enumerates the set of values for GetOpsiConfigurationOpsiConfigFieldEnum
-func GetGetOpsiConfigurationOpsiConfigFieldEnumValues() []GetOpsiConfigurationOpsiConfigFieldEnum {
- values := make([]GetOpsiConfigurationOpsiConfigFieldEnum, 0)
- for _, v := range mappingGetOpsiConfigurationOpsiConfigFieldEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetOpsiConfigurationOpsiConfigFieldEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationOpsiConfigFieldEnum
-func GetGetOpsiConfigurationOpsiConfigFieldEnumStringValues() []string {
- return []string{
- "configItems",
- }
-}
-
-// GetMappingGetOpsiConfigurationOpsiConfigFieldEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetOpsiConfigurationOpsiConfigFieldEnum(val string) (GetOpsiConfigurationOpsiConfigFieldEnum, bool) {
- enum, ok := mappingGetOpsiConfigurationOpsiConfigFieldEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// GetOpsiConfigurationConfigItemCustomStatusEnum Enum with underlying type: string
-type GetOpsiConfigurationConfigItemCustomStatusEnum string
-
-// Set of constants representing the allowable values for GetOpsiConfigurationConfigItemCustomStatusEnum
-const (
- GetOpsiConfigurationConfigItemCustomStatusCustomized GetOpsiConfigurationConfigItemCustomStatusEnum = "customized"
- GetOpsiConfigurationConfigItemCustomStatusNoncustomized GetOpsiConfigurationConfigItemCustomStatusEnum = "nonCustomized"
-)
-
-var mappingGetOpsiConfigurationConfigItemCustomStatusEnum = map[string]GetOpsiConfigurationConfigItemCustomStatusEnum{
- "customized": GetOpsiConfigurationConfigItemCustomStatusCustomized,
- "nonCustomized": GetOpsiConfigurationConfigItemCustomStatusNoncustomized,
-}
-
-var mappingGetOpsiConfigurationConfigItemCustomStatusEnumLowerCase = map[string]GetOpsiConfigurationConfigItemCustomStatusEnum{
- "customized": GetOpsiConfigurationConfigItemCustomStatusCustomized,
- "noncustomized": GetOpsiConfigurationConfigItemCustomStatusNoncustomized,
-}
-
-// GetGetOpsiConfigurationConfigItemCustomStatusEnumValues Enumerates the set of values for GetOpsiConfigurationConfigItemCustomStatusEnum
-func GetGetOpsiConfigurationConfigItemCustomStatusEnumValues() []GetOpsiConfigurationConfigItemCustomStatusEnum {
- values := make([]GetOpsiConfigurationConfigItemCustomStatusEnum, 0)
- for _, v := range mappingGetOpsiConfigurationConfigItemCustomStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetOpsiConfigurationConfigItemCustomStatusEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationConfigItemCustomStatusEnum
-func GetGetOpsiConfigurationConfigItemCustomStatusEnumStringValues() []string {
- return []string{
- "customized",
- "nonCustomized",
- }
-}
-
-// GetMappingGetOpsiConfigurationConfigItemCustomStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetOpsiConfigurationConfigItemCustomStatusEnum(val string) (GetOpsiConfigurationConfigItemCustomStatusEnum, bool) {
- enum, ok := mappingGetOpsiConfigurationConfigItemCustomStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// GetOpsiConfigurationConfigItemFieldEnum Enum with underlying type: string
-type GetOpsiConfigurationConfigItemFieldEnum string
-
-// Set of constants representing the allowable values for GetOpsiConfigurationConfigItemFieldEnum
-const (
- GetOpsiConfigurationConfigItemFieldName GetOpsiConfigurationConfigItemFieldEnum = "name"
- GetOpsiConfigurationConfigItemFieldValue GetOpsiConfigurationConfigItemFieldEnum = "value"
- GetOpsiConfigurationConfigItemFieldDefaultvalue GetOpsiConfigurationConfigItemFieldEnum = "defaultValue"
- GetOpsiConfigurationConfigItemFieldMetadata GetOpsiConfigurationConfigItemFieldEnum = "metadata"
- GetOpsiConfigurationConfigItemFieldApplicablecontexts GetOpsiConfigurationConfigItemFieldEnum = "applicableContexts"
-)
-
-var mappingGetOpsiConfigurationConfigItemFieldEnum = map[string]GetOpsiConfigurationConfigItemFieldEnum{
- "name": GetOpsiConfigurationConfigItemFieldName,
- "value": GetOpsiConfigurationConfigItemFieldValue,
- "defaultValue": GetOpsiConfigurationConfigItemFieldDefaultvalue,
- "metadata": GetOpsiConfigurationConfigItemFieldMetadata,
- "applicableContexts": GetOpsiConfigurationConfigItemFieldApplicablecontexts,
-}
-
-var mappingGetOpsiConfigurationConfigItemFieldEnumLowerCase = map[string]GetOpsiConfigurationConfigItemFieldEnum{
- "name": GetOpsiConfigurationConfigItemFieldName,
- "value": GetOpsiConfigurationConfigItemFieldValue,
- "defaultvalue": GetOpsiConfigurationConfigItemFieldDefaultvalue,
- "metadata": GetOpsiConfigurationConfigItemFieldMetadata,
- "applicablecontexts": GetOpsiConfigurationConfigItemFieldApplicablecontexts,
-}
-
-// GetGetOpsiConfigurationConfigItemFieldEnumValues Enumerates the set of values for GetOpsiConfigurationConfigItemFieldEnum
-func GetGetOpsiConfigurationConfigItemFieldEnumValues() []GetOpsiConfigurationConfigItemFieldEnum {
- values := make([]GetOpsiConfigurationConfigItemFieldEnum, 0)
- for _, v := range mappingGetOpsiConfigurationConfigItemFieldEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetGetOpsiConfigurationConfigItemFieldEnumStringValues Enumerates the set of values in String for GetOpsiConfigurationConfigItemFieldEnum
-func GetGetOpsiConfigurationConfigItemFieldEnumStringValues() []string {
- return []string{
- "name",
- "value",
- "defaultValue",
- "metadata",
- "applicableContexts",
- }
-}
-
-// GetMappingGetOpsiConfigurationConfigItemFieldEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingGetOpsiConfigurationConfigItemFieldEnum(val string) (GetOpsiConfigurationConfigItemFieldEnum, bool) {
- enum, ok := mappingGetOpsiConfigurationConfigItemFieldEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_data_object_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_data_object_request_response.go
deleted file mode 100644
index e59ab0a7203..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_opsi_data_object_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetOpsiDataObjectRequest wrapper for the GetOpsiDataObject operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetOpsiDataObject.go.html to see an example of how to use GetOpsiDataObjectRequest.
-type GetOpsiDataObjectRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique OPSI data object identifier.
- OpsiDataObjectIdentifier *string `mandatory:"true" contributesTo:"path" name:"opsiDataObjectIdentifier"`
-
- // 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"`
-
- // 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 GetOpsiDataObjectRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetOpsiDataObjectRequest) 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 GetOpsiDataObjectRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetOpsiDataObjectRequest) 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 GetOpsiDataObjectRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetOpsiDataObjectResponse wrapper for the GetOpsiDataObject operation
-type GetOpsiDataObjectResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The OpsiDataObject instance
- OpsiDataObject `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 GetOpsiDataObjectResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetOpsiDataObjectResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_work_request_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_work_request_request_response.go
deleted file mode 100644
index 5ae76b039b3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/get_work_request_request_response.go
+++ /dev/null
@@ -1,97 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// GetWorkRequestRequest wrapper for the GetWorkRequest operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
-type GetWorkRequestRequest struct {
-
- // The ID of the asynchronous request.
- WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
-
- // 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"`
-
- // 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 GetWorkRequestRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request GetWorkRequestRequest) 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 GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request GetWorkRequestRequest) 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 GetWorkRequestRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// GetWorkRequestResponse wrapper for the GetWorkRequest operation
-type GetWorkRequestResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The WorkRequest instance
- WorkRequest `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"`
-
- // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
- RetryAfter *float32 `presentIn:"header" name:"retry-after"`
-}
-
-func (response GetWorkRequestResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response GetWorkRequestResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/historical_data_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/historical_data_item.go
deleted file mode 100644
index 2a932cdb67e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/historical_data_item.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HistoricalDataItem The historical timestamp and the corresponding resource value.
-type HistoricalDataItem struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-}
-
-func (m HistoricalDataItem) 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 HistoricalDataItem) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host.go
deleted file mode 100644
index 05d6e63564e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// HostEnum Enum with underlying type: string
-type HostEnum string
-
-// Set of constants representing the allowable values for HostEnum
-const (
- HostCpu HostEnum = "CPU"
- HostMemory HostEnum = "MEMORY"
-)
-
-var mappingHostEnum = map[string]HostEnum{
- "CPU": HostCpu,
- "MEMORY": HostMemory,
-}
-
-var mappingHostEnumLowerCase = map[string]HostEnum{
- "cpu": HostCpu,
- "memory": HostMemory,
-}
-
-// GetHostEnumValues Enumerates the set of values for HostEnum
-func GetHostEnumValues() []HostEnum {
- values := make([]HostEnum, 0)
- for _, v := range mappingHostEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetHostEnumStringValues Enumerates the set of values in String for HostEnum
-func GetHostEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- }
-}
-
-// GetMappingHostEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingHostEnum(val string) (HostEnum, bool) {
- enum, ok := mappingHostEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_collection.go
index 217a358fe56..8e69d1f3ffc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_collection.go
@@ -64,6 +64,5 @@ func (m *HostConfigurationCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_metric_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_metric_group.go
index 0842154aa9e..2646d14caaf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_metric_group.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_metric_group.go
@@ -96,7 +96,7 @@ func (m *hostconfigurationmetricgroup) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetTimeCollected returns TimeCollected
+// GetTimeCollected returns TimeCollected
func (m hostconfigurationmetricgroup) GetTimeCollected() *common.SDKTime {
return m.TimeCollected
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_summary.go
index 615472bac17..6225fd3e404 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_configuration_summary.go
@@ -174,97 +174,97 @@ func (m *hostconfigurationsummary) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetHostInsightId returns HostInsightId
+// GetHostInsightId returns HostInsightId
func (m hostconfigurationsummary) GetHostInsightId() *string {
return m.HostInsightId
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m hostconfigurationsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetHostName returns HostName
+// GetHostName returns HostName
func (m hostconfigurationsummary) GetHostName() *string {
return m.HostName
}
-//GetPlatformType returns PlatformType
+// GetPlatformType returns PlatformType
func (m hostconfigurationsummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum {
return m.PlatformType
}
-//GetPlatformVersion returns PlatformVersion
+// GetPlatformVersion returns PlatformVersion
func (m hostconfigurationsummary) GetPlatformVersion() *string {
return m.PlatformVersion
}
-//GetPlatformVendor returns PlatformVendor
+// GetPlatformVendor returns PlatformVendor
func (m hostconfigurationsummary) GetPlatformVendor() *string {
return m.PlatformVendor
}
-//GetTotalCpus returns TotalCpus
+// GetTotalCpus returns TotalCpus
func (m hostconfigurationsummary) GetTotalCpus() *int {
return m.TotalCpus
}
-//GetTotalMemoryInGBs returns TotalMemoryInGBs
+// GetTotalMemoryInGBs returns TotalMemoryInGBs
func (m hostconfigurationsummary) GetTotalMemoryInGBs() *float64 {
return m.TotalMemoryInGBs
}
-//GetCpuArchitecture returns CpuArchitecture
+// GetCpuArchitecture returns CpuArchitecture
func (m hostconfigurationsummary) GetCpuArchitecture() *string {
return m.CpuArchitecture
}
-//GetCpuCacheInMBs returns CpuCacheInMBs
+// GetCpuCacheInMBs returns CpuCacheInMBs
func (m hostconfigurationsummary) GetCpuCacheInMBs() *float64 {
return m.CpuCacheInMBs
}
-//GetCpuVendor returns CpuVendor
+// GetCpuVendor returns CpuVendor
func (m hostconfigurationsummary) GetCpuVendor() *string {
return m.CpuVendor
}
-//GetCpuFrequencyInMhz returns CpuFrequencyInMhz
+// GetCpuFrequencyInMhz returns CpuFrequencyInMhz
func (m hostconfigurationsummary) GetCpuFrequencyInMhz() *float64 {
return m.CpuFrequencyInMhz
}
-//GetCpuImplementation returns CpuImplementation
+// GetCpuImplementation returns CpuImplementation
func (m hostconfigurationsummary) GetCpuImplementation() *string {
return m.CpuImplementation
}
-//GetCoresPerSocket returns CoresPerSocket
+// GetCoresPerSocket returns CoresPerSocket
func (m hostconfigurationsummary) GetCoresPerSocket() *int {
return m.CoresPerSocket
}
-//GetTotalSockets returns TotalSockets
+// GetTotalSockets returns TotalSockets
func (m hostconfigurationsummary) GetTotalSockets() *int {
return m.TotalSockets
}
-//GetThreadsPerSocket returns ThreadsPerSocket
+// GetThreadsPerSocket returns ThreadsPerSocket
func (m hostconfigurationsummary) GetThreadsPerSocket() *int {
return m.ThreadsPerSocket
}
-//GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
+// GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
func (m hostconfigurationsummary) GetIsHyperThreadingEnabled() *bool {
return m.IsHyperThreadingEnabled
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m hostconfigurationsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m hostconfigurationsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_hardware_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_hardware_configuration.go
deleted file mode 100644
index 6f184491785..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_hardware_configuration.go
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostCpuHardwareConfiguration CPU Hardware Configuration metric for the host
-type HostCpuHardwareConfiguration struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Total number of CPU Sockets
- TotalSockets *int `mandatory:"false" json:"totalSockets"`
-
- // Name of the CPU vendor
- VendorName *string `mandatory:"false" json:"vendorName"`
-
- // Clock frequency of the processor in megahertz
- FrequencyInMhz *float64 `mandatory:"false" json:"frequencyInMhz"`
-
- // Size of cache memory in megabytes
- CacheInMB *float64 `mandatory:"false" json:"cacheInMB"`
-
- // Model name of processor
- CpuImplementation *string `mandatory:"false" json:"cpuImplementation"`
-
- // CPU model
- Model *string `mandatory:"false" json:"model"`
-
- // Type of processor in the system
- CpuFamily *string `mandatory:"false" json:"cpuFamily"`
-
- // Number of cores per socket
- CoresPerSocket *int `mandatory:"false" json:"coresPerSocket"`
-
- // Number of threads per socket
- ThreadsPerSocket *int `mandatory:"false" json:"threadsPerSocket"`
-
- // Indicates if hyper-threading is enabled or not
- HyperThreadingEnabled *string `mandatory:"false" json:"hyperThreadingEnabled"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostCpuHardwareConfiguration) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostCpuHardwareConfiguration) 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 HostCpuHardwareConfiguration) 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 HostCpuHardwareConfiguration) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostCpuHardwareConfiguration HostCpuHardwareConfiguration
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostCpuHardwareConfiguration
- }{
- "HOST_CPU_HARDWARE_CONFIGURATION",
- (MarshalTypeHostCpuHardwareConfiguration)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_statistics.go
deleted file mode 100644
index 9308bfd6953..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_statistics.go
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostCpuStatistics Contains CPU statistics.
-type HostCpuStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage.
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- Load *SummaryStatistics `mandatory:"false" json:"load"`
-}
-
-//GetUsage returns Usage
-func (m HostCpuStatistics) GetUsage() *float64 {
- return m.Usage
-}
-
-//GetCapacity returns Capacity
-func (m HostCpuStatistics) GetCapacity() *float64 {
- return m.Capacity
-}
-
-//GetUtilizationPercent returns UtilizationPercent
-func (m HostCpuStatistics) GetUtilizationPercent() *float64 {
- return m.UtilizationPercent
-}
-
-//GetUsageChangePercent returns UsageChangePercent
-func (m HostCpuStatistics) GetUsageChangePercent() *float64 {
- return m.UsageChangePercent
-}
-
-func (m HostCpuStatistics) 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 HostCpuStatistics) 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 HostCpuStatistics) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostCpuStatistics HostCpuStatistics
- s := struct {
- DiscriminatorParam string `json:"resourceName"`
- MarshalTypeHostCpuStatistics
- }{
- "HOST_CPU_STATISTICS",
- (MarshalTypeHostCpuStatistics)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_usage.go
deleted file mode 100644
index 50c04bdb6d8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_cpu_usage.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostCpuUsage CPU Usage metric for the host
-type HostCpuUsage struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Percentage of CPU time spent in user mode
- CpuUserModeInPercent *float32 `mandatory:"false" json:"cpuUserModeInPercent"`
-
- // Percentage of CPU time spent in system mode
- CpuSystemModeInPercent *float32 `mandatory:"false" json:"cpuSystemModeInPercent"`
-
- // Amount of CPU Time spent in seconds
- CpuUsageInSec *float64 `mandatory:"false" json:"cpuUsageInSec"`
-
- // Amount of CPU Time spent in percentage
- CpuUtilizationInPercent *float32 `mandatory:"false" json:"cpuUtilizationInPercent"`
-
- // Amount of CPU time stolen in percentage
- CpuStolenInPercent *float32 `mandatory:"false" json:"cpuStolenInPercent"`
-
- // Amount of CPU idle time in percentage
- CpuIdleInPercent *float32 `mandatory:"false" json:"cpuIdleInPercent"`
-
- // Load average in the last 1 minute
- CpuLoad1min *float32 `mandatory:"false" json:"cpuLoad1min"`
-
- // Load average in the last 5 minutes
- CpuLoad5min *float32 `mandatory:"false" json:"cpuLoad5min"`
-
- // Load average in the last 15 minutes
- CpuLoad15min *float32 `mandatory:"false" json:"cpuLoad15min"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostCpuUsage) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostCpuUsage) 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 HostCpuUsage) 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 HostCpuUsage) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostCpuUsage HostCpuUsage
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostCpuUsage
- }{
- "HOST_CPU_USAGE",
- (MarshalTypeHostCpuUsage)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_details.go
deleted file mode 100644
index 1d67ee59107..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_details.go
+++ /dev/null
@@ -1,120 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostDetails Partial information about a host which includes id, name, type.
-type HostDetails struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostDetailsPlatformTypeEnum `mandatory:"true" json:"platformType"`
-
- // The identifier of the agent.
- AgentIdentifier *string `mandatory:"true" json:"agentIdentifier"`
-
- // The user-friendly name for the host. The name does not have to be unique.
- HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
-}
-
-func (m HostDetails) 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 HostDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingHostDetailsPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostDetailsPlatformTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// HostDetailsPlatformTypeEnum Enum with underlying type: string
-type HostDetailsPlatformTypeEnum string
-
-// Set of constants representing the allowable values for HostDetailsPlatformTypeEnum
-const (
- HostDetailsPlatformTypeLinux HostDetailsPlatformTypeEnum = "LINUX"
- HostDetailsPlatformTypeSolaris HostDetailsPlatformTypeEnum = "SOLARIS"
- HostDetailsPlatformTypeSunos HostDetailsPlatformTypeEnum = "SUNOS"
- HostDetailsPlatformTypeZlinux HostDetailsPlatformTypeEnum = "ZLINUX"
- HostDetailsPlatformTypeWindows HostDetailsPlatformTypeEnum = "WINDOWS"
- HostDetailsPlatformTypeAix HostDetailsPlatformTypeEnum = "AIX"
-)
-
-var mappingHostDetailsPlatformTypeEnum = map[string]HostDetailsPlatformTypeEnum{
- "LINUX": HostDetailsPlatformTypeLinux,
- "SOLARIS": HostDetailsPlatformTypeSolaris,
- "SUNOS": HostDetailsPlatformTypeSunos,
- "ZLINUX": HostDetailsPlatformTypeZlinux,
- "WINDOWS": HostDetailsPlatformTypeWindows,
- "AIX": HostDetailsPlatformTypeAix,
-}
-
-var mappingHostDetailsPlatformTypeEnumLowerCase = map[string]HostDetailsPlatformTypeEnum{
- "linux": HostDetailsPlatformTypeLinux,
- "solaris": HostDetailsPlatformTypeSolaris,
- "sunos": HostDetailsPlatformTypeSunos,
- "zlinux": HostDetailsPlatformTypeZlinux,
- "windows": HostDetailsPlatformTypeWindows,
- "aix": HostDetailsPlatformTypeAix,
-}
-
-// GetHostDetailsPlatformTypeEnumValues Enumerates the set of values for HostDetailsPlatformTypeEnum
-func GetHostDetailsPlatformTypeEnumValues() []HostDetailsPlatformTypeEnum {
- values := make([]HostDetailsPlatformTypeEnum, 0)
- for _, v := range mappingHostDetailsPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetHostDetailsPlatformTypeEnumStringValues Enumerates the set of values in String for HostDetailsPlatformTypeEnum
-func GetHostDetailsPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingHostDetailsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingHostDetailsPlatformTypeEnum(val string) (HostDetailsPlatformTypeEnum, bool) {
- enum, ok := mappingHostDetailsPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entities.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entities.go
deleted file mode 100644
index aacae07e549..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entities.go
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostEntities Database entities running on the host
-type HostEntities struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Name of the database entity
- EntityName *string `mandatory:"true" json:"entityName"`
-
- // Type of the database entity
- EntityType *string `mandatory:"true" json:"entityType"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostEntities) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostEntities) 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 HostEntities) 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 HostEntities) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostEntities HostEntities
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostEntities
- }{
- "HOST_ENTITIES",
- (MarshalTypeHostEntities)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entity_source.go
deleted file mode 100644
index c7f36f34686..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_entity_source.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// HostEntitySourceEnum Enum with underlying type: string
-type HostEntitySourceEnum string
-
-// Set of constants representing the allowable values for HostEntitySourceEnum
-const (
- HostEntitySourceMacsManagedExternalHost HostEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST"
- HostEntitySourceEmManagedExternalHost HostEntitySourceEnum = "EM_MANAGED_EXTERNAL_HOST"
- HostEntitySourceMacsManagedCloudHost HostEntitySourceEnum = "MACS_MANAGED_CLOUD_HOST"
- HostEntitySourcePeComanagedHost HostEntitySourceEnum = "PE_COMANAGED_HOST"
-)
-
-var mappingHostEntitySourceEnum = map[string]HostEntitySourceEnum{
- "MACS_MANAGED_EXTERNAL_HOST": HostEntitySourceMacsManagedExternalHost,
- "EM_MANAGED_EXTERNAL_HOST": HostEntitySourceEmManagedExternalHost,
- "MACS_MANAGED_CLOUD_HOST": HostEntitySourceMacsManagedCloudHost,
- "PE_COMANAGED_HOST": HostEntitySourcePeComanagedHost,
-}
-
-var mappingHostEntitySourceEnumLowerCase = map[string]HostEntitySourceEnum{
- "macs_managed_external_host": HostEntitySourceMacsManagedExternalHost,
- "em_managed_external_host": HostEntitySourceEmManagedExternalHost,
- "macs_managed_cloud_host": HostEntitySourceMacsManagedCloudHost,
- "pe_comanaged_host": HostEntitySourcePeComanagedHost,
-}
-
-// GetHostEntitySourceEnumValues Enumerates the set of values for HostEntitySourceEnum
-func GetHostEntitySourceEnumValues() []HostEntitySourceEnum {
- values := make([]HostEntitySourceEnum, 0)
- for _, v := range mappingHostEntitySourceEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetHostEntitySourceEnumStringValues Enumerates the set of values in String for HostEntitySourceEnum
-func GetHostEntitySourceEnumStringValues() []string {
- return []string{
- "MACS_MANAGED_EXTERNAL_HOST",
- "EM_MANAGED_EXTERNAL_HOST",
- "MACS_MANAGED_CLOUD_HOST",
- "PE_COMANAGED_HOST",
- }
-}
-
-// GetMappingHostEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingHostEntitySourceEnum(val string) (HostEntitySourceEnum, bool) {
- enum, ok := mappingHostEntitySourceEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_configuration.go
deleted file mode 100644
index 1b848b28b20..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_configuration.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostFilesystemConfiguration Filesystem Configuration metric for the host.
-type HostFilesystemConfiguration struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Name of filesystem
- FileSystemName *string `mandatory:"true" json:"fileSystemName"`
-
- // Mount points are specialized NTFS filesystem objects
- MountPoint *string `mandatory:"true" json:"mountPoint"`
-
- // Size of filesystem
- FileSystemSizeInGB *float64 `mandatory:"true" json:"fileSystemSizeInGB"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostFilesystemConfiguration) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostFilesystemConfiguration) 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 HostFilesystemConfiguration) 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 HostFilesystemConfiguration) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostFilesystemConfiguration HostFilesystemConfiguration
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostFilesystemConfiguration
- }{
- "HOST_FILESYSTEM_CONFIGURATION",
- (MarshalTypeHostFilesystemConfiguration)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_usage.go
deleted file mode 100644
index 4a4888f3302..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_filesystem_usage.go
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostFilesystemUsage Filesystem Usage metric for the host.
-type HostFilesystemUsage struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Mount points are specialized NTFS filesystem objects
- MountPoint *string `mandatory:"false" json:"mountPoint"`
-
- FileSystemUsageInGB *float64 `mandatory:"false" json:"fileSystemUsageInGB"`
-
- FileSystemAvailInPercent *float64 `mandatory:"false" json:"fileSystemAvailInPercent"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostFilesystemUsage) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostFilesystemUsage) 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 HostFilesystemUsage) 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 HostFilesystemUsage) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostFilesystemUsage HostFilesystemUsage
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostFilesystemUsage
- }{
- "HOST_FILESYSTEM_USAGE",
- (MarshalTypeHostFilesystemUsage)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_hardware_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_hardware_configuration.go
deleted file mode 100644
index d1b7e4075d5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_hardware_configuration.go
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostHardwareConfiguration Hardware Configuration metric for the host
-type HostHardwareConfiguration struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Processor architecture used by the platform
- CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostHardwareConfiguration) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostHardwareConfiguration) 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 HostHardwareConfiguration) 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 HostHardwareConfiguration) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostHardwareConfiguration HostHardwareConfiguration
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostHardwareConfiguration
- }{
- "HOST_HARDWARE_CONFIGURATION",
- (MarshalTypeHostHardwareConfiguration)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_importable_agent_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_importable_agent_entity_summary.go
deleted file mode 100644
index 5dfa5c2bb53..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_importable_agent_entity_summary.go
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostImportableAgentEntitySummary An agent host entity that can be imported into Operations Insights.
-type HostImportableAgentEntitySummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // The Display Name (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm#Display) of the Management Agent
- ManagementAgentDisplayName *string `mandatory:"true" json:"managementAgentDisplayName"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostImportableAgentEntitySummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetManagementAgentId returns ManagementAgentId
-func (m HostImportableAgentEntitySummary) GetManagementAgentId() *string {
- return m.ManagementAgentId
-}
-
-//GetManagementAgentDisplayName returns ManagementAgentDisplayName
-func (m HostImportableAgentEntitySummary) GetManagementAgentDisplayName() *string {
- return m.ManagementAgentDisplayName
-}
-
-func (m HostImportableAgentEntitySummary) 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 HostImportableAgentEntitySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingHostImportableAgentEntitySummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostImportableAgentEntitySummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m HostImportableAgentEntitySummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostImportableAgentEntitySummary HostImportableAgentEntitySummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeHostImportableAgentEntitySummary
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeHostImportableAgentEntitySummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// HostImportableAgentEntitySummaryPlatformTypeEnum Enum with underlying type: string
-type HostImportableAgentEntitySummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for HostImportableAgentEntitySummaryPlatformTypeEnum
-const (
- HostImportableAgentEntitySummaryPlatformTypeLinux HostImportableAgentEntitySummaryPlatformTypeEnum = "LINUX"
- HostImportableAgentEntitySummaryPlatformTypeSolaris HostImportableAgentEntitySummaryPlatformTypeEnum = "SOLARIS"
- HostImportableAgentEntitySummaryPlatformTypeSunos HostImportableAgentEntitySummaryPlatformTypeEnum = "SUNOS"
- HostImportableAgentEntitySummaryPlatformTypeZlinux HostImportableAgentEntitySummaryPlatformTypeEnum = "ZLINUX"
- HostImportableAgentEntitySummaryPlatformTypeWindows HostImportableAgentEntitySummaryPlatformTypeEnum = "WINDOWS"
- HostImportableAgentEntitySummaryPlatformTypeAix HostImportableAgentEntitySummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingHostImportableAgentEntitySummaryPlatformTypeEnum = map[string]HostImportableAgentEntitySummaryPlatformTypeEnum{
- "LINUX": HostImportableAgentEntitySummaryPlatformTypeLinux,
- "SOLARIS": HostImportableAgentEntitySummaryPlatformTypeSolaris,
- "SUNOS": HostImportableAgentEntitySummaryPlatformTypeSunos,
- "ZLINUX": HostImportableAgentEntitySummaryPlatformTypeZlinux,
- "WINDOWS": HostImportableAgentEntitySummaryPlatformTypeWindows,
- "AIX": HostImportableAgentEntitySummaryPlatformTypeAix,
-}
-
-var mappingHostImportableAgentEntitySummaryPlatformTypeEnumLowerCase = map[string]HostImportableAgentEntitySummaryPlatformTypeEnum{
- "linux": HostImportableAgentEntitySummaryPlatformTypeLinux,
- "solaris": HostImportableAgentEntitySummaryPlatformTypeSolaris,
- "sunos": HostImportableAgentEntitySummaryPlatformTypeSunos,
- "zlinux": HostImportableAgentEntitySummaryPlatformTypeZlinux,
- "windows": HostImportableAgentEntitySummaryPlatformTypeWindows,
- "aix": HostImportableAgentEntitySummaryPlatformTypeAix,
-}
-
-// GetHostImportableAgentEntitySummaryPlatformTypeEnumValues Enumerates the set of values for HostImportableAgentEntitySummaryPlatformTypeEnum
-func GetHostImportableAgentEntitySummaryPlatformTypeEnumValues() []HostImportableAgentEntitySummaryPlatformTypeEnum {
- values := make([]HostImportableAgentEntitySummaryPlatformTypeEnum, 0)
- for _, v := range mappingHostImportableAgentEntitySummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetHostImportableAgentEntitySummaryPlatformTypeEnumStringValues Enumerates the set of values in String for HostImportableAgentEntitySummaryPlatformTypeEnum
-func GetHostImportableAgentEntitySummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingHostImportableAgentEntitySummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingHostImportableAgentEntitySummaryPlatformTypeEnum(val string) (HostImportableAgentEntitySummaryPlatformTypeEnum, bool) {
- enum, ok := mappingHostImportableAgentEntitySummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight.go
index 9c4a5a2bf82..9bf5a868de7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight.go
@@ -69,6 +69,12 @@ type HostInsight interface {
type hostinsight struct {
JsonData []byte
+ HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
+ HostType *string `mandatory:"false" json:"hostType"`
+ ProcessorCount *int `mandatory:"false" json:"processorCount"`
+ SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
HostName *string `mandatory:"true" json:"hostName"`
@@ -77,12 +83,6 @@ type hostinsight struct {
Status ResourceStatusEnum `mandatory:"true" json:"status"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
- HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
- HostType *string `mandatory:"false" json:"hostType"`
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
EntitySource string `json:"entitySource"`
}
@@ -147,76 +147,76 @@ func (m *hostinsight) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetId returns Id
+// GetHostDisplayName returns HostDisplayName
+func (m hostinsight) GetHostDisplayName() *string {
+ return m.HostDisplayName
+}
+
+// GetHostType returns HostType
+func (m hostinsight) GetHostType() *string {
+ return m.HostType
+}
+
+// GetProcessorCount returns ProcessorCount
+func (m hostinsight) GetProcessorCount() *int {
+ return m.ProcessorCount
+}
+
+// GetSystemTags returns SystemTags
+func (m hostinsight) GetSystemTags() map[string]map[string]interface{} {
+ return m.SystemTags
+}
+
+// GetTimeUpdated returns TimeUpdated
+func (m hostinsight) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m hostinsight) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m hostinsight) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m hostinsight) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetHostName returns HostName
+// GetHostName returns HostName
func (m hostinsight) GetHostName() *string {
return m.HostName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m hostinsight) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m hostinsight) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m hostinsight) GetStatus() ResourceStatusEnum {
return m.Status
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m hostinsight) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m hostinsight) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetHostDisplayName returns HostDisplayName
-func (m hostinsight) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m hostinsight) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m hostinsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetSystemTags returns SystemTags
-func (m hostinsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m hostinsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m hostinsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m hostinsight) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_resource_statistics_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_resource_statistics_aggregation.go
deleted file mode 100644
index 6531ce00d7f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_resource_statistics_aggregation.go
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostInsightResourceStatisticsAggregation Contains host details and resource statistics.
-type HostInsightResourceStatisticsAggregation struct {
- HostDetails *HostDetails `mandatory:"true" json:"hostDetails"`
-
- CurrentStatistics HostResourceStatistics `mandatory:"true" json:"currentStatistics"`
-}
-
-func (m HostInsightResourceStatisticsAggregation) 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 HostInsightResourceStatisticsAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *HostInsightResourceStatisticsAggregation) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- HostDetails *HostDetails `json:"hostDetails"`
- CurrentStatistics hostresourcestatistics `json:"currentStatistics"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.HostDetails = model.HostDetails
-
- nn, e = model.CurrentStatistics.UnmarshalPolymorphicJSON(model.CurrentStatistics.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CurrentStatistics = nn.(HostResourceStatistics)
- } else {
- m.CurrentStatistics = nil
- }
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary.go
index 6856a85c4b3..1f064ced454 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary.go
@@ -72,9 +72,6 @@ type HostInsightSummary interface {
type hostinsightsummary struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- HostName *string `mandatory:"true" json:"hostName"`
HostDisplayName *string `mandatory:"false" json:"hostDisplayName"`
HostType *string `mandatory:"false" json:"hostType"`
ProcessorCount *int `mandatory:"false" json:"processorCount"`
@@ -87,6 +84,9 @@ type hostinsightsummary struct {
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
+ Id *string `mandatory:"true" json:"id"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ HostName *string `mandatory:"true" json:"hostName"`
EntitySource string `json:"entitySource"`
}
@@ -152,81 +152,81 @@ func (m *hostinsightsummary) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
-func (m hostinsightsummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m hostinsightsummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m hostinsightsummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
+// GetHostDisplayName returns HostDisplayName
func (m hostinsightsummary) GetHostDisplayName() *string {
return m.HostDisplayName
}
-//GetHostType returns HostType
+// GetHostType returns HostType
func (m hostinsightsummary) GetHostType() *string {
return m.HostType
}
-//GetProcessorCount returns ProcessorCount
+// GetProcessorCount returns ProcessorCount
func (m hostinsightsummary) GetProcessorCount() *int {
return m.ProcessorCount
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m hostinsightsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m hostinsightsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m hostinsightsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
+// GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
func (m hostinsightsummary) GetOpsiPrivateEndpointId() *string {
return m.OpsiPrivateEndpointId
}
-//GetStatus returns Status
+// GetStatus returns Status
func (m hostinsightsummary) GetStatus() ResourceStatusEnum {
return m.Status
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m hostinsightsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m hostinsightsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m hostinsightsummary) GetLifecycleState() LifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m hostinsightsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
+// GetId returns Id
+func (m hostinsightsummary) GetId() *string {
+ return m.Id
+}
+
+// GetCompartmentId returns CompartmentId
+func (m hostinsightsummary) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetHostName returns HostName
+func (m hostinsightsummary) GetHostName() *string {
+ return m.HostName
+}
+
func (m hostinsightsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary_collection.go
index 91a47c281c9..1d550c376c7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insight_summary_collection.go
@@ -64,6 +64,5 @@ func (m *HostInsightSummaryCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insights.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insights.go
deleted file mode 100644
index 9dffa354356..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_insights.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostInsights Logical grouping used for Operations Insights host related operations.
-type HostInsights struct {
-
- // Host Insights Object.
- HostInsights *interface{} `mandatory:"false" json:"hostInsights"`
-}
-
-func (m HostInsights) 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 HostInsights) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_instance_map.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_instance_map.go
deleted file mode 100644
index 95784d8b6f2..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_instance_map.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostInstanceMap Object containing hostname and instance name mapping.
-type HostInstanceMap struct {
-
- // The hostname of the database insight resource.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // The instance name of the database insight resource.
- InstanceName *string `mandatory:"true" json:"instanceName"`
-}
-
-func (m HostInstanceMap) 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 HostInstanceMap) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_configuration.go
deleted file mode 100644
index ffb189a2603..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_configuration.go
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostMemoryConfiguration Memory Configuration metric for the host
-type HostMemoryConfiguration struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Page size in kilobytes
- PageSizeInKB *float64 `mandatory:"false" json:"pageSizeInKB"`
-
- // Amount of memory used for page tables in kilobytes
- PageTablesInKB *float64 `mandatory:"false" json:"pageTablesInKB"`
-
- // Amount of total swap space in kilobytes
- SwapTotalInKB *float64 `mandatory:"false" json:"swapTotalInKB"`
-
- // Size of huge pages in kilobytes
- HugePageSizeInKB *float64 `mandatory:"false" json:"hugePageSizeInKB"`
-
- // Total number of huge pages
- HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostMemoryConfiguration) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostMemoryConfiguration) 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 HostMemoryConfiguration) 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 HostMemoryConfiguration) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostMemoryConfiguration HostMemoryConfiguration
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostMemoryConfiguration
- }{
- "HOST_MEMORY_CONFIGURATION",
- (MarshalTypeHostMemoryConfiguration)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_statistics.go
deleted file mode 100644
index 109019ba295..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_statistics.go
+++ /dev/null
@@ -1,103 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostMemoryStatistics Contains memory statistics.
-type HostMemoryStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage.
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- FreeMemory *float64 `mandatory:"false" json:"freeMemory"`
-
- AvailableMemory *float64 `mandatory:"false" json:"availableMemory"`
-
- // Total number of huge pages.
- HugePagesTotal *int `mandatory:"false" json:"hugePagesTotal"`
-
- // Size of huge pages in megabytes.
- HugePageSizeInMB *float64 `mandatory:"false" json:"hugePageSizeInMB"`
-
- // Total number of available huge pages.
- HugePagesFree *int `mandatory:"false" json:"hugePagesFree"`
-
- // Total number of huge pages which are used or reserved.
- HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"`
-
- Load *SummaryStatistics `mandatory:"false" json:"load"`
-}
-
-//GetUsage returns Usage
-func (m HostMemoryStatistics) GetUsage() *float64 {
- return m.Usage
-}
-
-//GetCapacity returns Capacity
-func (m HostMemoryStatistics) GetCapacity() *float64 {
- return m.Capacity
-}
-
-//GetUtilizationPercent returns UtilizationPercent
-func (m HostMemoryStatistics) GetUtilizationPercent() *float64 {
- return m.UtilizationPercent
-}
-
-//GetUsageChangePercent returns UsageChangePercent
-func (m HostMemoryStatistics) GetUsageChangePercent() *float64 {
- return m.UsageChangePercent
-}
-
-func (m HostMemoryStatistics) 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 HostMemoryStatistics) 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 HostMemoryStatistics) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostMemoryStatistics HostMemoryStatistics
- s := struct {
- DiscriminatorParam string `json:"resourceName"`
- MarshalTypeHostMemoryStatistics
- }{
- "HOST_MEMORY_STATISTICS",
- (MarshalTypeHostMemoryStatistics)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_usage.go
deleted file mode 100644
index ca881a5e7b9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_memory_usage.go
+++ /dev/null
@@ -1,104 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostMemoryUsage Memory usage metric for the host
-type HostMemoryUsage struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Amount of physical memory used in gigabytes
- MemoryUsedInGB *float64 `mandatory:"false" json:"memoryUsedInGB"`
-
- // Amount of physical memory used in percentage
- MemoryUtilizationInPercent *float32 `mandatory:"false" json:"memoryUtilizationInPercent"`
-
- // Load on memory in gigabytes
- MemoryLoadInGB *float64 `mandatory:"false" json:"memoryLoadInGB"`
-
- // Amount of usable physical memory in kilobytes
- RealMemoryInKB *float64 `mandatory:"false" json:"realMemoryInKB"`
-
- // Amount of available physical memory in kilobytes
- FreeMemoryInKB *float64 `mandatory:"false" json:"freeMemoryInKB"`
-
- // Memory used excluding buffers and cache in gigabytes
- LogicalMemoryUsedInGB *float64 `mandatory:"false" json:"logicalMemoryUsedInGB"`
-
- // Amount of logical memory used in percentage
- LogicalMemoryUtilizationInPercent *float32 `mandatory:"false" json:"logicalMemoryUtilizationInPercent"`
-
- // Amount of avaiable virtual memory in kilobytes
- FreeLogicalMemoryInKB *float64 `mandatory:"false" json:"freeLogicalMemoryInKB"`
-
- // Number of major page faults
- MajorPageFaults *int `mandatory:"false" json:"majorPageFaults"`
-
- // Amount of available swap space in kilobytes
- SwapFreeInKB *float64 `mandatory:"false" json:"swapFreeInKB"`
-
- // Amount of memory used for anon huge pages in kilobytes
- AnonHugePagesInKB *float64 `mandatory:"false" json:"anonHugePagesInKB"`
-
- // Number of available huge pages
- HugePagesFree *int `mandatory:"false" json:"hugePagesFree"`
-
- // Number of reserved huge pages
- HugePagesReserved *int `mandatory:"false" json:"hugePagesReserved"`
-
- // Number of surplus huge pages
- HugePagesSurplus *int `mandatory:"false" json:"hugePagesSurplus"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostMemoryUsage) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostMemoryUsage) 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 HostMemoryUsage) 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 HostMemoryUsage) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostMemoryUsage HostMemoryUsage
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostMemoryUsage
- }{
- "HOST_MEMORY_USAGE",
- (MarshalTypeHostMemoryUsage)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_activity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_activity_summary.go
deleted file mode 100644
index eaa4430a9ad..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_activity_summary.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostNetworkActivitySummary Network Activity Summary metric for the host
-type HostNetworkActivitySummary struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Name of the network interface
- InterfaceName *string `mandatory:"false" json:"interfaceName"`
-
- // All network interfaces read rate in Mbps
- AllNetworkReadInMbps *float64 `mandatory:"false" json:"allNetworkReadInMbps"`
-
- // All network interfaces write rate in Mbps
- AllNetworkWriteInMbps *float64 `mandatory:"false" json:"allNetworkWriteInMbps"`
-
- // All network interfaces IO rate in Mbps
- AllNetworkIoInMbps *float64 `mandatory:"false" json:"allNetworkIoInMbps"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostNetworkActivitySummary) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostNetworkActivitySummary) 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 HostNetworkActivitySummary) 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 HostNetworkActivitySummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostNetworkActivitySummary HostNetworkActivitySummary
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostNetworkActivitySummary
- }{
- "HOST_NETWORK_ACTIVITY_SUMMARY",
- (MarshalTypeHostNetworkActivitySummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_configuration.go
deleted file mode 100644
index 2cf46bd9be0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_configuration.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostNetworkConfiguration Network Configuration metric for the host
-type HostNetworkConfiguration struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Name of the network interface
- InterfaceName *string `mandatory:"true" json:"interfaceName"`
-
- // IP address (IPv4 or IPv6) of the network interface
- IpAddress *string `mandatory:"true" json:"ipAddress"`
-
- // MAC address of the network interface. MAC address is a 12-digit hexadecimal number separated by colons or dashes or dots. Following formats are accepted: MM:MM:MM:SS:SS:SS, MM-MM-MM-SS-SS-SS, MM.MM.MM.SS.SS.SS, MMM:MMM:SSS:SSS, MMM-MMM-SSS-SSS, MMM.MMM.SSS.SSS, MMMM:MMSS:SSSS, MMMM-MMSS-SSSS, MMMM.MMSS.SSSS
- MacAddress *string `mandatory:"false" json:"macAddress"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostNetworkConfiguration) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostNetworkConfiguration) 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 HostNetworkConfiguration) 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 HostNetworkConfiguration) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostNetworkConfiguration HostNetworkConfiguration
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostNetworkConfiguration
- }{
- "HOST_NETWORK_CONFIGURATION",
- (MarshalTypeHostNetworkConfiguration)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_statistics.go
deleted file mode 100644
index 952793d3a21..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_network_statistics.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostNetworkStatistics Contains network statistics.
-type HostNetworkStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage.
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- NetworkReadInMBs *float64 `mandatory:"false" json:"networkReadInMBs"`
-
- NetworkWriteInMBs *float64 `mandatory:"false" json:"networkWriteInMBs"`
-}
-
-//GetUsage returns Usage
-func (m HostNetworkStatistics) GetUsage() *float64 {
- return m.Usage
-}
-
-//GetCapacity returns Capacity
-func (m HostNetworkStatistics) GetCapacity() *float64 {
- return m.Capacity
-}
-
-//GetUtilizationPercent returns UtilizationPercent
-func (m HostNetworkStatistics) GetUtilizationPercent() *float64 {
- return m.UtilizationPercent
-}
-
-//GetUsageChangePercent returns UsageChangePercent
-func (m HostNetworkStatistics) GetUsageChangePercent() *float64 {
- return m.UsageChangePercent
-}
-
-func (m HostNetworkStatistics) 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 HostNetworkStatistics) 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 HostNetworkStatistics) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostNetworkStatistics HostNetworkStatistics
- s := struct {
- DiscriminatorParam string `json:"resourceName"`
- MarshalTypeHostNetworkStatistics
- }{
- "HOST_NETWORK_STATISTICS",
- (MarshalTypeHostNetworkStatistics)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_performance_metric_group.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_performance_metric_group.go
index 7d7efc11fb6..c0d71aa0b60 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_performance_metric_group.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_performance_metric_group.go
@@ -84,7 +84,7 @@ func (m *hostperformancemetricgroup) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetTimeCollected returns TimeCollected
+// GetTimeCollected returns TimeCollected
func (m hostperformancemetricgroup) GetTimeCollected() *common.SDKTime {
return m.TimeCollected
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_product.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_product.go
deleted file mode 100644
index 438244ff264..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_product.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostProduct Product metric for the host
-type HostProduct struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Vendor of the product
- Vendor *string `mandatory:"false" json:"vendor"`
-
- // Name of the product
- Name *string `mandatory:"false" json:"name"`
-
- // Version of the product
- Version *string `mandatory:"false" json:"version"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostProduct) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostProduct) 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 HostProduct) 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 HostProduct) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostProduct HostProduct
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostProduct
- }{
- "HOST_PRODUCT",
- (MarshalTypeHostProduct)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_allocation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_allocation.go
deleted file mode 100644
index e02330cf689..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_allocation.go
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostResourceAllocation Resource Allocation metric for the host
-type HostResourceAllocation struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Total number of CPUs available
- TotalCpus *int `mandatory:"false" json:"totalCpus"`
-
- // Total amount of usable physical memory in gibabytes
- TotalMemoryInGB *float64 `mandatory:"false" json:"totalMemoryInGB"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostResourceAllocation) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostResourceAllocation) 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 HostResourceAllocation) 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 HostResourceAllocation) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostResourceAllocation HostResourceAllocation
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostResourceAllocation
- }{
- "HOST_RESOURCE_ALLOCATION",
- (MarshalTypeHostResourceAllocation)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_capacity_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_capacity_trend_aggregation.go
deleted file mode 100644
index 3850e57254c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_capacity_trend_aggregation.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostResourceCapacityTrendAggregation Host Resource Capacity samples
-type HostResourceCapacityTrendAggregation struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-}
-
-func (m HostResourceCapacityTrendAggregation) 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 HostResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_statistics.go
index d800b84aed4..8c4e3a2b6a5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_statistics.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_resource_statistics.go
@@ -94,22 +94,22 @@ func (m *hostresourcestatistics) UnmarshalPolymorphicJSON(data []byte) (interfac
}
}
-//GetUsage returns Usage
+// GetUsage returns Usage
func (m hostresourcestatistics) GetUsage() *float64 {
return m.Usage
}
-//GetCapacity returns Capacity
+// GetCapacity returns Capacity
func (m hostresourcestatistics) GetCapacity() *float64 {
return m.Capacity
}
-//GetUtilizationPercent returns UtilizationPercent
+// GetUtilizationPercent returns UtilizationPercent
func (m hostresourcestatistics) GetUtilizationPercent() *float64 {
return m.UtilizationPercent
}
-//GetUsageChangePercent returns UsageChangePercent
+// GetUsageChangePercent returns UsageChangePercent
func (m hostresourcestatistics) GetUsageChangePercent() *float64 {
return m.UsageChangePercent
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_storage_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_storage_statistics.go
deleted file mode 100644
index 26bc93e6d75..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_storage_statistics.go
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostStorageStatistics Contains storage statistics.
-type HostStorageStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage.
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- FilesystemAvailableInPercent *float64 `mandatory:"false" json:"filesystemAvailableInPercent"`
-}
-
-//GetUsage returns Usage
-func (m HostStorageStatistics) GetUsage() *float64 {
- return m.Usage
-}
-
-//GetCapacity returns Capacity
-func (m HostStorageStatistics) GetCapacity() *float64 {
- return m.Capacity
-}
-
-//GetUtilizationPercent returns UtilizationPercent
-func (m HostStorageStatistics) GetUtilizationPercent() *float64 {
- return m.UtilizationPercent
-}
-
-//GetUsageChangePercent returns UsageChangePercent
-func (m HostStorageStatistics) GetUsageChangePercent() *float64 {
- return m.UsageChangePercent
-}
-
-func (m HostStorageStatistics) 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 HostStorageStatistics) 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 HostStorageStatistics) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostStorageStatistics HostStorageStatistics
- s := struct {
- DiscriminatorParam string `json:"resourceName"`
- MarshalTypeHostStorageStatistics
- }{
- "HOST_STORAGE_STATISTICS",
- (MarshalTypeHostStorageStatistics)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_top_processes.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_top_processes.go
deleted file mode 100644
index 7dbcbf967e8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/host_top_processes.go
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// HostTopProcesses Top Processes metric for the host
-type HostTopProcesses struct {
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // process id
- Pid *float32 `mandatory:"false" json:"pid"`
-
- // User that started the process
- UserName *string `mandatory:"false" json:"userName"`
-
- // Memory utilization percentage
- MemoryUtilizationPercent *float64 `mandatory:"false" json:"memoryUtilizationPercent"`
-
- // CPU utilization percentage
- CpuUtilizationPercent *float64 `mandatory:"false" json:"cpuUtilizationPercent"`
-
- // CPU usage in seconds
- CpuUsageInSeconds *float64 `mandatory:"false" json:"cpuUsageInSeconds"`
-
- // Command line executed for the process
- Command *string `mandatory:"false" json:"command"`
-
- // Virtual memory in megabytes
- VirtualMemoryInMBs *float64 `mandatory:"false" json:"virtualMemoryInMBs"`
-
- // Physical memory in megabytes
- PhysicalMemoryInMBs *float64 `mandatory:"false" json:"physicalMemoryInMBs"`
-
- // Process Start Time
- // Example: `"2020-03-31T00:00:00.000Z"`
- StartTime *common.SDKTime `mandatory:"false" json:"startTime"`
-
- // Number of processes running at the time of collection
- TotalProcesses *float32 `mandatory:"false" json:"totalProcesses"`
-}
-
-//GetTimeCollected returns TimeCollected
-func (m HostTopProcesses) GetTimeCollected() *common.SDKTime {
- return m.TimeCollected
-}
-
-func (m HostTopProcesses) 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 HostTopProcesses) 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 HostTopProcesses) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeHostTopProcesses HostTopProcesses
- s := struct {
- DiscriminatorParam string `json:"metricName"`
- MarshalTypeHostTopProcesses
- }{
- "HOST_TOP_PROCESSES",
- (MarshalTypeHostTopProcesses)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_collection.go
deleted file mode 100644
index 254f9fbadda..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_collection.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostedEntityCollection Returns a list of hosted entities for the specific host.
-type HostedEntityCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of hosted entities details.
- Items []HostedEntitySummary `mandatory:"true" json:"items"`
-}
-
-func (m HostedEntityCollection) 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 HostedEntityCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_summary.go
deleted file mode 100644
index c084f91711d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/hosted_entity_summary.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// HostedEntitySummary Information about a hosted entity which includes identifier, name, and type.
-type HostedEntitySummary struct {
-
- // The identifier of the entity.
- EntityIdentifier *string `mandatory:"true" json:"entityIdentifier"`
-
- // The entity name.
- EntityName *string `mandatory:"true" json:"entityName"`
-
- // The entity type.
- EntityType *string `mandatory:"true" json:"entityType"`
-}
-
-func (m HostedEntitySummary) 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 HostedEntitySummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_source.go
deleted file mode 100644
index c47fef120e0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_source.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ImportableAgentEntitySourceEnum Enum with underlying type: string
-type ImportableAgentEntitySourceEnum string
-
-// Set of constants representing the allowable values for ImportableAgentEntitySourceEnum
-const (
- ImportableAgentEntitySourceMacsManagedExternalHost ImportableAgentEntitySourceEnum = "MACS_MANAGED_EXTERNAL_HOST"
- ImportableAgentEntitySourceMacsManagedCloudHost ImportableAgentEntitySourceEnum = "MACS_MANAGED_CLOUD_HOST"
-)
-
-var mappingImportableAgentEntitySourceEnum = map[string]ImportableAgentEntitySourceEnum{
- "MACS_MANAGED_EXTERNAL_HOST": ImportableAgentEntitySourceMacsManagedExternalHost,
- "MACS_MANAGED_CLOUD_HOST": ImportableAgentEntitySourceMacsManagedCloudHost,
-}
-
-var mappingImportableAgentEntitySourceEnumLowerCase = map[string]ImportableAgentEntitySourceEnum{
- "macs_managed_external_host": ImportableAgentEntitySourceMacsManagedExternalHost,
- "macs_managed_cloud_host": ImportableAgentEntitySourceMacsManagedCloudHost,
-}
-
-// GetImportableAgentEntitySourceEnumValues Enumerates the set of values for ImportableAgentEntitySourceEnum
-func GetImportableAgentEntitySourceEnumValues() []ImportableAgentEntitySourceEnum {
- values := make([]ImportableAgentEntitySourceEnum, 0)
- for _, v := range mappingImportableAgentEntitySourceEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetImportableAgentEntitySourceEnumStringValues Enumerates the set of values in String for ImportableAgentEntitySourceEnum
-func GetImportableAgentEntitySourceEnumStringValues() []string {
- return []string{
- "MACS_MANAGED_EXTERNAL_HOST",
- "MACS_MANAGED_CLOUD_HOST",
- }
-}
-
-// GetMappingImportableAgentEntitySourceEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingImportableAgentEntitySourceEnum(val string) (ImportableAgentEntitySourceEnum, bool) {
- enum, ok := mappingImportableAgentEntitySourceEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary.go
index 15aedf576d3..7916b6ce3b9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary.go
@@ -72,12 +72,12 @@ func (m *importableagententitysummary) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetManagementAgentId returns ManagementAgentId
+// GetManagementAgentId returns ManagementAgentId
func (m importableagententitysummary) GetManagementAgentId() *string {
return m.ManagementAgentId
}
-//GetManagementAgentDisplayName returns ManagementAgentDisplayName
+// GetManagementAgentDisplayName returns ManagementAgentDisplayName
func (m importableagententitysummary) GetManagementAgentDisplayName() *string {
return m.ManagementAgentDisplayName
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary_collection.go
index cd6d17dffdf..08210e1f94b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_agent_entity_summary_collection.go
@@ -64,6 +64,5 @@ func (m *ImportableAgentEntitySummaryCollection) UnmarshalJSON(data []byte) (e e
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary.go
index e95adeab088..4d8e12e9e0a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary.go
@@ -77,17 +77,17 @@ func (m *importablecomputeentitysummary) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetComputeId returns ComputeId
+// GetComputeId returns ComputeId
func (m importablecomputeentitysummary) GetComputeId() *string {
return m.ComputeId
}
-//GetComputeDisplayName returns ComputeDisplayName
+// GetComputeDisplayName returns ComputeDisplayName
func (m importablecomputeentitysummary) GetComputeDisplayName() *string {
return m.ComputeDisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m importablecomputeentitysummary) GetCompartmentId() *string {
return m.CompartmentId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary_collection.go
index f45d2126026..77daa00cb35 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_compute_entity_summary_collection.go
@@ -64,6 +64,5 @@ func (m *ImportableComputeEntitySummaryCollection) UnmarshalJSON(data []byte) (e
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity.go
deleted file mode 100644
index 8724efa1743..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ImportableEnterpriseManagerEntity An Enterprise Manager entity that can be imported into Operations Insights.
-type ImportableEnterpriseManagerEntity struct {
-
- // Enterprise Manager Unique Identifier
- EnterpriseManagerIdentifier *string `mandatory:"true" json:"enterpriseManagerIdentifier"`
-
- // Enterprise Manager Entity Name
- EnterpriseManagerEntityName *string `mandatory:"true" json:"enterpriseManagerEntityName"`
-
- // Enterprise Manager Entity Type
- EnterpriseManagerEntityType *string `mandatory:"true" json:"enterpriseManagerEntityType"`
-
- // Enterprise Manager Entity Unique Identifier
- EnterpriseManagerEntityIdentifier *string `mandatory:"true" json:"enterpriseManagerEntityIdentifier"`
-
- // Operations Insights internal representation of the resource type.
- OpsiEntityType *string `mandatory:"false" json:"opsiEntityType"`
-}
-
-func (m ImportableEnterpriseManagerEntity) 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 ImportableEnterpriseManagerEntity) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity_collection.go
deleted file mode 100644
index 7574dea4e45..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/importable_enterprise_manager_entity_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ImportableEnterpriseManagerEntityCollection Collection of importable Enterprise Manager entity objects.
-type ImportableEnterpriseManagerEntityCollection struct {
-
- // Array of importable Enterprise Manager entity objects.
- Items []ImportableEnterpriseManagerEntity `mandatory:"true" json:"items"`
-}
-
-func (m ImportableEnterpriseManagerEntityCollection) 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 ImportableEnterpriseManagerEntityCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_request_response.go
deleted file mode 100644
index 25deb688ebe..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_request_response.go
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestAddmReportsRequest wrapper for the IngestAddmReports operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestAddmReports.go.html to see an example of how to use IngestAddmReportsRequest.
-type IngestAddmReportsRequest struct {
-
- // Collection of addm reports for a particular database.
- IngestAddmReportsDetails `contributesTo:"body"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestAddmReportsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestAddmReportsRequest) 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 IngestAddmReportsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestAddmReportsRequest) 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 IngestAddmReportsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestAddmReportsResponse wrapper for the IngestAddmReports operation
-type IngestAddmReportsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestAddmReportsResponseDetails instance
- IngestAddmReportsResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestAddmReportsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestAddmReportsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_response_details.go
deleted file mode 100644
index b0ae84800f4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_addm_reports_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestAddmReportsResponseDetails The response object returned from IngestAddmReports operation.
-type IngestAddmReportsResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestAddmReportsResponseDetails) 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 IngestAddmReportsResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_details.go
index 75ea7195547..cdd23815356 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_details.go
@@ -64,6 +64,5 @@ func (m *IngestDatabaseConfigurationDetails) UnmarshalJSON(data []byte) (e error
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_request_response.go
deleted file mode 100644
index 40e01525667..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_request_response.go
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestDatabaseConfigurationRequest wrapper for the IngestDatabaseConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestDatabaseConfiguration.go.html to see an example of how to use IngestDatabaseConfigurationRequest.
-type IngestDatabaseConfigurationRequest struct {
-
- // Payload for one or more database configuration metrics for a particular database.
- IngestDatabaseConfigurationDetails `contributesTo:"body"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestDatabaseConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestDatabaseConfigurationRequest) 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 IngestDatabaseConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestDatabaseConfigurationRequest) 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 IngestDatabaseConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestDatabaseConfigurationResponse wrapper for the IngestDatabaseConfiguration operation
-type IngestDatabaseConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestDatabaseConfigurationResponseDetails instance
- IngestDatabaseConfigurationResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestDatabaseConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestDatabaseConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_response_details.go
deleted file mode 100644
index 67f5b266072..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_database_configuration_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestDatabaseConfigurationResponseDetails The response object returned from IngestDatabaseConfiguration operation.
-type IngestDatabaseConfigurationResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestDatabaseConfigurationResponseDetails) 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 IngestDatabaseConfigurationResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_details.go
index 0261eca6160..711698e2d06 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_details.go
@@ -64,6 +64,5 @@ func (m *IngestHostConfigurationDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_request_response.go
deleted file mode 100644
index 85a6a38aa21..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_request_response.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestHostConfigurationRequest wrapper for the IngestHostConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostConfiguration.go.html to see an example of how to use IngestHostConfigurationRequest.
-type IngestHostConfigurationRequest struct {
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Payload for one or more host configuration metrics for a particular host.
- IngestHostConfigurationDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestHostConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestHostConfigurationRequest) 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 IngestHostConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestHostConfigurationRequest) 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 IngestHostConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestHostConfigurationResponse wrapper for the IngestHostConfiguration operation
-type IngestHostConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestHostConfigurationResponseDetails instance
- IngestHostConfigurationResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestHostConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestHostConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_response_details.go
deleted file mode 100644
index 5e32c8ba97f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_configuration_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestHostConfigurationResponseDetails The response object returned from IngestHostConfiguration operation.
-type IngestHostConfigurationResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestHostConfigurationResponseDetails) 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 IngestHostConfigurationResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_details.go
index fb442efd085..8865c6b66c3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_details.go
@@ -64,6 +64,5 @@ func (m *IngestHostMetricsDetails) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_request_response.go
deleted file mode 100644
index e08b623eb95..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_request_response.go
+++ /dev/null
@@ -1,109 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestHostMetricsRequest wrapper for the IngestHostMetrics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestHostMetrics.go.html to see an example of how to use IngestHostMetricsRequest.
-type IngestHostMetricsRequest struct {
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Payload for one or more host performance metrics for a particular host.
- IngestHostMetricsDetails `contributesTo:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestHostMetricsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestHostMetricsRequest) 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 IngestHostMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestHostMetricsRequest) 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 IngestHostMetricsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestHostMetricsResponse wrapper for the IngestHostMetrics operation
-type IngestHostMetricsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestHostMetricsResponseDetails instance
- IngestHostMetricsResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestHostMetricsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestHostMetricsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_response_details.go
deleted file mode 100644
index fba65169dec..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_host_metrics_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestHostMetricsResponseDetails The response object returned from IngestHostMetrics operation.
-type IngestHostMetricsResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestHostMetricsResponseDetails) 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 IngestHostMetricsResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_details.go
deleted file mode 100644
index 3530bd40d95..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlBucketDetails Collection of SQL Bucket Metric Entries
-type IngestSqlBucketDetails struct {
-
- // List of SQL Bucket Metric Entries.
- Items []SqlBucket `mandatory:"false" json:"items"`
-}
-
-func (m IngestSqlBucketDetails) 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 IngestSqlBucketDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_request_response.go
deleted file mode 100644
index 755a37fad27..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_bucket_request_response.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestSqlBucketRequest wrapper for the IngestSqlBucket operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlBucket.go.html to see an example of how to use IngestSqlBucketRequest.
-type IngestSqlBucketRequest struct {
-
- // Collection of SQL bucket objects for a particular database.
- IngestSqlBucketDetails `contributesTo:"body"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestSqlBucketRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestSqlBucketRequest) 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 IngestSqlBucketRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestSqlBucketRequest) 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 IngestSqlBucketRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestSqlBucketResponse wrapper for the IngestSqlBucket operation
-type IngestSqlBucketResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestSqlBucketResponseDetails instance
- IngestSqlBucketResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestSqlBucketResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestSqlBucketResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_details.go
deleted file mode 100644
index 6f5a8fd2d21..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlPlanLinesDetails Collection of SQL Plan Line Entries
-type IngestSqlPlanLinesDetails struct {
-
- // List of SQL Plan Line Entries.
- Items []SqlPlanLine `mandatory:"false" json:"items"`
-}
-
-func (m IngestSqlPlanLinesDetails) 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 IngestSqlPlanLinesDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_request_response.go
deleted file mode 100644
index 2f3ee672f0d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_request_response.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestSqlPlanLinesRequest wrapper for the IngestSqlPlanLines operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlPlanLines.go.html to see an example of how to use IngestSqlPlanLinesRequest.
-type IngestSqlPlanLinesRequest struct {
-
- // Collection of SQL plan line objects for a particular database.
- IngestSqlPlanLinesDetails `contributesTo:"body"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestSqlPlanLinesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestSqlPlanLinesRequest) 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 IngestSqlPlanLinesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestSqlPlanLinesRequest) 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 IngestSqlPlanLinesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestSqlPlanLinesResponse wrapper for the IngestSqlPlanLines operation
-type IngestSqlPlanLinesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestSqlPlanLinesResponseDetails instance
- IngestSqlPlanLinesResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestSqlPlanLinesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestSqlPlanLinesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_response_details.go
deleted file mode 100644
index 59cc48a9c4c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_plan_lines_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlPlanLinesResponseDetails The response object returned from IngestSqlPlanLines operation.
-type IngestSqlPlanLinesResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestSqlPlanLinesResponseDetails) 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 IngestSqlPlanLinesResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_details.go
deleted file mode 100644
index 4bf31bc0a96..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlStatsDetails Collection of SQL Stats Metric Entries
-type IngestSqlStatsDetails struct {
-
- // List of SQL Stats Metric Entries.
- Items []SqlStats `mandatory:"false" json:"items"`
-}
-
-func (m IngestSqlStatsDetails) 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 IngestSqlStatsDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_request_response.go
deleted file mode 100644
index fd90ddc9ed5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_request_response.go
+++ /dev/null
@@ -1,112 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestSqlStatsRequest wrapper for the IngestSqlStats operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlStats.go.html to see an example of how to use IngestSqlStatsRequest.
-type IngestSqlStatsRequest struct {
-
- // Collection of SQL stats objects for a particular database.
- IngestSqlStatsDetails `contributesTo:"body"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestSqlStatsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestSqlStatsRequest) 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 IngestSqlStatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestSqlStatsRequest) 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 IngestSqlStatsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestSqlStatsResponse wrapper for the IngestSqlStats operation
-type IngestSqlStatsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestSqlStatsResponseDetails instance
- IngestSqlStatsResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestSqlStatsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestSqlStatsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_response_details.go
deleted file mode 100644
index 95c85429e53..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_stats_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlStatsResponseDetails The response object returned from IngestSqlStats operation.
-type IngestSqlStatsResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestSqlStatsResponseDetails) 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 IngestSqlStatsResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_details.go
deleted file mode 100644
index 8bec7066a97..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlTextDetails Collection of SQL Text Entries
-type IngestSqlTextDetails struct {
-
- // List of SQL Text Entries.
- Items []SqlText `mandatory:"false" json:"items"`
-}
-
-func (m IngestSqlTextDetails) 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 IngestSqlTextDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_request_response.go
deleted file mode 100644
index ae205c2f215..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_request_response.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// IngestSqlTextRequest wrapper for the IngestSqlText operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/IngestSqlText.go.html to see an example of how to use IngestSqlTextRequest.
-type IngestSqlTextRequest struct {
-
- // Collection of SQL text objects for a particular database.
- IngestSqlTextDetails `contributesTo:"body"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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"`
-
- // A token that uniquely identifies a request that can be retried in case of a timeout or
- // server error without risk of executing the same action again. Retry tokens expire after 24
- // hours.
- // *Note:* Retry tokens can be invalidated before the 24 hour time limit due to conflicting
- // operations, such as a resource being deleted or purged from the system.
- OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`
-
- // 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 IngestSqlTextRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request IngestSqlTextRequest) 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 IngestSqlTextRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request IngestSqlTextRequest) 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 IngestSqlTextRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// IngestSqlTextResponse wrapper for the IngestSqlText operation
-type IngestSqlTextResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The IngestSqlTextResponseDetails instance
- IngestSqlTextResponseDetails `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 optimistic concurrency control. See `if-match`.
- Etag *string `presentIn:"header" name:"etag"`
-}
-
-func (response IngestSqlTextResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response IngestSqlTextResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_response_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_response_details.go
deleted file mode 100644
index 2d333e87d8e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ingest_sql_text_response_details.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// IngestSqlTextResponseDetails The response object returned from IngestSqlTextDetails operation.
-type IngestSqlTextResponseDetails struct {
-
- // Success message returned as a result of the upload.
- Message *string `mandatory:"true" json:"message"`
-}
-
-func (m IngestSqlTextResponseDetails) 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 IngestSqlTextResponseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/instance_metrics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/instance_metrics.go
deleted file mode 100644
index 3db36ebad3a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/instance_metrics.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// InstanceMetrics Object containing instance metrics.
-type InstanceMetrics struct {
-
- // The hostname of the database insight resource.
- HostName *string `mandatory:"false" json:"hostName"`
-
- // The instance name of the database insight resource.
- InstanceName *string `mandatory:"false" json:"instanceName"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"false" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"false" json:"capacity"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-
- // Resource utilization in percentage
- UtilizationPercent *float64 `mandatory:"false" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"false" json:"usageChangePercent"`
-}
-
-func (m InstanceMetrics) 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 InstanceMetrics) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/lifecycle_state.go
deleted file mode 100644
index 8896a6e7763..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/lifecycle_state.go
+++ /dev/null
@@ -1,78 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// LifecycleStateEnum Enum with underlying type: string
-type LifecycleStateEnum string
-
-// Set of constants representing the allowable values for LifecycleStateEnum
-const (
- LifecycleStateCreating LifecycleStateEnum = "CREATING"
- LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
- LifecycleStateActive LifecycleStateEnum = "ACTIVE"
- LifecycleStateDeleting LifecycleStateEnum = "DELETING"
- LifecycleStateDeleted LifecycleStateEnum = "DELETED"
- LifecycleStateFailed LifecycleStateEnum = "FAILED"
- LifecycleStateNeedsAttention LifecycleStateEnum = "NEEDS_ATTENTION"
-)
-
-var mappingLifecycleStateEnum = map[string]LifecycleStateEnum{
- "CREATING": LifecycleStateCreating,
- "UPDATING": LifecycleStateUpdating,
- "ACTIVE": LifecycleStateActive,
- "DELETING": LifecycleStateDeleting,
- "DELETED": LifecycleStateDeleted,
- "FAILED": LifecycleStateFailed,
- "NEEDS_ATTENTION": LifecycleStateNeedsAttention,
-}
-
-var mappingLifecycleStateEnumLowerCase = map[string]LifecycleStateEnum{
- "creating": LifecycleStateCreating,
- "updating": LifecycleStateUpdating,
- "active": LifecycleStateActive,
- "deleting": LifecycleStateDeleting,
- "deleted": LifecycleStateDeleted,
- "failed": LifecycleStateFailed,
- "needs_attention": LifecycleStateNeedsAttention,
-}
-
-// GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
-func GetLifecycleStateEnumValues() []LifecycleStateEnum {
- values := make([]LifecycleStateEnum, 0)
- for _, v := range mappingLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
-func GetLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- "NEEDS_ATTENTION",
- }
-}
-
-// GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool) {
- enum, ok := mappingLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_finding_categories_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_finding_categories_request_response.go
deleted file mode 100644
index 2193ab01af6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_finding_categories_request_response.go
+++ /dev/null
@@ -1,234 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbFindingCategoriesRequest wrapper for the ListAddmDbFindingCategories operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbFindingCategories.go.html to see an example of how to use ListAddmDbFindingCategoriesRequest.
-type ListAddmDbFindingCategoriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbFindingCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the finding categories
- SortBy ListAddmDbFindingCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbFindingCategoriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbFindingCategoriesRequest) 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 ListAddmDbFindingCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbFindingCategoriesRequest) 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 ListAddmDbFindingCategoriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbFindingCategoriesSortOrderEnum(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(GetListAddmDbFindingCategoriesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbFindingCategoriesSortByEnum(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(GetListAddmDbFindingCategoriesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbFindingCategoriesResponse wrapper for the ListAddmDbFindingCategories operation
-type ListAddmDbFindingCategoriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbFindingCategoryCollection instances
- AddmDbFindingCategoryCollection `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 ListAddmDbFindingCategoriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbFindingCategoriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbFindingCategoriesSortOrderEnum Enum with underlying type: string
-type ListAddmDbFindingCategoriesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbFindingCategoriesSortOrderEnum
-const (
- ListAddmDbFindingCategoriesSortOrderAsc ListAddmDbFindingCategoriesSortOrderEnum = "ASC"
- ListAddmDbFindingCategoriesSortOrderDesc ListAddmDbFindingCategoriesSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbFindingCategoriesSortOrderEnum = map[string]ListAddmDbFindingCategoriesSortOrderEnum{
- "ASC": ListAddmDbFindingCategoriesSortOrderAsc,
- "DESC": ListAddmDbFindingCategoriesSortOrderDesc,
-}
-
-var mappingListAddmDbFindingCategoriesSortOrderEnumLowerCase = map[string]ListAddmDbFindingCategoriesSortOrderEnum{
- "asc": ListAddmDbFindingCategoriesSortOrderAsc,
- "desc": ListAddmDbFindingCategoriesSortOrderDesc,
-}
-
-// GetListAddmDbFindingCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbFindingCategoriesSortOrderEnum
-func GetListAddmDbFindingCategoriesSortOrderEnumValues() []ListAddmDbFindingCategoriesSortOrderEnum {
- values := make([]ListAddmDbFindingCategoriesSortOrderEnum, 0)
- for _, v := range mappingListAddmDbFindingCategoriesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbFindingCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbFindingCategoriesSortOrderEnum
-func GetListAddmDbFindingCategoriesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbFindingCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbFindingCategoriesSortOrderEnum(val string) (ListAddmDbFindingCategoriesSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbFindingCategoriesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbFindingCategoriesSortByEnum Enum with underlying type: string
-type ListAddmDbFindingCategoriesSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbFindingCategoriesSortByEnum
-const (
- ListAddmDbFindingCategoriesSortByName ListAddmDbFindingCategoriesSortByEnum = "name"
-)
-
-var mappingListAddmDbFindingCategoriesSortByEnum = map[string]ListAddmDbFindingCategoriesSortByEnum{
- "name": ListAddmDbFindingCategoriesSortByName,
-}
-
-var mappingListAddmDbFindingCategoriesSortByEnumLowerCase = map[string]ListAddmDbFindingCategoriesSortByEnum{
- "name": ListAddmDbFindingCategoriesSortByName,
-}
-
-// GetListAddmDbFindingCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbFindingCategoriesSortByEnum
-func GetListAddmDbFindingCategoriesSortByEnumValues() []ListAddmDbFindingCategoriesSortByEnum {
- values := make([]ListAddmDbFindingCategoriesSortByEnum, 0)
- for _, v := range mappingListAddmDbFindingCategoriesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbFindingCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbFindingCategoriesSortByEnum
-func GetListAddmDbFindingCategoriesSortByEnumStringValues() []string {
- return []string{
- "name",
- }
-}
-
-// GetMappingListAddmDbFindingCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbFindingCategoriesSortByEnum(val string) (ListAddmDbFindingCategoriesSortByEnum, bool) {
- enum, ok := mappingListAddmDbFindingCategoriesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_findings_time_series_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_findings_time_series_request_response.go
deleted file mode 100644
index 4526e0d0c60..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_findings_time_series_request_response.go
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbFindingsTimeSeriesRequest wrapper for the ListAddmDbFindingsTimeSeries operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbFindingsTimeSeries.go.html to see an example of how to use ListAddmDbFindingsTimeSeriesRequest.
-type ListAddmDbFindingsTimeSeriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional value filter to match the finding category exactly.
- CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbFindingsTimeSeriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the ADDM finding time series summary data
- SortBy ListAddmDbFindingsTimeSeriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbFindingsTimeSeriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbFindingsTimeSeriesRequest) 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 ListAddmDbFindingsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbFindingsTimeSeriesRequest) 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 ListAddmDbFindingsTimeSeriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbFindingsTimeSeriesSortOrderEnum(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(GetListAddmDbFindingsTimeSeriesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbFindingsTimeSeriesSortByEnum(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(GetListAddmDbFindingsTimeSeriesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbFindingsTimeSeriesResponse wrapper for the ListAddmDbFindingsTimeSeries operation
-type ListAddmDbFindingsTimeSeriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbFindingsTimeSeriesCollection instances
- AddmDbFindingsTimeSeriesCollection `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 ListAddmDbFindingsTimeSeriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbFindingsTimeSeriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbFindingsTimeSeriesSortOrderEnum Enum with underlying type: string
-type ListAddmDbFindingsTimeSeriesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbFindingsTimeSeriesSortOrderEnum
-const (
- ListAddmDbFindingsTimeSeriesSortOrderAsc ListAddmDbFindingsTimeSeriesSortOrderEnum = "ASC"
- ListAddmDbFindingsTimeSeriesSortOrderDesc ListAddmDbFindingsTimeSeriesSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbFindingsTimeSeriesSortOrderEnum = map[string]ListAddmDbFindingsTimeSeriesSortOrderEnum{
- "ASC": ListAddmDbFindingsTimeSeriesSortOrderAsc,
- "DESC": ListAddmDbFindingsTimeSeriesSortOrderDesc,
-}
-
-var mappingListAddmDbFindingsTimeSeriesSortOrderEnumLowerCase = map[string]ListAddmDbFindingsTimeSeriesSortOrderEnum{
- "asc": ListAddmDbFindingsTimeSeriesSortOrderAsc,
- "desc": ListAddmDbFindingsTimeSeriesSortOrderDesc,
-}
-
-// GetListAddmDbFindingsTimeSeriesSortOrderEnumValues Enumerates the set of values for ListAddmDbFindingsTimeSeriesSortOrderEnum
-func GetListAddmDbFindingsTimeSeriesSortOrderEnumValues() []ListAddmDbFindingsTimeSeriesSortOrderEnum {
- values := make([]ListAddmDbFindingsTimeSeriesSortOrderEnum, 0)
- for _, v := range mappingListAddmDbFindingsTimeSeriesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbFindingsTimeSeriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbFindingsTimeSeriesSortOrderEnum
-func GetListAddmDbFindingsTimeSeriesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbFindingsTimeSeriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbFindingsTimeSeriesSortOrderEnum(val string) (ListAddmDbFindingsTimeSeriesSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbFindingsTimeSeriesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbFindingsTimeSeriesSortByEnum Enum with underlying type: string
-type ListAddmDbFindingsTimeSeriesSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbFindingsTimeSeriesSortByEnum
-const (
- ListAddmDbFindingsTimeSeriesSortByTimestamp ListAddmDbFindingsTimeSeriesSortByEnum = "timestamp"
-)
-
-var mappingListAddmDbFindingsTimeSeriesSortByEnum = map[string]ListAddmDbFindingsTimeSeriesSortByEnum{
- "timestamp": ListAddmDbFindingsTimeSeriesSortByTimestamp,
-}
-
-var mappingListAddmDbFindingsTimeSeriesSortByEnumLowerCase = map[string]ListAddmDbFindingsTimeSeriesSortByEnum{
- "timestamp": ListAddmDbFindingsTimeSeriesSortByTimestamp,
-}
-
-// GetListAddmDbFindingsTimeSeriesSortByEnumValues Enumerates the set of values for ListAddmDbFindingsTimeSeriesSortByEnum
-func GetListAddmDbFindingsTimeSeriesSortByEnumValues() []ListAddmDbFindingsTimeSeriesSortByEnum {
- values := make([]ListAddmDbFindingsTimeSeriesSortByEnum, 0)
- for _, v := range mappingListAddmDbFindingsTimeSeriesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbFindingsTimeSeriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbFindingsTimeSeriesSortByEnum
-func GetListAddmDbFindingsTimeSeriesSortByEnumStringValues() []string {
- return []string{
- "timestamp",
- }
-}
-
-// GetMappingListAddmDbFindingsTimeSeriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbFindingsTimeSeriesSortByEnum(val string) (ListAddmDbFindingsTimeSeriesSortByEnum, bool) {
- enum, ok := mappingListAddmDbFindingsTimeSeriesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_parameter_categories_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_parameter_categories_request_response.go
deleted file mode 100644
index 4e2b3949aba..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_parameter_categories_request_response.go
+++ /dev/null
@@ -1,234 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbParameterCategoriesRequest wrapper for the ListAddmDbParameterCategories operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbParameterCategories.go.html to see an example of how to use ListAddmDbParameterCategoriesRequest.
-type ListAddmDbParameterCategoriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbParameterCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the database parameter categories
- SortBy ListAddmDbParameterCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbParameterCategoriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbParameterCategoriesRequest) 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 ListAddmDbParameterCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbParameterCategoriesRequest) 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 ListAddmDbParameterCategoriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbParameterCategoriesSortOrderEnum(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(GetListAddmDbParameterCategoriesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbParameterCategoriesSortByEnum(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(GetListAddmDbParameterCategoriesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbParameterCategoriesResponse wrapper for the ListAddmDbParameterCategories operation
-type ListAddmDbParameterCategoriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbParameterCategoryCollection instances
- AddmDbParameterCategoryCollection `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 ListAddmDbParameterCategoriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbParameterCategoriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbParameterCategoriesSortOrderEnum Enum with underlying type: string
-type ListAddmDbParameterCategoriesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbParameterCategoriesSortOrderEnum
-const (
- ListAddmDbParameterCategoriesSortOrderAsc ListAddmDbParameterCategoriesSortOrderEnum = "ASC"
- ListAddmDbParameterCategoriesSortOrderDesc ListAddmDbParameterCategoriesSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbParameterCategoriesSortOrderEnum = map[string]ListAddmDbParameterCategoriesSortOrderEnum{
- "ASC": ListAddmDbParameterCategoriesSortOrderAsc,
- "DESC": ListAddmDbParameterCategoriesSortOrderDesc,
-}
-
-var mappingListAddmDbParameterCategoriesSortOrderEnumLowerCase = map[string]ListAddmDbParameterCategoriesSortOrderEnum{
- "asc": ListAddmDbParameterCategoriesSortOrderAsc,
- "desc": ListAddmDbParameterCategoriesSortOrderDesc,
-}
-
-// GetListAddmDbParameterCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbParameterCategoriesSortOrderEnum
-func GetListAddmDbParameterCategoriesSortOrderEnumValues() []ListAddmDbParameterCategoriesSortOrderEnum {
- values := make([]ListAddmDbParameterCategoriesSortOrderEnum, 0)
- for _, v := range mappingListAddmDbParameterCategoriesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbParameterCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbParameterCategoriesSortOrderEnum
-func GetListAddmDbParameterCategoriesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbParameterCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbParameterCategoriesSortOrderEnum(val string) (ListAddmDbParameterCategoriesSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbParameterCategoriesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbParameterCategoriesSortByEnum Enum with underlying type: string
-type ListAddmDbParameterCategoriesSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbParameterCategoriesSortByEnum
-const (
- ListAddmDbParameterCategoriesSortByName ListAddmDbParameterCategoriesSortByEnum = "name"
-)
-
-var mappingListAddmDbParameterCategoriesSortByEnum = map[string]ListAddmDbParameterCategoriesSortByEnum{
- "name": ListAddmDbParameterCategoriesSortByName,
-}
-
-var mappingListAddmDbParameterCategoriesSortByEnumLowerCase = map[string]ListAddmDbParameterCategoriesSortByEnum{
- "name": ListAddmDbParameterCategoriesSortByName,
-}
-
-// GetListAddmDbParameterCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbParameterCategoriesSortByEnum
-func GetListAddmDbParameterCategoriesSortByEnumValues() []ListAddmDbParameterCategoriesSortByEnum {
- values := make([]ListAddmDbParameterCategoriesSortByEnum, 0)
- for _, v := range mappingListAddmDbParameterCategoriesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbParameterCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbParameterCategoriesSortByEnum
-func GetListAddmDbParameterCategoriesSortByEnumStringValues() []string {
- return []string{
- "name",
- }
-}
-
-// GetMappingListAddmDbParameterCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbParameterCategoriesSortByEnum(val string) (ListAddmDbParameterCategoriesSortByEnum, bool) {
- enum, ok := mappingListAddmDbParameterCategoriesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendation_categories_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendation_categories_request_response.go
deleted file mode 100644
index 0485b5810fc..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendation_categories_request_response.go
+++ /dev/null
@@ -1,234 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbRecommendationCategoriesRequest wrapper for the ListAddmDbRecommendationCategories operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbRecommendationCategories.go.html to see an example of how to use ListAddmDbRecommendationCategoriesRequest.
-type ListAddmDbRecommendationCategoriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbRecommendationCategoriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the recommendation categories
- SortBy ListAddmDbRecommendationCategoriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbRecommendationCategoriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbRecommendationCategoriesRequest) 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 ListAddmDbRecommendationCategoriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbRecommendationCategoriesRequest) 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 ListAddmDbRecommendationCategoriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbRecommendationCategoriesSortOrderEnum(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(GetListAddmDbRecommendationCategoriesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbRecommendationCategoriesSortByEnum(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(GetListAddmDbRecommendationCategoriesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbRecommendationCategoriesResponse wrapper for the ListAddmDbRecommendationCategories operation
-type ListAddmDbRecommendationCategoriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbRecommendationCategoryCollection instances
- AddmDbRecommendationCategoryCollection `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 ListAddmDbRecommendationCategoriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbRecommendationCategoriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbRecommendationCategoriesSortOrderEnum Enum with underlying type: string
-type ListAddmDbRecommendationCategoriesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbRecommendationCategoriesSortOrderEnum
-const (
- ListAddmDbRecommendationCategoriesSortOrderAsc ListAddmDbRecommendationCategoriesSortOrderEnum = "ASC"
- ListAddmDbRecommendationCategoriesSortOrderDesc ListAddmDbRecommendationCategoriesSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbRecommendationCategoriesSortOrderEnum = map[string]ListAddmDbRecommendationCategoriesSortOrderEnum{
- "ASC": ListAddmDbRecommendationCategoriesSortOrderAsc,
- "DESC": ListAddmDbRecommendationCategoriesSortOrderDesc,
-}
-
-var mappingListAddmDbRecommendationCategoriesSortOrderEnumLowerCase = map[string]ListAddmDbRecommendationCategoriesSortOrderEnum{
- "asc": ListAddmDbRecommendationCategoriesSortOrderAsc,
- "desc": ListAddmDbRecommendationCategoriesSortOrderDesc,
-}
-
-// GetListAddmDbRecommendationCategoriesSortOrderEnumValues Enumerates the set of values for ListAddmDbRecommendationCategoriesSortOrderEnum
-func GetListAddmDbRecommendationCategoriesSortOrderEnumValues() []ListAddmDbRecommendationCategoriesSortOrderEnum {
- values := make([]ListAddmDbRecommendationCategoriesSortOrderEnum, 0)
- for _, v := range mappingListAddmDbRecommendationCategoriesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbRecommendationCategoriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationCategoriesSortOrderEnum
-func GetListAddmDbRecommendationCategoriesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbRecommendationCategoriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbRecommendationCategoriesSortOrderEnum(val string) (ListAddmDbRecommendationCategoriesSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbRecommendationCategoriesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbRecommendationCategoriesSortByEnum Enum with underlying type: string
-type ListAddmDbRecommendationCategoriesSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbRecommendationCategoriesSortByEnum
-const (
- ListAddmDbRecommendationCategoriesSortByName ListAddmDbRecommendationCategoriesSortByEnum = "name"
-)
-
-var mappingListAddmDbRecommendationCategoriesSortByEnum = map[string]ListAddmDbRecommendationCategoriesSortByEnum{
- "name": ListAddmDbRecommendationCategoriesSortByName,
-}
-
-var mappingListAddmDbRecommendationCategoriesSortByEnumLowerCase = map[string]ListAddmDbRecommendationCategoriesSortByEnum{
- "name": ListAddmDbRecommendationCategoriesSortByName,
-}
-
-// GetListAddmDbRecommendationCategoriesSortByEnumValues Enumerates the set of values for ListAddmDbRecommendationCategoriesSortByEnum
-func GetListAddmDbRecommendationCategoriesSortByEnumValues() []ListAddmDbRecommendationCategoriesSortByEnum {
- values := make([]ListAddmDbRecommendationCategoriesSortByEnum, 0)
- for _, v := range mappingListAddmDbRecommendationCategoriesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbRecommendationCategoriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationCategoriesSortByEnum
-func GetListAddmDbRecommendationCategoriesSortByEnumStringValues() []string {
- return []string{
- "name",
- }
-}
-
-// GetMappingListAddmDbRecommendationCategoriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbRecommendationCategoriesSortByEnum(val string) (ListAddmDbRecommendationCategoriesSortByEnum, bool) {
- enum, ok := mappingListAddmDbRecommendationCategoriesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendations_time_series_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendations_time_series_request_response.go
deleted file mode 100644
index 01a87194a3e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_db_recommendations_time_series_request_response.go
+++ /dev/null
@@ -1,269 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbRecommendationsTimeSeriesRequest wrapper for the ListAddmDbRecommendationsTimeSeries operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbRecommendationsTimeSeries.go.html to see an example of how to use ListAddmDbRecommendationsTimeSeriesRequest.
-type ListAddmDbRecommendationsTimeSeriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional value filter to match the finding category exactly.
- CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
-
- // Optional filter to return only resources whose sql id matches the value given. Only considered when
- // categoryName is SQL_TUNING.
- SqlIdentifier *string `mandatory:"false" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional filter to return only resources whose owner or name contains the substring given. The
- // match is not case sensitive. Only considered when categoryName is SCHEMA_OBJECT.
- OwnerOrNameContains *string `mandatory:"false" contributesTo:"query" name:"ownerOrNameContains"`
-
- // Optional filter to return only resources whose name contains the substring given. The
- // match is not case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
- NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`
-
- // Optional filter to return only resources whose name exactly matches the substring given. The
- // match is case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbRecommendationsTimeSeriesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the ADDM recommendation time series summary data
- SortBy ListAddmDbRecommendationsTimeSeriesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbRecommendationsTimeSeriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbRecommendationsTimeSeriesRequest) 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 ListAddmDbRecommendationsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbRecommendationsTimeSeriesRequest) 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 ListAddmDbRecommendationsTimeSeriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbRecommendationsTimeSeriesSortOrderEnum(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(GetListAddmDbRecommendationsTimeSeriesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbRecommendationsTimeSeriesSortByEnum(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(GetListAddmDbRecommendationsTimeSeriesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbRecommendationsTimeSeriesResponse wrapper for the ListAddmDbRecommendationsTimeSeries operation
-type ListAddmDbRecommendationsTimeSeriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbRecommendationsTimeSeriesCollection instances
- AddmDbRecommendationsTimeSeriesCollection `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 ListAddmDbRecommendationsTimeSeriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbRecommendationsTimeSeriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbRecommendationsTimeSeriesSortOrderEnum Enum with underlying type: string
-type ListAddmDbRecommendationsTimeSeriesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
-const (
- ListAddmDbRecommendationsTimeSeriesSortOrderAsc ListAddmDbRecommendationsTimeSeriesSortOrderEnum = "ASC"
- ListAddmDbRecommendationsTimeSeriesSortOrderDesc ListAddmDbRecommendationsTimeSeriesSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbRecommendationsTimeSeriesSortOrderEnum = map[string]ListAddmDbRecommendationsTimeSeriesSortOrderEnum{
- "ASC": ListAddmDbRecommendationsTimeSeriesSortOrderAsc,
- "DESC": ListAddmDbRecommendationsTimeSeriesSortOrderDesc,
-}
-
-var mappingListAddmDbRecommendationsTimeSeriesSortOrderEnumLowerCase = map[string]ListAddmDbRecommendationsTimeSeriesSortOrderEnum{
- "asc": ListAddmDbRecommendationsTimeSeriesSortOrderAsc,
- "desc": ListAddmDbRecommendationsTimeSeriesSortOrderDesc,
-}
-
-// GetListAddmDbRecommendationsTimeSeriesSortOrderEnumValues Enumerates the set of values for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
-func GetListAddmDbRecommendationsTimeSeriesSortOrderEnumValues() []ListAddmDbRecommendationsTimeSeriesSortOrderEnum {
- values := make([]ListAddmDbRecommendationsTimeSeriesSortOrderEnum, 0)
- for _, v := range mappingListAddmDbRecommendationsTimeSeriesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbRecommendationsTimeSeriesSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationsTimeSeriesSortOrderEnum
-func GetListAddmDbRecommendationsTimeSeriesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbRecommendationsTimeSeriesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbRecommendationsTimeSeriesSortOrderEnum(val string) (ListAddmDbRecommendationsTimeSeriesSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbRecommendationsTimeSeriesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbRecommendationsTimeSeriesSortByEnum Enum with underlying type: string
-type ListAddmDbRecommendationsTimeSeriesSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbRecommendationsTimeSeriesSortByEnum
-const (
- ListAddmDbRecommendationsTimeSeriesSortByTimestamp ListAddmDbRecommendationsTimeSeriesSortByEnum = "timestamp"
-)
-
-var mappingListAddmDbRecommendationsTimeSeriesSortByEnum = map[string]ListAddmDbRecommendationsTimeSeriesSortByEnum{
- "timestamp": ListAddmDbRecommendationsTimeSeriesSortByTimestamp,
-}
-
-var mappingListAddmDbRecommendationsTimeSeriesSortByEnumLowerCase = map[string]ListAddmDbRecommendationsTimeSeriesSortByEnum{
- "timestamp": ListAddmDbRecommendationsTimeSeriesSortByTimestamp,
-}
-
-// GetListAddmDbRecommendationsTimeSeriesSortByEnumValues Enumerates the set of values for ListAddmDbRecommendationsTimeSeriesSortByEnum
-func GetListAddmDbRecommendationsTimeSeriesSortByEnumValues() []ListAddmDbRecommendationsTimeSeriesSortByEnum {
- values := make([]ListAddmDbRecommendationsTimeSeriesSortByEnum, 0)
- for _, v := range mappingListAddmDbRecommendationsTimeSeriesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbRecommendationsTimeSeriesSortByEnumStringValues Enumerates the set of values in String for ListAddmDbRecommendationsTimeSeriesSortByEnum
-func GetListAddmDbRecommendationsTimeSeriesSortByEnumStringValues() []string {
- return []string{
- "timestamp",
- }
-}
-
-// GetMappingListAddmDbRecommendationsTimeSeriesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbRecommendationsTimeSeriesSortByEnum(val string) (ListAddmDbRecommendationsTimeSeriesSortByEnum, bool) {
- enum, ok := mappingListAddmDbRecommendationsTimeSeriesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_dbs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_dbs_request_response.go
deleted file mode 100644
index 11710fa8e08..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_addm_dbs_request_response.go
+++ /dev/null
@@ -1,251 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAddmDbsRequest wrapper for the ListAddmDbs operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAddmDbs.go.html to see an example of how to use ListAddmDbsRequest.
-type ListAddmDbsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAddmDbsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting ADDM database data
- SortBy ListAddmDbsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListAddmDbsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAddmDbsRequest) 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 ListAddmDbsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAddmDbsRequest) 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 ListAddmDbsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAddmDbsSortOrderEnum(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(GetListAddmDbsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAddmDbsSortByEnum(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(GetListAddmDbsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAddmDbsResponse wrapper for the ListAddmDbs operation
-type ListAddmDbsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbCollection instances
- AddmDbCollection `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 ListAddmDbsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAddmDbsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAddmDbsSortOrderEnum Enum with underlying type: string
-type ListAddmDbsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAddmDbsSortOrderEnum
-const (
- ListAddmDbsSortOrderAsc ListAddmDbsSortOrderEnum = "ASC"
- ListAddmDbsSortOrderDesc ListAddmDbsSortOrderEnum = "DESC"
-)
-
-var mappingListAddmDbsSortOrderEnum = map[string]ListAddmDbsSortOrderEnum{
- "ASC": ListAddmDbsSortOrderAsc,
- "DESC": ListAddmDbsSortOrderDesc,
-}
-
-var mappingListAddmDbsSortOrderEnumLowerCase = map[string]ListAddmDbsSortOrderEnum{
- "asc": ListAddmDbsSortOrderAsc,
- "desc": ListAddmDbsSortOrderDesc,
-}
-
-// GetListAddmDbsSortOrderEnumValues Enumerates the set of values for ListAddmDbsSortOrderEnum
-func GetListAddmDbsSortOrderEnumValues() []ListAddmDbsSortOrderEnum {
- values := make([]ListAddmDbsSortOrderEnum, 0)
- for _, v := range mappingListAddmDbsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbsSortOrderEnumStringValues Enumerates the set of values in String for ListAddmDbsSortOrderEnum
-func GetListAddmDbsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAddmDbsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbsSortOrderEnum(val string) (ListAddmDbsSortOrderEnum, bool) {
- enum, ok := mappingListAddmDbsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAddmDbsSortByEnum Enum with underlying type: string
-type ListAddmDbsSortByEnum string
-
-// Set of constants representing the allowable values for ListAddmDbsSortByEnum
-const (
- ListAddmDbsSortByDatabasename ListAddmDbsSortByEnum = "databaseName"
- ListAddmDbsSortByNumberoffindings ListAddmDbsSortByEnum = "numberOfFindings"
-)
-
-var mappingListAddmDbsSortByEnum = map[string]ListAddmDbsSortByEnum{
- "databaseName": ListAddmDbsSortByDatabasename,
- "numberOfFindings": ListAddmDbsSortByNumberoffindings,
-}
-
-var mappingListAddmDbsSortByEnumLowerCase = map[string]ListAddmDbsSortByEnum{
- "databasename": ListAddmDbsSortByDatabasename,
- "numberoffindings": ListAddmDbsSortByNumberoffindings,
-}
-
-// GetListAddmDbsSortByEnumValues Enumerates the set of values for ListAddmDbsSortByEnum
-func GetListAddmDbsSortByEnumValues() []ListAddmDbsSortByEnum {
- values := make([]ListAddmDbsSortByEnum, 0)
- for _, v := range mappingListAddmDbsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAddmDbsSortByEnumStringValues Enumerates the set of values in String for ListAddmDbsSortByEnum
-func GetListAddmDbsSortByEnumStringValues() []string {
- return []string{
- "databaseName",
- "numberOfFindings",
- }
-}
-
-// GetMappingListAddmDbsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAddmDbsSortByEnum(val string) (ListAddmDbsSortByEnum, bool) {
- enum, ok := mappingListAddmDbsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_database_snapshots_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_database_snapshots_request_response.go
deleted file mode 100644
index f0232446be4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_database_snapshots_request_response.go
+++ /dev/null
@@ -1,224 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAwrDatabaseSnapshotsRequest wrapper for the ListAwrDatabaseSnapshots operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrDatabaseSnapshots.go.html to see an example of how to use ListAwrDatabaseSnapshotsRequest.
-type ListAwrDatabaseSnapshotsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR snapshot summary data.
- SortBy ListAwrDatabaseSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAwrDatabaseSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 ListAwrDatabaseSnapshotsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAwrDatabaseSnapshotsRequest) 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 ListAwrDatabaseSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAwrDatabaseSnapshotsRequest) 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 ListAwrDatabaseSnapshotsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAwrDatabaseSnapshotsSortByEnum(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(GetListAwrDatabaseSnapshotsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAwrDatabaseSnapshotsSortOrderEnum(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(GetListAwrDatabaseSnapshotsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAwrDatabaseSnapshotsResponse wrapper for the ListAwrDatabaseSnapshots operation
-type ListAwrDatabaseSnapshotsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseSnapshotCollection instances
- AwrDatabaseSnapshotCollection `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 ListAwrDatabaseSnapshotsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAwrDatabaseSnapshotsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAwrDatabaseSnapshotsSortByEnum Enum with underlying type: string
-type ListAwrDatabaseSnapshotsSortByEnum string
-
-// Set of constants representing the allowable values for ListAwrDatabaseSnapshotsSortByEnum
-const (
- ListAwrDatabaseSnapshotsSortByTimeBegin ListAwrDatabaseSnapshotsSortByEnum = "TIME_BEGIN"
- ListAwrDatabaseSnapshotsSortBySnapshotId ListAwrDatabaseSnapshotsSortByEnum = "SNAPSHOT_ID"
-)
-
-var mappingListAwrDatabaseSnapshotsSortByEnum = map[string]ListAwrDatabaseSnapshotsSortByEnum{
- "TIME_BEGIN": ListAwrDatabaseSnapshotsSortByTimeBegin,
- "SNAPSHOT_ID": ListAwrDatabaseSnapshotsSortBySnapshotId,
-}
-
-var mappingListAwrDatabaseSnapshotsSortByEnumLowerCase = map[string]ListAwrDatabaseSnapshotsSortByEnum{
- "time_begin": ListAwrDatabaseSnapshotsSortByTimeBegin,
- "snapshot_id": ListAwrDatabaseSnapshotsSortBySnapshotId,
-}
-
-// GetListAwrDatabaseSnapshotsSortByEnumValues Enumerates the set of values for ListAwrDatabaseSnapshotsSortByEnum
-func GetListAwrDatabaseSnapshotsSortByEnumValues() []ListAwrDatabaseSnapshotsSortByEnum {
- values := make([]ListAwrDatabaseSnapshotsSortByEnum, 0)
- for _, v := range mappingListAwrDatabaseSnapshotsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrDatabaseSnapshotsSortByEnumStringValues Enumerates the set of values in String for ListAwrDatabaseSnapshotsSortByEnum
-func GetListAwrDatabaseSnapshotsSortByEnumStringValues() []string {
- return []string{
- "TIME_BEGIN",
- "SNAPSHOT_ID",
- }
-}
-
-// GetMappingListAwrDatabaseSnapshotsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrDatabaseSnapshotsSortByEnum(val string) (ListAwrDatabaseSnapshotsSortByEnum, bool) {
- enum, ok := mappingListAwrDatabaseSnapshotsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAwrDatabaseSnapshotsSortOrderEnum Enum with underlying type: string
-type ListAwrDatabaseSnapshotsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAwrDatabaseSnapshotsSortOrderEnum
-const (
- ListAwrDatabaseSnapshotsSortOrderAsc ListAwrDatabaseSnapshotsSortOrderEnum = "ASC"
- ListAwrDatabaseSnapshotsSortOrderDesc ListAwrDatabaseSnapshotsSortOrderEnum = "DESC"
-)
-
-var mappingListAwrDatabaseSnapshotsSortOrderEnum = map[string]ListAwrDatabaseSnapshotsSortOrderEnum{
- "ASC": ListAwrDatabaseSnapshotsSortOrderAsc,
- "DESC": ListAwrDatabaseSnapshotsSortOrderDesc,
-}
-
-var mappingListAwrDatabaseSnapshotsSortOrderEnumLowerCase = map[string]ListAwrDatabaseSnapshotsSortOrderEnum{
- "asc": ListAwrDatabaseSnapshotsSortOrderAsc,
- "desc": ListAwrDatabaseSnapshotsSortOrderDesc,
-}
-
-// GetListAwrDatabaseSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrDatabaseSnapshotsSortOrderEnum
-func GetListAwrDatabaseSnapshotsSortOrderEnumValues() []ListAwrDatabaseSnapshotsSortOrderEnum {
- values := make([]ListAwrDatabaseSnapshotsSortOrderEnum, 0)
- for _, v := range mappingListAwrDatabaseSnapshotsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrDatabaseSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDatabaseSnapshotsSortOrderEnum
-func GetListAwrDatabaseSnapshotsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAwrDatabaseSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrDatabaseSnapshotsSortOrderEnum(val string) (ListAwrDatabaseSnapshotsSortOrderEnum, bool) {
- enum, ok := mappingListAwrDatabaseSnapshotsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_databases_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_databases_request_response.go
deleted file mode 100644
index 3ecbb9be2a1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_databases_request_response.go
+++ /dev/null
@@ -1,213 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAwrDatabasesRequest wrapper for the ListAwrDatabases operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrDatabases.go.html to see an example of how to use ListAwrDatabasesRequest.
-type ListAwrDatabasesRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The optional single value query parameter to filter the entity name.
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR summary data.
- SortBy ListAwrDatabasesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAwrDatabasesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 ListAwrDatabasesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAwrDatabasesRequest) 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 ListAwrDatabasesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAwrDatabasesRequest) 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 ListAwrDatabasesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAwrDatabasesSortByEnum(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(GetListAwrDatabasesSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAwrDatabasesSortOrderEnum(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(GetListAwrDatabasesSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAwrDatabasesResponse wrapper for the ListAwrDatabases operation
-type ListAwrDatabasesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseCollection instances
- AwrDatabaseCollection `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 ListAwrDatabasesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAwrDatabasesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAwrDatabasesSortByEnum Enum with underlying type: string
-type ListAwrDatabasesSortByEnum string
-
-// Set of constants representing the allowable values for ListAwrDatabasesSortByEnum
-const (
- ListAwrDatabasesSortByEndIntervalTime ListAwrDatabasesSortByEnum = "END_INTERVAL_TIME"
- ListAwrDatabasesSortByName ListAwrDatabasesSortByEnum = "NAME"
-)
-
-var mappingListAwrDatabasesSortByEnum = map[string]ListAwrDatabasesSortByEnum{
- "END_INTERVAL_TIME": ListAwrDatabasesSortByEndIntervalTime,
- "NAME": ListAwrDatabasesSortByName,
-}
-
-var mappingListAwrDatabasesSortByEnumLowerCase = map[string]ListAwrDatabasesSortByEnum{
- "end_interval_time": ListAwrDatabasesSortByEndIntervalTime,
- "name": ListAwrDatabasesSortByName,
-}
-
-// GetListAwrDatabasesSortByEnumValues Enumerates the set of values for ListAwrDatabasesSortByEnum
-func GetListAwrDatabasesSortByEnumValues() []ListAwrDatabasesSortByEnum {
- values := make([]ListAwrDatabasesSortByEnum, 0)
- for _, v := range mappingListAwrDatabasesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrDatabasesSortByEnumStringValues Enumerates the set of values in String for ListAwrDatabasesSortByEnum
-func GetListAwrDatabasesSortByEnumStringValues() []string {
- return []string{
- "END_INTERVAL_TIME",
- "NAME",
- }
-}
-
-// GetMappingListAwrDatabasesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrDatabasesSortByEnum(val string) (ListAwrDatabasesSortByEnum, bool) {
- enum, ok := mappingListAwrDatabasesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAwrDatabasesSortOrderEnum Enum with underlying type: string
-type ListAwrDatabasesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAwrDatabasesSortOrderEnum
-const (
- ListAwrDatabasesSortOrderAsc ListAwrDatabasesSortOrderEnum = "ASC"
- ListAwrDatabasesSortOrderDesc ListAwrDatabasesSortOrderEnum = "DESC"
-)
-
-var mappingListAwrDatabasesSortOrderEnum = map[string]ListAwrDatabasesSortOrderEnum{
- "ASC": ListAwrDatabasesSortOrderAsc,
- "DESC": ListAwrDatabasesSortOrderDesc,
-}
-
-var mappingListAwrDatabasesSortOrderEnumLowerCase = map[string]ListAwrDatabasesSortOrderEnum{
- "asc": ListAwrDatabasesSortOrderAsc,
- "desc": ListAwrDatabasesSortOrderDesc,
-}
-
-// GetListAwrDatabasesSortOrderEnumValues Enumerates the set of values for ListAwrDatabasesSortOrderEnum
-func GetListAwrDatabasesSortOrderEnumValues() []ListAwrDatabasesSortOrderEnum {
- values := make([]ListAwrDatabasesSortOrderEnum, 0)
- for _, v := range mappingListAwrDatabasesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrDatabasesSortOrderEnumStringValues Enumerates the set of values in String for ListAwrDatabasesSortOrderEnum
-func GetListAwrDatabasesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAwrDatabasesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrDatabasesSortOrderEnum(val string) (ListAwrDatabasesSortOrderEnum, bool) {
- enum, ok := mappingListAwrDatabasesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_hubs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_hubs_request_response.go
deleted file mode 100644
index ea360d96dcd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_hubs_request_response.go
+++ /dev/null
@@ -1,222 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAwrHubsRequest wrapper for the ListAwrHubs operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrHubs.go.html to see an example of how to use ListAwrHubsRequest.
-type ListAwrHubsRequest struct {
-
- // Unique Operations Insights Warehouse identifier
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"query" name:"operationsInsightsWarehouseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // A filter to return only resources that match the entire display name.
- DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
-
- // Unique Awr Hub identifier
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Lifecycle states
- LifecycleState []AwrHubLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAwrHubsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // 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 ListAwrHubsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListAwrHubsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAwrHubsRequest) 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 ListAwrHubsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAwrHubsRequest) 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 ListAwrHubsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingAwrHubLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetAwrHubLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListAwrHubsSortOrderEnum(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(GetListAwrHubsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAwrHubsSortByEnum(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(GetListAwrHubsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAwrHubsResponse wrapper for the ListAwrHubs operation
-type ListAwrHubsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrHubSummaryCollection instances
- AwrHubSummaryCollection `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 ListAwrHubsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAwrHubsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAwrHubsSortOrderEnum Enum with underlying type: string
-type ListAwrHubsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAwrHubsSortOrderEnum
-const (
- ListAwrHubsSortOrderAsc ListAwrHubsSortOrderEnum = "ASC"
- ListAwrHubsSortOrderDesc ListAwrHubsSortOrderEnum = "DESC"
-)
-
-var mappingListAwrHubsSortOrderEnum = map[string]ListAwrHubsSortOrderEnum{
- "ASC": ListAwrHubsSortOrderAsc,
- "DESC": ListAwrHubsSortOrderDesc,
-}
-
-var mappingListAwrHubsSortOrderEnumLowerCase = map[string]ListAwrHubsSortOrderEnum{
- "asc": ListAwrHubsSortOrderAsc,
- "desc": ListAwrHubsSortOrderDesc,
-}
-
-// GetListAwrHubsSortOrderEnumValues Enumerates the set of values for ListAwrHubsSortOrderEnum
-func GetListAwrHubsSortOrderEnumValues() []ListAwrHubsSortOrderEnum {
- values := make([]ListAwrHubsSortOrderEnum, 0)
- for _, v := range mappingListAwrHubsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrHubsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrHubsSortOrderEnum
-func GetListAwrHubsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAwrHubsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrHubsSortOrderEnum(val string) (ListAwrHubsSortOrderEnum, bool) {
- enum, ok := mappingListAwrHubsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAwrHubsSortByEnum Enum with underlying type: string
-type ListAwrHubsSortByEnum string
-
-// Set of constants representing the allowable values for ListAwrHubsSortByEnum
-const (
- ListAwrHubsSortByTimecreated ListAwrHubsSortByEnum = "timeCreated"
- ListAwrHubsSortByDisplayname ListAwrHubsSortByEnum = "displayName"
-)
-
-var mappingListAwrHubsSortByEnum = map[string]ListAwrHubsSortByEnum{
- "timeCreated": ListAwrHubsSortByTimecreated,
- "displayName": ListAwrHubsSortByDisplayname,
-}
-
-var mappingListAwrHubsSortByEnumLowerCase = map[string]ListAwrHubsSortByEnum{
- "timecreated": ListAwrHubsSortByTimecreated,
- "displayname": ListAwrHubsSortByDisplayname,
-}
-
-// GetListAwrHubsSortByEnumValues Enumerates the set of values for ListAwrHubsSortByEnum
-func GetListAwrHubsSortByEnumValues() []ListAwrHubsSortByEnum {
- values := make([]ListAwrHubsSortByEnum, 0)
- for _, v := range mappingListAwrHubsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrHubsSortByEnumStringValues Enumerates the set of values in String for ListAwrHubsSortByEnum
-func GetListAwrHubsSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "displayName",
- }
-}
-
-// GetMappingListAwrHubsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrHubsSortByEnum(val string) (ListAwrHubsSortByEnum, bool) {
- enum, ok := mappingListAwrHubsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_snapshots_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_snapshots_request_response.go
deleted file mode 100644
index baab72995e8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_awr_snapshots_request_response.go
+++ /dev/null
@@ -1,213 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListAwrSnapshotsRequest wrapper for the ListAwrSnapshots operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListAwrSnapshots.go.html to see an example of how to use ListAwrSnapshotsRequest.
-type ListAwrSnapshotsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // AWR source database identifier.
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListAwrSnapshotsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The option to sort the AWR snapshot summary data. Default sort is by timeBegin.
- SortBy ListAwrSnapshotsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListAwrSnapshotsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListAwrSnapshotsRequest) 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 ListAwrSnapshotsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListAwrSnapshotsRequest) 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 ListAwrSnapshotsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListAwrSnapshotsSortOrderEnum(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(GetListAwrSnapshotsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListAwrSnapshotsSortByEnum(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(GetListAwrSnapshotsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListAwrSnapshotsResponse wrapper for the ListAwrSnapshots operation
-type ListAwrSnapshotsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrSnapshotCollection instances
- AwrSnapshotCollection `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 ListAwrSnapshotsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListAwrSnapshotsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListAwrSnapshotsSortOrderEnum Enum with underlying type: string
-type ListAwrSnapshotsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListAwrSnapshotsSortOrderEnum
-const (
- ListAwrSnapshotsSortOrderAsc ListAwrSnapshotsSortOrderEnum = "ASC"
- ListAwrSnapshotsSortOrderDesc ListAwrSnapshotsSortOrderEnum = "DESC"
-)
-
-var mappingListAwrSnapshotsSortOrderEnum = map[string]ListAwrSnapshotsSortOrderEnum{
- "ASC": ListAwrSnapshotsSortOrderAsc,
- "DESC": ListAwrSnapshotsSortOrderDesc,
-}
-
-var mappingListAwrSnapshotsSortOrderEnumLowerCase = map[string]ListAwrSnapshotsSortOrderEnum{
- "asc": ListAwrSnapshotsSortOrderAsc,
- "desc": ListAwrSnapshotsSortOrderDesc,
-}
-
-// GetListAwrSnapshotsSortOrderEnumValues Enumerates the set of values for ListAwrSnapshotsSortOrderEnum
-func GetListAwrSnapshotsSortOrderEnumValues() []ListAwrSnapshotsSortOrderEnum {
- values := make([]ListAwrSnapshotsSortOrderEnum, 0)
- for _, v := range mappingListAwrSnapshotsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrSnapshotsSortOrderEnumStringValues Enumerates the set of values in String for ListAwrSnapshotsSortOrderEnum
-func GetListAwrSnapshotsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListAwrSnapshotsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrSnapshotsSortOrderEnum(val string) (ListAwrSnapshotsSortOrderEnum, bool) {
- enum, ok := mappingListAwrSnapshotsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListAwrSnapshotsSortByEnum Enum with underlying type: string
-type ListAwrSnapshotsSortByEnum string
-
-// Set of constants representing the allowable values for ListAwrSnapshotsSortByEnum
-const (
- ListAwrSnapshotsSortByTimebegin ListAwrSnapshotsSortByEnum = "timeBegin"
- ListAwrSnapshotsSortBySnapshotid ListAwrSnapshotsSortByEnum = "snapshotId"
-)
-
-var mappingListAwrSnapshotsSortByEnum = map[string]ListAwrSnapshotsSortByEnum{
- "timeBegin": ListAwrSnapshotsSortByTimebegin,
- "snapshotId": ListAwrSnapshotsSortBySnapshotid,
-}
-
-var mappingListAwrSnapshotsSortByEnumLowerCase = map[string]ListAwrSnapshotsSortByEnum{
- "timebegin": ListAwrSnapshotsSortByTimebegin,
- "snapshotid": ListAwrSnapshotsSortBySnapshotid,
-}
-
-// GetListAwrSnapshotsSortByEnumValues Enumerates the set of values for ListAwrSnapshotsSortByEnum
-func GetListAwrSnapshotsSortByEnumValues() []ListAwrSnapshotsSortByEnum {
- values := make([]ListAwrSnapshotsSortByEnum, 0)
- for _, v := range mappingListAwrSnapshotsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListAwrSnapshotsSortByEnumStringValues Enumerates the set of values in String for ListAwrSnapshotsSortByEnum
-func GetListAwrSnapshotsSortByEnumStringValues() []string {
- return []string{
- "timeBegin",
- "snapshotId",
- }
-}
-
-// GetMappingListAwrSnapshotsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListAwrSnapshotsSortByEnum(val string) (ListAwrSnapshotsSortByEnum, bool) {
- enum, ok := mappingListAwrSnapshotsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_configurations_request_response.go
deleted file mode 100644
index 7162f28d876..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_configurations_request_response.go
+++ /dev/null
@@ -1,364 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListDatabaseConfigurationsRequest wrapper for the ListDatabaseConfigurations operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseConfigurations.go.html to see an example of how to use ListDatabaseConfigurationsRequest.
-type ListDatabaseConfigurationsRequest 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 Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []ListDatabaseConfigurationsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListDatabaseConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Database configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
- SortBy ListDatabaseConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request ListDatabaseConfigurationsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListDatabaseConfigurationsRequest) 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 ListDatabaseConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListDatabaseConfigurationsRequest) 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 ListDatabaseConfigurationsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingListDatabaseConfigurationsDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetListDatabaseConfigurationsDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListDatabaseConfigurationsSortOrderEnum(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(GetListDatabaseConfigurationsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListDatabaseConfigurationsSortByEnum(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(GetListDatabaseConfigurationsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListDatabaseConfigurationsResponse wrapper for the ListDatabaseConfigurations operation
-type ListDatabaseConfigurationsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of DatabaseConfigurationCollection instances
- DatabaseConfigurationCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListDatabaseConfigurationsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListDatabaseConfigurationsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListDatabaseConfigurationsDatabaseTypeEnum Enum with underlying type: string
-type ListDatabaseConfigurationsDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for ListDatabaseConfigurationsDatabaseTypeEnum
-const (
- ListDatabaseConfigurationsDatabaseTypeAdwS ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-S"
- ListDatabaseConfigurationsDatabaseTypeAtpS ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-S"
- ListDatabaseConfigurationsDatabaseTypeAdwD ListDatabaseConfigurationsDatabaseTypeEnum = "ADW-D"
- ListDatabaseConfigurationsDatabaseTypeAtpD ListDatabaseConfigurationsDatabaseTypeEnum = "ATP-D"
- ListDatabaseConfigurationsDatabaseTypeExternalPdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-PDB"
- ListDatabaseConfigurationsDatabaseTypeExternalNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "EXTERNAL-NONCDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedVmCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-CDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedVmPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-PDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedVmNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedBmCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-CDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedBmPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-PDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedBmNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedExacsCdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedExacsPdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- ListDatabaseConfigurationsDatabaseTypeComanagedExacsNoncdb ListDatabaseConfigurationsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingListDatabaseConfigurationsDatabaseTypeEnum = map[string]ListDatabaseConfigurationsDatabaseTypeEnum{
- "ADW-S": ListDatabaseConfigurationsDatabaseTypeAdwS,
- "ATP-S": ListDatabaseConfigurationsDatabaseTypeAtpS,
- "ADW-D": ListDatabaseConfigurationsDatabaseTypeAdwD,
- "ATP-D": ListDatabaseConfigurationsDatabaseTypeAtpD,
- "EXTERNAL-PDB": ListDatabaseConfigurationsDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": ListDatabaseConfigurationsDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": ListDatabaseConfigurationsDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": ListDatabaseConfigurationsDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": ListDatabaseConfigurationsDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": ListDatabaseConfigurationsDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": ListDatabaseConfigurationsDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": ListDatabaseConfigurationsDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": ListDatabaseConfigurationsDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": ListDatabaseConfigurationsDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": ListDatabaseConfigurationsDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingListDatabaseConfigurationsDatabaseTypeEnumLowerCase = map[string]ListDatabaseConfigurationsDatabaseTypeEnum{
- "adw-s": ListDatabaseConfigurationsDatabaseTypeAdwS,
- "atp-s": ListDatabaseConfigurationsDatabaseTypeAtpS,
- "adw-d": ListDatabaseConfigurationsDatabaseTypeAdwD,
- "atp-d": ListDatabaseConfigurationsDatabaseTypeAtpD,
- "external-pdb": ListDatabaseConfigurationsDatabaseTypeExternalPdb,
- "external-noncdb": ListDatabaseConfigurationsDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": ListDatabaseConfigurationsDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": ListDatabaseConfigurationsDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": ListDatabaseConfigurationsDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": ListDatabaseConfigurationsDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": ListDatabaseConfigurationsDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": ListDatabaseConfigurationsDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": ListDatabaseConfigurationsDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": ListDatabaseConfigurationsDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": ListDatabaseConfigurationsDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetListDatabaseConfigurationsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseConfigurationsDatabaseTypeEnum
-func GetListDatabaseConfigurationsDatabaseTypeEnumValues() []ListDatabaseConfigurationsDatabaseTypeEnum {
- values := make([]ListDatabaseConfigurationsDatabaseTypeEnum, 0)
- for _, v := range mappingListDatabaseConfigurationsDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseConfigurationsDatabaseTypeEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsDatabaseTypeEnum
-func GetListDatabaseConfigurationsDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingListDatabaseConfigurationsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseConfigurationsDatabaseTypeEnum(val string) (ListDatabaseConfigurationsDatabaseTypeEnum, bool) {
- enum, ok := mappingListDatabaseConfigurationsDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListDatabaseConfigurationsSortOrderEnum Enum with underlying type: string
-type ListDatabaseConfigurationsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListDatabaseConfigurationsSortOrderEnum
-const (
- ListDatabaseConfigurationsSortOrderAsc ListDatabaseConfigurationsSortOrderEnum = "ASC"
- ListDatabaseConfigurationsSortOrderDesc ListDatabaseConfigurationsSortOrderEnum = "DESC"
-)
-
-var mappingListDatabaseConfigurationsSortOrderEnum = map[string]ListDatabaseConfigurationsSortOrderEnum{
- "ASC": ListDatabaseConfigurationsSortOrderAsc,
- "DESC": ListDatabaseConfigurationsSortOrderDesc,
-}
-
-var mappingListDatabaseConfigurationsSortOrderEnumLowerCase = map[string]ListDatabaseConfigurationsSortOrderEnum{
- "asc": ListDatabaseConfigurationsSortOrderAsc,
- "desc": ListDatabaseConfigurationsSortOrderDesc,
-}
-
-// GetListDatabaseConfigurationsSortOrderEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortOrderEnum
-func GetListDatabaseConfigurationsSortOrderEnumValues() []ListDatabaseConfigurationsSortOrderEnum {
- values := make([]ListDatabaseConfigurationsSortOrderEnum, 0)
- for _, v := range mappingListDatabaseConfigurationsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsSortOrderEnum
-func GetListDatabaseConfigurationsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListDatabaseConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseConfigurationsSortOrderEnum(val string) (ListDatabaseConfigurationsSortOrderEnum, bool) {
- enum, ok := mappingListDatabaseConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListDatabaseConfigurationsSortByEnum Enum with underlying type: string
-type ListDatabaseConfigurationsSortByEnum string
-
-// Set of constants representing the allowable values for ListDatabaseConfigurationsSortByEnum
-const (
- ListDatabaseConfigurationsSortByDatabasename ListDatabaseConfigurationsSortByEnum = "databaseName"
- ListDatabaseConfigurationsSortByDatabasedisplayname ListDatabaseConfigurationsSortByEnum = "databaseDisplayName"
- ListDatabaseConfigurationsSortByDatabasetype ListDatabaseConfigurationsSortByEnum = "databaseType"
-)
-
-var mappingListDatabaseConfigurationsSortByEnum = map[string]ListDatabaseConfigurationsSortByEnum{
- "databaseName": ListDatabaseConfigurationsSortByDatabasename,
- "databaseDisplayName": ListDatabaseConfigurationsSortByDatabasedisplayname,
- "databaseType": ListDatabaseConfigurationsSortByDatabasetype,
-}
-
-var mappingListDatabaseConfigurationsSortByEnumLowerCase = map[string]ListDatabaseConfigurationsSortByEnum{
- "databasename": ListDatabaseConfigurationsSortByDatabasename,
- "databasedisplayname": ListDatabaseConfigurationsSortByDatabasedisplayname,
- "databasetype": ListDatabaseConfigurationsSortByDatabasetype,
-}
-
-// GetListDatabaseConfigurationsSortByEnumValues Enumerates the set of values for ListDatabaseConfigurationsSortByEnum
-func GetListDatabaseConfigurationsSortByEnumValues() []ListDatabaseConfigurationsSortByEnum {
- values := make([]ListDatabaseConfigurationsSortByEnum, 0)
- for _, v := range mappingListDatabaseConfigurationsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseConfigurationsSortByEnum
-func GetListDatabaseConfigurationsSortByEnumStringValues() []string {
- return []string{
- "databaseName",
- "databaseDisplayName",
- "databaseType",
- }
-}
-
-// GetMappingListDatabaseConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseConfigurationsSortByEnum(val string) (ListDatabaseConfigurationsSortByEnum, bool) {
- enum, ok := mappingListDatabaseConfigurationsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_insights_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_insights_request_response.go
deleted file mode 100644
index 3165fa4fe77..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_database_insights_request_response.go
+++ /dev/null
@@ -1,426 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListDatabaseInsightsRequest wrapper for the ListDatabaseInsights operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListDatabaseInsights.go.html to see an example of how to use ListDatabaseInsightsRequest.
-type ListDatabaseInsightsRequest 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 Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Resource Status
- Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
-
- // Lifecycle states
- LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []ListDatabaseInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Specifies the fields to return in a database summary response. By default all fields are returned if omitted.
- Fields []ListDatabaseInsightsFieldsEnum `contributesTo:"query" name:"fields" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListDatabaseInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Database insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
- SortBy ListDatabaseInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Unique Operations Insights PrivateEndpoint identifier
- OpsiPrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"opsiPrivateEndpointId"`
-
- // 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"`
-
- // 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 ListDatabaseInsightsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListDatabaseInsightsRequest) 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 ListDatabaseInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListDatabaseInsightsRequest) 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 ListDatabaseInsightsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- }
-
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingListDatabaseInsightsDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetListDatabaseInsightsDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.Fields {
- if _, ok := GetMappingListDatabaseInsightsFieldsEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Fields: %s. Supported values are: %s.", val, strings.Join(GetListDatabaseInsightsFieldsEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListDatabaseInsightsSortOrderEnum(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(GetListDatabaseInsightsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListDatabaseInsightsSortByEnum(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(GetListDatabaseInsightsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListDatabaseInsightsResponse wrapper for the ListDatabaseInsights operation
-type ListDatabaseInsightsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of DatabaseInsightsCollection instances
- DatabaseInsightsCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListDatabaseInsightsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListDatabaseInsightsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListDatabaseInsightsDatabaseTypeEnum Enum with underlying type: string
-type ListDatabaseInsightsDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for ListDatabaseInsightsDatabaseTypeEnum
-const (
- ListDatabaseInsightsDatabaseTypeAdwS ListDatabaseInsightsDatabaseTypeEnum = "ADW-S"
- ListDatabaseInsightsDatabaseTypeAtpS ListDatabaseInsightsDatabaseTypeEnum = "ATP-S"
- ListDatabaseInsightsDatabaseTypeAdwD ListDatabaseInsightsDatabaseTypeEnum = "ADW-D"
- ListDatabaseInsightsDatabaseTypeAtpD ListDatabaseInsightsDatabaseTypeEnum = "ATP-D"
- ListDatabaseInsightsDatabaseTypeExternalPdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-PDB"
- ListDatabaseInsightsDatabaseTypeExternalNoncdb ListDatabaseInsightsDatabaseTypeEnum = "EXTERNAL-NONCDB"
- ListDatabaseInsightsDatabaseTypeComanagedVmCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-CDB"
- ListDatabaseInsightsDatabaseTypeComanagedVmPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-PDB"
- ListDatabaseInsightsDatabaseTypeComanagedVmNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- ListDatabaseInsightsDatabaseTypeComanagedBmCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-CDB"
- ListDatabaseInsightsDatabaseTypeComanagedBmPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-PDB"
- ListDatabaseInsightsDatabaseTypeComanagedBmNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- ListDatabaseInsightsDatabaseTypeComanagedExacsCdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- ListDatabaseInsightsDatabaseTypeComanagedExacsPdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- ListDatabaseInsightsDatabaseTypeComanagedExacsNoncdb ListDatabaseInsightsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingListDatabaseInsightsDatabaseTypeEnum = map[string]ListDatabaseInsightsDatabaseTypeEnum{
- "ADW-S": ListDatabaseInsightsDatabaseTypeAdwS,
- "ATP-S": ListDatabaseInsightsDatabaseTypeAtpS,
- "ADW-D": ListDatabaseInsightsDatabaseTypeAdwD,
- "ATP-D": ListDatabaseInsightsDatabaseTypeAtpD,
- "EXTERNAL-PDB": ListDatabaseInsightsDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": ListDatabaseInsightsDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": ListDatabaseInsightsDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": ListDatabaseInsightsDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": ListDatabaseInsightsDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": ListDatabaseInsightsDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": ListDatabaseInsightsDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": ListDatabaseInsightsDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": ListDatabaseInsightsDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": ListDatabaseInsightsDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": ListDatabaseInsightsDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingListDatabaseInsightsDatabaseTypeEnumLowerCase = map[string]ListDatabaseInsightsDatabaseTypeEnum{
- "adw-s": ListDatabaseInsightsDatabaseTypeAdwS,
- "atp-s": ListDatabaseInsightsDatabaseTypeAtpS,
- "adw-d": ListDatabaseInsightsDatabaseTypeAdwD,
- "atp-d": ListDatabaseInsightsDatabaseTypeAtpD,
- "external-pdb": ListDatabaseInsightsDatabaseTypeExternalPdb,
- "external-noncdb": ListDatabaseInsightsDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": ListDatabaseInsightsDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": ListDatabaseInsightsDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": ListDatabaseInsightsDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": ListDatabaseInsightsDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": ListDatabaseInsightsDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": ListDatabaseInsightsDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": ListDatabaseInsightsDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": ListDatabaseInsightsDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": ListDatabaseInsightsDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetListDatabaseInsightsDatabaseTypeEnumValues Enumerates the set of values for ListDatabaseInsightsDatabaseTypeEnum
-func GetListDatabaseInsightsDatabaseTypeEnumValues() []ListDatabaseInsightsDatabaseTypeEnum {
- values := make([]ListDatabaseInsightsDatabaseTypeEnum, 0)
- for _, v := range mappingListDatabaseInsightsDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseInsightsDatabaseTypeEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsDatabaseTypeEnum
-func GetListDatabaseInsightsDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingListDatabaseInsightsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseInsightsDatabaseTypeEnum(val string) (ListDatabaseInsightsDatabaseTypeEnum, bool) {
- enum, ok := mappingListDatabaseInsightsDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListDatabaseInsightsFieldsEnum Enum with underlying type: string
-type ListDatabaseInsightsFieldsEnum string
-
-// Set of constants representing the allowable values for ListDatabaseInsightsFieldsEnum
-const (
- ListDatabaseInsightsFieldsCompartmentid ListDatabaseInsightsFieldsEnum = "compartmentId"
- ListDatabaseInsightsFieldsDatabasename ListDatabaseInsightsFieldsEnum = "databaseName"
- ListDatabaseInsightsFieldsDatabasedisplayname ListDatabaseInsightsFieldsEnum = "databaseDisplayName"
- ListDatabaseInsightsFieldsDatabasetype ListDatabaseInsightsFieldsEnum = "databaseType"
- ListDatabaseInsightsFieldsDatabaseversion ListDatabaseInsightsFieldsEnum = "databaseVersion"
- ListDatabaseInsightsFieldsDatabasehostnames ListDatabaseInsightsFieldsEnum = "databaseHostNames"
- ListDatabaseInsightsFieldsFreeformtags ListDatabaseInsightsFieldsEnum = "freeformTags"
- ListDatabaseInsightsFieldsDefinedtags ListDatabaseInsightsFieldsEnum = "definedTags"
-)
-
-var mappingListDatabaseInsightsFieldsEnum = map[string]ListDatabaseInsightsFieldsEnum{
- "compartmentId": ListDatabaseInsightsFieldsCompartmentid,
- "databaseName": ListDatabaseInsightsFieldsDatabasename,
- "databaseDisplayName": ListDatabaseInsightsFieldsDatabasedisplayname,
- "databaseType": ListDatabaseInsightsFieldsDatabasetype,
- "databaseVersion": ListDatabaseInsightsFieldsDatabaseversion,
- "databaseHostNames": ListDatabaseInsightsFieldsDatabasehostnames,
- "freeformTags": ListDatabaseInsightsFieldsFreeformtags,
- "definedTags": ListDatabaseInsightsFieldsDefinedtags,
-}
-
-var mappingListDatabaseInsightsFieldsEnumLowerCase = map[string]ListDatabaseInsightsFieldsEnum{
- "compartmentid": ListDatabaseInsightsFieldsCompartmentid,
- "databasename": ListDatabaseInsightsFieldsDatabasename,
- "databasedisplayname": ListDatabaseInsightsFieldsDatabasedisplayname,
- "databasetype": ListDatabaseInsightsFieldsDatabasetype,
- "databaseversion": ListDatabaseInsightsFieldsDatabaseversion,
- "databasehostnames": ListDatabaseInsightsFieldsDatabasehostnames,
- "freeformtags": ListDatabaseInsightsFieldsFreeformtags,
- "definedtags": ListDatabaseInsightsFieldsDefinedtags,
-}
-
-// GetListDatabaseInsightsFieldsEnumValues Enumerates the set of values for ListDatabaseInsightsFieldsEnum
-func GetListDatabaseInsightsFieldsEnumValues() []ListDatabaseInsightsFieldsEnum {
- values := make([]ListDatabaseInsightsFieldsEnum, 0)
- for _, v := range mappingListDatabaseInsightsFieldsEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseInsightsFieldsEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsFieldsEnum
-func GetListDatabaseInsightsFieldsEnumStringValues() []string {
- return []string{
- "compartmentId",
- "databaseName",
- "databaseDisplayName",
- "databaseType",
- "databaseVersion",
- "databaseHostNames",
- "freeformTags",
- "definedTags",
- }
-}
-
-// GetMappingListDatabaseInsightsFieldsEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseInsightsFieldsEnum(val string) (ListDatabaseInsightsFieldsEnum, bool) {
- enum, ok := mappingListDatabaseInsightsFieldsEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListDatabaseInsightsSortOrderEnum Enum with underlying type: string
-type ListDatabaseInsightsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListDatabaseInsightsSortOrderEnum
-const (
- ListDatabaseInsightsSortOrderAsc ListDatabaseInsightsSortOrderEnum = "ASC"
- ListDatabaseInsightsSortOrderDesc ListDatabaseInsightsSortOrderEnum = "DESC"
-)
-
-var mappingListDatabaseInsightsSortOrderEnum = map[string]ListDatabaseInsightsSortOrderEnum{
- "ASC": ListDatabaseInsightsSortOrderAsc,
- "DESC": ListDatabaseInsightsSortOrderDesc,
-}
-
-var mappingListDatabaseInsightsSortOrderEnumLowerCase = map[string]ListDatabaseInsightsSortOrderEnum{
- "asc": ListDatabaseInsightsSortOrderAsc,
- "desc": ListDatabaseInsightsSortOrderDesc,
-}
-
-// GetListDatabaseInsightsSortOrderEnumValues Enumerates the set of values for ListDatabaseInsightsSortOrderEnum
-func GetListDatabaseInsightsSortOrderEnumValues() []ListDatabaseInsightsSortOrderEnum {
- values := make([]ListDatabaseInsightsSortOrderEnum, 0)
- for _, v := range mappingListDatabaseInsightsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsSortOrderEnum
-func GetListDatabaseInsightsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListDatabaseInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseInsightsSortOrderEnum(val string) (ListDatabaseInsightsSortOrderEnum, bool) {
- enum, ok := mappingListDatabaseInsightsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListDatabaseInsightsSortByEnum Enum with underlying type: string
-type ListDatabaseInsightsSortByEnum string
-
-// Set of constants representing the allowable values for ListDatabaseInsightsSortByEnum
-const (
- ListDatabaseInsightsSortByDatabasename ListDatabaseInsightsSortByEnum = "databaseName"
- ListDatabaseInsightsSortByDatabasedisplayname ListDatabaseInsightsSortByEnum = "databaseDisplayName"
- ListDatabaseInsightsSortByDatabasetype ListDatabaseInsightsSortByEnum = "databaseType"
-)
-
-var mappingListDatabaseInsightsSortByEnum = map[string]ListDatabaseInsightsSortByEnum{
- "databaseName": ListDatabaseInsightsSortByDatabasename,
- "databaseDisplayName": ListDatabaseInsightsSortByDatabasedisplayname,
- "databaseType": ListDatabaseInsightsSortByDatabasetype,
-}
-
-var mappingListDatabaseInsightsSortByEnumLowerCase = map[string]ListDatabaseInsightsSortByEnum{
- "databasename": ListDatabaseInsightsSortByDatabasename,
- "databasedisplayname": ListDatabaseInsightsSortByDatabasedisplayname,
- "databasetype": ListDatabaseInsightsSortByDatabasetype,
-}
-
-// GetListDatabaseInsightsSortByEnumValues Enumerates the set of values for ListDatabaseInsightsSortByEnum
-func GetListDatabaseInsightsSortByEnumValues() []ListDatabaseInsightsSortByEnum {
- values := make([]ListDatabaseInsightsSortByEnum, 0)
- for _, v := range mappingListDatabaseInsightsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListDatabaseInsightsSortByEnumStringValues Enumerates the set of values in String for ListDatabaseInsightsSortByEnum
-func GetListDatabaseInsightsSortByEnumStringValues() []string {
- return []string{
- "databaseName",
- "databaseDisplayName",
- "databaseType",
- }
-}
-
-// GetMappingListDatabaseInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListDatabaseInsightsSortByEnum(val string) (ListDatabaseInsightsSortByEnum, bool) {
- enum, ok := mappingListDatabaseInsightsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_enterprise_manager_bridges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_enterprise_manager_bridges_request_response.go
deleted file mode 100644
index fd13d77d698..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_enterprise_manager_bridges_request_response.go
+++ /dev/null
@@ -1,222 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListEnterpriseManagerBridgesRequest wrapper for the ListEnterpriseManagerBridges operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListEnterpriseManagerBridges.go.html to see an example of how to use ListEnterpriseManagerBridgesRequest.
-type ListEnterpriseManagerBridgesRequest 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"`
-
- // A filter to return only resources that match the entire display name.
- DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
-
- // Unique Enterprise Manager bridge identifier
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Lifecycle states
- LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListEnterpriseManagerBridgesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // 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 ListEnterpriseManagerBridgesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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"`
-
- // 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 ListEnterpriseManagerBridgesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListEnterpriseManagerBridgesRequest) 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 ListEnterpriseManagerBridgesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListEnterpriseManagerBridgesRequest) 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 ListEnterpriseManagerBridgesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListEnterpriseManagerBridgesSortOrderEnum(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(GetListEnterpriseManagerBridgesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListEnterpriseManagerBridgesSortByEnum(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(GetListEnterpriseManagerBridgesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListEnterpriseManagerBridgesResponse wrapper for the ListEnterpriseManagerBridges operation
-type ListEnterpriseManagerBridgesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of EnterpriseManagerBridgeCollection instances
- EnterpriseManagerBridgeCollection `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 ListEnterpriseManagerBridgesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListEnterpriseManagerBridgesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListEnterpriseManagerBridgesSortOrderEnum Enum with underlying type: string
-type ListEnterpriseManagerBridgesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortOrderEnum
-const (
- ListEnterpriseManagerBridgesSortOrderAsc ListEnterpriseManagerBridgesSortOrderEnum = "ASC"
- ListEnterpriseManagerBridgesSortOrderDesc ListEnterpriseManagerBridgesSortOrderEnum = "DESC"
-)
-
-var mappingListEnterpriseManagerBridgesSortOrderEnum = map[string]ListEnterpriseManagerBridgesSortOrderEnum{
- "ASC": ListEnterpriseManagerBridgesSortOrderAsc,
- "DESC": ListEnterpriseManagerBridgesSortOrderDesc,
-}
-
-var mappingListEnterpriseManagerBridgesSortOrderEnumLowerCase = map[string]ListEnterpriseManagerBridgesSortOrderEnum{
- "asc": ListEnterpriseManagerBridgesSortOrderAsc,
- "desc": ListEnterpriseManagerBridgesSortOrderDesc,
-}
-
-// GetListEnterpriseManagerBridgesSortOrderEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortOrderEnum
-func GetListEnterpriseManagerBridgesSortOrderEnumValues() []ListEnterpriseManagerBridgesSortOrderEnum {
- values := make([]ListEnterpriseManagerBridgesSortOrderEnum, 0)
- for _, v := range mappingListEnterpriseManagerBridgesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListEnterpriseManagerBridgesSortOrderEnumStringValues Enumerates the set of values in String for ListEnterpriseManagerBridgesSortOrderEnum
-func GetListEnterpriseManagerBridgesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListEnterpriseManagerBridgesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListEnterpriseManagerBridgesSortOrderEnum(val string) (ListEnterpriseManagerBridgesSortOrderEnum, bool) {
- enum, ok := mappingListEnterpriseManagerBridgesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListEnterpriseManagerBridgesSortByEnum Enum with underlying type: string
-type ListEnterpriseManagerBridgesSortByEnum string
-
-// Set of constants representing the allowable values for ListEnterpriseManagerBridgesSortByEnum
-const (
- ListEnterpriseManagerBridgesSortByTimecreated ListEnterpriseManagerBridgesSortByEnum = "timeCreated"
- ListEnterpriseManagerBridgesSortByDisplayname ListEnterpriseManagerBridgesSortByEnum = "displayName"
-)
-
-var mappingListEnterpriseManagerBridgesSortByEnum = map[string]ListEnterpriseManagerBridgesSortByEnum{
- "timeCreated": ListEnterpriseManagerBridgesSortByTimecreated,
- "displayName": ListEnterpriseManagerBridgesSortByDisplayname,
-}
-
-var mappingListEnterpriseManagerBridgesSortByEnumLowerCase = map[string]ListEnterpriseManagerBridgesSortByEnum{
- "timecreated": ListEnterpriseManagerBridgesSortByTimecreated,
- "displayname": ListEnterpriseManagerBridgesSortByDisplayname,
-}
-
-// GetListEnterpriseManagerBridgesSortByEnumValues Enumerates the set of values for ListEnterpriseManagerBridgesSortByEnum
-func GetListEnterpriseManagerBridgesSortByEnumValues() []ListEnterpriseManagerBridgesSortByEnum {
- values := make([]ListEnterpriseManagerBridgesSortByEnum, 0)
- for _, v := range mappingListEnterpriseManagerBridgesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListEnterpriseManagerBridgesSortByEnumStringValues Enumerates the set of values in String for ListEnterpriseManagerBridgesSortByEnum
-func GetListEnterpriseManagerBridgesSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "displayName",
- }
-}
-
-// GetMappingListEnterpriseManagerBridgesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListEnterpriseManagerBridgesSortByEnum(val string) (ListEnterpriseManagerBridgesSortByEnum, bool) {
- enum, ok := mappingListEnterpriseManagerBridgesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_configurations_request_response.go
deleted file mode 100644
index 948d8ff1749..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_configurations_request_response.go
+++ /dev/null
@@ -1,243 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListExadataConfigurationsRequest wrapper for the ListExadataConfigurations operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataConfigurations.go.html to see an example of how to use ListExadataConfigurationsRequest.
-type ListExadataConfigurationsRequest 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"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListExadataConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Exadata configuration list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
- SortBy ListExadataConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 ListExadataConfigurationsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListExadataConfigurationsRequest) 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 ListExadataConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListExadataConfigurationsRequest) 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 ListExadataConfigurationsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListExadataConfigurationsSortOrderEnum(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(GetListExadataConfigurationsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListExadataConfigurationsSortByEnum(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(GetListExadataConfigurationsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListExadataConfigurationsResponse wrapper for the ListExadataConfigurations operation
-type ListExadataConfigurationsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ExadataConfigurationCollection instances
- ExadataConfigurationCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListExadataConfigurationsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListExadataConfigurationsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListExadataConfigurationsSortOrderEnum Enum with underlying type: string
-type ListExadataConfigurationsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListExadataConfigurationsSortOrderEnum
-const (
- ListExadataConfigurationsSortOrderAsc ListExadataConfigurationsSortOrderEnum = "ASC"
- ListExadataConfigurationsSortOrderDesc ListExadataConfigurationsSortOrderEnum = "DESC"
-)
-
-var mappingListExadataConfigurationsSortOrderEnum = map[string]ListExadataConfigurationsSortOrderEnum{
- "ASC": ListExadataConfigurationsSortOrderAsc,
- "DESC": ListExadataConfigurationsSortOrderDesc,
-}
-
-var mappingListExadataConfigurationsSortOrderEnumLowerCase = map[string]ListExadataConfigurationsSortOrderEnum{
- "asc": ListExadataConfigurationsSortOrderAsc,
- "desc": ListExadataConfigurationsSortOrderDesc,
-}
-
-// GetListExadataConfigurationsSortOrderEnumValues Enumerates the set of values for ListExadataConfigurationsSortOrderEnum
-func GetListExadataConfigurationsSortOrderEnumValues() []ListExadataConfigurationsSortOrderEnum {
- values := make([]ListExadataConfigurationsSortOrderEnum, 0)
- for _, v := range mappingListExadataConfigurationsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListExadataConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListExadataConfigurationsSortOrderEnum
-func GetListExadataConfigurationsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListExadataConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListExadataConfigurationsSortOrderEnum(val string) (ListExadataConfigurationsSortOrderEnum, bool) {
- enum, ok := mappingListExadataConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListExadataConfigurationsSortByEnum Enum with underlying type: string
-type ListExadataConfigurationsSortByEnum string
-
-// Set of constants representing the allowable values for ListExadataConfigurationsSortByEnum
-const (
- ListExadataConfigurationsSortByExadataname ListExadataConfigurationsSortByEnum = "exadataName"
- ListExadataConfigurationsSortByExadatadisplayname ListExadataConfigurationsSortByEnum = "exadataDisplayName"
- ListExadataConfigurationsSortByExadatatype ListExadataConfigurationsSortByEnum = "exadataType"
-)
-
-var mappingListExadataConfigurationsSortByEnum = map[string]ListExadataConfigurationsSortByEnum{
- "exadataName": ListExadataConfigurationsSortByExadataname,
- "exadataDisplayName": ListExadataConfigurationsSortByExadatadisplayname,
- "exadataType": ListExadataConfigurationsSortByExadatatype,
-}
-
-var mappingListExadataConfigurationsSortByEnumLowerCase = map[string]ListExadataConfigurationsSortByEnum{
- "exadataname": ListExadataConfigurationsSortByExadataname,
- "exadatadisplayname": ListExadataConfigurationsSortByExadatadisplayname,
- "exadatatype": ListExadataConfigurationsSortByExadatatype,
-}
-
-// GetListExadataConfigurationsSortByEnumValues Enumerates the set of values for ListExadataConfigurationsSortByEnum
-func GetListExadataConfigurationsSortByEnumValues() []ListExadataConfigurationsSortByEnum {
- values := make([]ListExadataConfigurationsSortByEnum, 0)
- for _, v := range mappingListExadataConfigurationsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListExadataConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListExadataConfigurationsSortByEnum
-func GetListExadataConfigurationsSortByEnumStringValues() []string {
- return []string{
- "exadataName",
- "exadataDisplayName",
- "exadataType",
- }
-}
-
-// GetMappingListExadataConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListExadataConfigurationsSortByEnum(val string) (ListExadataConfigurationsSortByEnum, bool) {
- enum, ok := mappingListExadataConfigurationsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_insights_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_insights_request_response.go
deleted file mode 100644
index 3638d4db9c5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_exadata_insights_request_response.go
+++ /dev/null
@@ -1,238 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListExadataInsightsRequest wrapper for the ListExadataInsights operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListExadataInsights.go.html to see an example of how to use ListExadataInsightsRequest.
-type ListExadataInsightsRequest 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 Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
-
- // Optional list of Exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Resource Status
- Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
-
- // Lifecycle states
- LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListExadataInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Exadata insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified. Default order for timeCreated is descending. Default order for exadataName is ascending. If no value is specified timeCreated is default.
- SortBy ListExadataInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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"`
-
- // 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 ListExadataInsightsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListExadataInsightsRequest) 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 ListExadataInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListExadataInsightsRequest) 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 ListExadataInsightsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- }
-
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListExadataInsightsSortOrderEnum(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(GetListExadataInsightsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListExadataInsightsSortByEnum(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(GetListExadataInsightsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListExadataInsightsResponse wrapper for the ListExadataInsights operation
-type ListExadataInsightsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ExadataInsightSummaryCollection instances
- ExadataInsightSummaryCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListExadataInsightsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListExadataInsightsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListExadataInsightsSortOrderEnum Enum with underlying type: string
-type ListExadataInsightsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListExadataInsightsSortOrderEnum
-const (
- ListExadataInsightsSortOrderAsc ListExadataInsightsSortOrderEnum = "ASC"
- ListExadataInsightsSortOrderDesc ListExadataInsightsSortOrderEnum = "DESC"
-)
-
-var mappingListExadataInsightsSortOrderEnum = map[string]ListExadataInsightsSortOrderEnum{
- "ASC": ListExadataInsightsSortOrderAsc,
- "DESC": ListExadataInsightsSortOrderDesc,
-}
-
-var mappingListExadataInsightsSortOrderEnumLowerCase = map[string]ListExadataInsightsSortOrderEnum{
- "asc": ListExadataInsightsSortOrderAsc,
- "desc": ListExadataInsightsSortOrderDesc,
-}
-
-// GetListExadataInsightsSortOrderEnumValues Enumerates the set of values for ListExadataInsightsSortOrderEnum
-func GetListExadataInsightsSortOrderEnumValues() []ListExadataInsightsSortOrderEnum {
- values := make([]ListExadataInsightsSortOrderEnum, 0)
- for _, v := range mappingListExadataInsightsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListExadataInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListExadataInsightsSortOrderEnum
-func GetListExadataInsightsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListExadataInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListExadataInsightsSortOrderEnum(val string) (ListExadataInsightsSortOrderEnum, bool) {
- enum, ok := mappingListExadataInsightsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListExadataInsightsSortByEnum Enum with underlying type: string
-type ListExadataInsightsSortByEnum string
-
-// Set of constants representing the allowable values for ListExadataInsightsSortByEnum
-const (
- ListExadataInsightsSortByTimecreated ListExadataInsightsSortByEnum = "timeCreated"
- ListExadataInsightsSortByExadataname ListExadataInsightsSortByEnum = "exadataName"
-)
-
-var mappingListExadataInsightsSortByEnum = map[string]ListExadataInsightsSortByEnum{
- "timeCreated": ListExadataInsightsSortByTimecreated,
- "exadataName": ListExadataInsightsSortByExadataname,
-}
-
-var mappingListExadataInsightsSortByEnumLowerCase = map[string]ListExadataInsightsSortByEnum{
- "timecreated": ListExadataInsightsSortByTimecreated,
- "exadataname": ListExadataInsightsSortByExadataname,
-}
-
-// GetListExadataInsightsSortByEnumValues Enumerates the set of values for ListExadataInsightsSortByEnum
-func GetListExadataInsightsSortByEnumValues() []ListExadataInsightsSortByEnum {
- values := make([]ListExadataInsightsSortByEnum, 0)
- for _, v := range mappingListExadataInsightsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListExadataInsightsSortByEnumStringValues Enumerates the set of values in String for ListExadataInsightsSortByEnum
-func GetListExadataInsightsSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "exadataName",
- }
-}
-
-// GetMappingListExadataInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListExadataInsightsSortByEnum(val string) (ListExadataInsightsSortByEnum, bool) {
- enum, ok := mappingListExadataInsightsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_configurations_request_response.go
deleted file mode 100644
index 125923953b9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_configurations_request_response.go
+++ /dev/null
@@ -1,324 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListHostConfigurationsRequest wrapper for the ListHostConfigurations operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostConfigurations.go.html to see an example of how to use ListHostConfigurationsRequest.
-type ListHostConfigurationsRequest 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 Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []ListHostConfigurationsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListHostConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Host configuration list sort options.
- SortBy ListHostConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request ListHostConfigurationsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListHostConfigurationsRequest) 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 ListHostConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListHostConfigurationsRequest) 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 ListHostConfigurationsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingListHostConfigurationsPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetListHostConfigurationsPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListHostConfigurationsSortOrderEnum(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(GetListHostConfigurationsSortOrderEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListHostConfigurationsResponse wrapper for the ListHostConfigurations operation
-type ListHostConfigurationsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of HostConfigurationCollection instances
- HostConfigurationCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListHostConfigurationsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListHostConfigurationsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListHostConfigurationsPlatformTypeEnum Enum with underlying type: string
-type ListHostConfigurationsPlatformTypeEnum string
-
-// Set of constants representing the allowable values for ListHostConfigurationsPlatformTypeEnum
-const (
- ListHostConfigurationsPlatformTypeLinux ListHostConfigurationsPlatformTypeEnum = "LINUX"
- ListHostConfigurationsPlatformTypeSolaris ListHostConfigurationsPlatformTypeEnum = "SOLARIS"
- ListHostConfigurationsPlatformTypeSunos ListHostConfigurationsPlatformTypeEnum = "SUNOS"
- ListHostConfigurationsPlatformTypeZlinux ListHostConfigurationsPlatformTypeEnum = "ZLINUX"
- ListHostConfigurationsPlatformTypeWindows ListHostConfigurationsPlatformTypeEnum = "WINDOWS"
- ListHostConfigurationsPlatformTypeAix ListHostConfigurationsPlatformTypeEnum = "AIX"
-)
-
-var mappingListHostConfigurationsPlatformTypeEnum = map[string]ListHostConfigurationsPlatformTypeEnum{
- "LINUX": ListHostConfigurationsPlatformTypeLinux,
- "SOLARIS": ListHostConfigurationsPlatformTypeSolaris,
- "SUNOS": ListHostConfigurationsPlatformTypeSunos,
- "ZLINUX": ListHostConfigurationsPlatformTypeZlinux,
- "WINDOWS": ListHostConfigurationsPlatformTypeWindows,
- "AIX": ListHostConfigurationsPlatformTypeAix,
-}
-
-var mappingListHostConfigurationsPlatformTypeEnumLowerCase = map[string]ListHostConfigurationsPlatformTypeEnum{
- "linux": ListHostConfigurationsPlatformTypeLinux,
- "solaris": ListHostConfigurationsPlatformTypeSolaris,
- "sunos": ListHostConfigurationsPlatformTypeSunos,
- "zlinux": ListHostConfigurationsPlatformTypeZlinux,
- "windows": ListHostConfigurationsPlatformTypeWindows,
- "aix": ListHostConfigurationsPlatformTypeAix,
-}
-
-// GetListHostConfigurationsPlatformTypeEnumValues Enumerates the set of values for ListHostConfigurationsPlatformTypeEnum
-func GetListHostConfigurationsPlatformTypeEnumValues() []ListHostConfigurationsPlatformTypeEnum {
- values := make([]ListHostConfigurationsPlatformTypeEnum, 0)
- for _, v := range mappingListHostConfigurationsPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostConfigurationsPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostConfigurationsPlatformTypeEnum
-func GetListHostConfigurationsPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingListHostConfigurationsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostConfigurationsPlatformTypeEnum(val string) (ListHostConfigurationsPlatformTypeEnum, bool) {
- enum, ok := mappingListHostConfigurationsPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostConfigurationsSortOrderEnum Enum with underlying type: string
-type ListHostConfigurationsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListHostConfigurationsSortOrderEnum
-const (
- ListHostConfigurationsSortOrderAsc ListHostConfigurationsSortOrderEnum = "ASC"
- ListHostConfigurationsSortOrderDesc ListHostConfigurationsSortOrderEnum = "DESC"
-)
-
-var mappingListHostConfigurationsSortOrderEnum = map[string]ListHostConfigurationsSortOrderEnum{
- "ASC": ListHostConfigurationsSortOrderAsc,
- "DESC": ListHostConfigurationsSortOrderDesc,
-}
-
-var mappingListHostConfigurationsSortOrderEnumLowerCase = map[string]ListHostConfigurationsSortOrderEnum{
- "asc": ListHostConfigurationsSortOrderAsc,
- "desc": ListHostConfigurationsSortOrderDesc,
-}
-
-// GetListHostConfigurationsSortOrderEnumValues Enumerates the set of values for ListHostConfigurationsSortOrderEnum
-func GetListHostConfigurationsSortOrderEnumValues() []ListHostConfigurationsSortOrderEnum {
- values := make([]ListHostConfigurationsSortOrderEnum, 0)
- for _, v := range mappingListHostConfigurationsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListHostConfigurationsSortOrderEnum
-func GetListHostConfigurationsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListHostConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostConfigurationsSortOrderEnum(val string) (ListHostConfigurationsSortOrderEnum, bool) {
- enum, ok := mappingListHostConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostConfigurationsSortByEnum Enum with underlying type: string
-type ListHostConfigurationsSortByEnum string
-
-// Set of constants representing the allowable values for ListHostConfigurationsSortByEnum
-const (
- ListHostConfigurationsSortByHostname ListHostConfigurationsSortByEnum = "hostName"
- ListHostConfigurationsSortByPlatformtype ListHostConfigurationsSortByEnum = "platformType"
-)
-
-var mappingListHostConfigurationsSortByEnum = map[string]ListHostConfigurationsSortByEnum{
- "hostName": ListHostConfigurationsSortByHostname,
- "platformType": ListHostConfigurationsSortByPlatformtype,
-}
-
-var mappingListHostConfigurationsSortByEnumLowerCase = map[string]ListHostConfigurationsSortByEnum{
- "hostname": ListHostConfigurationsSortByHostname,
- "platformtype": ListHostConfigurationsSortByPlatformtype,
-}
-
-// GetListHostConfigurationsSortByEnumValues Enumerates the set of values for ListHostConfigurationsSortByEnum
-func GetListHostConfigurationsSortByEnumValues() []ListHostConfigurationsSortByEnum {
- values := make([]ListHostConfigurationsSortByEnum, 0)
- for _, v := range mappingListHostConfigurationsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListHostConfigurationsSortByEnum
-func GetListHostConfigurationsSortByEnumStringValues() []string {
- return []string{
- "hostName",
- "platformType",
- }
-}
-
-// GetMappingListHostConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostConfigurationsSortByEnum(val string) (ListHostConfigurationsSortByEnum, bool) {
- enum, ok := mappingListHostConfigurationsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_insights_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_insights_request_response.go
deleted file mode 100644
index f30084c4493..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_host_insights_request_response.go
+++ /dev/null
@@ -1,311 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListHostInsightsRequest wrapper for the ListHostInsights operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostInsights.go.html to see an example of how to use ListHostInsightsRequest.
-type ListHostInsightsRequest 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"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Resource Status
- Status []ResourceStatusEnum `contributesTo:"query" name:"status" omitEmpty:"true" collectionFormat:"multi"`
-
- // Lifecycle states
- LifecycleState []LifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []ListHostInsightsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListHostInsightsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Host insight list sort options. If `fields` parameter is selected, the `sortBy` parameter must be one of the fields specified.
- SortBy ListHostInsightsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerBridgeId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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"`
-
- // 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 ListHostInsightsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListHostInsightsRequest) 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 ListHostInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListHostInsightsRequest) 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 ListHostInsightsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- }
-
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.PlatformType {
- if _, ok := GetMappingListHostInsightsPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetListHostInsightsPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListHostInsightsSortOrderEnum(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(GetListHostInsightsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListHostInsightsSortByEnum(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(GetListHostInsightsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListHostInsightsResponse wrapper for the ListHostInsights operation
-type ListHostInsightsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of HostInsightSummaryCollection instances
- HostInsightSummaryCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 ListHostInsightsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListHostInsightsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListHostInsightsPlatformTypeEnum Enum with underlying type: string
-type ListHostInsightsPlatformTypeEnum string
-
-// Set of constants representing the allowable values for ListHostInsightsPlatformTypeEnum
-const (
- ListHostInsightsPlatformTypeLinux ListHostInsightsPlatformTypeEnum = "LINUX"
- ListHostInsightsPlatformTypeSolaris ListHostInsightsPlatformTypeEnum = "SOLARIS"
- ListHostInsightsPlatformTypeSunos ListHostInsightsPlatformTypeEnum = "SUNOS"
- ListHostInsightsPlatformTypeZlinux ListHostInsightsPlatformTypeEnum = "ZLINUX"
- ListHostInsightsPlatformTypeWindows ListHostInsightsPlatformTypeEnum = "WINDOWS"
- ListHostInsightsPlatformTypeAix ListHostInsightsPlatformTypeEnum = "AIX"
-)
-
-var mappingListHostInsightsPlatformTypeEnum = map[string]ListHostInsightsPlatformTypeEnum{
- "LINUX": ListHostInsightsPlatformTypeLinux,
- "SOLARIS": ListHostInsightsPlatformTypeSolaris,
- "SUNOS": ListHostInsightsPlatformTypeSunos,
- "ZLINUX": ListHostInsightsPlatformTypeZlinux,
- "WINDOWS": ListHostInsightsPlatformTypeWindows,
- "AIX": ListHostInsightsPlatformTypeAix,
-}
-
-var mappingListHostInsightsPlatformTypeEnumLowerCase = map[string]ListHostInsightsPlatformTypeEnum{
- "linux": ListHostInsightsPlatformTypeLinux,
- "solaris": ListHostInsightsPlatformTypeSolaris,
- "sunos": ListHostInsightsPlatformTypeSunos,
- "zlinux": ListHostInsightsPlatformTypeZlinux,
- "windows": ListHostInsightsPlatformTypeWindows,
- "aix": ListHostInsightsPlatformTypeAix,
-}
-
-// GetListHostInsightsPlatformTypeEnumValues Enumerates the set of values for ListHostInsightsPlatformTypeEnum
-func GetListHostInsightsPlatformTypeEnumValues() []ListHostInsightsPlatformTypeEnum {
- values := make([]ListHostInsightsPlatformTypeEnum, 0)
- for _, v := range mappingListHostInsightsPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostInsightsPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostInsightsPlatformTypeEnum
-func GetListHostInsightsPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingListHostInsightsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostInsightsPlatformTypeEnum(val string) (ListHostInsightsPlatformTypeEnum, bool) {
- enum, ok := mappingListHostInsightsPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostInsightsSortOrderEnum Enum with underlying type: string
-type ListHostInsightsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListHostInsightsSortOrderEnum
-const (
- ListHostInsightsSortOrderAsc ListHostInsightsSortOrderEnum = "ASC"
- ListHostInsightsSortOrderDesc ListHostInsightsSortOrderEnum = "DESC"
-)
-
-var mappingListHostInsightsSortOrderEnum = map[string]ListHostInsightsSortOrderEnum{
- "ASC": ListHostInsightsSortOrderAsc,
- "DESC": ListHostInsightsSortOrderDesc,
-}
-
-var mappingListHostInsightsSortOrderEnumLowerCase = map[string]ListHostInsightsSortOrderEnum{
- "asc": ListHostInsightsSortOrderAsc,
- "desc": ListHostInsightsSortOrderDesc,
-}
-
-// GetListHostInsightsSortOrderEnumValues Enumerates the set of values for ListHostInsightsSortOrderEnum
-func GetListHostInsightsSortOrderEnumValues() []ListHostInsightsSortOrderEnum {
- values := make([]ListHostInsightsSortOrderEnum, 0)
- for _, v := range mappingListHostInsightsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostInsightsSortOrderEnumStringValues Enumerates the set of values in String for ListHostInsightsSortOrderEnum
-func GetListHostInsightsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListHostInsightsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostInsightsSortOrderEnum(val string) (ListHostInsightsSortOrderEnum, bool) {
- enum, ok := mappingListHostInsightsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostInsightsSortByEnum Enum with underlying type: string
-type ListHostInsightsSortByEnum string
-
-// Set of constants representing the allowable values for ListHostInsightsSortByEnum
-const (
- ListHostInsightsSortByHostname ListHostInsightsSortByEnum = "hostName"
- ListHostInsightsSortByHosttype ListHostInsightsSortByEnum = "hostType"
-)
-
-var mappingListHostInsightsSortByEnum = map[string]ListHostInsightsSortByEnum{
- "hostName": ListHostInsightsSortByHostname,
- "hostType": ListHostInsightsSortByHosttype,
-}
-
-var mappingListHostInsightsSortByEnumLowerCase = map[string]ListHostInsightsSortByEnum{
- "hostname": ListHostInsightsSortByHostname,
- "hosttype": ListHostInsightsSortByHosttype,
-}
-
-// GetListHostInsightsSortByEnumValues Enumerates the set of values for ListHostInsightsSortByEnum
-func GetListHostInsightsSortByEnumValues() []ListHostInsightsSortByEnum {
- values := make([]ListHostInsightsSortByEnum, 0)
- for _, v := range mappingListHostInsightsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostInsightsSortByEnumStringValues Enumerates the set of values in String for ListHostInsightsSortByEnum
-func GetListHostInsightsSortByEnumStringValues() []string {
- return []string{
- "hostName",
- "hostType",
- }
-}
-
-// GetMappingListHostInsightsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostInsightsSortByEnum(val string) (ListHostInsightsSortByEnum, bool) {
- enum, ok := mappingListHostInsightsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_hosted_entities_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_hosted_entities_request_response.go
deleted file mode 100644
index 2dac1960156..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_hosted_entities_request_response.go
+++ /dev/null
@@ -1,306 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListHostedEntitiesRequest wrapper for the ListHostedEntities operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListHostedEntities.go.html to see an example of how to use ListHostedEntitiesRequest.
-type ListHostedEntitiesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []ListHostedEntitiesPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"false" contributesTo:"query" name:"exadataInsightId"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListHostedEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Hosted entity list sort options.
- SortBy ListHostedEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 ListHostedEntitiesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListHostedEntitiesRequest) 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 ListHostedEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListHostedEntitiesRequest) 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 ListHostedEntitiesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingListHostedEntitiesPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetListHostedEntitiesPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListHostedEntitiesSortOrderEnum(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(GetListHostedEntitiesSortOrderEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListHostedEntitiesResponse wrapper for the ListHostedEntities operation
-type ListHostedEntitiesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of HostedEntityCollection instances
- HostedEntityCollection `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 ListHostedEntitiesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListHostedEntitiesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListHostedEntitiesPlatformTypeEnum Enum with underlying type: string
-type ListHostedEntitiesPlatformTypeEnum string
-
-// Set of constants representing the allowable values for ListHostedEntitiesPlatformTypeEnum
-const (
- ListHostedEntitiesPlatformTypeLinux ListHostedEntitiesPlatformTypeEnum = "LINUX"
- ListHostedEntitiesPlatformTypeSolaris ListHostedEntitiesPlatformTypeEnum = "SOLARIS"
- ListHostedEntitiesPlatformTypeSunos ListHostedEntitiesPlatformTypeEnum = "SUNOS"
- ListHostedEntitiesPlatformTypeZlinux ListHostedEntitiesPlatformTypeEnum = "ZLINUX"
- ListHostedEntitiesPlatformTypeWindows ListHostedEntitiesPlatformTypeEnum = "WINDOWS"
- ListHostedEntitiesPlatformTypeAix ListHostedEntitiesPlatformTypeEnum = "AIX"
-)
-
-var mappingListHostedEntitiesPlatformTypeEnum = map[string]ListHostedEntitiesPlatformTypeEnum{
- "LINUX": ListHostedEntitiesPlatformTypeLinux,
- "SOLARIS": ListHostedEntitiesPlatformTypeSolaris,
- "SUNOS": ListHostedEntitiesPlatformTypeSunos,
- "ZLINUX": ListHostedEntitiesPlatformTypeZlinux,
- "WINDOWS": ListHostedEntitiesPlatformTypeWindows,
- "AIX": ListHostedEntitiesPlatformTypeAix,
-}
-
-var mappingListHostedEntitiesPlatformTypeEnumLowerCase = map[string]ListHostedEntitiesPlatformTypeEnum{
- "linux": ListHostedEntitiesPlatformTypeLinux,
- "solaris": ListHostedEntitiesPlatformTypeSolaris,
- "sunos": ListHostedEntitiesPlatformTypeSunos,
- "zlinux": ListHostedEntitiesPlatformTypeZlinux,
- "windows": ListHostedEntitiesPlatformTypeWindows,
- "aix": ListHostedEntitiesPlatformTypeAix,
-}
-
-// GetListHostedEntitiesPlatformTypeEnumValues Enumerates the set of values for ListHostedEntitiesPlatformTypeEnum
-func GetListHostedEntitiesPlatformTypeEnumValues() []ListHostedEntitiesPlatformTypeEnum {
- values := make([]ListHostedEntitiesPlatformTypeEnum, 0)
- for _, v := range mappingListHostedEntitiesPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostedEntitiesPlatformTypeEnumStringValues Enumerates the set of values in String for ListHostedEntitiesPlatformTypeEnum
-func GetListHostedEntitiesPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingListHostedEntitiesPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostedEntitiesPlatformTypeEnum(val string) (ListHostedEntitiesPlatformTypeEnum, bool) {
- enum, ok := mappingListHostedEntitiesPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostedEntitiesSortOrderEnum Enum with underlying type: string
-type ListHostedEntitiesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListHostedEntitiesSortOrderEnum
-const (
- ListHostedEntitiesSortOrderAsc ListHostedEntitiesSortOrderEnum = "ASC"
- ListHostedEntitiesSortOrderDesc ListHostedEntitiesSortOrderEnum = "DESC"
-)
-
-var mappingListHostedEntitiesSortOrderEnum = map[string]ListHostedEntitiesSortOrderEnum{
- "ASC": ListHostedEntitiesSortOrderAsc,
- "DESC": ListHostedEntitiesSortOrderDesc,
-}
-
-var mappingListHostedEntitiesSortOrderEnumLowerCase = map[string]ListHostedEntitiesSortOrderEnum{
- "asc": ListHostedEntitiesSortOrderAsc,
- "desc": ListHostedEntitiesSortOrderDesc,
-}
-
-// GetListHostedEntitiesSortOrderEnumValues Enumerates the set of values for ListHostedEntitiesSortOrderEnum
-func GetListHostedEntitiesSortOrderEnumValues() []ListHostedEntitiesSortOrderEnum {
- values := make([]ListHostedEntitiesSortOrderEnum, 0)
- for _, v := range mappingListHostedEntitiesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostedEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListHostedEntitiesSortOrderEnum
-func GetListHostedEntitiesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListHostedEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostedEntitiesSortOrderEnum(val string) (ListHostedEntitiesSortOrderEnum, bool) {
- enum, ok := mappingListHostedEntitiesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListHostedEntitiesSortByEnum Enum with underlying type: string
-type ListHostedEntitiesSortByEnum string
-
-// Set of constants representing the allowable values for ListHostedEntitiesSortByEnum
-const (
- ListHostedEntitiesSortByEntityname ListHostedEntitiesSortByEnum = "entityName"
- ListHostedEntitiesSortByEntitytype ListHostedEntitiesSortByEnum = "entityType"
-)
-
-var mappingListHostedEntitiesSortByEnum = map[string]ListHostedEntitiesSortByEnum{
- "entityName": ListHostedEntitiesSortByEntityname,
- "entityType": ListHostedEntitiesSortByEntitytype,
-}
-
-var mappingListHostedEntitiesSortByEnumLowerCase = map[string]ListHostedEntitiesSortByEnum{
- "entityname": ListHostedEntitiesSortByEntityname,
- "entitytype": ListHostedEntitiesSortByEntitytype,
-}
-
-// GetListHostedEntitiesSortByEnumValues Enumerates the set of values for ListHostedEntitiesSortByEnum
-func GetListHostedEntitiesSortByEnumValues() []ListHostedEntitiesSortByEnum {
- values := make([]ListHostedEntitiesSortByEnum, 0)
- for _, v := range mappingListHostedEntitiesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListHostedEntitiesSortByEnumStringValues Enumerates the set of values in String for ListHostedEntitiesSortByEnum
-func GetListHostedEntitiesSortByEnumStringValues() []string {
- return []string{
- "entityName",
- "entityType",
- }
-}
-
-// GetMappingListHostedEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListHostedEntitiesSortByEnum(val string) (ListHostedEntitiesSortByEnum, bool) {
- enum, ok := mappingListHostedEntitiesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_agent_entities_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_agent_entities_request_response.go
deleted file mode 100644
index 3485c9a2a57..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_agent_entities_request_response.go
+++ /dev/null
@@ -1,204 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListImportableAgentEntitiesRequest wrapper for the ListImportableAgentEntities operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableAgentEntities.go.html to see an example of how to use ListImportableAgentEntitiesRequest.
-type ListImportableAgentEntitiesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListImportableAgentEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Hosted entity list sort options.
- SortBy ListImportableAgentEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListImportableAgentEntitiesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListImportableAgentEntitiesRequest) 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 ListImportableAgentEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListImportableAgentEntitiesRequest) 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 ListImportableAgentEntitiesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListImportableAgentEntitiesSortOrderEnum(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(GetListImportableAgentEntitiesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListImportableAgentEntitiesSortByEnum(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(GetListImportableAgentEntitiesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListImportableAgentEntitiesResponse wrapper for the ListImportableAgentEntities operation
-type ListImportableAgentEntitiesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ImportableAgentEntitySummaryCollection instances
- ImportableAgentEntitySummaryCollection `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 ListImportableAgentEntitiesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListImportableAgentEntitiesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListImportableAgentEntitiesSortOrderEnum Enum with underlying type: string
-type ListImportableAgentEntitiesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListImportableAgentEntitiesSortOrderEnum
-const (
- ListImportableAgentEntitiesSortOrderAsc ListImportableAgentEntitiesSortOrderEnum = "ASC"
- ListImportableAgentEntitiesSortOrderDesc ListImportableAgentEntitiesSortOrderEnum = "DESC"
-)
-
-var mappingListImportableAgentEntitiesSortOrderEnum = map[string]ListImportableAgentEntitiesSortOrderEnum{
- "ASC": ListImportableAgentEntitiesSortOrderAsc,
- "DESC": ListImportableAgentEntitiesSortOrderDesc,
-}
-
-var mappingListImportableAgentEntitiesSortOrderEnumLowerCase = map[string]ListImportableAgentEntitiesSortOrderEnum{
- "asc": ListImportableAgentEntitiesSortOrderAsc,
- "desc": ListImportableAgentEntitiesSortOrderDesc,
-}
-
-// GetListImportableAgentEntitiesSortOrderEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortOrderEnum
-func GetListImportableAgentEntitiesSortOrderEnumValues() []ListImportableAgentEntitiesSortOrderEnum {
- values := make([]ListImportableAgentEntitiesSortOrderEnum, 0)
- for _, v := range mappingListImportableAgentEntitiesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListImportableAgentEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListImportableAgentEntitiesSortOrderEnum
-func GetListImportableAgentEntitiesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListImportableAgentEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListImportableAgentEntitiesSortOrderEnum(val string) (ListImportableAgentEntitiesSortOrderEnum, bool) {
- enum, ok := mappingListImportableAgentEntitiesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListImportableAgentEntitiesSortByEnum Enum with underlying type: string
-type ListImportableAgentEntitiesSortByEnum string
-
-// Set of constants representing the allowable values for ListImportableAgentEntitiesSortByEnum
-const (
- ListImportableAgentEntitiesSortByEntityname ListImportableAgentEntitiesSortByEnum = "entityName"
- ListImportableAgentEntitiesSortByEntitytype ListImportableAgentEntitiesSortByEnum = "entityType"
-)
-
-var mappingListImportableAgentEntitiesSortByEnum = map[string]ListImportableAgentEntitiesSortByEnum{
- "entityName": ListImportableAgentEntitiesSortByEntityname,
- "entityType": ListImportableAgentEntitiesSortByEntitytype,
-}
-
-var mappingListImportableAgentEntitiesSortByEnumLowerCase = map[string]ListImportableAgentEntitiesSortByEnum{
- "entityname": ListImportableAgentEntitiesSortByEntityname,
- "entitytype": ListImportableAgentEntitiesSortByEntitytype,
-}
-
-// GetListImportableAgentEntitiesSortByEnumValues Enumerates the set of values for ListImportableAgentEntitiesSortByEnum
-func GetListImportableAgentEntitiesSortByEnumValues() []ListImportableAgentEntitiesSortByEnum {
- values := make([]ListImportableAgentEntitiesSortByEnum, 0)
- for _, v := range mappingListImportableAgentEntitiesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListImportableAgentEntitiesSortByEnumStringValues Enumerates the set of values in String for ListImportableAgentEntitiesSortByEnum
-func GetListImportableAgentEntitiesSortByEnumStringValues() []string {
- return []string{
- "entityName",
- "entityType",
- }
-}
-
-// GetMappingListImportableAgentEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListImportableAgentEntitiesSortByEnum(val string) (ListImportableAgentEntitiesSortByEnum, bool) {
- enum, ok := mappingListImportableAgentEntitiesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_compute_entities_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_compute_entities_request_response.go
deleted file mode 100644
index 3f209351ffa..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_compute_entities_request_response.go
+++ /dev/null
@@ -1,212 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListImportableComputeEntitiesRequest wrapper for the ListImportableComputeEntities operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableComputeEntities.go.html to see an example of how to use ListImportableComputeEntitiesRequest.
-type ListImportableComputeEntitiesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListImportableComputeEntitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Compute entity list sort options.
- SortBy ListImportableComputeEntitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListImportableComputeEntitiesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListImportableComputeEntitiesRequest) 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 ListImportableComputeEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListImportableComputeEntitiesRequest) 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 ListImportableComputeEntitiesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListImportableComputeEntitiesSortOrderEnum(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(GetListImportableComputeEntitiesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListImportableComputeEntitiesSortByEnum(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(GetListImportableComputeEntitiesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListImportableComputeEntitiesResponse wrapper for the ListImportableComputeEntities operation
-type ListImportableComputeEntitiesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ImportableComputeEntitySummaryCollection instances
- ImportableComputeEntitySummaryCollection `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 ListImportableComputeEntitiesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListImportableComputeEntitiesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListImportableComputeEntitiesSortOrderEnum Enum with underlying type: string
-type ListImportableComputeEntitiesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListImportableComputeEntitiesSortOrderEnum
-const (
- ListImportableComputeEntitiesSortOrderAsc ListImportableComputeEntitiesSortOrderEnum = "ASC"
- ListImportableComputeEntitiesSortOrderDesc ListImportableComputeEntitiesSortOrderEnum = "DESC"
-)
-
-var mappingListImportableComputeEntitiesSortOrderEnum = map[string]ListImportableComputeEntitiesSortOrderEnum{
- "ASC": ListImportableComputeEntitiesSortOrderAsc,
- "DESC": ListImportableComputeEntitiesSortOrderDesc,
-}
-
-var mappingListImportableComputeEntitiesSortOrderEnumLowerCase = map[string]ListImportableComputeEntitiesSortOrderEnum{
- "asc": ListImportableComputeEntitiesSortOrderAsc,
- "desc": ListImportableComputeEntitiesSortOrderDesc,
-}
-
-// GetListImportableComputeEntitiesSortOrderEnumValues Enumerates the set of values for ListImportableComputeEntitiesSortOrderEnum
-func GetListImportableComputeEntitiesSortOrderEnumValues() []ListImportableComputeEntitiesSortOrderEnum {
- values := make([]ListImportableComputeEntitiesSortOrderEnum, 0)
- for _, v := range mappingListImportableComputeEntitiesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListImportableComputeEntitiesSortOrderEnumStringValues Enumerates the set of values in String for ListImportableComputeEntitiesSortOrderEnum
-func GetListImportableComputeEntitiesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListImportableComputeEntitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListImportableComputeEntitiesSortOrderEnum(val string) (ListImportableComputeEntitiesSortOrderEnum, bool) {
- enum, ok := mappingListImportableComputeEntitiesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListImportableComputeEntitiesSortByEnum Enum with underlying type: string
-type ListImportableComputeEntitiesSortByEnum string
-
-// Set of constants representing the allowable values for ListImportableComputeEntitiesSortByEnum
-const (
- ListImportableComputeEntitiesSortByComputeid ListImportableComputeEntitiesSortByEnum = "computeId"
- ListImportableComputeEntitiesSortByComputedisplayname ListImportableComputeEntitiesSortByEnum = "computeDisplayName"
- ListImportableComputeEntitiesSortByPlatformtype ListImportableComputeEntitiesSortByEnum = "platformType"
- ListImportableComputeEntitiesSortByHostname ListImportableComputeEntitiesSortByEnum = "hostName"
-)
-
-var mappingListImportableComputeEntitiesSortByEnum = map[string]ListImportableComputeEntitiesSortByEnum{
- "computeId": ListImportableComputeEntitiesSortByComputeid,
- "computeDisplayName": ListImportableComputeEntitiesSortByComputedisplayname,
- "platformType": ListImportableComputeEntitiesSortByPlatformtype,
- "hostName": ListImportableComputeEntitiesSortByHostname,
-}
-
-var mappingListImportableComputeEntitiesSortByEnumLowerCase = map[string]ListImportableComputeEntitiesSortByEnum{
- "computeid": ListImportableComputeEntitiesSortByComputeid,
- "computedisplayname": ListImportableComputeEntitiesSortByComputedisplayname,
- "platformtype": ListImportableComputeEntitiesSortByPlatformtype,
- "hostname": ListImportableComputeEntitiesSortByHostname,
-}
-
-// GetListImportableComputeEntitiesSortByEnumValues Enumerates the set of values for ListImportableComputeEntitiesSortByEnum
-func GetListImportableComputeEntitiesSortByEnumValues() []ListImportableComputeEntitiesSortByEnum {
- values := make([]ListImportableComputeEntitiesSortByEnum, 0)
- for _, v := range mappingListImportableComputeEntitiesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListImportableComputeEntitiesSortByEnumStringValues Enumerates the set of values in String for ListImportableComputeEntitiesSortByEnum
-func GetListImportableComputeEntitiesSortByEnumStringValues() []string {
- return []string{
- "computeId",
- "computeDisplayName",
- "platformType",
- "hostName",
- }
-}
-
-// GetMappingListImportableComputeEntitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListImportableComputeEntitiesSortByEnum(val string) (ListImportableComputeEntitiesSortByEnum, bool) {
- enum, ok := mappingListImportableComputeEntitiesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_enterprise_manager_entities_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_enterprise_manager_entities_request_response.go
deleted file mode 100644
index 4a9315301aa..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_importable_enterprise_manager_entities_request_response.go
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListImportableEnterpriseManagerEntitiesRequest wrapper for the ListImportableEnterpriseManagerEntities operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListImportableEnterpriseManagerEntities.go.html to see an example of how to use ListImportableEnterpriseManagerEntitiesRequest.
-type ListImportableEnterpriseManagerEntitiesRequest struct {
-
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Filter by one or more Enterprise Manager entity types. Currently, the supported types are "oracle_pdb", "oracle_database", "host", "oracle_dbmachine", "oracle_exa_cloud_service", and "oracle_oci_exadata_cloud_service". If this parameter is not specified, targets of all supported entity types are returned by default.
- EnterpriseManagerEntityType []string `contributesTo:"query" name:"enterpriseManagerEntityType" collectionFormat:"multi"`
-
- // Used in combination with enterpriseManagerParentEntityIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
- EnterpriseManagerIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerIdentifier"`
-
- // Used in combination with enterpriseManagerIdentifier to return the members of a particular Enterprise Manager parent entity. Both enterpriseManagerIdentifier and enterpriseManagerParentEntityIdentifier must be specified to identify a particular Enterprise Manager parent entity.
- EnterpriseManagerParentEntityIdentifier *string `mandatory:"false" contributesTo:"query" name:"enterpriseManagerParentEntityIdentifier"`
-
- // 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"`
-
- // 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 ListImportableEnterpriseManagerEntitiesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListImportableEnterpriseManagerEntitiesRequest) 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 ListImportableEnterpriseManagerEntitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListImportableEnterpriseManagerEntitiesRequest) 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 ListImportableEnterpriseManagerEntitiesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListImportableEnterpriseManagerEntitiesResponse wrapper for the ListImportableEnterpriseManagerEntities operation
-type ListImportableEnterpriseManagerEntitiesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ImportableEnterpriseManagerEntityCollection instances
- ImportableEnterpriseManagerEntityCollection `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 ListImportableEnterpriseManagerEntitiesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListImportableEnterpriseManagerEntitiesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_private_endpoints_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_private_endpoints_request_response.go
deleted file mode 100644
index 9e8e0dced81..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_private_endpoints_request_response.go
+++ /dev/null
@@ -1,232 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListOperationsInsightsPrivateEndpointsRequest wrapper for the ListOperationsInsightsPrivateEndpoints operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsPrivateEndpoints.go.html to see an example of how to use ListOperationsInsightsPrivateEndpointsRequest.
-type ListOperationsInsightsPrivateEndpointsRequest 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"`
-
- // A filter to return only resources that match the entire display name.
- DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
-
- // Unique Operations Insights PrivateEndpoint identifier
- OpsiPrivateEndpointId *string `mandatory:"false" contributesTo:"query" name:"opsiPrivateEndpointId"`
-
- // The option to filter OPSI private endpoints that can used for RAC. Should be used along with vcnId query parameter.
- IsUsedForRacDbs *bool `mandatory:"false" contributesTo:"query" name:"isUsedForRacDbs"`
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VCN.
- VcnId *string `mandatory:"false" contributesTo:"query" name:"vcnId"`
-
- // Lifecycle states
- LifecycleState []OperationsInsightsPrivateEndpointLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListOperationsInsightsPrivateEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The field to sort private endpoints.
- SortBy ListOperationsInsightsPrivateEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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"`
-
- // 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 ListOperationsInsightsPrivateEndpointsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListOperationsInsightsPrivateEndpointsRequest) 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 ListOperationsInsightsPrivateEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListOperationsInsightsPrivateEndpointsRequest) 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 ListOperationsInsightsPrivateEndpointsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingOperationsInsightsPrivateEndpointLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListOperationsInsightsPrivateEndpointsSortOrderEnum(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(GetListOperationsInsightsPrivateEndpointsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListOperationsInsightsPrivateEndpointsSortByEnum(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(GetListOperationsInsightsPrivateEndpointsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListOperationsInsightsPrivateEndpointsResponse wrapper for the ListOperationsInsightsPrivateEndpoints operation
-type ListOperationsInsightsPrivateEndpointsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of OperationsInsightsPrivateEndpointCollection instances
- OperationsInsightsPrivateEndpointCollection `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 ListOperationsInsightsPrivateEndpointsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListOperationsInsightsPrivateEndpointsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListOperationsInsightsPrivateEndpointsSortOrderEnum Enum with underlying type: string
-type ListOperationsInsightsPrivateEndpointsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsPrivateEndpointsSortOrderEnum
-const (
- ListOperationsInsightsPrivateEndpointsSortOrderAsc ListOperationsInsightsPrivateEndpointsSortOrderEnum = "ASC"
- ListOperationsInsightsPrivateEndpointsSortOrderDesc ListOperationsInsightsPrivateEndpointsSortOrderEnum = "DESC"
-)
-
-var mappingListOperationsInsightsPrivateEndpointsSortOrderEnum = map[string]ListOperationsInsightsPrivateEndpointsSortOrderEnum{
- "ASC": ListOperationsInsightsPrivateEndpointsSortOrderAsc,
- "DESC": ListOperationsInsightsPrivateEndpointsSortOrderDesc,
-}
-
-var mappingListOperationsInsightsPrivateEndpointsSortOrderEnumLowerCase = map[string]ListOperationsInsightsPrivateEndpointsSortOrderEnum{
- "asc": ListOperationsInsightsPrivateEndpointsSortOrderAsc,
- "desc": ListOperationsInsightsPrivateEndpointsSortOrderDesc,
-}
-
-// GetListOperationsInsightsPrivateEndpointsSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsPrivateEndpointsSortOrderEnum
-func GetListOperationsInsightsPrivateEndpointsSortOrderEnumValues() []ListOperationsInsightsPrivateEndpointsSortOrderEnum {
- values := make([]ListOperationsInsightsPrivateEndpointsSortOrderEnum, 0)
- for _, v := range mappingListOperationsInsightsPrivateEndpointsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsPrivateEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsPrivateEndpointsSortOrderEnum
-func GetListOperationsInsightsPrivateEndpointsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListOperationsInsightsPrivateEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsPrivateEndpointsSortOrderEnum(val string) (ListOperationsInsightsPrivateEndpointsSortOrderEnum, bool) {
- enum, ok := mappingListOperationsInsightsPrivateEndpointsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListOperationsInsightsPrivateEndpointsSortByEnum Enum with underlying type: string
-type ListOperationsInsightsPrivateEndpointsSortByEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsPrivateEndpointsSortByEnum
-const (
- ListOperationsInsightsPrivateEndpointsSortByTimecreated ListOperationsInsightsPrivateEndpointsSortByEnum = "timeCreated"
- ListOperationsInsightsPrivateEndpointsSortById ListOperationsInsightsPrivateEndpointsSortByEnum = "id"
- ListOperationsInsightsPrivateEndpointsSortByDisplayname ListOperationsInsightsPrivateEndpointsSortByEnum = "displayName"
-)
-
-var mappingListOperationsInsightsPrivateEndpointsSortByEnum = map[string]ListOperationsInsightsPrivateEndpointsSortByEnum{
- "timeCreated": ListOperationsInsightsPrivateEndpointsSortByTimecreated,
- "id": ListOperationsInsightsPrivateEndpointsSortById,
- "displayName": ListOperationsInsightsPrivateEndpointsSortByDisplayname,
-}
-
-var mappingListOperationsInsightsPrivateEndpointsSortByEnumLowerCase = map[string]ListOperationsInsightsPrivateEndpointsSortByEnum{
- "timecreated": ListOperationsInsightsPrivateEndpointsSortByTimecreated,
- "id": ListOperationsInsightsPrivateEndpointsSortById,
- "displayname": ListOperationsInsightsPrivateEndpointsSortByDisplayname,
-}
-
-// GetListOperationsInsightsPrivateEndpointsSortByEnumValues Enumerates the set of values for ListOperationsInsightsPrivateEndpointsSortByEnum
-func GetListOperationsInsightsPrivateEndpointsSortByEnumValues() []ListOperationsInsightsPrivateEndpointsSortByEnum {
- values := make([]ListOperationsInsightsPrivateEndpointsSortByEnum, 0)
- for _, v := range mappingListOperationsInsightsPrivateEndpointsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsPrivateEndpointsSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsPrivateEndpointsSortByEnum
-func GetListOperationsInsightsPrivateEndpointsSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "id",
- "displayName",
- }
-}
-
-// GetMappingListOperationsInsightsPrivateEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsPrivateEndpointsSortByEnum(val string) (ListOperationsInsightsPrivateEndpointsSortByEnum, bool) {
- enum, ok := mappingListOperationsInsightsPrivateEndpointsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouse_users_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouse_users_request_response.go
deleted file mode 100644
index 1d795541c93..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouse_users_request_response.go
+++ /dev/null
@@ -1,222 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListOperationsInsightsWarehouseUsersRequest wrapper for the ListOperationsInsightsWarehouseUsers operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsWarehouseUsers.go.html to see an example of how to use ListOperationsInsightsWarehouseUsersRequest.
-type ListOperationsInsightsWarehouseUsersRequest struct {
-
- // Unique Operations Insights Warehouse identifier
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"query" name:"operationsInsightsWarehouseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // A filter to return only resources that match the entire display name.
- DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
-
- // Unique Operations Insights Warehouse User identifier
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Lifecycle states
- LifecycleState []OperationsInsightsWarehouseUserLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListOperationsInsightsWarehouseUsersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // 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 ListOperationsInsightsWarehouseUsersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListOperationsInsightsWarehouseUsersRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListOperationsInsightsWarehouseUsersRequest) 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 ListOperationsInsightsWarehouseUsersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListOperationsInsightsWarehouseUsersRequest) 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 ListOperationsInsightsWarehouseUsersRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingOperationsInsightsWarehouseUserLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListOperationsInsightsWarehouseUsersSortOrderEnum(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(GetListOperationsInsightsWarehouseUsersSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListOperationsInsightsWarehouseUsersSortByEnum(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(GetListOperationsInsightsWarehouseUsersSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListOperationsInsightsWarehouseUsersResponse wrapper for the ListOperationsInsightsWarehouseUsers operation
-type ListOperationsInsightsWarehouseUsersResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of OperationsInsightsWarehouseUserSummaryCollection instances
- OperationsInsightsWarehouseUserSummaryCollection `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 ListOperationsInsightsWarehouseUsersResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListOperationsInsightsWarehouseUsersResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListOperationsInsightsWarehouseUsersSortOrderEnum Enum with underlying type: string
-type ListOperationsInsightsWarehouseUsersSortOrderEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsWarehouseUsersSortOrderEnum
-const (
- ListOperationsInsightsWarehouseUsersSortOrderAsc ListOperationsInsightsWarehouseUsersSortOrderEnum = "ASC"
- ListOperationsInsightsWarehouseUsersSortOrderDesc ListOperationsInsightsWarehouseUsersSortOrderEnum = "DESC"
-)
-
-var mappingListOperationsInsightsWarehouseUsersSortOrderEnum = map[string]ListOperationsInsightsWarehouseUsersSortOrderEnum{
- "ASC": ListOperationsInsightsWarehouseUsersSortOrderAsc,
- "DESC": ListOperationsInsightsWarehouseUsersSortOrderDesc,
-}
-
-var mappingListOperationsInsightsWarehouseUsersSortOrderEnumLowerCase = map[string]ListOperationsInsightsWarehouseUsersSortOrderEnum{
- "asc": ListOperationsInsightsWarehouseUsersSortOrderAsc,
- "desc": ListOperationsInsightsWarehouseUsersSortOrderDesc,
-}
-
-// GetListOperationsInsightsWarehouseUsersSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsWarehouseUsersSortOrderEnum
-func GetListOperationsInsightsWarehouseUsersSortOrderEnumValues() []ListOperationsInsightsWarehouseUsersSortOrderEnum {
- values := make([]ListOperationsInsightsWarehouseUsersSortOrderEnum, 0)
- for _, v := range mappingListOperationsInsightsWarehouseUsersSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsWarehouseUsersSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehouseUsersSortOrderEnum
-func GetListOperationsInsightsWarehouseUsersSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListOperationsInsightsWarehouseUsersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsWarehouseUsersSortOrderEnum(val string) (ListOperationsInsightsWarehouseUsersSortOrderEnum, bool) {
- enum, ok := mappingListOperationsInsightsWarehouseUsersSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListOperationsInsightsWarehouseUsersSortByEnum Enum with underlying type: string
-type ListOperationsInsightsWarehouseUsersSortByEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsWarehouseUsersSortByEnum
-const (
- ListOperationsInsightsWarehouseUsersSortByTimecreated ListOperationsInsightsWarehouseUsersSortByEnum = "timeCreated"
- ListOperationsInsightsWarehouseUsersSortByDisplayname ListOperationsInsightsWarehouseUsersSortByEnum = "displayName"
-)
-
-var mappingListOperationsInsightsWarehouseUsersSortByEnum = map[string]ListOperationsInsightsWarehouseUsersSortByEnum{
- "timeCreated": ListOperationsInsightsWarehouseUsersSortByTimecreated,
- "displayName": ListOperationsInsightsWarehouseUsersSortByDisplayname,
-}
-
-var mappingListOperationsInsightsWarehouseUsersSortByEnumLowerCase = map[string]ListOperationsInsightsWarehouseUsersSortByEnum{
- "timecreated": ListOperationsInsightsWarehouseUsersSortByTimecreated,
- "displayname": ListOperationsInsightsWarehouseUsersSortByDisplayname,
-}
-
-// GetListOperationsInsightsWarehouseUsersSortByEnumValues Enumerates the set of values for ListOperationsInsightsWarehouseUsersSortByEnum
-func GetListOperationsInsightsWarehouseUsersSortByEnumValues() []ListOperationsInsightsWarehouseUsersSortByEnum {
- values := make([]ListOperationsInsightsWarehouseUsersSortByEnum, 0)
- for _, v := range mappingListOperationsInsightsWarehouseUsersSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsWarehouseUsersSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehouseUsersSortByEnum
-func GetListOperationsInsightsWarehouseUsersSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "displayName",
- }
-}
-
-// GetMappingListOperationsInsightsWarehouseUsersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsWarehouseUsersSortByEnum(val string) (ListOperationsInsightsWarehouseUsersSortByEnum, bool) {
- enum, ok := mappingListOperationsInsightsWarehouseUsersSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouses_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouses_request_response.go
deleted file mode 100644
index 64fc93a6e3b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_operations_insights_warehouses_request_response.go
+++ /dev/null
@@ -1,219 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListOperationsInsightsWarehousesRequest wrapper for the ListOperationsInsightsWarehouses operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOperationsInsightsWarehouses.go.html to see an example of how to use ListOperationsInsightsWarehousesRequest.
-type ListOperationsInsightsWarehousesRequest 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"`
-
- // 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
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Lifecycle states
- LifecycleState []OperationsInsightsWarehouseLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListOperationsInsightsWarehousesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // 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 ListOperationsInsightsWarehousesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListOperationsInsightsWarehousesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListOperationsInsightsWarehousesRequest) 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 ListOperationsInsightsWarehousesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListOperationsInsightsWarehousesRequest) 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 ListOperationsInsightsWarehousesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingOperationsInsightsWarehouseLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetOperationsInsightsWarehouseLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListOperationsInsightsWarehousesSortOrderEnum(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(GetListOperationsInsightsWarehousesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListOperationsInsightsWarehousesSortByEnum(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(GetListOperationsInsightsWarehousesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListOperationsInsightsWarehousesResponse wrapper for the ListOperationsInsightsWarehouses operation
-type ListOperationsInsightsWarehousesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of OperationsInsightsWarehouseSummaryCollection instances
- OperationsInsightsWarehouseSummaryCollection `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 ListOperationsInsightsWarehousesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListOperationsInsightsWarehousesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListOperationsInsightsWarehousesSortOrderEnum Enum with underlying type: string
-type ListOperationsInsightsWarehousesSortOrderEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsWarehousesSortOrderEnum
-const (
- ListOperationsInsightsWarehousesSortOrderAsc ListOperationsInsightsWarehousesSortOrderEnum = "ASC"
- ListOperationsInsightsWarehousesSortOrderDesc ListOperationsInsightsWarehousesSortOrderEnum = "DESC"
-)
-
-var mappingListOperationsInsightsWarehousesSortOrderEnum = map[string]ListOperationsInsightsWarehousesSortOrderEnum{
- "ASC": ListOperationsInsightsWarehousesSortOrderAsc,
- "DESC": ListOperationsInsightsWarehousesSortOrderDesc,
-}
-
-var mappingListOperationsInsightsWarehousesSortOrderEnumLowerCase = map[string]ListOperationsInsightsWarehousesSortOrderEnum{
- "asc": ListOperationsInsightsWarehousesSortOrderAsc,
- "desc": ListOperationsInsightsWarehousesSortOrderDesc,
-}
-
-// GetListOperationsInsightsWarehousesSortOrderEnumValues Enumerates the set of values for ListOperationsInsightsWarehousesSortOrderEnum
-func GetListOperationsInsightsWarehousesSortOrderEnumValues() []ListOperationsInsightsWarehousesSortOrderEnum {
- values := make([]ListOperationsInsightsWarehousesSortOrderEnum, 0)
- for _, v := range mappingListOperationsInsightsWarehousesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsWarehousesSortOrderEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehousesSortOrderEnum
-func GetListOperationsInsightsWarehousesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListOperationsInsightsWarehousesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsWarehousesSortOrderEnum(val string) (ListOperationsInsightsWarehousesSortOrderEnum, bool) {
- enum, ok := mappingListOperationsInsightsWarehousesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListOperationsInsightsWarehousesSortByEnum Enum with underlying type: string
-type ListOperationsInsightsWarehousesSortByEnum string
-
-// Set of constants representing the allowable values for ListOperationsInsightsWarehousesSortByEnum
-const (
- ListOperationsInsightsWarehousesSortByTimecreated ListOperationsInsightsWarehousesSortByEnum = "timeCreated"
- ListOperationsInsightsWarehousesSortByDisplayname ListOperationsInsightsWarehousesSortByEnum = "displayName"
-)
-
-var mappingListOperationsInsightsWarehousesSortByEnum = map[string]ListOperationsInsightsWarehousesSortByEnum{
- "timeCreated": ListOperationsInsightsWarehousesSortByTimecreated,
- "displayName": ListOperationsInsightsWarehousesSortByDisplayname,
-}
-
-var mappingListOperationsInsightsWarehousesSortByEnumLowerCase = map[string]ListOperationsInsightsWarehousesSortByEnum{
- "timecreated": ListOperationsInsightsWarehousesSortByTimecreated,
- "displayname": ListOperationsInsightsWarehousesSortByDisplayname,
-}
-
-// GetListOperationsInsightsWarehousesSortByEnumValues Enumerates the set of values for ListOperationsInsightsWarehousesSortByEnum
-func GetListOperationsInsightsWarehousesSortByEnumValues() []ListOperationsInsightsWarehousesSortByEnum {
- values := make([]ListOperationsInsightsWarehousesSortByEnum, 0)
- for _, v := range mappingListOperationsInsightsWarehousesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOperationsInsightsWarehousesSortByEnumStringValues Enumerates the set of values in String for ListOperationsInsightsWarehousesSortByEnum
-func GetListOperationsInsightsWarehousesSortByEnumStringValues() []string {
- return []string{
- "timeCreated",
- "displayName",
- }
-}
-
-// GetMappingListOperationsInsightsWarehousesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOperationsInsightsWarehousesSortByEnum(val string) (ListOperationsInsightsWarehousesSortByEnum, bool) {
- enum, ok := mappingListOperationsInsightsWarehousesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_opsi_configurations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_opsi_configurations_request_response.go
deleted file mode 100644
index 0a2221ca62c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_opsi_configurations_request_response.go
+++ /dev/null
@@ -1,221 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListOpsiConfigurationsRequest wrapper for the ListOpsiConfigurations operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListOpsiConfigurations.go.html to see an example of how to use ListOpsiConfigurationsRequest.
-type ListOpsiConfigurationsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter to return based on resources that match the entire display name.
- DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`
-
- // Filter to return based on Lifecycle state of OPSI configuration.
- LifecycleState []OpsiConfigurationLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`
-
- // Filter to return based on configuration type of OPSI configuration.
- OpsiConfigType []OpsiConfigurationTypeEnum `contributesTo:"query" name:"opsiConfigType" omitEmpty:"true" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListOpsiConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // OPSI configurations list sort options.
- SortBy ListOpsiConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 ListOpsiConfigurationsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListOpsiConfigurationsRequest) 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 ListOpsiConfigurationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListOpsiConfigurationsRequest) 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 ListOpsiConfigurationsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.LifecycleState {
- if _, ok := GetMappingOpsiConfigurationLifecycleStateEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for LifecycleState: %s. Supported values are: %s.", val, strings.Join(GetOpsiConfigurationLifecycleStateEnumStringValues(), ",")))
- }
- }
-
- for _, val := range request.OpsiConfigType {
- if _, ok := GetMappingOpsiConfigurationTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OpsiConfigType: %s. Supported values are: %s.", val, strings.Join(GetOpsiConfigurationTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingListOpsiConfigurationsSortOrderEnum(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(GetListOpsiConfigurationsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListOpsiConfigurationsSortByEnum(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(GetListOpsiConfigurationsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListOpsiConfigurationsResponse wrapper for the ListOpsiConfigurations operation
-type ListOpsiConfigurationsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of OpsiConfigurationsCollection instances
- OpsiConfigurationsCollection `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 ListOpsiConfigurationsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListOpsiConfigurationsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListOpsiConfigurationsSortOrderEnum Enum with underlying type: string
-type ListOpsiConfigurationsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListOpsiConfigurationsSortOrderEnum
-const (
- ListOpsiConfigurationsSortOrderAsc ListOpsiConfigurationsSortOrderEnum = "ASC"
- ListOpsiConfigurationsSortOrderDesc ListOpsiConfigurationsSortOrderEnum = "DESC"
-)
-
-var mappingListOpsiConfigurationsSortOrderEnum = map[string]ListOpsiConfigurationsSortOrderEnum{
- "ASC": ListOpsiConfigurationsSortOrderAsc,
- "DESC": ListOpsiConfigurationsSortOrderDesc,
-}
-
-var mappingListOpsiConfigurationsSortOrderEnumLowerCase = map[string]ListOpsiConfigurationsSortOrderEnum{
- "asc": ListOpsiConfigurationsSortOrderAsc,
- "desc": ListOpsiConfigurationsSortOrderDesc,
-}
-
-// GetListOpsiConfigurationsSortOrderEnumValues Enumerates the set of values for ListOpsiConfigurationsSortOrderEnum
-func GetListOpsiConfigurationsSortOrderEnumValues() []ListOpsiConfigurationsSortOrderEnum {
- values := make([]ListOpsiConfigurationsSortOrderEnum, 0)
- for _, v := range mappingListOpsiConfigurationsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOpsiConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListOpsiConfigurationsSortOrderEnum
-func GetListOpsiConfigurationsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListOpsiConfigurationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOpsiConfigurationsSortOrderEnum(val string) (ListOpsiConfigurationsSortOrderEnum, bool) {
- enum, ok := mappingListOpsiConfigurationsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListOpsiConfigurationsSortByEnum Enum with underlying type: string
-type ListOpsiConfigurationsSortByEnum string
-
-// Set of constants representing the allowable values for ListOpsiConfigurationsSortByEnum
-const (
- ListOpsiConfigurationsSortByDisplayname ListOpsiConfigurationsSortByEnum = "displayName"
-)
-
-var mappingListOpsiConfigurationsSortByEnum = map[string]ListOpsiConfigurationsSortByEnum{
- "displayName": ListOpsiConfigurationsSortByDisplayname,
-}
-
-var mappingListOpsiConfigurationsSortByEnumLowerCase = map[string]ListOpsiConfigurationsSortByEnum{
- "displayname": ListOpsiConfigurationsSortByDisplayname,
-}
-
-// GetListOpsiConfigurationsSortByEnumValues Enumerates the set of values for ListOpsiConfigurationsSortByEnum
-func GetListOpsiConfigurationsSortByEnumValues() []ListOpsiConfigurationsSortByEnum {
- values := make([]ListOpsiConfigurationsSortByEnum, 0)
- for _, v := range mappingListOpsiConfigurationsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListOpsiConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListOpsiConfigurationsSortByEnum
-func GetListOpsiConfigurationsSortByEnumStringValues() []string {
- return []string{
- "displayName",
- }
-}
-
-// GetMappingListOpsiConfigurationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListOpsiConfigurationsSortByEnum(val string) (ListOpsiConfigurationsSortByEnum, bool) {
- enum, ok := mappingListOpsiConfigurationsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_plans_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_plans_request_response.go
deleted file mode 100644
index a343892d100..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_plans_request_response.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListSqlPlansRequest wrapper for the ListSqlPlans operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlPlans.go.html to see an example of how to use ListSqlPlansRequest.
-type ListSqlPlansRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Unique plan hash for a SQL Plan of a particular SQL Statement.
- // Example: `9820154385`
- PlanHash []int64 `contributesTo:"query" name:"planHash" collectionFormat:"multi"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 ListSqlPlansRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListSqlPlansRequest) 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 ListSqlPlansRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListSqlPlansRequest) 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 ListSqlPlansRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListSqlPlansResponse wrapper for the ListSqlPlans operation
-type ListSqlPlansResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlPlanCollection instances
- SqlPlanCollection `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 ListSqlPlansResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListSqlPlansResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_searches_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_searches_request_response.go
deleted file mode 100644
index b807e276886..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_searches_request_response.go
+++ /dev/null
@@ -1,152 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListSqlSearchesRequest wrapper for the ListSqlSearches operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlSearches.go.html to see an example of how to use ListSqlSearchesRequest.
-type ListSqlSearchesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListSqlSearchesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListSqlSearchesRequest) 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 ListSqlSearchesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListSqlSearchesRequest) 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 ListSqlSearchesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListSqlSearchesResponse wrapper for the ListSqlSearches operation
-type ListSqlSearchesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlSearchCollection instances
- SqlSearchCollection `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 ListSqlSearchesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListSqlSearchesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_texts_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_texts_request_response.go
deleted file mode 100644
index 32e7d5a107d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_sql_texts_request_response.go
+++ /dev/null
@@ -1,139 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListSqlTextsRequest wrapper for the ListSqlTexts operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListSqlTexts.go.html to see an example of how to use ListSqlTextsRequest.
-type ListSqlTextsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // One or more unique SQL_IDs for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the assosicated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 ListSqlTextsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListSqlTextsRequest) 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 ListSqlTextsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListSqlTextsRequest) 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 ListSqlTextsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListSqlTextsResponse wrapper for the ListSqlTexts operation
-type ListSqlTextsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlTextCollection instances
- SqlTextCollection `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 ListSqlTextsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListSqlTextsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_errors_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_errors_request_response.go
deleted file mode 100644
index d0a49754562..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_errors_request_response.go
+++ /dev/null
@@ -1,200 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
-type ListWorkRequestErrorsRequest struct {
-
- // The ID of the asynchronous request.
- WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
-
- // 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"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
- SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListWorkRequestErrorsSortOrderEnum `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 ListWorkRequestErrorsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListWorkRequestErrorsRequest) 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 ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListWorkRequestErrorsRequest) 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 ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListWorkRequestErrorsSortByEnum(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(GetListWorkRequestErrorsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListWorkRequestErrorsSortOrderEnum(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(GetListWorkRequestErrorsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
-type ListWorkRequestErrorsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of WorkRequestErrorCollection instances
- WorkRequestErrorCollection `presentIn:"body"`
-
- // 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"`
-
- // 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 ListWorkRequestErrorsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListWorkRequestErrorsSortByEnum Enum with underlying type: string
-type ListWorkRequestErrorsSortByEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
-const (
- ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
-)
-
-var mappingListWorkRequestErrorsSortByEnum = map[string]ListWorkRequestErrorsSortByEnum{
- "timeAccepted": ListWorkRequestErrorsSortByTimeaccepted,
-}
-
-var mappingListWorkRequestErrorsSortByEnumLowerCase = map[string]ListWorkRequestErrorsSortByEnum{
- "timeaccepted": ListWorkRequestErrorsSortByTimeaccepted,
-}
-
-// GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
-func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum {
- values := make([]ListWorkRequestErrorsSortByEnum, 0)
- for _, v := range mappingListWorkRequestErrorsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
-func GetListWorkRequestErrorsSortByEnumStringValues() []string {
- return []string{
- "timeAccepted",
- }
-}
-
-// GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool) {
- enum, ok := mappingListWorkRequestErrorsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
-type ListWorkRequestErrorsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
-const (
- ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC"
- ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
-)
-
-var mappingListWorkRequestErrorsSortOrderEnum = map[string]ListWorkRequestErrorsSortOrderEnum{
- "ASC": ListWorkRequestErrorsSortOrderAsc,
- "DESC": ListWorkRequestErrorsSortOrderDesc,
-}
-
-var mappingListWorkRequestErrorsSortOrderEnumLowerCase = map[string]ListWorkRequestErrorsSortOrderEnum{
- "asc": ListWorkRequestErrorsSortOrderAsc,
- "desc": ListWorkRequestErrorsSortOrderDesc,
-}
-
-// GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
-func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum {
- values := make([]ListWorkRequestErrorsSortOrderEnum, 0)
- for _, v := range mappingListWorkRequestErrorsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
-func GetListWorkRequestErrorsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool) {
- enum, ok := mappingListWorkRequestErrorsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_logs_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_logs_request_response.go
deleted file mode 100644
index 4bc0de6bf6a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_request_logs_request_response.go
+++ /dev/null
@@ -1,200 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
-type ListWorkRequestLogsRequest struct {
-
- // The ID of the asynchronous request.
- WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`
-
- // 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"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
- SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListWorkRequestLogsSortOrderEnum `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 ListWorkRequestLogsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListWorkRequestLogsRequest) 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 ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListWorkRequestLogsRequest) 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 ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListWorkRequestLogsSortByEnum(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(GetListWorkRequestLogsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListWorkRequestLogsSortOrderEnum(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(GetListWorkRequestLogsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
-type ListWorkRequestLogsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of WorkRequestLogEntryCollection instances
- WorkRequestLogEntryCollection `presentIn:"body"`
-
- // 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"`
-
- // 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 ListWorkRequestLogsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListWorkRequestLogsSortByEnum Enum with underlying type: string
-type ListWorkRequestLogsSortByEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
-const (
- ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
-)
-
-var mappingListWorkRequestLogsSortByEnum = map[string]ListWorkRequestLogsSortByEnum{
- "timeAccepted": ListWorkRequestLogsSortByTimeaccepted,
-}
-
-var mappingListWorkRequestLogsSortByEnumLowerCase = map[string]ListWorkRequestLogsSortByEnum{
- "timeaccepted": ListWorkRequestLogsSortByTimeaccepted,
-}
-
-// GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
-func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum {
- values := make([]ListWorkRequestLogsSortByEnum, 0)
- for _, v := range mappingListWorkRequestLogsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
-func GetListWorkRequestLogsSortByEnumStringValues() []string {
- return []string{
- "timeAccepted",
- }
-}
-
-// GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool) {
- enum, ok := mappingListWorkRequestLogsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
-type ListWorkRequestLogsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
-const (
- ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC"
- ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
-)
-
-var mappingListWorkRequestLogsSortOrderEnum = map[string]ListWorkRequestLogsSortOrderEnum{
- "ASC": ListWorkRequestLogsSortOrderAsc,
- "DESC": ListWorkRequestLogsSortOrderDesc,
-}
-
-var mappingListWorkRequestLogsSortOrderEnumLowerCase = map[string]ListWorkRequestLogsSortOrderEnum{
- "asc": ListWorkRequestLogsSortOrderAsc,
- "desc": ListWorkRequestLogsSortOrderDesc,
-}
-
-// GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
-func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum {
- values := make([]ListWorkRequestLogsSortOrderEnum, 0)
- for _, v := range mappingListWorkRequestLogsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
-func GetListWorkRequestLogsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool) {
- enum, ok := mappingListWorkRequestLogsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_requests_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_requests_request_response.go
deleted file mode 100644
index e754b14d8f8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/list_work_requests_request_response.go
+++ /dev/null
@@ -1,277 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// ListWorkRequestsRequest wrapper for the ListWorkRequests operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
-type ListWorkRequestsRequest 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"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // The ID of the asynchronous work request.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // A filter to return only resources their lifecycleState matches the given OperationStatus.
- Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`
-
- // The ID of the resource affected by the work request.
- ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`
-
- // The ID of the related resource for the resource affected by the work request, e.g. the related Exadata Insight OCID of the Database Insight work request
- RelatedResourceId *string `mandatory:"false" contributesTo:"query" name:"relatedResourceId"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
- SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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 ListWorkRequestsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request ListWorkRequestsRequest) 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 ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request ListWorkRequestsRequest) 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 ListWorkRequestsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingListWorkRequestsStatusEnum(string(request.Status)); !ok && request.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", request.Status, strings.Join(GetListWorkRequestsStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListWorkRequestsSortOrderEnum(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(GetListWorkRequestsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingListWorkRequestsSortByEnum(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(GetListWorkRequestsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// ListWorkRequestsResponse wrapper for the ListWorkRequests operation
-type ListWorkRequestsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of WorkRequestCollection instances
- WorkRequestCollection `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 ListWorkRequestsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response ListWorkRequestsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// ListWorkRequestsStatusEnum Enum with underlying type: string
-type ListWorkRequestsStatusEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestsStatusEnum
-const (
- ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED"
- ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
- ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING"
- ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED"
- ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED"
- ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING"
- ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED"
-)
-
-var mappingListWorkRequestsStatusEnum = map[string]ListWorkRequestsStatusEnum{
- "ACCEPTED": ListWorkRequestsStatusAccepted,
- "IN_PROGRESS": ListWorkRequestsStatusInProgress,
- "WAITING": ListWorkRequestsStatusWaiting,
- "FAILED": ListWorkRequestsStatusFailed,
- "SUCCEEDED": ListWorkRequestsStatusSucceeded,
- "CANCELING": ListWorkRequestsStatusCanceling,
- "CANCELED": ListWorkRequestsStatusCanceled,
-}
-
-var mappingListWorkRequestsStatusEnumLowerCase = map[string]ListWorkRequestsStatusEnum{
- "accepted": ListWorkRequestsStatusAccepted,
- "in_progress": ListWorkRequestsStatusInProgress,
- "waiting": ListWorkRequestsStatusWaiting,
- "failed": ListWorkRequestsStatusFailed,
- "succeeded": ListWorkRequestsStatusSucceeded,
- "canceling": ListWorkRequestsStatusCanceling,
- "canceled": ListWorkRequestsStatusCanceled,
-}
-
-// GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
-func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum {
- values := make([]ListWorkRequestsStatusEnum, 0)
- for _, v := range mappingListWorkRequestsStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
-func GetListWorkRequestsStatusEnumStringValues() []string {
- return []string{
- "ACCEPTED",
- "IN_PROGRESS",
- "WAITING",
- "FAILED",
- "SUCCEEDED",
- "CANCELING",
- "CANCELED",
- }
-}
-
-// GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool) {
- enum, ok := mappingListWorkRequestsStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListWorkRequestsSortOrderEnum Enum with underlying type: string
-type ListWorkRequestsSortOrderEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
-const (
- ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC"
- ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
-)
-
-var mappingListWorkRequestsSortOrderEnum = map[string]ListWorkRequestsSortOrderEnum{
- "ASC": ListWorkRequestsSortOrderAsc,
- "DESC": ListWorkRequestsSortOrderDesc,
-}
-
-var mappingListWorkRequestsSortOrderEnumLowerCase = map[string]ListWorkRequestsSortOrderEnum{
- "asc": ListWorkRequestsSortOrderAsc,
- "desc": ListWorkRequestsSortOrderDesc,
-}
-
-// GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
-func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum {
- values := make([]ListWorkRequestsSortOrderEnum, 0)
- for _, v := range mappingListWorkRequestsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
-func GetListWorkRequestsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool) {
- enum, ok := mappingListWorkRequestsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// ListWorkRequestsSortByEnum Enum with underlying type: string
-type ListWorkRequestsSortByEnum string
-
-// Set of constants representing the allowable values for ListWorkRequestsSortByEnum
-const (
- ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
-)
-
-var mappingListWorkRequestsSortByEnum = map[string]ListWorkRequestsSortByEnum{
- "timeAccepted": ListWorkRequestsSortByTimeaccepted,
-}
-
-var mappingListWorkRequestsSortByEnumLowerCase = map[string]ListWorkRequestsSortByEnum{
- "timeaccepted": ListWorkRequestsSortByTimeaccepted,
-}
-
-// GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
-func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum {
- values := make([]ListWorkRequestsSortByEnum, 0)
- for _, v := range mappingListWorkRequestsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
-func GetListWorkRequestsSortByEnumStringValues() []string {
- return []string{
- "timeAccepted",
- }
-}
-
-// GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool) {
- enum, ok := mappingListWorkRequestsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_configuration_summary.go
deleted file mode 100644
index fe321c9b1f6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_configuration_summary.go
+++ /dev/null
@@ -1,222 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedCloudHostConfigurationSummary Configuration Summary of a Macs Managed Cloud host.
-type MacsManagedCloudHostConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- HostInsightId *string `mandatory:"true" json:"hostInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"true" json:"platformVersion"`
-
- // Platform vendor.
- PlatformVendor *string `mandatory:"true" json:"platformVendor"`
-
- // Total CPU on this host.
- TotalCpus *int `mandatory:"true" json:"totalCpus"`
-
- // Total amount of usable physical memory in gibabytes
- TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
-
- // CPU architechure
- CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
-
- // Size of cache memory in megabytes.
- CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
-
- // Name of the CPU vendor.
- CpuVendor *string `mandatory:"true" json:"cpuVendor"`
-
- // Clock frequency of the processor in megahertz.
- CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
-
- // Model name of processor.
- CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
-
- // Number of cores per socket.
- CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
-
- // Number of total sockets.
- TotalSockets *int `mandatory:"true" json:"totalSockets"`
-
- // Number of threads per socket.
- ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
-
- // Indicates if hyper-threading is enabled or not
- IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
- ComputeId *string `mandatory:"true" json:"computeId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
- ConnectorId *string `mandatory:"false" json:"connectorId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetHostInsightId returns HostInsightId
-func (m MacsManagedCloudHostConfigurationSummary) GetHostInsightId() *string {
- return m.HostInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedCloudHostConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedCloudHostConfigurationSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetPlatformType returns PlatformType
-func (m MacsManagedCloudHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum {
- return m.PlatformType
-}
-
-//GetPlatformVersion returns PlatformVersion
-func (m MacsManagedCloudHostConfigurationSummary) GetPlatformVersion() *string {
- return m.PlatformVersion
-}
-
-//GetPlatformVendor returns PlatformVendor
-func (m MacsManagedCloudHostConfigurationSummary) GetPlatformVendor() *string {
- return m.PlatformVendor
-}
-
-//GetTotalCpus returns TotalCpus
-func (m MacsManagedCloudHostConfigurationSummary) GetTotalCpus() *int {
- return m.TotalCpus
-}
-
-//GetTotalMemoryInGBs returns TotalMemoryInGBs
-func (m MacsManagedCloudHostConfigurationSummary) GetTotalMemoryInGBs() *float64 {
- return m.TotalMemoryInGBs
-}
-
-//GetCpuArchitecture returns CpuArchitecture
-func (m MacsManagedCloudHostConfigurationSummary) GetCpuArchitecture() *string {
- return m.CpuArchitecture
-}
-
-//GetCpuCacheInMBs returns CpuCacheInMBs
-func (m MacsManagedCloudHostConfigurationSummary) GetCpuCacheInMBs() *float64 {
- return m.CpuCacheInMBs
-}
-
-//GetCpuVendor returns CpuVendor
-func (m MacsManagedCloudHostConfigurationSummary) GetCpuVendor() *string {
- return m.CpuVendor
-}
-
-//GetCpuFrequencyInMhz returns CpuFrequencyInMhz
-func (m MacsManagedCloudHostConfigurationSummary) GetCpuFrequencyInMhz() *float64 {
- return m.CpuFrequencyInMhz
-}
-
-//GetCpuImplementation returns CpuImplementation
-func (m MacsManagedCloudHostConfigurationSummary) GetCpuImplementation() *string {
- return m.CpuImplementation
-}
-
-//GetCoresPerSocket returns CoresPerSocket
-func (m MacsManagedCloudHostConfigurationSummary) GetCoresPerSocket() *int {
- return m.CoresPerSocket
-}
-
-//GetTotalSockets returns TotalSockets
-func (m MacsManagedCloudHostConfigurationSummary) GetTotalSockets() *int {
- return m.TotalSockets
-}
-
-//GetThreadsPerSocket returns ThreadsPerSocket
-func (m MacsManagedCloudHostConfigurationSummary) GetThreadsPerSocket() *int {
- return m.ThreadsPerSocket
-}
-
-//GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
-func (m MacsManagedCloudHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool {
- return m.IsHyperThreadingEnabled
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedCloudHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedCloudHostConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-func (m MacsManagedCloudHostConfigurationSummary) 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 MacsManagedCloudHostConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingHostConfigurationSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostConfigurationSummaryPlatformTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedCloudHostConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedCloudHostConfigurationSummary MacsManagedCloudHostConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedCloudHostConfigurationSummary
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeMacsManagedCloudHostConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight.go
deleted file mode 100644
index 6e13959bd13..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight.go
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedCloudHostInsight MACS-managed OCI Compute host insight resource.
-type MacsManagedCloudHostInsight struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
- ComputeId *string `mandatory:"true" json:"computeId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Platform name.
- PlatformName *string `mandatory:"false" json:"platformName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"false" json:"platformVersion"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType MacsManagedCloudHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m MacsManagedCloudHostInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedCloudHostInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedCloudHostInsight) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m MacsManagedCloudHostInsight) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m MacsManagedCloudHostInsight) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedCloudHostInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedCloudHostInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedCloudHostInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedCloudHostInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m MacsManagedCloudHostInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedCloudHostInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedCloudHostInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedCloudHostInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedCloudHostInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m MacsManagedCloudHostInsight) 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 MacsManagedCloudHostInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingMacsManagedCloudHostInsightPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetMacsManagedCloudHostInsightPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedCloudHostInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedCloudHostInsight MacsManagedCloudHostInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedCloudHostInsight
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeMacsManagedCloudHostInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// MacsManagedCloudHostInsightPlatformTypeEnum Enum with underlying type: string
-type MacsManagedCloudHostInsightPlatformTypeEnum string
-
-// Set of constants representing the allowable values for MacsManagedCloudHostInsightPlatformTypeEnum
-const (
- MacsManagedCloudHostInsightPlatformTypeLinux MacsManagedCloudHostInsightPlatformTypeEnum = "LINUX"
- MacsManagedCloudHostInsightPlatformTypeSolaris MacsManagedCloudHostInsightPlatformTypeEnum = "SOLARIS"
- MacsManagedCloudHostInsightPlatformTypeSunos MacsManagedCloudHostInsightPlatformTypeEnum = "SUNOS"
- MacsManagedCloudHostInsightPlatformTypeZlinux MacsManagedCloudHostInsightPlatformTypeEnum = "ZLINUX"
- MacsManagedCloudHostInsightPlatformTypeWindows MacsManagedCloudHostInsightPlatformTypeEnum = "WINDOWS"
- MacsManagedCloudHostInsightPlatformTypeAix MacsManagedCloudHostInsightPlatformTypeEnum = "AIX"
-)
-
-var mappingMacsManagedCloudHostInsightPlatformTypeEnum = map[string]MacsManagedCloudHostInsightPlatformTypeEnum{
- "LINUX": MacsManagedCloudHostInsightPlatformTypeLinux,
- "SOLARIS": MacsManagedCloudHostInsightPlatformTypeSolaris,
- "SUNOS": MacsManagedCloudHostInsightPlatformTypeSunos,
- "ZLINUX": MacsManagedCloudHostInsightPlatformTypeZlinux,
- "WINDOWS": MacsManagedCloudHostInsightPlatformTypeWindows,
- "AIX": MacsManagedCloudHostInsightPlatformTypeAix,
-}
-
-var mappingMacsManagedCloudHostInsightPlatformTypeEnumLowerCase = map[string]MacsManagedCloudHostInsightPlatformTypeEnum{
- "linux": MacsManagedCloudHostInsightPlatformTypeLinux,
- "solaris": MacsManagedCloudHostInsightPlatformTypeSolaris,
- "sunos": MacsManagedCloudHostInsightPlatformTypeSunos,
- "zlinux": MacsManagedCloudHostInsightPlatformTypeZlinux,
- "windows": MacsManagedCloudHostInsightPlatformTypeWindows,
- "aix": MacsManagedCloudHostInsightPlatformTypeAix,
-}
-
-// GetMacsManagedCloudHostInsightPlatformTypeEnumValues Enumerates the set of values for MacsManagedCloudHostInsightPlatformTypeEnum
-func GetMacsManagedCloudHostInsightPlatformTypeEnumValues() []MacsManagedCloudHostInsightPlatformTypeEnum {
- values := make([]MacsManagedCloudHostInsightPlatformTypeEnum, 0)
- for _, v := range mappingMacsManagedCloudHostInsightPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetMacsManagedCloudHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudHostInsightPlatformTypeEnum
-func GetMacsManagedCloudHostInsightPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingMacsManagedCloudHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingMacsManagedCloudHostInsightPlatformTypeEnum(val string) (MacsManagedCloudHostInsightPlatformTypeEnum, bool) {
- enum, ok := mappingMacsManagedCloudHostInsightPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight_summary.go
deleted file mode 100644
index 4c6e83246ac..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_cloud_host_insight_summary.go
+++ /dev/null
@@ -1,255 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedCloudHostInsightSummary Summary of a MACS-managed cloud host insight resource.
-type MacsManagedCloudHostInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute Instance
- ComputeId *string `mandatory:"true" json:"computeId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType MacsManagedCloudHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m MacsManagedCloudHostInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedCloudHostInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedCloudHostInsightSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m MacsManagedCloudHostInsightSummary) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m MacsManagedCloudHostInsightSummary) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedCloudHostInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedCloudHostInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedCloudHostInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedCloudHostInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
-func (m MacsManagedCloudHostInsightSummary) GetOpsiPrivateEndpointId() *string {
- return m.OpsiPrivateEndpointId
-}
-
-//GetStatus returns Status
-func (m MacsManagedCloudHostInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedCloudHostInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedCloudHostInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedCloudHostInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedCloudHostInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m MacsManagedCloudHostInsightSummary) 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 MacsManagedCloudHostInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingMacsManagedCloudHostInsightSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedCloudHostInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedCloudHostInsightSummary MacsManagedCloudHostInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedCloudHostInsightSummary
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeMacsManagedCloudHostInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// MacsManagedCloudHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
-type MacsManagedCloudHostInsightSummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for MacsManagedCloudHostInsightSummaryPlatformTypeEnum
-const (
- MacsManagedCloudHostInsightSummaryPlatformTypeLinux MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "LINUX"
- MacsManagedCloudHostInsightSummaryPlatformTypeSolaris MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "SOLARIS"
- MacsManagedCloudHostInsightSummaryPlatformTypeSunos MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "SUNOS"
- MacsManagedCloudHostInsightSummaryPlatformTypeZlinux MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "ZLINUX"
- MacsManagedCloudHostInsightSummaryPlatformTypeWindows MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "WINDOWS"
- MacsManagedCloudHostInsightSummaryPlatformTypeAix MacsManagedCloudHostInsightSummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingMacsManagedCloudHostInsightSummaryPlatformTypeEnum = map[string]MacsManagedCloudHostInsightSummaryPlatformTypeEnum{
- "LINUX": MacsManagedCloudHostInsightSummaryPlatformTypeLinux,
- "SOLARIS": MacsManagedCloudHostInsightSummaryPlatformTypeSolaris,
- "SUNOS": MacsManagedCloudHostInsightSummaryPlatformTypeSunos,
- "ZLINUX": MacsManagedCloudHostInsightSummaryPlatformTypeZlinux,
- "WINDOWS": MacsManagedCloudHostInsightSummaryPlatformTypeWindows,
- "AIX": MacsManagedCloudHostInsightSummaryPlatformTypeAix,
-}
-
-var mappingMacsManagedCloudHostInsightSummaryPlatformTypeEnumLowerCase = map[string]MacsManagedCloudHostInsightSummaryPlatformTypeEnum{
- "linux": MacsManagedCloudHostInsightSummaryPlatformTypeLinux,
- "solaris": MacsManagedCloudHostInsightSummaryPlatformTypeSolaris,
- "sunos": MacsManagedCloudHostInsightSummaryPlatformTypeSunos,
- "zlinux": MacsManagedCloudHostInsightSummaryPlatformTypeZlinux,
- "windows": MacsManagedCloudHostInsightSummaryPlatformTypeWindows,
- "aix": MacsManagedCloudHostInsightSummaryPlatformTypeAix,
-}
-
-// GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for MacsManagedCloudHostInsightSummaryPlatformTypeEnum
-func GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumValues() []MacsManagedCloudHostInsightSummaryPlatformTypeEnum {
- values := make([]MacsManagedCloudHostInsightSummaryPlatformTypeEnum, 0)
- for _, v := range mappingMacsManagedCloudHostInsightSummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedCloudHostInsightSummaryPlatformTypeEnum
-func GetMacsManagedCloudHostInsightSummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingMacsManagedCloudHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingMacsManagedCloudHostInsightSummaryPlatformTypeEnum(val string) (MacsManagedCloudHostInsightSummaryPlatformTypeEnum, bool) {
- enum, ok := mappingMacsManagedCloudHostInsightSummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_configuration_summary.go
deleted file mode 100644
index 00047e19e5d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_configuration_summary.go
+++ /dev/null
@@ -1,147 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalDatabaseConfigurationSummary Configuration Summary of a Macs Managed External database.
-type MacsManagedExternalDatabaseConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
-
- // Name of the CDB.Only applies to PDB.
- CdbName *string `mandatory:"true" json:"cdbName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
- ConnectorId *string `mandatory:"true" json:"connectorId"`
-
- // Array of hostname and instance name.
- Instances []HostInstanceMap `mandatory:"true" json:"instances"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-}
-
-//GetDatabaseInsightId returns DatabaseInsightId
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string {
- return m.DatabaseInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetCdbName returns CdbName
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetCdbName() *string {
- return m.CdbName
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-func (m MacsManagedExternalDatabaseConfigurationSummary) 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 MacsManagedExternalDatabaseConfigurationSummary) 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 MacsManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalDatabaseConfigurationSummary MacsManagedExternalDatabaseConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalDatabaseConfigurationSummary
- }{
- "MACS_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeMacsManagedExternalDatabaseConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight.go
deleted file mode 100644
index 2babe1e5832..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight.go
+++ /dev/null
@@ -1,289 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalDatabaseInsight Database insight resource.
-type MacsManagedExternalDatabaseInsight struct {
-
- // Database insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // Name of database
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
-
- // Operations Insights internal representation of the database type.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
- ConnectorId *string `mandatory:"false" json:"connectorId"`
-
- ConnectionDetails *ConnectionDetails `mandatory:"false" json:"connectionDetails"`
-
- ConnectionCredentialDetails CredentialDetails `mandatory:"false" json:"connectionCredentialDetails"`
-
- // Display name of database
- DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
-
- // Additional details of a database in JSON format. For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.cloud.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
- DbAdditionalDetails *interface{} `mandatory:"false" json:"dbAdditionalDetails"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m MacsManagedExternalDatabaseInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalDatabaseInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetStatus returns Status
-func (m MacsManagedExternalDatabaseInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetDatabaseType returns DatabaseType
-func (m MacsManagedExternalDatabaseInsight) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m MacsManagedExternalDatabaseInsight) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedExternalDatabaseInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalDatabaseInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalDatabaseInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedExternalDatabaseInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedExternalDatabaseInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedExternalDatabaseInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedExternalDatabaseInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedExternalDatabaseInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m MacsManagedExternalDatabaseInsight) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m MacsManagedExternalDatabaseInsight) 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 MacsManagedExternalDatabaseInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedExternalDatabaseInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalDatabaseInsight MacsManagedExternalDatabaseInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalDatabaseInsight
- }{
- "MACS_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeMacsManagedExternalDatabaseInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *MacsManagedExternalDatabaseInsight) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- DatabaseType *string `json:"databaseType"`
- DatabaseVersion *string `json:"databaseVersion"`
- ProcessorCount *int `json:"processorCount"`
- SystemTags map[string]map[string]interface{} `json:"systemTags"`
- TimeUpdated *common.SDKTime `json:"timeUpdated"`
- LifecycleDetails *string `json:"lifecycleDetails"`
- DatabaseConnectionStatusDetails *string `json:"databaseConnectionStatusDetails"`
- ManagementAgentId *string `json:"managementAgentId"`
- ConnectorId *string `json:"connectorId"`
- ConnectionDetails *ConnectionDetails `json:"connectionDetails"`
- ConnectionCredentialDetails credentialdetails `json:"connectionCredentialDetails"`
- DatabaseDisplayName *string `json:"databaseDisplayName"`
- DbAdditionalDetails *interface{} `json:"dbAdditionalDetails"`
- Id *string `json:"id"`
- CompartmentId *string `json:"compartmentId"`
- Status ResourceStatusEnum `json:"status"`
- FreeformTags map[string]string `json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `json:"definedTags"`
- TimeCreated *common.SDKTime `json:"timeCreated"`
- LifecycleState LifecycleStateEnum `json:"lifecycleState"`
- DatabaseId *string `json:"databaseId"`
- DatabaseName *string `json:"databaseName"`
- DatabaseResourceType *string `json:"databaseResourceType"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.DatabaseType = model.DatabaseType
-
- m.DatabaseVersion = model.DatabaseVersion
-
- m.ProcessorCount = model.ProcessorCount
-
- m.SystemTags = model.SystemTags
-
- m.TimeUpdated = model.TimeUpdated
-
- m.LifecycleDetails = model.LifecycleDetails
-
- m.DatabaseConnectionStatusDetails = model.DatabaseConnectionStatusDetails
-
- m.ManagementAgentId = model.ManagementAgentId
-
- m.ConnectorId = model.ConnectorId
-
- m.ConnectionDetails = model.ConnectionDetails
-
- nn, e = model.ConnectionCredentialDetails.UnmarshalPolymorphicJSON(model.ConnectionCredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.ConnectionCredentialDetails = nn.(CredentialDetails)
- } else {
- m.ConnectionCredentialDetails = nil
- }
-
- m.DatabaseDisplayName = model.DatabaseDisplayName
-
- m.DbAdditionalDetails = model.DbAdditionalDetails
-
- m.Id = model.Id
-
- m.CompartmentId = model.CompartmentId
-
- m.Status = model.Status
-
- m.FreeformTags = model.FreeformTags
-
- m.DefinedTags = model.DefinedTags
-
- m.TimeCreated = model.TimeCreated
-
- m.LifecycleState = model.LifecycleState
-
- m.DatabaseId = model.DatabaseId
-
- m.DatabaseName = model.DatabaseName
-
- m.DatabaseResourceType = model.DatabaseResourceType
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight_summary.go
deleted file mode 100644
index 57c6739fa8d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_database_insight_summary.go
+++ /dev/null
@@ -1,215 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalDatabaseInsightSummary Summary of a database insight resource.
-type MacsManagedExternalDatabaseInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"false" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // The hostnames for the database.
- DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"false" json:"managementAgentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
- ConnectorId *string `mandatory:"false" json:"connectorId"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m MacsManagedExternalDatabaseInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetDatabaseId returns DatabaseId
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseId() *string {
- return m.DatabaseId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalDatabaseInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetDatabaseHostNames returns DatabaseHostNames
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseHostNames() []string {
- return m.DatabaseHostNames
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalDatabaseInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedExternalDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedExternalDatabaseInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetStatus returns Status
-func (m MacsManagedExternalDatabaseInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedExternalDatabaseInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedExternalDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedExternalDatabaseInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m MacsManagedExternalDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m MacsManagedExternalDatabaseInsightSummary) 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 MacsManagedExternalDatabaseInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedExternalDatabaseInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalDatabaseInsightSummary MacsManagedExternalDatabaseInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalDatabaseInsightSummary
- }{
- "MACS_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeMacsManagedExternalDatabaseInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_configuration_summary.go
deleted file mode 100644
index b9689b85635..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_configuration_summary.go
+++ /dev/null
@@ -1,219 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalHostConfigurationSummary Configuration Summary of a Macs Managed External host.
-type MacsManagedExternalHostConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- HostInsightId *string `mandatory:"true" json:"hostInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"true" json:"platformVersion"`
-
- // Platform vendor.
- PlatformVendor *string `mandatory:"true" json:"platformVendor"`
-
- // Total CPU on this host.
- TotalCpus *int `mandatory:"true" json:"totalCpus"`
-
- // Total amount of usable physical memory in gibabytes
- TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
-
- // CPU architechure
- CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
-
- // Size of cache memory in megabytes.
- CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
-
- // Name of the CPU vendor.
- CpuVendor *string `mandatory:"true" json:"cpuVendor"`
-
- // Clock frequency of the processor in megahertz.
- CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
-
- // Model name of processor.
- CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
-
- // Number of cores per socket.
- CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
-
- // Number of total sockets.
- TotalSockets *int `mandatory:"true" json:"totalSockets"`
-
- // Number of threads per socket.
- ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
-
- // Indicates if hyper-threading is enabled or not
- IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector
- ConnectorId *string `mandatory:"false" json:"connectorId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetHostInsightId returns HostInsightId
-func (m MacsManagedExternalHostConfigurationSummary) GetHostInsightId() *string {
- return m.HostInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalHostConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedExternalHostConfigurationSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetPlatformType returns PlatformType
-func (m MacsManagedExternalHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum {
- return m.PlatformType
-}
-
-//GetPlatformVersion returns PlatformVersion
-func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVersion() *string {
- return m.PlatformVersion
-}
-
-//GetPlatformVendor returns PlatformVendor
-func (m MacsManagedExternalHostConfigurationSummary) GetPlatformVendor() *string {
- return m.PlatformVendor
-}
-
-//GetTotalCpus returns TotalCpus
-func (m MacsManagedExternalHostConfigurationSummary) GetTotalCpus() *int {
- return m.TotalCpus
-}
-
-//GetTotalMemoryInGBs returns TotalMemoryInGBs
-func (m MacsManagedExternalHostConfigurationSummary) GetTotalMemoryInGBs() *float64 {
- return m.TotalMemoryInGBs
-}
-
-//GetCpuArchitecture returns CpuArchitecture
-func (m MacsManagedExternalHostConfigurationSummary) GetCpuArchitecture() *string {
- return m.CpuArchitecture
-}
-
-//GetCpuCacheInMBs returns CpuCacheInMBs
-func (m MacsManagedExternalHostConfigurationSummary) GetCpuCacheInMBs() *float64 {
- return m.CpuCacheInMBs
-}
-
-//GetCpuVendor returns CpuVendor
-func (m MacsManagedExternalHostConfigurationSummary) GetCpuVendor() *string {
- return m.CpuVendor
-}
-
-//GetCpuFrequencyInMhz returns CpuFrequencyInMhz
-func (m MacsManagedExternalHostConfigurationSummary) GetCpuFrequencyInMhz() *float64 {
- return m.CpuFrequencyInMhz
-}
-
-//GetCpuImplementation returns CpuImplementation
-func (m MacsManagedExternalHostConfigurationSummary) GetCpuImplementation() *string {
- return m.CpuImplementation
-}
-
-//GetCoresPerSocket returns CoresPerSocket
-func (m MacsManagedExternalHostConfigurationSummary) GetCoresPerSocket() *int {
- return m.CoresPerSocket
-}
-
-//GetTotalSockets returns TotalSockets
-func (m MacsManagedExternalHostConfigurationSummary) GetTotalSockets() *int {
- return m.TotalSockets
-}
-
-//GetThreadsPerSocket returns ThreadsPerSocket
-func (m MacsManagedExternalHostConfigurationSummary) GetThreadsPerSocket() *int {
- return m.ThreadsPerSocket
-}
-
-//GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
-func (m MacsManagedExternalHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool {
- return m.IsHyperThreadingEnabled
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalHostConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-func (m MacsManagedExternalHostConfigurationSummary) 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 MacsManagedExternalHostConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingHostConfigurationSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostConfigurationSummaryPlatformTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedExternalHostConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalHostConfigurationSummary MacsManagedExternalHostConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalHostConfigurationSummary
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeMacsManagedExternalHostConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight.go
deleted file mode 100644
index 8e68235ad3f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight.go
+++ /dev/null
@@ -1,250 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalHostInsight MACS-managed external host insight resource.
-type MacsManagedExternalHostInsight struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Platform name.
- PlatformName *string `mandatory:"false" json:"platformName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"false" json:"platformVersion"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType MacsManagedExternalHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m MacsManagedExternalHostInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalHostInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedExternalHostInsight) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m MacsManagedExternalHostInsight) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m MacsManagedExternalHostInsight) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedExternalHostInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalHostInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalHostInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedExternalHostInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m MacsManagedExternalHostInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedExternalHostInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedExternalHostInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedExternalHostInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedExternalHostInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m MacsManagedExternalHostInsight) 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 MacsManagedExternalHostInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingMacsManagedExternalHostInsightPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetMacsManagedExternalHostInsightPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedExternalHostInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalHostInsight MacsManagedExternalHostInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalHostInsight
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeMacsManagedExternalHostInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// MacsManagedExternalHostInsightPlatformTypeEnum Enum with underlying type: string
-type MacsManagedExternalHostInsightPlatformTypeEnum string
-
-// Set of constants representing the allowable values for MacsManagedExternalHostInsightPlatformTypeEnum
-const (
- MacsManagedExternalHostInsightPlatformTypeLinux MacsManagedExternalHostInsightPlatformTypeEnum = "LINUX"
- MacsManagedExternalHostInsightPlatformTypeSolaris MacsManagedExternalHostInsightPlatformTypeEnum = "SOLARIS"
- MacsManagedExternalHostInsightPlatformTypeSunos MacsManagedExternalHostInsightPlatformTypeEnum = "SUNOS"
- MacsManagedExternalHostInsightPlatformTypeZlinux MacsManagedExternalHostInsightPlatformTypeEnum = "ZLINUX"
- MacsManagedExternalHostInsightPlatformTypeWindows MacsManagedExternalHostInsightPlatformTypeEnum = "WINDOWS"
- MacsManagedExternalHostInsightPlatformTypeAix MacsManagedExternalHostInsightPlatformTypeEnum = "AIX"
-)
-
-var mappingMacsManagedExternalHostInsightPlatformTypeEnum = map[string]MacsManagedExternalHostInsightPlatformTypeEnum{
- "LINUX": MacsManagedExternalHostInsightPlatformTypeLinux,
- "SOLARIS": MacsManagedExternalHostInsightPlatformTypeSolaris,
- "SUNOS": MacsManagedExternalHostInsightPlatformTypeSunos,
- "ZLINUX": MacsManagedExternalHostInsightPlatformTypeZlinux,
- "WINDOWS": MacsManagedExternalHostInsightPlatformTypeWindows,
- "AIX": MacsManagedExternalHostInsightPlatformTypeAix,
-}
-
-var mappingMacsManagedExternalHostInsightPlatformTypeEnumLowerCase = map[string]MacsManagedExternalHostInsightPlatformTypeEnum{
- "linux": MacsManagedExternalHostInsightPlatformTypeLinux,
- "solaris": MacsManagedExternalHostInsightPlatformTypeSolaris,
- "sunos": MacsManagedExternalHostInsightPlatformTypeSunos,
- "zlinux": MacsManagedExternalHostInsightPlatformTypeZlinux,
- "windows": MacsManagedExternalHostInsightPlatformTypeWindows,
- "aix": MacsManagedExternalHostInsightPlatformTypeAix,
-}
-
-// GetMacsManagedExternalHostInsightPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightPlatformTypeEnum
-func GetMacsManagedExternalHostInsightPlatformTypeEnumValues() []MacsManagedExternalHostInsightPlatformTypeEnum {
- values := make([]MacsManagedExternalHostInsightPlatformTypeEnum, 0)
- for _, v := range mappingMacsManagedExternalHostInsightPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetMacsManagedExternalHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedExternalHostInsightPlatformTypeEnum
-func GetMacsManagedExternalHostInsightPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingMacsManagedExternalHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingMacsManagedExternalHostInsightPlatformTypeEnum(val string) (MacsManagedExternalHostInsightPlatformTypeEnum, bool) {
- enum, ok := mappingMacsManagedExternalHostInsightPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight_summary.go
deleted file mode 100644
index 3b7e06fa928..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/macs_managed_external_host_insight_summary.go
+++ /dev/null
@@ -1,252 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// MacsManagedExternalHostInsightSummary Summary of a MACS-managed external host insight resource.
-type MacsManagedExternalHostInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent
- ManagementAgentId *string `mandatory:"true" json:"managementAgentId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType MacsManagedExternalHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m MacsManagedExternalHostInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m MacsManagedExternalHostInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m MacsManagedExternalHostInsightSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m MacsManagedExternalHostInsightSummary) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m MacsManagedExternalHostInsightSummary) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m MacsManagedExternalHostInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m MacsManagedExternalHostInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m MacsManagedExternalHostInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m MacsManagedExternalHostInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
-func (m MacsManagedExternalHostInsightSummary) GetOpsiPrivateEndpointId() *string {
- return m.OpsiPrivateEndpointId
-}
-
-//GetStatus returns Status
-func (m MacsManagedExternalHostInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m MacsManagedExternalHostInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m MacsManagedExternalHostInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m MacsManagedExternalHostInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m MacsManagedExternalHostInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m MacsManagedExternalHostInsightSummary) 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 MacsManagedExternalHostInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingMacsManagedExternalHostInsightSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m MacsManagedExternalHostInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeMacsManagedExternalHostInsightSummary MacsManagedExternalHostInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeMacsManagedExternalHostInsightSummary
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeMacsManagedExternalHostInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// MacsManagedExternalHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
-type MacsManagedExternalHostInsightSummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
-const (
- MacsManagedExternalHostInsightSummaryPlatformTypeLinux MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "LINUX"
- MacsManagedExternalHostInsightSummaryPlatformTypeSolaris MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "SOLARIS"
- MacsManagedExternalHostInsightSummaryPlatformTypeSunos MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "SUNOS"
- MacsManagedExternalHostInsightSummaryPlatformTypeZlinux MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "ZLINUX"
- MacsManagedExternalHostInsightSummaryPlatformTypeWindows MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "WINDOWS"
- MacsManagedExternalHostInsightSummaryPlatformTypeAix MacsManagedExternalHostInsightSummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingMacsManagedExternalHostInsightSummaryPlatformTypeEnum = map[string]MacsManagedExternalHostInsightSummaryPlatformTypeEnum{
- "LINUX": MacsManagedExternalHostInsightSummaryPlatformTypeLinux,
- "SOLARIS": MacsManagedExternalHostInsightSummaryPlatformTypeSolaris,
- "SUNOS": MacsManagedExternalHostInsightSummaryPlatformTypeSunos,
- "ZLINUX": MacsManagedExternalHostInsightSummaryPlatformTypeZlinux,
- "WINDOWS": MacsManagedExternalHostInsightSummaryPlatformTypeWindows,
- "AIX": MacsManagedExternalHostInsightSummaryPlatformTypeAix,
-}
-
-var mappingMacsManagedExternalHostInsightSummaryPlatformTypeEnumLowerCase = map[string]MacsManagedExternalHostInsightSummaryPlatformTypeEnum{
- "linux": MacsManagedExternalHostInsightSummaryPlatformTypeLinux,
- "solaris": MacsManagedExternalHostInsightSummaryPlatformTypeSolaris,
- "sunos": MacsManagedExternalHostInsightSummaryPlatformTypeSunos,
- "zlinux": MacsManagedExternalHostInsightSummaryPlatformTypeZlinux,
- "windows": MacsManagedExternalHostInsightSummaryPlatformTypeWindows,
- "aix": MacsManagedExternalHostInsightSummaryPlatformTypeAix,
-}
-
-// GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
-func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumValues() []MacsManagedExternalHostInsightSummaryPlatformTypeEnum {
- values := make([]MacsManagedExternalHostInsightSummaryPlatformTypeEnum, 0)
- for _, v := range mappingMacsManagedExternalHostInsightSummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for MacsManagedExternalHostInsightSummaryPlatformTypeEnum
-func GetMacsManagedExternalHostInsightSummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingMacsManagedExternalHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingMacsManagedExternalHostInsightSummaryPlatformTypeEnum(val string) (MacsManagedExternalHostInsightSummaryPlatformTypeEnum, bool) {
- enum, ok := mappingMacsManagedExternalHostInsightSummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend.go
deleted file mode 100644
index 62429cf00ef..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// NetworkUsageTrend Usage data samples.
-type NetworkUsageTrend struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Network read in Mbps.
- AllNetworkReadInMbps *float64 `mandatory:"true" json:"allNetworkReadInMbps"`
-
- // Network write in Mbps.
- AllNetworkWriteInMbps *float64 `mandatory:"true" json:"allNetworkWriteInMbps"`
-
- // Network input/output in Mbps.
- AllNetworkIoInMbps *float64 `mandatory:"true" json:"allNetworkIoInMbps"`
-}
-
-func (m NetworkUsageTrend) 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 NetworkUsageTrend) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend_aggregation.go
deleted file mode 100644
index 74a2d17c93e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/network_usage_trend_aggregation.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// NetworkUsageTrendAggregation Usage data per network interface.
-type NetworkUsageTrendAggregation struct {
-
- // Name of interface.
- InterfaceName *string `mandatory:"true" json:"interfaceName"`
-
- // Address that is connected to a computer network that uses the Internet Protocol for communication.
- IpAddress *string `mandatory:"true" json:"ipAddress"`
-
- // Unique identifier assigned to a network interface.
- MacAddress *string `mandatory:"true" json:"macAddress"`
-
- // List of usage data samples for a network interface.
- UsageData []NetworkUsageTrend `mandatory:"true" json:"usageData"`
-}
-
-func (m NetworkUsageTrendAggregation) 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 NetworkUsageTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operation_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operation_status.go
deleted file mode 100644
index ed95cd2743c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operation_status.go
+++ /dev/null
@@ -1,78 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OperationStatusEnum Enum with underlying type: string
-type OperationStatusEnum string
-
-// Set of constants representing the allowable values for OperationStatusEnum
-const (
- OperationStatusAccepted OperationStatusEnum = "ACCEPTED"
- OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
- OperationStatusWaiting OperationStatusEnum = "WAITING"
- OperationStatusFailed OperationStatusEnum = "FAILED"
- OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED"
- OperationStatusCanceling OperationStatusEnum = "CANCELING"
- OperationStatusCanceled OperationStatusEnum = "CANCELED"
-)
-
-var mappingOperationStatusEnum = map[string]OperationStatusEnum{
- "ACCEPTED": OperationStatusAccepted,
- "IN_PROGRESS": OperationStatusInProgress,
- "WAITING": OperationStatusWaiting,
- "FAILED": OperationStatusFailed,
- "SUCCEEDED": OperationStatusSucceeded,
- "CANCELING": OperationStatusCanceling,
- "CANCELED": OperationStatusCanceled,
-}
-
-var mappingOperationStatusEnumLowerCase = map[string]OperationStatusEnum{
- "accepted": OperationStatusAccepted,
- "in_progress": OperationStatusInProgress,
- "waiting": OperationStatusWaiting,
- "failed": OperationStatusFailed,
- "succeeded": OperationStatusSucceeded,
- "canceling": OperationStatusCanceling,
- "canceled": OperationStatusCanceled,
-}
-
-// GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
-func GetOperationStatusEnumValues() []OperationStatusEnum {
- values := make([]OperationStatusEnum, 0)
- for _, v := range mappingOperationStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
-func GetOperationStatusEnumStringValues() []string {
- return []string{
- "ACCEPTED",
- "IN_PROGRESS",
- "WAITING",
- "FAILED",
- "SUCCEEDED",
- "CANCELING",
- "CANCELED",
- }
-}
-
-// GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool) {
- enum, ok := mappingOperationStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint.go
deleted file mode 100644
index 38151148c97..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint.go
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsPrivateEndpoint A private endpoint that allows Operation Insights services to connect to databases in a customer's virtual cloud network (VCN).
-type OperationsInsightsPrivateEndpoint struct {
-
- // The OCID of the Private service accessed database.
- Id *string `mandatory:"true" json:"id"`
-
- // The display name of the private endpoint.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // The compartment OCID of the Private service accessed database.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID of the VCN.
- VcnId *string `mandatory:"true" json:"vcnId"`
-
- // The OCID of the subnet.
- SubnetId *string `mandatory:"true" json:"subnetId"`
-
- // The current state of the private endpoint.
- LifecycleState OperationsInsightsPrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // The private IP addresses assigned to the private endpoint. All IP addresses will be concatenated if it is RAC DBs.
- PrivateIp *string `mandatory:"false" json:"privateIp"`
-
- // The description of the private endpoint.
- Description *string `mandatory:"false" json:"description"`
-
- // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // 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
- IsUsedForRacDbs *bool `mandatory:"false" json:"isUsedForRacDbs"`
-
- // The OCIDs of the network security groups that the private endpoint belongs to.
- NsgIds []string `mandatory:"false" json:"nsgIds"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-}
-
-func (m OperationsInsightsPrivateEndpoint) 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 OperationsInsightsPrivateEndpoint) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsPrivateEndpointLifecycleStateEnum(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(GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_collection.go
deleted file mode 100644
index 728bafbec52..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsPrivateEndpointCollection A collection of Operation Insights private endpoint objects.
-type OperationsInsightsPrivateEndpointCollection struct {
-
- // A list of OperationsInsightsPrivateEndpointSummary objects.
- Items []OperationsInsightsPrivateEndpointSummary `mandatory:"true" json:"items"`
-}
-
-func (m OperationsInsightsPrivateEndpointCollection) 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 OperationsInsightsPrivateEndpointCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_lifecycle_state.go
deleted file mode 100644
index 66a0178f83b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_lifecycle_state.go
+++ /dev/null
@@ -1,78 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OperationsInsightsPrivateEndpointLifecycleStateEnum Enum with underlying type: string
-type OperationsInsightsPrivateEndpointLifecycleStateEnum string
-
-// Set of constants representing the allowable values for OperationsInsightsPrivateEndpointLifecycleStateEnum
-const (
- OperationsInsightsPrivateEndpointLifecycleStateCreating OperationsInsightsPrivateEndpointLifecycleStateEnum = "CREATING"
- OperationsInsightsPrivateEndpointLifecycleStateUpdating OperationsInsightsPrivateEndpointLifecycleStateEnum = "UPDATING"
- OperationsInsightsPrivateEndpointLifecycleStateActive OperationsInsightsPrivateEndpointLifecycleStateEnum = "ACTIVE"
- OperationsInsightsPrivateEndpointLifecycleStateDeleting OperationsInsightsPrivateEndpointLifecycleStateEnum = "DELETING"
- OperationsInsightsPrivateEndpointLifecycleStateDeleted OperationsInsightsPrivateEndpointLifecycleStateEnum = "DELETED"
- OperationsInsightsPrivateEndpointLifecycleStateFailed OperationsInsightsPrivateEndpointLifecycleStateEnum = "FAILED"
- OperationsInsightsPrivateEndpointLifecycleStateNeedsAttention OperationsInsightsPrivateEndpointLifecycleStateEnum = "NEEDS_ATTENTION"
-)
-
-var mappingOperationsInsightsPrivateEndpointLifecycleStateEnum = map[string]OperationsInsightsPrivateEndpointLifecycleStateEnum{
- "CREATING": OperationsInsightsPrivateEndpointLifecycleStateCreating,
- "UPDATING": OperationsInsightsPrivateEndpointLifecycleStateUpdating,
- "ACTIVE": OperationsInsightsPrivateEndpointLifecycleStateActive,
- "DELETING": OperationsInsightsPrivateEndpointLifecycleStateDeleting,
- "DELETED": OperationsInsightsPrivateEndpointLifecycleStateDeleted,
- "FAILED": OperationsInsightsPrivateEndpointLifecycleStateFailed,
- "NEEDS_ATTENTION": OperationsInsightsPrivateEndpointLifecycleStateNeedsAttention,
-}
-
-var mappingOperationsInsightsPrivateEndpointLifecycleStateEnumLowerCase = map[string]OperationsInsightsPrivateEndpointLifecycleStateEnum{
- "creating": OperationsInsightsPrivateEndpointLifecycleStateCreating,
- "updating": OperationsInsightsPrivateEndpointLifecycleStateUpdating,
- "active": OperationsInsightsPrivateEndpointLifecycleStateActive,
- "deleting": OperationsInsightsPrivateEndpointLifecycleStateDeleting,
- "deleted": OperationsInsightsPrivateEndpointLifecycleStateDeleted,
- "failed": OperationsInsightsPrivateEndpointLifecycleStateFailed,
- "needs_attention": OperationsInsightsPrivateEndpointLifecycleStateNeedsAttention,
-}
-
-// GetOperationsInsightsPrivateEndpointLifecycleStateEnumValues Enumerates the set of values for OperationsInsightsPrivateEndpointLifecycleStateEnum
-func GetOperationsInsightsPrivateEndpointLifecycleStateEnumValues() []OperationsInsightsPrivateEndpointLifecycleStateEnum {
- values := make([]OperationsInsightsPrivateEndpointLifecycleStateEnum, 0)
- for _, v := range mappingOperationsInsightsPrivateEndpointLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsPrivateEndpointLifecycleStateEnum
-func GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- "NEEDS_ATTENTION",
- }
-}
-
-// GetMappingOperationsInsightsPrivateEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOperationsInsightsPrivateEndpointLifecycleStateEnum(val string) (OperationsInsightsPrivateEndpointLifecycleStateEnum, bool) {
- enum, ok := mappingOperationsInsightsPrivateEndpointLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_summary.go
deleted file mode 100644
index 74d0ff5c325..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_private_endpoint_summary.go
+++ /dev/null
@@ -1,86 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsPrivateEndpointSummary Summary of a Operation Insights private endpoint.
-type OperationsInsightsPrivateEndpointSummary struct {
-
- // The OCID of the Private service accessed database.
- Id *string `mandatory:"true" json:"id"`
-
- // The display name of the private endpoint.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // The compartment OCID of the Private service accessed database.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The OCID of the VCN.
- VcnId *string `mandatory:"true" json:"vcnId"`
-
- // The OCID of the subnet.
- SubnetId *string `mandatory:"true" json:"subnetId"`
-
- // The date and time the private endpoint was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Private endpoint lifecycle states
- LifecycleState OperationsInsightsPrivateEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // The flag to identify if private endpoint is used for rac database or not
- IsUsedForRacDbs *bool `mandatory:"false" json:"isUsedForRacDbs"`
-
- // The description of the private endpoint.
- Description *string `mandatory:"false" json:"description"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // 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"`
-}
-
-func (m OperationsInsightsPrivateEndpointSummary) 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 OperationsInsightsPrivateEndpointSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsPrivateEndpointLifecycleStateEnum(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(GetOperationsInsightsPrivateEndpointLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse.go
deleted file mode 100644
index 88b14f9d4b6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse.go
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouse OPSI warehouse resource.
-type OperationsInsightsWarehouse struct {
-
- // OPSI Warehouse OCID
- Id *string `mandatory:"true" json:"id"`
-
- // 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.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Number of OCPUs allocated to OPSI Warehouse ADW.
- CpuAllocated *float64 `mandatory:"true" json:"cpuAllocated"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // Possible lifecycle states
- LifecycleState OperationsInsightsWarehouseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
- CpuUsed *float64 `mandatory:"false" json:"cpuUsed"`
-
- // Storage allocated to OPSI Warehouse ADW.
- StorageAllocatedInGBs *float64 `mandatory:"false" json:"storageAllocatedInGBs"`
-
- // Storage by OPSI Warehouse ADW in GB.
- StorageUsedInGBs *float64 `mandatory:"false" json:"storageUsedInGBs"`
-
- // OCID of the dynamic group created for the warehouse
- DynamicGroupId *string `mandatory:"false" json:"dynamicGroupId"`
-
- // Tenancy Identifier of Operations 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
- 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.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m OperationsInsightsWarehouse) 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 OperationsInsightsWarehouse) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsWarehouseLifecycleStateEnum(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(GetOperationsInsightsWarehouseLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_lifecycle_state.go
deleted file mode 100644
index c573a646249..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_lifecycle_state.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OperationsInsightsWarehouseLifecycleStateEnum Enum with underlying type: string
-type OperationsInsightsWarehouseLifecycleStateEnum string
-
-// Set of constants representing the allowable values for OperationsInsightsWarehouseLifecycleStateEnum
-const (
- OperationsInsightsWarehouseLifecycleStateCreating OperationsInsightsWarehouseLifecycleStateEnum = "CREATING"
- OperationsInsightsWarehouseLifecycleStateUpdating OperationsInsightsWarehouseLifecycleStateEnum = "UPDATING"
- OperationsInsightsWarehouseLifecycleStateActive OperationsInsightsWarehouseLifecycleStateEnum = "ACTIVE"
- OperationsInsightsWarehouseLifecycleStateDeleting OperationsInsightsWarehouseLifecycleStateEnum = "DELETING"
- OperationsInsightsWarehouseLifecycleStateDeleted OperationsInsightsWarehouseLifecycleStateEnum = "DELETED"
- OperationsInsightsWarehouseLifecycleStateFailed OperationsInsightsWarehouseLifecycleStateEnum = "FAILED"
-)
-
-var mappingOperationsInsightsWarehouseLifecycleStateEnum = map[string]OperationsInsightsWarehouseLifecycleStateEnum{
- "CREATING": OperationsInsightsWarehouseLifecycleStateCreating,
- "UPDATING": OperationsInsightsWarehouseLifecycleStateUpdating,
- "ACTIVE": OperationsInsightsWarehouseLifecycleStateActive,
- "DELETING": OperationsInsightsWarehouseLifecycleStateDeleting,
- "DELETED": OperationsInsightsWarehouseLifecycleStateDeleted,
- "FAILED": OperationsInsightsWarehouseLifecycleStateFailed,
-}
-
-var mappingOperationsInsightsWarehouseLifecycleStateEnumLowerCase = map[string]OperationsInsightsWarehouseLifecycleStateEnum{
- "creating": OperationsInsightsWarehouseLifecycleStateCreating,
- "updating": OperationsInsightsWarehouseLifecycleStateUpdating,
- "active": OperationsInsightsWarehouseLifecycleStateActive,
- "deleting": OperationsInsightsWarehouseLifecycleStateDeleting,
- "deleted": OperationsInsightsWarehouseLifecycleStateDeleted,
- "failed": OperationsInsightsWarehouseLifecycleStateFailed,
-}
-
-// GetOperationsInsightsWarehouseLifecycleStateEnumValues Enumerates the set of values for OperationsInsightsWarehouseLifecycleStateEnum
-func GetOperationsInsightsWarehouseLifecycleStateEnumValues() []OperationsInsightsWarehouseLifecycleStateEnum {
- values := make([]OperationsInsightsWarehouseLifecycleStateEnum, 0)
- for _, v := range mappingOperationsInsightsWarehouseLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOperationsInsightsWarehouseLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsWarehouseLifecycleStateEnum
-func GetOperationsInsightsWarehouseLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingOperationsInsightsWarehouseLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOperationsInsightsWarehouseLifecycleStateEnum(val string) (OperationsInsightsWarehouseLifecycleStateEnum, bool) {
- enum, ok := mappingOperationsInsightsWarehouseLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary.go
deleted file mode 100644
index 7a822dcd2ac..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary.go
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseSummary Summary of a Operations Insights Warehouse resource.
-type OperationsInsightsWarehouseSummary struct {
-
- // OPSI Warehouse OCID
- Id *string `mandatory:"true" json:"id"`
-
- // 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.
- DisplayName *string `mandatory:"true" json:"displayName"`
-
- // Number of OCPUs allocated to OPSI Warehouse ADW.
- CpuAllocated *float64 `mandatory:"true" json:"cpuAllocated"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
-
- // Possible lifecycle states
- LifecycleState OperationsInsightsWarehouseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
- CpuUsed *float64 `mandatory:"false" json:"cpuUsed"`
-
- // Storage allocated to OPSI Warehouse ADW.
- StorageAllocatedInGBs *float64 `mandatory:"false" json:"storageAllocatedInGBs"`
-
- // Storage by OPSI Warehouse ADW in GB.
- StorageUsedInGBs *float64 `mandatory:"false" json:"storageUsedInGBs"`
-
- // OCID of the dynamic group created for the warehouse
- DynamicGroupId *string `mandatory:"false" json:"dynamicGroupId"`
-
- // Tenancy Identifier of Operations 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
- 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.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m OperationsInsightsWarehouseSummary) 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 OperationsInsightsWarehouseSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsWarehouseLifecycleStateEnum(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(GetOperationsInsightsWarehouseLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary_collection.go
deleted file mode 100644
index 013c5374fd1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_summary_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseSummaryCollection Collection of Operations Insights Warehouse summary objects.
-type OperationsInsightsWarehouseSummaryCollection struct {
-
- // Array of Operations Insights Warehouse summary objects.
- Items []OperationsInsightsWarehouseSummary `mandatory:"true" json:"items"`
-}
-
-func (m OperationsInsightsWarehouseSummaryCollection) 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 OperationsInsightsWarehouseSummaryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user.go
deleted file mode 100644
index c04c4271305..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseUser OPSI warehouse User.
-type OperationsInsightsWarehouseUser struct {
-
- // OPSI Warehouse OCID
- OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
-
- // Hub User OCID
- Id *string `mandatory:"true" json:"id"`
-
- // 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.
- Name *string `mandatory:"true" json:"name"`
-
- // Indicate whether user has access to AWR data.
- IsAwrDataAccess *bool `mandatory:"true" json:"isAwrDataAccess"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // 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.
- ConnectionPassword *string `mandatory:"false" json:"connectionPassword"`
-
- // Indicate whether user has access to EM data.
- IsEmDataAccess *bool `mandatory:"false" json:"isEmDataAccess"`
-
- // Indicate whether user has access to OPSI data.
- IsOpsiDataAccess *bool `mandatory:"false" json:"isOpsiDataAccess"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m OperationsInsightsWarehouseUser) 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 OperationsInsightsWarehouseUser) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsWarehouseUserLifecycleStateEnum(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(GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_lifecycle_state.go
deleted file mode 100644
index df21723fc94..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_lifecycle_state.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OperationsInsightsWarehouseUserLifecycleStateEnum Enum with underlying type: string
-type OperationsInsightsWarehouseUserLifecycleStateEnum string
-
-// Set of constants representing the allowable values for OperationsInsightsWarehouseUserLifecycleStateEnum
-const (
- OperationsInsightsWarehouseUserLifecycleStateCreating OperationsInsightsWarehouseUserLifecycleStateEnum = "CREATING"
- OperationsInsightsWarehouseUserLifecycleStateUpdating OperationsInsightsWarehouseUserLifecycleStateEnum = "UPDATING"
- OperationsInsightsWarehouseUserLifecycleStateActive OperationsInsightsWarehouseUserLifecycleStateEnum = "ACTIVE"
- OperationsInsightsWarehouseUserLifecycleStateDeleting OperationsInsightsWarehouseUserLifecycleStateEnum = "DELETING"
- OperationsInsightsWarehouseUserLifecycleStateDeleted OperationsInsightsWarehouseUserLifecycleStateEnum = "DELETED"
- OperationsInsightsWarehouseUserLifecycleStateFailed OperationsInsightsWarehouseUserLifecycleStateEnum = "FAILED"
-)
-
-var mappingOperationsInsightsWarehouseUserLifecycleStateEnum = map[string]OperationsInsightsWarehouseUserLifecycleStateEnum{
- "CREATING": OperationsInsightsWarehouseUserLifecycleStateCreating,
- "UPDATING": OperationsInsightsWarehouseUserLifecycleStateUpdating,
- "ACTIVE": OperationsInsightsWarehouseUserLifecycleStateActive,
- "DELETING": OperationsInsightsWarehouseUserLifecycleStateDeleting,
- "DELETED": OperationsInsightsWarehouseUserLifecycleStateDeleted,
- "FAILED": OperationsInsightsWarehouseUserLifecycleStateFailed,
-}
-
-var mappingOperationsInsightsWarehouseUserLifecycleStateEnumLowerCase = map[string]OperationsInsightsWarehouseUserLifecycleStateEnum{
- "creating": OperationsInsightsWarehouseUserLifecycleStateCreating,
- "updating": OperationsInsightsWarehouseUserLifecycleStateUpdating,
- "active": OperationsInsightsWarehouseUserLifecycleStateActive,
- "deleting": OperationsInsightsWarehouseUserLifecycleStateDeleting,
- "deleted": OperationsInsightsWarehouseUserLifecycleStateDeleted,
- "failed": OperationsInsightsWarehouseUserLifecycleStateFailed,
-}
-
-// GetOperationsInsightsWarehouseUserLifecycleStateEnumValues Enumerates the set of values for OperationsInsightsWarehouseUserLifecycleStateEnum
-func GetOperationsInsightsWarehouseUserLifecycleStateEnumValues() []OperationsInsightsWarehouseUserLifecycleStateEnum {
- values := make([]OperationsInsightsWarehouseUserLifecycleStateEnum, 0)
- for _, v := range mappingOperationsInsightsWarehouseUserLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues Enumerates the set of values in String for OperationsInsightsWarehouseUserLifecycleStateEnum
-func GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingOperationsInsightsWarehouseUserLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOperationsInsightsWarehouseUserLifecycleStateEnum(val string) (OperationsInsightsWarehouseUserLifecycleStateEnum, bool) {
- enum, ok := mappingOperationsInsightsWarehouseUserLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary.go
deleted file mode 100644
index f76671dcbea..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary.go
+++ /dev/null
@@ -1,89 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseUserSummary Summary of a Operations Insights Warehouse User.
-type OperationsInsightsWarehouseUserSummary struct {
-
- // OPSI Warehouse OCID
- OperationsInsightsWarehouseId *string `mandatory:"true" json:"operationsInsightsWarehouseId"`
-
- // Hub User OCID
- Id *string `mandatory:"true" json:"id"`
-
- // 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.
- Name *string `mandatory:"true" json:"name"`
-
- // Indicate whether user has access to AWR data.
- IsAwrDataAccess *bool `mandatory:"true" json:"isAwrDataAccess"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // 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.
- ConnectionPassword *string `mandatory:"false" json:"connectionPassword"`
-
- // Indicate whether user has access to EM data.
- IsEmDataAccess *bool `mandatory:"false" json:"isEmDataAccess"`
-
- // Indicate whether user has access to OPSI data.
- IsOpsiDataAccess *bool `mandatory:"false" json:"isOpsiDataAccess"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-}
-
-func (m OperationsInsightsWarehouseUserSummary) 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 OperationsInsightsWarehouseUserSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsWarehouseUserLifecycleStateEnum(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(GetOperationsInsightsWarehouseUserLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary_collection.go
deleted file mode 100644
index b4f6ce53f8a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_user_summary_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseUserSummaryCollection Collection of Operations Insights Warehouse User summary objects.
-type OperationsInsightsWarehouseUserSummaryCollection struct {
-
- // Array of Operations Insights Warehouse user summary objects.
- Items []OperationsInsightsWarehouseUserSummary `mandatory:"true" json:"items"`
-}
-
-func (m OperationsInsightsWarehouseUserSummaryCollection) 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 OperationsInsightsWarehouseUserSummaryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_users.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_users.go
deleted file mode 100644
index e3157906a96..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouse_users.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouseUsers Logical grouping used for Operations Insights Warehouse User operations.
-type OperationsInsightsWarehouseUsers struct {
-
- // Operations Insights Warehouse User Object.
- OperationsInsightsWarehouseUsers *interface{} `mandatory:"false" json:"operationsInsightsWarehouseUsers"`
-}
-
-func (m OperationsInsightsWarehouseUsers) 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 OperationsInsightsWarehouseUsers) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouses.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouses.go
deleted file mode 100644
index 4e5ca6a9a73..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/operations_insights_warehouses.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OperationsInsightsWarehouses Logical grouping used for Operations Insights Warehouse operations.
-type OperationsInsightsWarehouses struct {
-
- // Operations Insights Warehouse Object.
- OperationsInsightsWarehouses *interface{} `mandatory:"false" json:"operationsInsightsWarehouses"`
-}
-
-func (m OperationsInsightsWarehouses) 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 OperationsInsightsWarehouses) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration.go
index 68926e7b0db..6d691664b24 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration.go
@@ -125,62 +125,62 @@ func (m *opsiconfiguration) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetId returns Id
func (m opsiconfiguration) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m opsiconfiguration) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m opsiconfiguration) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m opsiconfiguration) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m opsiconfiguration) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m opsiconfiguration) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m opsiconfiguration) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m opsiconfiguration) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m opsiconfiguration) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m opsiconfiguration) GetLifecycleState() OpsiConfigurationLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m opsiconfiguration) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
-//GetConfigItems returns ConfigItems
+// GetConfigItems returns ConfigItems
func (m opsiconfiguration) GetConfigItems() json.RawMessage {
return m.ConfigItems
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_basic_configuration_item_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_basic_configuration_item_summary.go
index 4e44e8a0ced..8ea78c11311 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_basic_configuration_item_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_basic_configuration_item_summary.go
@@ -88,10 +88,7 @@ func (m *OpsiConfigurationBasicConfigurationItemSummary) UnmarshalJSON(data []by
m.DefaultValue = model.DefaultValue
m.ApplicableContexts = make([]string, len(model.ApplicableContexts))
- for i, n := range model.ApplicableContexts {
- m.ApplicableContexts[i] = n
- }
-
+ copy(m.ApplicableContexts, model.ApplicableContexts)
nn, e = model.Metadata.UnmarshalPolymorphicJSON(model.Metadata.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_configuration_item_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_configuration_item_summary.go
deleted file mode 100644
index f15b00d45ce..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_configuration_item_summary.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// OpsiConfigurationConfigurationItemSummary Configuration item summary.
-type OpsiConfigurationConfigurationItemSummary interface {
-}
-
-type opsiconfigurationconfigurationitemsummary struct {
- JsonData []byte
- ConfigItemType string `json:"configItemType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *opsiconfigurationconfigurationitemsummary) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshaleropsiconfigurationconfigurationitemsummary opsiconfigurationconfigurationitemsummary
- s := struct {
- Model Unmarshaleropsiconfigurationconfigurationitemsummary
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ConfigItemType = s.Model.ConfigItemType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *opsiconfigurationconfigurationitemsummary) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ConfigItemType {
- case "BASIC":
- mm := OpsiConfigurationBasicConfigurationItemSummary{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for OpsiConfigurationConfigurationItemSummary: %s.", m.ConfigItemType)
- return *m, nil
- }
-}
-
-func (m opsiconfigurationconfigurationitemsummary) 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 opsiconfigurationconfigurationitemsummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_lifecycle_state.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_lifecycle_state.go
deleted file mode 100644
index b3ae9e10d80..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_lifecycle_state.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OpsiConfigurationLifecycleStateEnum Enum with underlying type: string
-type OpsiConfigurationLifecycleStateEnum string
-
-// Set of constants representing the allowable values for OpsiConfigurationLifecycleStateEnum
-const (
- OpsiConfigurationLifecycleStateCreating OpsiConfigurationLifecycleStateEnum = "CREATING"
- OpsiConfigurationLifecycleStateUpdating OpsiConfigurationLifecycleStateEnum = "UPDATING"
- OpsiConfigurationLifecycleStateActive OpsiConfigurationLifecycleStateEnum = "ACTIVE"
- OpsiConfigurationLifecycleStateDeleting OpsiConfigurationLifecycleStateEnum = "DELETING"
- OpsiConfigurationLifecycleStateDeleted OpsiConfigurationLifecycleStateEnum = "DELETED"
- OpsiConfigurationLifecycleStateFailed OpsiConfigurationLifecycleStateEnum = "FAILED"
-)
-
-var mappingOpsiConfigurationLifecycleStateEnum = map[string]OpsiConfigurationLifecycleStateEnum{
- "CREATING": OpsiConfigurationLifecycleStateCreating,
- "UPDATING": OpsiConfigurationLifecycleStateUpdating,
- "ACTIVE": OpsiConfigurationLifecycleStateActive,
- "DELETING": OpsiConfigurationLifecycleStateDeleting,
- "DELETED": OpsiConfigurationLifecycleStateDeleted,
- "FAILED": OpsiConfigurationLifecycleStateFailed,
-}
-
-var mappingOpsiConfigurationLifecycleStateEnumLowerCase = map[string]OpsiConfigurationLifecycleStateEnum{
- "creating": OpsiConfigurationLifecycleStateCreating,
- "updating": OpsiConfigurationLifecycleStateUpdating,
- "active": OpsiConfigurationLifecycleStateActive,
- "deleting": OpsiConfigurationLifecycleStateDeleting,
- "deleted": OpsiConfigurationLifecycleStateDeleted,
- "failed": OpsiConfigurationLifecycleStateFailed,
-}
-
-// GetOpsiConfigurationLifecycleStateEnumValues Enumerates the set of values for OpsiConfigurationLifecycleStateEnum
-func GetOpsiConfigurationLifecycleStateEnumValues() []OpsiConfigurationLifecycleStateEnum {
- values := make([]OpsiConfigurationLifecycleStateEnum, 0)
- for _, v := range mappingOpsiConfigurationLifecycleStateEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOpsiConfigurationLifecycleStateEnumStringValues Enumerates the set of values in String for OpsiConfigurationLifecycleStateEnum
-func GetOpsiConfigurationLifecycleStateEnumStringValues() []string {
- return []string{
- "CREATING",
- "UPDATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED",
- }
-}
-
-// GetMappingOpsiConfigurationLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOpsiConfigurationLifecycleStateEnum(val string) (OpsiConfigurationLifecycleStateEnum, bool) {
- enum, ok := mappingOpsiConfigurationLifecycleStateEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_summary.go
index 6fb512a211a..08e2da59b31 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_summary.go
@@ -120,57 +120,57 @@ func (m *opsiconfigurationsummary) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetId returns Id
+// GetId returns Id
func (m opsiconfigurationsummary) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m opsiconfigurationsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m opsiconfigurationsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m opsiconfigurationsummary) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m opsiconfigurationsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m opsiconfigurationsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m opsiconfigurationsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m opsiconfigurationsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetTimeUpdated returns TimeUpdated
+// GetTimeUpdated returns TimeUpdated
func (m opsiconfigurationsummary) GetTimeUpdated() *common.SDKTime {
return m.TimeUpdated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m opsiconfigurationsummary) GetLifecycleState() OpsiConfigurationLifecycleStateEnum {
return m.LifecycleState
}
-//GetLifecycleDetails returns LifecycleDetails
+// GetLifecycleDetails returns LifecycleDetails
func (m opsiconfigurationsummary) GetLifecycleDetails() *string {
return m.LifecycleDetails
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_type.go
deleted file mode 100644
index d749f036ad7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configuration_type.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OpsiConfigurationTypeEnum Enum with underlying type: string
-type OpsiConfigurationTypeEnum string
-
-// Set of constants representing the allowable values for OpsiConfigurationTypeEnum
-const (
- OpsiConfigurationTypeUxConfiguration OpsiConfigurationTypeEnum = "UX_CONFIGURATION"
-)
-
-var mappingOpsiConfigurationTypeEnum = map[string]OpsiConfigurationTypeEnum{
- "UX_CONFIGURATION": OpsiConfigurationTypeUxConfiguration,
-}
-
-var mappingOpsiConfigurationTypeEnumLowerCase = map[string]OpsiConfigurationTypeEnum{
- "ux_configuration": OpsiConfigurationTypeUxConfiguration,
-}
-
-// GetOpsiConfigurationTypeEnumValues Enumerates the set of values for OpsiConfigurationTypeEnum
-func GetOpsiConfigurationTypeEnumValues() []OpsiConfigurationTypeEnum {
- values := make([]OpsiConfigurationTypeEnum, 0)
- for _, v := range mappingOpsiConfigurationTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOpsiConfigurationTypeEnumStringValues Enumerates the set of values in String for OpsiConfigurationTypeEnum
-func GetOpsiConfigurationTypeEnumStringValues() []string {
- return []string{
- "UX_CONFIGURATION",
- }
-}
-
-// GetMappingOpsiConfigurationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOpsiConfigurationTypeEnum(val string) (OpsiConfigurationTypeEnum, bool) {
- enum, ok := mappingOpsiConfigurationTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations.go
deleted file mode 100644
index ba5940708e1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations.go
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OpsiConfigurations An OPSI configuration resource is a container for storing custom values for customizable configuration items exposed by Operations Insights.
-// Operations Insights exposes different sets of customizable configuration items through different OPSI configuration types.
-// UX_CONFIGURATION: OPSI configuration resource of this type can be created only once in each compartment. It is a compartment level singleton resource.
-// When configuration values, for an OPSI configuration type that supports compartment level singleton (e.g: UX_CONFIGURATION) resource, are queried for a compartment,
-// following will be the order of preference.
-// 1. If the specified compartment has an OPSI configuration resource, first preference will be given to the custom values inside that.
-// 2. If the root compartment has an OPSI configuration resource, it will be considered as applicable to all compartments of that tenency,
-// hence second preference will be given to the custom values inside that.
-// 3. Default configuration will be considered as a final fallback option.
-type OpsiConfigurations struct {
-
- // OPSI Configuration Object.
- OpsiConfigurations *interface{} `mandatory:"false" json:"opsiConfigurations"`
-}
-
-func (m OpsiConfigurations) 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 OpsiConfigurations) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations_collection.go
index 27e1ad309cd..a7ed9c62443 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_configurations_collection.go
@@ -64,6 +64,5 @@ func (m *OpsiConfigurationsCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object.go
index 143c13145db..9dafffae8ff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object.go
@@ -50,14 +50,14 @@ type OpsiDataObject interface {
type opsidataobject struct {
JsonData []byte
- Identifier *string `mandatory:"true" json:"identifier"`
- DisplayName *string `mandatory:"true" json:"displayName"`
- ColumnsMetadata []DataObjectColumnMetadata `mandatory:"true" json:"columnsMetadata"`
Description *string `mandatory:"false" json:"description"`
Name *string `mandatory:"false" json:"name"`
GroupNames []string `mandatory:"false" json:"groupNames"`
SupportedQueryTimePeriod *string `mandatory:"false" json:"supportedQueryTimePeriod"`
SupportedQueryParams []OpsiDataObjectSupportedQueryParam `mandatory:"false" json:"supportedQueryParams"`
+ Identifier *string `mandatory:"true" json:"identifier"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
+ ColumnsMetadata []DataObjectColumnMetadata `mandatory:"true" json:"columnsMetadata"`
DataObjectType string `json:"dataObjectType"`
}
@@ -112,46 +112,46 @@ func (m *opsidataobject) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetIdentifier returns Identifier
-func (m opsidataobject) GetIdentifier() *string {
- return m.Identifier
-}
-
-//GetDisplayName returns DisplayName
-func (m opsidataobject) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetColumnsMetadata returns ColumnsMetadata
-func (m opsidataobject) GetColumnsMetadata() []DataObjectColumnMetadata {
- return m.ColumnsMetadata
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m opsidataobject) GetDescription() *string {
return m.Description
}
-//GetName returns Name
+// GetName returns Name
func (m opsidataobject) GetName() *string {
return m.Name
}
-//GetGroupNames returns GroupNames
+// GetGroupNames returns GroupNames
func (m opsidataobject) GetGroupNames() []string {
return m.GroupNames
}
-//GetSupportedQueryTimePeriod returns SupportedQueryTimePeriod
+// GetSupportedQueryTimePeriod returns SupportedQueryTimePeriod
func (m opsidataobject) GetSupportedQueryTimePeriod() *string {
return m.SupportedQueryTimePeriod
}
-//GetSupportedQueryParams returns SupportedQueryParams
+// GetSupportedQueryParams returns SupportedQueryParams
func (m opsidataobject) GetSupportedQueryParams() []OpsiDataObjectSupportedQueryParam {
return m.SupportedQueryParams
}
+// GetIdentifier returns Identifier
+func (m opsidataobject) GetIdentifier() *string {
+ return m.Identifier
+}
+
+// GetDisplayName returns DisplayName
+func (m opsidataobject) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetColumnsMetadata returns ColumnsMetadata
+func (m opsidataobject) GetColumnsMetadata() []DataObjectColumnMetadata {
+ return m.ColumnsMetadata
+}
+
func (m opsidataobject) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_details_in_query.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_details_in_query.go
index 73dc38b1ad6..a0898e619be 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_details_in_query.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_details_in_query.go
@@ -72,7 +72,7 @@ func (m *opsidataobjectdetailsinquery) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetQueryParams returns QueryParams
+// GetQueryParams returns QueryParams
func (m opsidataobjectdetailsinquery) GetQueryParams() []OpsiDataObjectQueryParam {
return m.QueryParams
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_summary.go
index 21e6b8fc73a..c2ee1aa4e9c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_summary.go
@@ -39,11 +39,11 @@ type OpsiDataObjectSummary interface {
type opsidataobjectsummary struct {
JsonData []byte
- Identifier *string `mandatory:"true" json:"identifier"`
- DisplayName *string `mandatory:"true" json:"displayName"`
Description *string `mandatory:"false" json:"description"`
Name *string `mandatory:"false" json:"name"`
GroupNames []string `mandatory:"false" json:"groupNames"`
+ Identifier *string `mandatory:"true" json:"identifier"`
+ DisplayName *string `mandatory:"true" json:"displayName"`
DataObjectType string `json:"dataObjectType"`
}
@@ -95,31 +95,31 @@ func (m *opsidataobjectsummary) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetIdentifier returns Identifier
-func (m opsidataobjectsummary) GetIdentifier() *string {
- return m.Identifier
-}
-
-//GetDisplayName returns DisplayName
-func (m opsidataobjectsummary) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetDescription returns Description
+// GetDescription returns Description
func (m opsidataobjectsummary) GetDescription() *string {
return m.Description
}
-//GetName returns Name
+// GetName returns Name
func (m opsidataobjectsummary) GetName() *string {
return m.Name
}
-//GetGroupNames returns GroupNames
+// GetGroupNames returns GroupNames
func (m opsidataobjectsummary) GetGroupNames() []string {
return m.GroupNames
}
+// GetIdentifier returns Identifier
+func (m opsidataobjectsummary) GetIdentifier() *string {
+ return m.Identifier
+}
+
+// GetDisplayName returns DisplayName
+func (m opsidataobjectsummary) GetDisplayName() *string {
+ return m.DisplayName
+}
+
func (m opsidataobjectsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_type.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_type.go
deleted file mode 100644
index db48159640a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_object_type.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// OpsiDataObjectTypeEnum Enum with underlying type: string
-type OpsiDataObjectTypeEnum string
-
-// Set of constants representing the allowable values for OpsiDataObjectTypeEnum
-const (
- OpsiDataObjectTypeDatabaseInsightsDataObject OpsiDataObjectTypeEnum = "DATABASE_INSIGHTS_DATA_OBJECT"
- OpsiDataObjectTypeHostInsightsDataObject OpsiDataObjectTypeEnum = "HOST_INSIGHTS_DATA_OBJECT"
- OpsiDataObjectTypeExadataInsightsDataObject OpsiDataObjectTypeEnum = "EXADATA_INSIGHTS_DATA_OBJECT"
-)
-
-var mappingOpsiDataObjectTypeEnum = map[string]OpsiDataObjectTypeEnum{
- "DATABASE_INSIGHTS_DATA_OBJECT": OpsiDataObjectTypeDatabaseInsightsDataObject,
- "HOST_INSIGHTS_DATA_OBJECT": OpsiDataObjectTypeHostInsightsDataObject,
- "EXADATA_INSIGHTS_DATA_OBJECT": OpsiDataObjectTypeExadataInsightsDataObject,
-}
-
-var mappingOpsiDataObjectTypeEnumLowerCase = map[string]OpsiDataObjectTypeEnum{
- "database_insights_data_object": OpsiDataObjectTypeDatabaseInsightsDataObject,
- "host_insights_data_object": OpsiDataObjectTypeHostInsightsDataObject,
- "exadata_insights_data_object": OpsiDataObjectTypeExadataInsightsDataObject,
-}
-
-// GetOpsiDataObjectTypeEnumValues Enumerates the set of values for OpsiDataObjectTypeEnum
-func GetOpsiDataObjectTypeEnumValues() []OpsiDataObjectTypeEnum {
- values := make([]OpsiDataObjectTypeEnum, 0)
- for _, v := range mappingOpsiDataObjectTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetOpsiDataObjectTypeEnumStringValues Enumerates the set of values in String for OpsiDataObjectTypeEnum
-func GetOpsiDataObjectTypeEnumStringValues() []string {
- return []string{
- "DATABASE_INSIGHTS_DATA_OBJECT",
- "HOST_INSIGHTS_DATA_OBJECT",
- "EXADATA_INSIGHTS_DATA_OBJECT",
- }
-}
-
-// GetMappingOpsiDataObjectTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingOpsiDataObjectTypeEnum(val string) (OpsiDataObjectTypeEnum, bool) {
- enum, ok := mappingOpsiDataObjectTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects.go
deleted file mode 100644
index adfabfaf037..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// OpsiDataObjects Logical grouping used for OPSI data object targeted operations.
-type OpsiDataObjects struct {
-
- // OPSI Data Object.
- OpsiDataObjects *interface{} `mandatory:"false" json:"opsiDataObjects"`
-}
-
-func (m OpsiDataObjects) 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 OpsiDataObjects) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects_collection.go
index e83d41b5b45..afb785dc6d9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_data_objects_collection.go
@@ -64,6 +64,5 @@ func (m *OpsiDataObjectsCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_operationsinsights_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_operationsinsights_client.go
index a4b2f771d2c..90bed8aa590 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_operationsinsights_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_operationsinsights_client.go
@@ -82,7 +82,7 @@ func (client *OperationsInsightsClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration.go
index ddca958174f..a3a0f0f7e42 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration.go
@@ -210,6 +210,5 @@ func (m *OpsiUxConfiguration) UnmarshalJSON(data []byte) (e error) {
m.ConfigItems[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration_summary.go
deleted file mode 100644
index 2ec1e640da5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/opsi_ux_configuration_summary.go
+++ /dev/null
@@ -1,147 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// OpsiUxConfigurationSummary OPSI UX configuration summary.
-type OpsiUxConfigurationSummary struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
- Id *string `mandatory:"false" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-
- // User-friendly display name for the OPSI configuration. The name does not have to be unique.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Description of OPSI configuration.
- Description *string `mandatory:"false" json:"description"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time at which the resource was first created. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time at which the resource was last updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // OPSI configuration resource lifecycle state.
- LifecycleState OpsiConfigurationLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m OpsiUxConfigurationSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m OpsiUxConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
-func (m OpsiUxConfigurationSummary) GetDisplayName() *string {
- return m.DisplayName
-}
-
-//GetDescription returns Description
-func (m OpsiUxConfigurationSummary) GetDescription() *string {
- return m.Description
-}
-
-//GetFreeformTags returns FreeformTags
-func (m OpsiUxConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m OpsiUxConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m OpsiUxConfigurationSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m OpsiUxConfigurationSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m OpsiUxConfigurationSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m OpsiUxConfigurationSummary) GetLifecycleState() OpsiConfigurationLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m OpsiUxConfigurationSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m OpsiUxConfigurationSummary) 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 OpsiUxConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingOpsiConfigurationLifecycleStateEnum(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(GetOpsiConfigurationLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m OpsiUxConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeOpsiUxConfigurationSummary OpsiUxConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"opsiConfigType"`
- MarshalTypeOpsiUxConfigurationSummary
- }{
- "UX_CONFIGURATION",
- (MarshalTypeOpsiUxConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_connection_details.go
deleted file mode 100644
index e5d7af319eb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_connection_details.go
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// PeComanagedDatabaseConnectionDetails Connection details of the private endpoints.
-type PeComanagedDatabaseConnectionDetails struct {
-
- // List of hosts and port for private endpoint accessed database resource.
- Hosts []PeComanagedDatabaseHostDetails `mandatory:"true" json:"hosts"`
-
- // Protocol used for connection requests for private endpoint accssed database resource.
- Protocol PeComanagedDatabaseConnectionDetailsProtocolEnum `mandatory:"false" json:"protocol,omitempty"`
-
- // Database service name used for connection requests.
- ServiceName *string `mandatory:"false" json:"serviceName"`
-}
-
-func (m PeComanagedDatabaseConnectionDetails) 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 PeComanagedDatabaseConnectionDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingPeComanagedDatabaseConnectionDetailsProtocolEnum(string(m.Protocol)); !ok && m.Protocol != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Protocol: %s. Supported values are: %s.", m.Protocol, strings.Join(GetPeComanagedDatabaseConnectionDetailsProtocolEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// PeComanagedDatabaseConnectionDetailsProtocolEnum Enum with underlying type: string
-type PeComanagedDatabaseConnectionDetailsProtocolEnum string
-
-// Set of constants representing the allowable values for PeComanagedDatabaseConnectionDetailsProtocolEnum
-const (
- PeComanagedDatabaseConnectionDetailsProtocolTcp PeComanagedDatabaseConnectionDetailsProtocolEnum = "TCP"
- PeComanagedDatabaseConnectionDetailsProtocolTcps PeComanagedDatabaseConnectionDetailsProtocolEnum = "TCPS"
-)
-
-var mappingPeComanagedDatabaseConnectionDetailsProtocolEnum = map[string]PeComanagedDatabaseConnectionDetailsProtocolEnum{
- "TCP": PeComanagedDatabaseConnectionDetailsProtocolTcp,
- "TCPS": PeComanagedDatabaseConnectionDetailsProtocolTcps,
-}
-
-var mappingPeComanagedDatabaseConnectionDetailsProtocolEnumLowerCase = map[string]PeComanagedDatabaseConnectionDetailsProtocolEnum{
- "tcp": PeComanagedDatabaseConnectionDetailsProtocolTcp,
- "tcps": PeComanagedDatabaseConnectionDetailsProtocolTcps,
-}
-
-// GetPeComanagedDatabaseConnectionDetailsProtocolEnumValues Enumerates the set of values for PeComanagedDatabaseConnectionDetailsProtocolEnum
-func GetPeComanagedDatabaseConnectionDetailsProtocolEnumValues() []PeComanagedDatabaseConnectionDetailsProtocolEnum {
- values := make([]PeComanagedDatabaseConnectionDetailsProtocolEnum, 0)
- for _, v := range mappingPeComanagedDatabaseConnectionDetailsProtocolEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetPeComanagedDatabaseConnectionDetailsProtocolEnumStringValues Enumerates the set of values in String for PeComanagedDatabaseConnectionDetailsProtocolEnum
-func GetPeComanagedDatabaseConnectionDetailsProtocolEnumStringValues() []string {
- return []string{
- "TCP",
- "TCPS",
- }
-}
-
-// GetMappingPeComanagedDatabaseConnectionDetailsProtocolEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingPeComanagedDatabaseConnectionDetailsProtocolEnum(val string) (PeComanagedDatabaseConnectionDetailsProtocolEnum, bool) {
- enum, ok := mappingPeComanagedDatabaseConnectionDetailsProtocolEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_host_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_host_details.go
deleted file mode 100644
index 81a52999ff4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_host_details.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// PeComanagedDatabaseHostDetails Input Host Details used for connection requests for private endpoint accessed db resource.
-type PeComanagedDatabaseHostDetails struct {
-
- // Host IP used for connection requests for Cloud DB resource.
- HostIp *string `mandatory:"false" json:"hostIp"`
-
- // Listener port number used for connection requests for rivate endpoint accessed db resource.
- Port *int `mandatory:"false" json:"port"`
-}
-
-func (m PeComanagedDatabaseHostDetails) 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 PeComanagedDatabaseHostDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight.go
deleted file mode 100644
index ffe50a73016..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight.go
+++ /dev/null
@@ -1,289 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedDatabaseInsight Database insight resource.
-type PeComanagedDatabaseInsight struct {
-
- // Database insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the database
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // Name of database
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"true" json:"databaseResourceType"`
-
- // Operations Insights internal representation of the database type.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `mandatory:"false" json:"connectionDetails"`
-
- CredentialDetails CredentialDetails `mandatory:"false" json:"credentialDetails"`
-
- // Display name of database
- DatabaseDisplayName *string `mandatory:"false" json:"databaseDisplayName"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ParentId *string `mandatory:"false" json:"parentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- RootId *string `mandatory:"false" json:"rootId"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m PeComanagedDatabaseInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedDatabaseInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetStatus returns Status
-func (m PeComanagedDatabaseInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetDatabaseType returns DatabaseType
-func (m PeComanagedDatabaseInsight) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m PeComanagedDatabaseInsight) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m PeComanagedDatabaseInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedDatabaseInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedDatabaseInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedDatabaseInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedDatabaseInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedDatabaseInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedDatabaseInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedDatabaseInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m PeComanagedDatabaseInsight) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m PeComanagedDatabaseInsight) 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 PeComanagedDatabaseInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedDatabaseInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedDatabaseInsight PeComanagedDatabaseInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedDatabaseInsight
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypePeComanagedDatabaseInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// UnmarshalJSON unmarshals from json
-func (m *PeComanagedDatabaseInsight) UnmarshalJSON(data []byte) (e error) {
- model := struct {
- DatabaseType *string `json:"databaseType"`
- DatabaseVersion *string `json:"databaseVersion"`
- ProcessorCount *int `json:"processorCount"`
- SystemTags map[string]map[string]interface{} `json:"systemTags"`
- TimeUpdated *common.SDKTime `json:"timeUpdated"`
- LifecycleDetails *string `json:"lifecycleDetails"`
- DatabaseConnectionStatusDetails *string `json:"databaseConnectionStatusDetails"`
- OpsiPrivateEndpointId *string `json:"opsiPrivateEndpointId"`
- ConnectionDetails *PeComanagedDatabaseConnectionDetails `json:"connectionDetails"`
- CredentialDetails credentialdetails `json:"credentialDetails"`
- DatabaseDisplayName *string `json:"databaseDisplayName"`
- ParentId *string `json:"parentId"`
- RootId *string `json:"rootId"`
- Id *string `json:"id"`
- CompartmentId *string `json:"compartmentId"`
- Status ResourceStatusEnum `json:"status"`
- FreeformTags map[string]string `json:"freeformTags"`
- DefinedTags map[string]map[string]interface{} `json:"definedTags"`
- TimeCreated *common.SDKTime `json:"timeCreated"`
- LifecycleState LifecycleStateEnum `json:"lifecycleState"`
- DatabaseId *string `json:"databaseId"`
- DatabaseName *string `json:"databaseName"`
- DatabaseResourceType *string `json:"databaseResourceType"`
- }{}
-
- e = json.Unmarshal(data, &model)
- if e != nil {
- return
- }
- var nn interface{}
- m.DatabaseType = model.DatabaseType
-
- m.DatabaseVersion = model.DatabaseVersion
-
- m.ProcessorCount = model.ProcessorCount
-
- m.SystemTags = model.SystemTags
-
- m.TimeUpdated = model.TimeUpdated
-
- m.LifecycleDetails = model.LifecycleDetails
-
- m.DatabaseConnectionStatusDetails = model.DatabaseConnectionStatusDetails
-
- m.OpsiPrivateEndpointId = model.OpsiPrivateEndpointId
-
- m.ConnectionDetails = model.ConnectionDetails
-
- nn, e = model.CredentialDetails.UnmarshalPolymorphicJSON(model.CredentialDetails.JsonData)
- if e != nil {
- return
- }
- if nn != nil {
- m.CredentialDetails = nn.(CredentialDetails)
- } else {
- m.CredentialDetails = nil
- }
-
- m.DatabaseDisplayName = model.DatabaseDisplayName
-
- m.ParentId = model.ParentId
-
- m.RootId = model.RootId
-
- m.Id = model.Id
-
- m.CompartmentId = model.CompartmentId
-
- m.Status = model.Status
-
- m.FreeformTags = model.FreeformTags
-
- m.DefinedTags = model.DefinedTags
-
- m.TimeCreated = model.TimeCreated
-
- m.LifecycleState = model.LifecycleState
-
- m.DatabaseId = model.DatabaseId
-
- m.DatabaseName = model.DatabaseName
-
- m.DatabaseResourceType = model.DatabaseResourceType
-
- return
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight_summary.go
deleted file mode 100644
index 26a45ea2603..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_database_insight_summary.go
+++ /dev/null
@@ -1,218 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedDatabaseInsightSummary Summary of a database insight resource.
-type PeComanagedDatabaseInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"false" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"false" json:"databaseVersion"`
-
- // The hostnames for the database.
- DatabaseHostNames []string `mandatory:"false" json:"databaseHostNames"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // The time the the database insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the database insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection.
- DatabaseConnectionStatusDetails *string `mandatory:"false" json:"databaseConnectionStatusDetails"`
-
- // OCI database resource type
- DatabaseResourceType *string `mandatory:"false" json:"databaseResourceType"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ParentId *string `mandatory:"false" json:"parentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the root resource for a composite target. e.g. for ExaCS members the rootId will be the OCID of the Exadata Infrastructure resource.
- RootId *string `mandatory:"false" json:"rootId"`
-
- // Indicates the status of a database insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the database.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m PeComanagedDatabaseInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetDatabaseId returns DatabaseId
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseId() *string {
- return m.DatabaseId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedDatabaseInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetDatabaseHostNames returns DatabaseHostNames
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseHostNames() []string {
- return m.DatabaseHostNames
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedDatabaseInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedDatabaseInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedDatabaseInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m PeComanagedDatabaseInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetStatus returns Status
-func (m PeComanagedDatabaseInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedDatabaseInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedDatabaseInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedDatabaseInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedDatabaseInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-//GetDatabaseConnectionStatusDetails returns DatabaseConnectionStatusDetails
-func (m PeComanagedDatabaseInsightSummary) GetDatabaseConnectionStatusDetails() *string {
- return m.DatabaseConnectionStatusDetails
-}
-
-func (m PeComanagedDatabaseInsightSummary) 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 PeComanagedDatabaseInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedDatabaseInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedDatabaseInsightSummary PeComanagedDatabaseInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedDatabaseInsightSummary
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypePeComanagedDatabaseInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight.go
deleted file mode 100644
index 8618fe91941..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight.go
+++ /dev/null
@@ -1,200 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedExadataInsight Private endpoint managed Exadata insight resource (ExaCS).
-type PeComanagedExadataInsight struct {
-
- // Exadata insight identifier
- Id *string `mandatory:"true" json:"id"`
-
- // Compartment identifier of the Exadata insight resource
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
-
- // The shape of the Exadata Infrastructure.
- ExadataShape *string `mandatory:"true" json:"exadataShape"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-
- // true if virtualization is used in the Exadata system
- IsVirtualizedExadata *bool `mandatory:"false" json:"isVirtualizedExadata"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Exadata insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
-
- // Exadata rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
-
- // Indicates the status of an Exadata insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the Exadata insight.
- LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // OCI exadata infrastructure resource type
- ExadataInfraResourceType ExadataResourceTypeEnum `mandatory:"true" json:"exadataInfraResourceType"`
-}
-
-//GetId returns Id
-func (m PeComanagedExadataInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedExadataInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m PeComanagedExadataInsight) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m PeComanagedExadataInsight) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m PeComanagedExadataInsight) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m PeComanagedExadataInsight) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetIsVirtualizedExadata returns IsVirtualizedExadata
-func (m PeComanagedExadataInsight) GetIsVirtualizedExadata() *bool {
- return m.IsVirtualizedExadata
-}
-
-//GetStatus returns Status
-func (m PeComanagedExadataInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedExadataInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedExadataInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedExadataInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedExadataInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedExadataInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedExadataInsight) GetLifecycleState() ExadataInsightLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedExadataInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m PeComanagedExadataInsight) 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 PeComanagedExadataInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataInsightLifecycleStateEnum(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(GetExadataInsightLifecycleStateEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataResourceTypeEnum(string(m.ExadataInfraResourceType)); !ok && m.ExadataInfraResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataInfraResourceType: %s. Supported values are: %s.", m.ExadataInfraResourceType, strings.Join(GetExadataResourceTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedExadataInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedExadataInsight PeComanagedExadataInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedExadataInsight
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypePeComanagedExadataInsight)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight_summary.go
deleted file mode 100644
index 2d8813142ae..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_exadata_insight_summary.go
+++ /dev/null
@@ -1,192 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedExadataInsightSummary Summary of a Private endpoint managed Exadata insight resource (ExaCS).
-type PeComanagedExadataInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The Exadata system name. If the Exadata systems managed by Enterprise Manager, the name is unique amongst the Exadata systems managed by the same Enterprise Manager.
- ExadataName *string `mandatory:"true" json:"exadataName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- ExadataInfraId *string `mandatory:"true" json:"exadataInfraId"`
-
- // The shape of the Exadata Infrastructure.
- ExadataShape *string `mandatory:"true" json:"exadataShape"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the Exadata insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // Operations Insights internal representation of the the Exadata system type.
- ExadataType ExadataTypeEnum `mandatory:"false" json:"exadataType,omitempty"`
-
- // Operations Insights internal representation of the the Exadata system rack type.
- ExadataRackType ExadataRackTypeEnum `mandatory:"false" json:"exadataRackType,omitempty"`
-
- // Indicates the status of an Exadata insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the Exadata insight.
- LifecycleState ExadataInsightLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // OCI exadata infrastructure resource type
- ExadataInfraResourceType ExadataResourceTypeEnum `mandatory:"true" json:"exadataInfraResourceType"`
-}
-
-//GetId returns Id
-func (m PeComanagedExadataInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedExadataInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetExadataName returns ExadataName
-func (m PeComanagedExadataInsightSummary) GetExadataName() *string {
- return m.ExadataName
-}
-
-//GetExadataDisplayName returns ExadataDisplayName
-func (m PeComanagedExadataInsightSummary) GetExadataDisplayName() *string {
- return m.ExadataDisplayName
-}
-
-//GetExadataType returns ExadataType
-func (m PeComanagedExadataInsightSummary) GetExadataType() ExadataTypeEnum {
- return m.ExadataType
-}
-
-//GetExadataRackType returns ExadataRackType
-func (m PeComanagedExadataInsightSummary) GetExadataRackType() ExadataRackTypeEnum {
- return m.ExadataRackType
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedExadataInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedExadataInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedExadataInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m PeComanagedExadataInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedExadataInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedExadataInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedExadataInsightSummary) GetLifecycleState() ExadataInsightLifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedExadataInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m PeComanagedExadataInsightSummary) 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 PeComanagedExadataInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingExadataTypeEnum(string(m.ExadataType)); !ok && m.ExadataType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataType: %s. Supported values are: %s.", m.ExadataType, strings.Join(GetExadataTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataRackTypeEnum(string(m.ExadataRackType)); !ok && m.ExadataRackType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataRackType: %s. Supported values are: %s.", m.ExadataRackType, strings.Join(GetExadataRackTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataInsightLifecycleStateEnum(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(GetExadataInsightLifecycleStateEnumStringValues(), ",")))
- }
- if _, ok := GetMappingExadataResourceTypeEnum(string(m.ExadataInfraResourceType)); !ok && m.ExadataInfraResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataInfraResourceType: %s. Supported values are: %s.", m.ExadataInfraResourceType, strings.Join(GetExadataResourceTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedExadataInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedExadataInsightSummary PeComanagedExadataInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedExadataInsightSummary
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypePeComanagedExadataInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_configuration_summary.go
deleted file mode 100644
index 34a1dae5c10..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_configuration_summary.go
+++ /dev/null
@@ -1,221 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedHostConfigurationSummary Configuration Summary of a PeComanaged host.
-type PeComanagedHostConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- HostInsightId *string `mandatory:"true" json:"hostInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Platform version.
- PlatformVersion *string `mandatory:"true" json:"platformVersion"`
-
- // Platform vendor.
- PlatformVendor *string `mandatory:"true" json:"platformVendor"`
-
- // Total CPU on this host.
- TotalCpus *int `mandatory:"true" json:"totalCpus"`
-
- // Total amount of usable physical memory in gibabytes
- TotalMemoryInGBs *float64 `mandatory:"true" json:"totalMemoryInGBs"`
-
- // CPU architechure
- CpuArchitecture *string `mandatory:"true" json:"cpuArchitecture"`
-
- // Size of cache memory in megabytes.
- CpuCacheInMBs *float64 `mandatory:"true" json:"cpuCacheInMBs"`
-
- // Name of the CPU vendor.
- CpuVendor *string `mandatory:"true" json:"cpuVendor"`
-
- // Clock frequency of the processor in megahertz.
- CpuFrequencyInMhz *float64 `mandatory:"true" json:"cpuFrequencyInMhz"`
-
- // Model name of processor.
- CpuImplementation *string `mandatory:"true" json:"cpuImplementation"`
-
- // Number of cores per socket.
- CoresPerSocket *int `mandatory:"true" json:"coresPerSocket"`
-
- // Number of total sockets.
- TotalSockets *int `mandatory:"true" json:"totalSockets"`
-
- // Number of threads per socket.
- ThreadsPerSocket *int `mandatory:"true" json:"threadsPerSocket"`
-
- // Indicates if hyper-threading is enabled or not
- IsHyperThreadingEnabled *bool `mandatory:"true" json:"isHyperThreadingEnabled"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- ParentId *string `mandatory:"true" json:"parentId"`
-
- ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType HostConfigurationSummaryPlatformTypeEnum `mandatory:"true" json:"platformType"`
-}
-
-//GetHostInsightId returns HostInsightId
-func (m PeComanagedHostConfigurationSummary) GetHostInsightId() *string {
- return m.HostInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedHostConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m PeComanagedHostConfigurationSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetPlatformType returns PlatformType
-func (m PeComanagedHostConfigurationSummary) GetPlatformType() HostConfigurationSummaryPlatformTypeEnum {
- return m.PlatformType
-}
-
-//GetPlatformVersion returns PlatformVersion
-func (m PeComanagedHostConfigurationSummary) GetPlatformVersion() *string {
- return m.PlatformVersion
-}
-
-//GetPlatformVendor returns PlatformVendor
-func (m PeComanagedHostConfigurationSummary) GetPlatformVendor() *string {
- return m.PlatformVendor
-}
-
-//GetTotalCpus returns TotalCpus
-func (m PeComanagedHostConfigurationSummary) GetTotalCpus() *int {
- return m.TotalCpus
-}
-
-//GetTotalMemoryInGBs returns TotalMemoryInGBs
-func (m PeComanagedHostConfigurationSummary) GetTotalMemoryInGBs() *float64 {
- return m.TotalMemoryInGBs
-}
-
-//GetCpuArchitecture returns CpuArchitecture
-func (m PeComanagedHostConfigurationSummary) GetCpuArchitecture() *string {
- return m.CpuArchitecture
-}
-
-//GetCpuCacheInMBs returns CpuCacheInMBs
-func (m PeComanagedHostConfigurationSummary) GetCpuCacheInMBs() *float64 {
- return m.CpuCacheInMBs
-}
-
-//GetCpuVendor returns CpuVendor
-func (m PeComanagedHostConfigurationSummary) GetCpuVendor() *string {
- return m.CpuVendor
-}
-
-//GetCpuFrequencyInMhz returns CpuFrequencyInMhz
-func (m PeComanagedHostConfigurationSummary) GetCpuFrequencyInMhz() *float64 {
- return m.CpuFrequencyInMhz
-}
-
-//GetCpuImplementation returns CpuImplementation
-func (m PeComanagedHostConfigurationSummary) GetCpuImplementation() *string {
- return m.CpuImplementation
-}
-
-//GetCoresPerSocket returns CoresPerSocket
-func (m PeComanagedHostConfigurationSummary) GetCoresPerSocket() *int {
- return m.CoresPerSocket
-}
-
-//GetTotalSockets returns TotalSockets
-func (m PeComanagedHostConfigurationSummary) GetTotalSockets() *int {
- return m.TotalSockets
-}
-
-//GetThreadsPerSocket returns ThreadsPerSocket
-func (m PeComanagedHostConfigurationSummary) GetThreadsPerSocket() *int {
- return m.ThreadsPerSocket
-}
-
-//GetIsHyperThreadingEnabled returns IsHyperThreadingEnabled
-func (m PeComanagedHostConfigurationSummary) GetIsHyperThreadingEnabled() *bool {
- return m.IsHyperThreadingEnabled
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedHostConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedHostConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-func (m PeComanagedHostConfigurationSummary) 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 PeComanagedHostConfigurationSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if _, ok := GetMappingHostConfigurationSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetHostConfigurationSummaryPlatformTypeEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedHostConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedHostConfigurationSummary PeComanagedHostConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedHostConfigurationSummary
- }{
- "PE_COMANAGED_HOST",
- (MarshalTypePeComanagedHostConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight.go
deleted file mode 100644
index ec28a43349b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight.go
+++ /dev/null
@@ -1,250 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedHostInsight Private Endpoint host insight resource.
-type PeComanagedHostInsight struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ParentId *string `mandatory:"false" json:"parentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- RootId *string `mandatory:"false" json:"rootId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType PeComanagedHostInsightPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"true" json:"status"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-}
-
-//GetId returns Id
-func (m PeComanagedHostInsight) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedHostInsight) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m PeComanagedHostInsight) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m PeComanagedHostInsight) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m PeComanagedHostInsight) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m PeComanagedHostInsight) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedHostInsight) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedHostInsight) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedHostInsight) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetStatus returns Status
-func (m PeComanagedHostInsight) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedHostInsight) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedHostInsight) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedHostInsight) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedHostInsight) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m PeComanagedHostInsight) 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 PeComanagedHostInsight) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingPeComanagedHostInsightPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetPeComanagedHostInsightPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedHostInsight) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedHostInsight PeComanagedHostInsight
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedHostInsight
- }{
- "PE_COMANAGED_HOST",
- (MarshalTypePeComanagedHostInsight)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// PeComanagedHostInsightPlatformTypeEnum Enum with underlying type: string
-type PeComanagedHostInsightPlatformTypeEnum string
-
-// Set of constants representing the allowable values for PeComanagedHostInsightPlatformTypeEnum
-const (
- PeComanagedHostInsightPlatformTypeLinux PeComanagedHostInsightPlatformTypeEnum = "LINUX"
- PeComanagedHostInsightPlatformTypeSolaris PeComanagedHostInsightPlatformTypeEnum = "SOLARIS"
- PeComanagedHostInsightPlatformTypeSunos PeComanagedHostInsightPlatformTypeEnum = "SUNOS"
- PeComanagedHostInsightPlatformTypeZlinux PeComanagedHostInsightPlatformTypeEnum = "ZLINUX"
- PeComanagedHostInsightPlatformTypeWindows PeComanagedHostInsightPlatformTypeEnum = "WINDOWS"
- PeComanagedHostInsightPlatformTypeAix PeComanagedHostInsightPlatformTypeEnum = "AIX"
-)
-
-var mappingPeComanagedHostInsightPlatformTypeEnum = map[string]PeComanagedHostInsightPlatformTypeEnum{
- "LINUX": PeComanagedHostInsightPlatformTypeLinux,
- "SOLARIS": PeComanagedHostInsightPlatformTypeSolaris,
- "SUNOS": PeComanagedHostInsightPlatformTypeSunos,
- "ZLINUX": PeComanagedHostInsightPlatformTypeZlinux,
- "WINDOWS": PeComanagedHostInsightPlatformTypeWindows,
- "AIX": PeComanagedHostInsightPlatformTypeAix,
-}
-
-var mappingPeComanagedHostInsightPlatformTypeEnumLowerCase = map[string]PeComanagedHostInsightPlatformTypeEnum{
- "linux": PeComanagedHostInsightPlatformTypeLinux,
- "solaris": PeComanagedHostInsightPlatformTypeSolaris,
- "sunos": PeComanagedHostInsightPlatformTypeSunos,
- "zlinux": PeComanagedHostInsightPlatformTypeZlinux,
- "windows": PeComanagedHostInsightPlatformTypeWindows,
- "aix": PeComanagedHostInsightPlatformTypeAix,
-}
-
-// GetPeComanagedHostInsightPlatformTypeEnumValues Enumerates the set of values for PeComanagedHostInsightPlatformTypeEnum
-func GetPeComanagedHostInsightPlatformTypeEnumValues() []PeComanagedHostInsightPlatformTypeEnum {
- values := make([]PeComanagedHostInsightPlatformTypeEnum, 0)
- for _, v := range mappingPeComanagedHostInsightPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetPeComanagedHostInsightPlatformTypeEnumStringValues Enumerates the set of values in String for PeComanagedHostInsightPlatformTypeEnum
-func GetPeComanagedHostInsightPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingPeComanagedHostInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingPeComanagedHostInsightPlatformTypeEnum(val string) (PeComanagedHostInsightPlatformTypeEnum, bool) {
- enum, ok := mappingPeComanagedHostInsightPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight_summary.go
deleted file mode 100644
index 20cd08c4d79..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_host_insight_summary.go
+++ /dev/null
@@ -1,255 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedHostInsightSummary Summary of a Private Endpoint host insight resource.
-type PeComanagedHostInsightSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The host name. The host name is unique amongst the hosts managed by the same management agent.
- HostName *string `mandatory:"true" json:"hostName"`
-
- // 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.
- HostType *string `mandatory:"false" json:"hostType"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // System tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
- SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"false" json:"opsiPrivateEndpointId"`
-
- // The time the the host insight was first enabled. An RFC3339 formatted datetime string
- TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
-
- // The time the host insight was updated. An RFC3339 formatted datetime string
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
-
- // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
- ParentId *string `mandatory:"false" json:"parentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure.
- RootId *string `mandatory:"false" json:"rootId"`
-
- // Platform type.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType PeComanagedHostInsightSummaryPlatformTypeEnum `mandatory:"false" json:"platformType,omitempty"`
-
- // Indicates the status of a host insight in Operations Insights
- Status ResourceStatusEnum `mandatory:"false" json:"status,omitempty"`
-
- // The current state of the host.
- LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
-}
-
-//GetId returns Id
-func (m PeComanagedHostInsightSummary) GetId() *string {
- return m.Id
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedHostInsightSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetHostName returns HostName
-func (m PeComanagedHostInsightSummary) GetHostName() *string {
- return m.HostName
-}
-
-//GetHostDisplayName returns HostDisplayName
-func (m PeComanagedHostInsightSummary) GetHostDisplayName() *string {
- return m.HostDisplayName
-}
-
-//GetHostType returns HostType
-func (m PeComanagedHostInsightSummary) GetHostType() *string {
- return m.HostType
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m PeComanagedHostInsightSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedHostInsightSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedHostInsightSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetSystemTags returns SystemTags
-func (m PeComanagedHostInsightSummary) GetSystemTags() map[string]map[string]interface{} {
- return m.SystemTags
-}
-
-//GetOpsiPrivateEndpointId returns OpsiPrivateEndpointId
-func (m PeComanagedHostInsightSummary) GetOpsiPrivateEndpointId() *string {
- return m.OpsiPrivateEndpointId
-}
-
-//GetStatus returns Status
-func (m PeComanagedHostInsightSummary) GetStatus() ResourceStatusEnum {
- return m.Status
-}
-
-//GetTimeCreated returns TimeCreated
-func (m PeComanagedHostInsightSummary) GetTimeCreated() *common.SDKTime {
- return m.TimeCreated
-}
-
-//GetTimeUpdated returns TimeUpdated
-func (m PeComanagedHostInsightSummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleState returns LifecycleState
-func (m PeComanagedHostInsightSummary) GetLifecycleState() LifecycleStateEnum {
- return m.LifecycleState
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m PeComanagedHostInsightSummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
-func (m PeComanagedHostInsightSummary) 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 PeComanagedHostInsightSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingPeComanagedHostInsightSummaryPlatformTypeEnum(string(m.PlatformType)); !ok && m.PlatformType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", m.PlatformType, strings.Join(GetPeComanagedHostInsightSummaryPlatformTypeEnumStringValues(), ",")))
- }
-
- if _, ok := GetMappingResourceStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetResourceStatusEnumStringValues(), ",")))
- }
- if _, ok := GetMappingLifecycleStateEnum(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(GetLifecycleStateEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// MarshalJSON marshals to json representation
-func (m PeComanagedHostInsightSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedHostInsightSummary PeComanagedHostInsightSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedHostInsightSummary
- }{
- "PE_COMANAGED_HOST",
- (MarshalTypePeComanagedHostInsightSummary)(m),
- }
-
- return json.Marshal(&s)
-}
-
-// PeComanagedHostInsightSummaryPlatformTypeEnum Enum with underlying type: string
-type PeComanagedHostInsightSummaryPlatformTypeEnum string
-
-// Set of constants representing the allowable values for PeComanagedHostInsightSummaryPlatformTypeEnum
-const (
- PeComanagedHostInsightSummaryPlatformTypeLinux PeComanagedHostInsightSummaryPlatformTypeEnum = "LINUX"
- PeComanagedHostInsightSummaryPlatformTypeSolaris PeComanagedHostInsightSummaryPlatformTypeEnum = "SOLARIS"
- PeComanagedHostInsightSummaryPlatformTypeSunos PeComanagedHostInsightSummaryPlatformTypeEnum = "SUNOS"
- PeComanagedHostInsightSummaryPlatformTypeZlinux PeComanagedHostInsightSummaryPlatformTypeEnum = "ZLINUX"
- PeComanagedHostInsightSummaryPlatformTypeWindows PeComanagedHostInsightSummaryPlatformTypeEnum = "WINDOWS"
- PeComanagedHostInsightSummaryPlatformTypeAix PeComanagedHostInsightSummaryPlatformTypeEnum = "AIX"
-)
-
-var mappingPeComanagedHostInsightSummaryPlatformTypeEnum = map[string]PeComanagedHostInsightSummaryPlatformTypeEnum{
- "LINUX": PeComanagedHostInsightSummaryPlatformTypeLinux,
- "SOLARIS": PeComanagedHostInsightSummaryPlatformTypeSolaris,
- "SUNOS": PeComanagedHostInsightSummaryPlatformTypeSunos,
- "ZLINUX": PeComanagedHostInsightSummaryPlatformTypeZlinux,
- "WINDOWS": PeComanagedHostInsightSummaryPlatformTypeWindows,
- "AIX": PeComanagedHostInsightSummaryPlatformTypeAix,
-}
-
-var mappingPeComanagedHostInsightSummaryPlatformTypeEnumLowerCase = map[string]PeComanagedHostInsightSummaryPlatformTypeEnum{
- "linux": PeComanagedHostInsightSummaryPlatformTypeLinux,
- "solaris": PeComanagedHostInsightSummaryPlatformTypeSolaris,
- "sunos": PeComanagedHostInsightSummaryPlatformTypeSunos,
- "zlinux": PeComanagedHostInsightSummaryPlatformTypeZlinux,
- "windows": PeComanagedHostInsightSummaryPlatformTypeWindows,
- "aix": PeComanagedHostInsightSummaryPlatformTypeAix,
-}
-
-// GetPeComanagedHostInsightSummaryPlatformTypeEnumValues Enumerates the set of values for PeComanagedHostInsightSummaryPlatformTypeEnum
-func GetPeComanagedHostInsightSummaryPlatformTypeEnumValues() []PeComanagedHostInsightSummaryPlatformTypeEnum {
- values := make([]PeComanagedHostInsightSummaryPlatformTypeEnum, 0)
- for _, v := range mappingPeComanagedHostInsightSummaryPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetPeComanagedHostInsightSummaryPlatformTypeEnumStringValues Enumerates the set of values in String for PeComanagedHostInsightSummaryPlatformTypeEnum
-func GetPeComanagedHostInsightSummaryPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingPeComanagedHostInsightSummaryPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingPeComanagedHostInsightSummaryPlatformTypeEnum(val string) (PeComanagedHostInsightSummaryPlatformTypeEnum, bool) {
- enum, ok := mappingPeComanagedHostInsightSummaryPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_managed_external_database_configuration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_managed_external_database_configuration_summary.go
deleted file mode 100644
index 181279dfa06..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/pe_comanaged_managed_external_database_configuration_summary.go
+++ /dev/null
@@ -1,149 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// PeComanagedManagedExternalDatabaseConfigurationSummary Configuration Summary of a Private Endpoint Co-managed External database.
-type PeComanagedManagedExternalDatabaseConfigurationSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- DatabaseInsightId *string `mandatory:"true" json:"databaseInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
-
- // Name of the CDB.Only applies to PDB.
- CdbName *string `mandatory:"true" json:"cdbName"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- ParentId *string `mandatory:"true" json:"parentId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint
- OpsiPrivateEndpointId *string `mandatory:"true" json:"opsiPrivateEndpointId"`
-
- // Array of hostname and instance name.
- Instances []HostInstanceMap `mandatory:"true" json:"instances"`
-
- ExadataDetails *ExadataDetails `mandatory:"true" json:"exadataDetails"`
-
- // Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types.
- ProcessorCount *int `mandatory:"false" json:"processorCount"`
-}
-
-//GetDatabaseInsightId returns DatabaseInsightId
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDatabaseInsightId() *string {
- return m.DatabaseInsightId
-}
-
-//GetCompartmentId returns CompartmentId
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDatabaseName returns DatabaseName
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDatabaseName() *string {
- return m.DatabaseName
-}
-
-//GetDatabaseDisplayName returns DatabaseDisplayName
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDatabaseDisplayName() *string {
- return m.DatabaseDisplayName
-}
-
-//GetDatabaseType returns DatabaseType
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDatabaseType() *string {
- return m.DatabaseType
-}
-
-//GetDatabaseVersion returns DatabaseVersion
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDatabaseVersion() *string {
- return m.DatabaseVersion
-}
-
-//GetCdbName returns CdbName
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetCdbName() *string {
- return m.CdbName
-}
-
-//GetDefinedTags returns DefinedTags
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-//GetFreeformTags returns FreeformTags
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetProcessorCount returns ProcessorCount
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) GetProcessorCount() *int {
- return m.ProcessorCount
-}
-
-func (m PeComanagedManagedExternalDatabaseConfigurationSummary) 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 PeComanagedManagedExternalDatabaseConfigurationSummary) 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 PeComanagedManagedExternalDatabaseConfigurationSummary) MarshalJSON() (buff []byte, e error) {
- type MarshalTypePeComanagedManagedExternalDatabaseConfigurationSummary PeComanagedManagedExternalDatabaseConfigurationSummary
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypePeComanagedManagedExternalDatabaseConfigurationSummary
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypePeComanagedManagedExternalDatabaseConfigurationSummary)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/projected_data_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/projected_data_item.go
deleted file mode 100644
index c5d8d475095..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/projected_data_item.go
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ProjectedDataItem The timestamp of the projected event and their corresponding resource value.
-// `highValue` and `lowValue` are the uncertainty bounds of the corresponding value.
-type ProjectedDataItem struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // Upper uncertainty bound of the current usage value.
- HighValue *float64 `mandatory:"true" json:"highValue"`
-
- // Lower uncertainty bound of the current usage value.
- LowValue *float64 `mandatory:"true" json:"lowValue"`
-}
-
-func (m ProjectedDataItem) 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 ProjectedDataItem) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_data_object_result_set_rows_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_data_object_result_set_rows_collection.go
deleted file mode 100644
index 27b235d44da..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_data_object_result_set_rows_collection.go
+++ /dev/null
@@ -1,117 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// QueryDataObjectResultSetRowsCollection Collection of result set rows from the data object query.
-type QueryDataObjectResultSetRowsCollection interface {
-}
-
-type querydataobjectresultsetrowscollection struct {
- JsonData []byte
- Format string `json:"format"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *querydataobjectresultsetrowscollection) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerquerydataobjectresultsetrowscollection querydataobjectresultsetrowscollection
- s := struct {
- Model Unmarshalerquerydataobjectresultsetrowscollection
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.Format = s.Model.Format
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *querydataobjectresultsetrowscollection) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.Format {
- case "JSON":
- mm := QueryDataObjectJsonResultSetRowsCollection{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for QueryDataObjectResultSetRowsCollection: %s.", m.Format)
- return *m, nil
- }
-}
-
-func (m querydataobjectresultsetrowscollection) 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 querydataobjectresultsetrowscollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// QueryDataObjectResultSetRowsCollectionFormatEnum Enum with underlying type: string
-type QueryDataObjectResultSetRowsCollectionFormatEnum string
-
-// Set of constants representing the allowable values for QueryDataObjectResultSetRowsCollectionFormatEnum
-const (
- QueryDataObjectResultSetRowsCollectionFormatJson QueryDataObjectResultSetRowsCollectionFormatEnum = "JSON"
-)
-
-var mappingQueryDataObjectResultSetRowsCollectionFormatEnum = map[string]QueryDataObjectResultSetRowsCollectionFormatEnum{
- "JSON": QueryDataObjectResultSetRowsCollectionFormatJson,
-}
-
-var mappingQueryDataObjectResultSetRowsCollectionFormatEnumLowerCase = map[string]QueryDataObjectResultSetRowsCollectionFormatEnum{
- "json": QueryDataObjectResultSetRowsCollectionFormatJson,
-}
-
-// GetQueryDataObjectResultSetRowsCollectionFormatEnumValues Enumerates the set of values for QueryDataObjectResultSetRowsCollectionFormatEnum
-func GetQueryDataObjectResultSetRowsCollectionFormatEnumValues() []QueryDataObjectResultSetRowsCollectionFormatEnum {
- values := make([]QueryDataObjectResultSetRowsCollectionFormatEnum, 0)
- for _, v := range mappingQueryDataObjectResultSetRowsCollectionFormatEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetQueryDataObjectResultSetRowsCollectionFormatEnumStringValues Enumerates the set of values in String for QueryDataObjectResultSetRowsCollectionFormatEnum
-func GetQueryDataObjectResultSetRowsCollectionFormatEnumStringValues() []string {
- return []string{
- "JSON",
- }
-}
-
-// GetMappingQueryDataObjectResultSetRowsCollectionFormatEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingQueryDataObjectResultSetRowsCollectionFormatEnum(val string) (QueryDataObjectResultSetRowsCollectionFormatEnum, bool) {
- enum, ok := mappingQueryDataObjectResultSetRowsCollectionFormatEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_details.go
index 69ca4f5d0c6..d0b39fbad0b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/query_opsi_data_object_data_details.go
@@ -75,7 +75,6 @@ func (m *QueryOpsiDataObjectDataDetails) UnmarshalJSON(data []byte) (e error) {
m.DataObjects[i] = nil
}
}
-
m.ResourceFilters = model.ResourceFilters
nn, e = model.Query.UnmarshalPolymorphicJSON(model.Query.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/related_object_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/related_object_type_details.go
deleted file mode 100644
index f291e1a69a9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/related_object_type_details.go
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// RelatedObjectTypeDetails Related object details
-type RelatedObjectTypeDetails interface {
-}
-
-type relatedobjecttypedetails struct {
- JsonData []byte
- Type string `json:"type"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *relatedobjecttypedetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerrelatedobjecttypedetails relatedobjecttypedetails
- s := struct {
- Model Unmarshalerrelatedobjecttypedetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.Type = s.Model.Type
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *relatedobjecttypedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.Type {
- case "SQL":
- mm := SqlTypeDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "SCHEMA_OBJECT":
- mm := SchemaObjectTypeDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- case "DATABASE_PARAMETER":
- mm := DatabaseParameterTypeDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for RelatedObjectTypeDetails: %s.", m.Type)
- return *m, nil
- }
-}
-
-func (m relatedobjecttypedetails) 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 relatedobjecttypedetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// RelatedObjectTypeDetailsTypeEnum Enum with underlying type: string
-type RelatedObjectTypeDetailsTypeEnum string
-
-// Set of constants representing the allowable values for RelatedObjectTypeDetailsTypeEnum
-const (
- RelatedObjectTypeDetailsTypeSchemaObject RelatedObjectTypeDetailsTypeEnum = "SCHEMA_OBJECT"
- RelatedObjectTypeDetailsTypeSql RelatedObjectTypeDetailsTypeEnum = "SQL"
- RelatedObjectTypeDetailsTypeDatabaseParameter RelatedObjectTypeDetailsTypeEnum = "DATABASE_PARAMETER"
-)
-
-var mappingRelatedObjectTypeDetailsTypeEnum = map[string]RelatedObjectTypeDetailsTypeEnum{
- "SCHEMA_OBJECT": RelatedObjectTypeDetailsTypeSchemaObject,
- "SQL": RelatedObjectTypeDetailsTypeSql,
- "DATABASE_PARAMETER": RelatedObjectTypeDetailsTypeDatabaseParameter,
-}
-
-var mappingRelatedObjectTypeDetailsTypeEnumLowerCase = map[string]RelatedObjectTypeDetailsTypeEnum{
- "schema_object": RelatedObjectTypeDetailsTypeSchemaObject,
- "sql": RelatedObjectTypeDetailsTypeSql,
- "database_parameter": RelatedObjectTypeDetailsTypeDatabaseParameter,
-}
-
-// GetRelatedObjectTypeDetailsTypeEnumValues Enumerates the set of values for RelatedObjectTypeDetailsTypeEnum
-func GetRelatedObjectTypeDetailsTypeEnumValues() []RelatedObjectTypeDetailsTypeEnum {
- values := make([]RelatedObjectTypeDetailsTypeEnum, 0)
- for _, v := range mappingRelatedObjectTypeDetailsTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetRelatedObjectTypeDetailsTypeEnumStringValues Enumerates the set of values in String for RelatedObjectTypeDetailsTypeEnum
-func GetRelatedObjectTypeDetailsTypeEnumStringValues() []string {
- return []string{
- "SCHEMA_OBJECT",
- "SQL",
- "DATABASE_PARAMETER",
- }
-}
-
-// GetMappingRelatedObjectTypeDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingRelatedObjectTypeDetailsTypeEnum(val string) (RelatedObjectTypeDetailsTypeEnum, bool) {
- enum, ok := mappingRelatedObjectTypeDetailsTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_capacity_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_capacity_trend_aggregation.go
deleted file mode 100644
index b46bf08c9bb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_capacity_trend_aggregation.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceCapacityTrendAggregation Resource Capacity samples
-type ResourceCapacityTrendAggregation struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- BaseCapacity *float64 `mandatory:"true" json:"baseCapacity"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m ResourceCapacityTrendAggregation) 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 ResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_current_utilization.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_current_utilization.go
deleted file mode 100644
index 7729b7d3456..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_current_utilization.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceInsightCurrentUtilization Current utilization(High/low) for cpu or storage
-type ResourceInsightCurrentUtilization struct {
-
- // List of db ids with low usage
- Low []string `mandatory:"false" json:"low"`
-
- // List of db ids with high usage
- High []string `mandatory:"false" json:"high"`
-}
-
-func (m ResourceInsightCurrentUtilization) 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 ResourceInsightCurrentUtilization) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization.go
deleted file mode 100644
index a6e9b457e7c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceInsightProjectedUtilization Projected utilization(High/low) for cpu or storage
-type ResourceInsightProjectedUtilization struct {
-
- // List of db ids with low usage
- Low []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"low"`
-
- // List of db ids with high usage
- High []ResourceInsightProjectedUtilizationItem `mandatory:"true" json:"high"`
-}
-
-func (m ResourceInsightProjectedUtilization) 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 ResourceInsightProjectedUtilization) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization_item.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization_item.go
deleted file mode 100644
index 3591eea88a1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_insight_projected_utilization_item.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceInsightProjectedUtilizationItem Projected utilization object containing dbid and daysToReach value
-type ResourceInsightProjectedUtilizationItem struct {
-
- // Db id
- Id *string `mandatory:"true" json:"id"`
-
- // Days to reach projected utilization
- DaysToReach *int `mandatory:"true" json:"daysToReach"`
-}
-
-func (m ResourceInsightProjectedUtilizationItem) 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 ResourceInsightProjectedUtilizationItem) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics.go
deleted file mode 100644
index 67f9d36ea34..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceStatistics Contains resource statistics with usage unit
-type ResourceStatistics struct {
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- // The base allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- BaseCapacity *float64 `mandatory:"false" json:"baseCapacity"`
-
- // Indicates if auto scaling feature is enabled or disabled on a database. It will be false for all metrics other than CPU.
- IsAutoScalingEnabled *bool `mandatory:"false" json:"isAutoScalingEnabled"`
-
- // Array of instance metrics
- InstanceMetrics []InstanceMetrics `mandatory:"false" json:"instanceMetrics"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m ResourceStatistics) 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 ResourceStatistics) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics_aggregation.go
deleted file mode 100644
index 7ab04232f6d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_statistics_aggregation.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceStatisticsAggregation Contains database details and resource statistics
-type ResourceStatisticsAggregation struct {
- DatabaseDetails *DatabaseDetails `mandatory:"false" json:"databaseDetails"`
-
- CurrentStatistics *ResourceStatistics `mandatory:"false" json:"currentStatistics"`
-}
-
-func (m ResourceStatisticsAggregation) 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 ResourceStatisticsAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_status.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_status.go
deleted file mode 100644
index f3190d2d497..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_status.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// ResourceStatusEnum Enum with underlying type: string
-type ResourceStatusEnum string
-
-// Set of constants representing the allowable values for ResourceStatusEnum
-const (
- ResourceStatusDisabled ResourceStatusEnum = "DISABLED"
- ResourceStatusEnabled ResourceStatusEnum = "ENABLED"
- ResourceStatusTerminated ResourceStatusEnum = "TERMINATED"
-)
-
-var mappingResourceStatusEnum = map[string]ResourceStatusEnum{
- "DISABLED": ResourceStatusDisabled,
- "ENABLED": ResourceStatusEnabled,
- "TERMINATED": ResourceStatusTerminated,
-}
-
-var mappingResourceStatusEnumLowerCase = map[string]ResourceStatusEnum{
- "disabled": ResourceStatusDisabled,
- "enabled": ResourceStatusEnabled,
- "terminated": ResourceStatusTerminated,
-}
-
-// GetResourceStatusEnumValues Enumerates the set of values for ResourceStatusEnum
-func GetResourceStatusEnumValues() []ResourceStatusEnum {
- values := make([]ResourceStatusEnum, 0)
- for _, v := range mappingResourceStatusEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetResourceStatusEnumStringValues Enumerates the set of values in String for ResourceStatusEnum
-func GetResourceStatusEnumStringValues() []string {
- return []string{
- "DISABLED",
- "ENABLED",
- "TERMINATED",
- }
-}
-
-// GetMappingResourceStatusEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingResourceStatusEnum(val string) (ResourceStatusEnum, bool) {
- enum, ok := mappingResourceStatusEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_summary.go
deleted file mode 100644
index bd41c636255..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_summary.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceUsageSummary Contains resource usage summary
-type ResourceUsageSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Resource utilization in percentage
- UtilizationPercent *float64 `mandatory:"true" json:"utilizationPercent"`
-
- // Change in resource utilization in percentage
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- // The user-friendly name for the Exadata system. The name does not have to be unique.
- ExadataDisplayName *string `mandatory:"false" json:"exadataDisplayName"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m ResourceUsageSummary) 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 ResourceUsageSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_trend_aggregation.go
deleted file mode 100644
index cd4db1aa644..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/resource_usage_trend_aggregation.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// ResourceUsageTrendAggregation Aggregate usage samples
-type ResourceUsageTrendAggregation struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m ResourceUsageTrendAggregation) 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 ResourceUsageTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/rotate_operations_insights_warehouse_wallet_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/rotate_operations_insights_warehouse_wallet_request_response.go
deleted file mode 100644
index b2611c9c490..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/rotate_operations_insights_warehouse_wallet_request_response.go
+++ /dev/null
@@ -1,96 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// RotateOperationsInsightsWarehouseWalletRequest wrapper for the RotateOperationsInsightsWarehouseWallet operation
-//
-// # See also
-//
-// 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
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
-
- // 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"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 RotateOperationsInsightsWarehouseWalletRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request RotateOperationsInsightsWarehouseWalletRequest) 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 RotateOperationsInsightsWarehouseWalletRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request RotateOperationsInsightsWarehouseWalletRequest) 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 RotateOperationsInsightsWarehouseWalletRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// RotateOperationsInsightsWarehouseWalletResponse wrapper for the RotateOperationsInsightsWarehouseWallet operation
-type RotateOperationsInsightsWarehouseWalletResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 RotateOperationsInsightsWarehouseWalletResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response RotateOperationsInsightsWarehouseWalletResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/schema_object_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/schema_object_type_details.go
deleted file mode 100644
index 57ee757e320..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/schema_object_type_details.go
+++ /dev/null
@@ -1,68 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// SchemaObjectTypeDetails Schema object details
-type SchemaObjectTypeDetails struct {
-
- // Object id (from RDBMS)
- ObjectId *int `mandatory:"true" json:"objectId"`
-
- // Owner of object
- Owner *string `mandatory:"true" json:"owner"`
-
- // Name of object
- ObjectName *string `mandatory:"true" json:"objectName"`
-
- // Type of the object (such as TABLE, INDEX)
- ObjectType *string `mandatory:"true" json:"objectType"`
-
- // Subobject name; for example, partition name
- SubObjectName *string `mandatory:"false" json:"subObjectName"`
-}
-
-func (m SchemaObjectTypeDetails) 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 SchemaObjectTypeDetails) 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 SchemaObjectTypeDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeSchemaObjectTypeDetails SchemaObjectTypeDetails
- s := struct {
- DiscriminatorParam string `json:"type"`
- MarshalTypeSchemaObjectTypeDetails
- }{
- "SCHEMA_OBJECT",
- (MarshalTypeSchemaObjectTypeDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sort_order.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sort_order.go
deleted file mode 100644
index a6c31b67175..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sort_order.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// SortOrderEnum Enum with underlying type: string
-type SortOrderEnum string
-
-// Set of constants representing the allowable values for SortOrderEnum
-const (
- SortOrderAsc SortOrderEnum = "ASC"
- SortOrderDesc SortOrderEnum = "DESC"
-)
-
-var mappingSortOrderEnum = map[string]SortOrderEnum{
- "ASC": SortOrderAsc,
- "DESC": SortOrderDesc,
-}
-
-var mappingSortOrderEnumLowerCase = map[string]SortOrderEnum{
- "asc": SortOrderAsc,
- "desc": SortOrderDesc,
-}
-
-// GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
-func GetSortOrderEnumValues() []SortOrderEnum {
- values := make([]SortOrderEnum, 0)
- for _, v := range mappingSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
-func GetSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool) {
- enum, ok := mappingSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_bucket.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_bucket.go
deleted file mode 100644
index 0c926bff0c3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_bucket.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlBucket Sql bucket type object.
-type SqlBucket struct {
-
- // Collection timestamp
- // Example: `"2020-03-31T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // Plan hash value for the SQL Execution Plan
- PlanHash *int64 `mandatory:"true" json:"planHash"`
-
- // SQL Bucket ID, examples <= 3 secs, 3-10 secs, 10-60 secs, 1-5 min, > 5 min
- // Example: `"<= 3 secs"`
- BucketId *string `mandatory:"true" json:"bucketId"`
-
- // Version
- // Example: `1`
- Version *float32 `mandatory:"false" json:"version"`
-
- // Operations Insights internal representation of the database type.
- DatabaseType *string `mandatory:"false" json:"databaseType"`
-
- // Total number of executions
- // Example: `60`
- ExecutionsCount *int `mandatory:"false" json:"executionsCount"`
-
- // Total CPU time
- // Example: `1046`
- CpuTimeInSec *float32 `mandatory:"false" json:"cpuTimeInSec"`
-
- // Total IO time
- // Example: `5810`
- IoTimeInSec *float32 `mandatory:"false" json:"ioTimeInSec"`
-
- // Total other wait time
- // Example: `24061`
- OtherWaitTimeInSec *float32 `mandatory:"false" json:"otherWaitTimeInSec"`
-
- // Total time
- // Example: `30917`
- TotalTimeInSec *float32 `mandatory:"false" json:"totalTimeInSec"`
-}
-
-func (m SqlBucket) 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 SqlBucket) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation.go
deleted file mode 100644
index c58a42e785a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation.go
+++ /dev/null
@@ -1,77 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlInsightAggregation Represents a SQL Insight.
-type SqlInsightAggregation struct {
-
- // Insight text.
- // For example `Degrading SQLs`, `Variant SQLs`,
- // `Inefficient SQLs`, `Improving SQLs`, `SQLs with Plan Changes`,
- // `Degrading SQLs have increasing IO Time above 50%`,
- // `Degrading SQLs are variant`,
- // `2 of the 2 variant SQLs have plan changes`,
- // `Inefficient SQLs have increasing CPU Time above 50%
- Text *string `mandatory:"true" json:"text"`
-
- // SQL counts for a given insight. For example insight text `2 of 10 SQLs have degrading response time` will have values as [2,10]"
- Values []int `mandatory:"true" json:"values"`
-
- // Insight category. It would be one of the following
- // DEGRADING,
- // VARIANT,
- // INEFFICIENT,
- // CHANGING_PLANS,
- // IMPROVING,
- // DEGRADING_VARIANT,
- // DEGRADING_INEFFICIENT,
- // DEGRADING_CHANGING_PLANS,
- // DEGRADING_INCREASING_IO,
- // DEGRADING_INCREASING_CPU,
- // DEGRADING_INCREASING_INEFFICIENT_WAIT,
- // DEGRADING_CHANGING_PLANS_AND_INCREASING_IO,
- // DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU,
- // DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,VARIANT_INEFFICIENT,
- // VARIANT_CHANGING_PLANS,
- // VARIANT_INCREASING_IO,
- // VARIANT_INCREASING_CPU,
- // VARIANT_INCREASING_INEFFICIENT_WAIT,
- // VARIANT_CHANGING_PLANS_AND_INCREASING_IO,
- // VARIANT_CHANGING_PLANS_AND_INCREASING_CPU,
- // VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT,
- // INEFFICIENT_CHANGING_PLANS,
- // INEFFICIENT_INCREASING_INEFFICIENT_WAIT,
- // INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT
- Category *string `mandatory:"true" json:"category"`
-}
-
-func (m SqlInsightAggregation) 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 SqlInsightAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation_collection.go
deleted file mode 100644
index beb320c2b0f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_aggregation_collection.go
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlInsightAggregationCollection SQL Insights response.
-type SqlInsightAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- Inventory *SqlInventory `mandatory:"true" json:"inventory"`
-
- // List of insights.
- Items []SqlInsightAggregation `mandatory:"true" json:"items"`
-
- Thresholds *SqlInsightThresholds `mandatory:"true" json:"thresholds"`
-}
-
-func (m SqlInsightAggregationCollection) 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 SqlInsightAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_thresholds.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_thresholds.go
deleted file mode 100644
index e0b9f1ae1c8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_insight_thresholds.go
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlInsightThresholds Inventory details.
-type SqlInsightThresholds struct {
-
- // Degradation Percent Threshold is used to derive degrading SQLs.
- DegradationInPct *int `mandatory:"true" json:"degradationInPct"`
-
- // Variability Percent Threshold is used to derive variant SQLs.
- Variability *float32 `mandatory:"true" json:"variability"`
-
- // Inefficiency Percent Threshold is used to derive inefficient SQLs.
- InefficiencyInPct *int `mandatory:"true" json:"inefficiencyInPct"`
-
- // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or
- // variant or inefficient. And these SQLs should also have increasing change in IO Time
- // beyond threshold. Insights are derived using linear regression.
- IncreaseInIOInPct *int `mandatory:"true" json:"increaseInIOInPct"`
-
- // PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or
- // variant or inefficient. And these SQLs should also have increasing change in CPU Time
- // beyond threshold. Insights are derived using linear regression.
- IncreaseInCPUInPct *int `mandatory:"true" json:"increaseInCPUInPct"`
-
- // PctIncreaseInIO is used for deriving insights for SQLs which are degrading or
- // variant or inefficient. And these SQLs should also have increasing change in
- // Other Wait Time beyond threshold. Insights are derived using linear regression.
- IncreaseInInefficientWaitInPct *int `mandatory:"true" json:"increaseInInefficientWaitInPct"`
-
- // Improved Percent Threshold is used to derive improving SQLs.
- ImprovedInPct *int `mandatory:"true" json:"improvedInPct"`
-}
-
-func (m SqlInsightThresholds) 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 SqlInsightThresholds) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_inventory.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_inventory.go
deleted file mode 100644
index a18210df958..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_inventory.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlInventory Inventory details.
-type SqlInventory struct {
-
- // Total number of sqls. Example `2000`
- TotalSqls *int64 `mandatory:"true" json:"totalSqls"`
-
- // Total number of Databases. Example `400`
- TotalDatabases *int `mandatory:"true" json:"totalDatabases"`
-
- // Total number of sqls analyzed by the query. Example `120`
- SqlsAnalyzed *int64 `mandatory:"true" json:"sqlsAnalyzed"`
-}
-
-func (m SqlInventory) 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 SqlInventory) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_collection.go
deleted file mode 100644
index 4d7ee6e6e95..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_collection.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanCollection SQL Plans for the particular SQL.
-type SqlPlanCollection struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // array of SQL Plans.
- Items []SqlPlanSummary `mandatory:"true" json:"items"`
-}
-
-func (m SqlPlanCollection) 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 SqlPlanCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation.go
deleted file mode 100644
index 6dc04821c29..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanInsightAggregation SQL execution plan Performance statistics.
-type SqlPlanInsightAggregation struct {
-
- // Plan hash value for the SQL Execution Plan
- PlanHash *int64 `mandatory:"true" json:"planHash"`
-
- // IO Time in seconds
- IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"`
-
- // CPU Time in seconds
- CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"`
-
- // Inefficient Wait Time in seconds
- InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"`
-
- // Total number of executions
- ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
-}
-
-func (m SqlPlanInsightAggregation) 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 SqlPlanInsightAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation_collection.go
deleted file mode 100644
index de2fc0ea46b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insight_aggregation_collection.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanInsightAggregationCollection SQL plan insights response.
-type SqlPlanInsightAggregationCollection struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of SQL plan insights.
- Insights []SqlPlanInsights `mandatory:"true" json:"insights"`
-
- // List of SQL plan statistics.
- Items []SqlPlanInsightAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SqlPlanInsightAggregationCollection) 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 SqlPlanInsightAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insights.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insights.go
deleted file mode 100644
index 2a24068fc78..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_insights.go
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanInsights Represents collection of SQL Plan Insights.
-type SqlPlanInsights struct {
-
- // SQL Plan Insight text.
- // For example `Number of Plans Used`, `Most Executed Plan`,
- // `Best Performing Plan`, `Worst Performing Plan`,
- // `Plan With Most IO`,
- // `Plan with Most CPU`
- Text *string `mandatory:"true" json:"text"`
-
- // SQL execution plan hash value for a given insight. For example `Most Executed Plan` insight will have value as "3975467901"
- Value *int64 `mandatory:"true" json:"value"`
-
- // SQL Insight category. For example PLANS_USED, MOST_EXECUTED, BEST_PERFORMER, WORST_PERFORMER, MOST_CPU or MOST_IO.
- Category *string `mandatory:"true" json:"category"`
-}
-
-func (m SqlPlanInsights) 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 SqlPlanInsights) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_line.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_line.go
deleted file mode 100644
index dba764819b0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_line.go
+++ /dev/null
@@ -1,184 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanLine SQL Plan Line type object.
-type SqlPlanLine struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // Plan hash value for the SQL Execution Plan
- PlanHash *int64 `mandatory:"true" json:"planHash"`
-
- // Collection time stamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Operation
- // Example: `"SELECT STATEMENT"`
- Operation *string `mandatory:"true" json:"operation"`
-
- // Identifier
- // Example: `3`
- Identifier *int64 `mandatory:"true" json:"identifier"`
-
- // Version
- // Example: `1`
- Version *float32 `mandatory:"false" json:"version"`
-
- // Remark
- // Example: `""`
- Remark *string `mandatory:"false" json:"remark"`
-
- // Options
- // Example: `"RANGE SCAN"`
- Options *string `mandatory:"false" json:"options"`
-
- // Object Node
- // Example: `"Q4000"`
- ObjectNode *string `mandatory:"false" json:"objectNode"`
-
- // Object Owner
- // Example: `"TENANT_A#SCHEMA"`
- ObjectOwner *string `mandatory:"false" json:"objectOwner"`
-
- // Object Name
- // Example: `"PLAN_LINES_PK"`
- ObjectName *string `mandatory:"false" json:"objectName"`
-
- // Object Alias
- // Example: `"PLAN_LINES@SEL$1"`
- ObjectAlias *string `mandatory:"false" json:"objectAlias"`
-
- // Object Instance
- // Example: `37472`
- ObjectInstance *int64 `mandatory:"false" json:"objectInstance"`
-
- // Object Type
- // Example: `"INDEX (UNIQUE)"`
- ObjectType *string `mandatory:"false" json:"objectType"`
-
- // Optimizer
- // Example: `"CLUSTER"`
- Optimizer *string `mandatory:"false" json:"optimizer"`
-
- // Search Columns
- // Example: `3`
- SearchColumns *int64 `mandatory:"false" json:"searchColumns"`
-
- // Parent Identifier
- // Example: `2`
- ParentIdentifier *int64 `mandatory:"false" json:"parentIdentifier"`
-
- // Depth
- // Example: `3`
- Depth *int64 `mandatory:"false" json:"depth"`
-
- // Position
- // Example: `1`
- Position *int64 `mandatory:"false" json:"position"`
-
- // Cost
- // Example: `1`
- Cost *int64 `mandatory:"false" json:"cost"`
-
- // Cardinality
- // Example: `1`
- Cardinality *int64 `mandatory:"false" json:"cardinality"`
-
- // Bytes
- // Example: `150`
- Bytes *int64 `mandatory:"false" json:"bytes"`
-
- // Other
- // Example: ``
- Other *string `mandatory:"false" json:"other"`
-
- // Other Tag
- // Example: `"PARALLEL_COMBINED_WITH_PARENT"`
- OtherTag *string `mandatory:"false" json:"otherTag"`
-
- // Partition start
- // Example: `1`
- PartitionStart *string `mandatory:"false" json:"partitionStart"`
-
- // Partition stop
- // Example: `2`
- PartitionStop *string `mandatory:"false" json:"partitionStop"`
-
- // Partition identifier
- // Example: `8`
- PartitionIdentifier *int64 `mandatory:"false" json:"partitionIdentifier"`
-
- // Distribution
- // Example: `"QC (RANDOM)"`
- Distribution *string `mandatory:"false" json:"distribution"`
-
- // CPU cost
- // Example: `7321`
- CpuCost *int64 `mandatory:"false" json:"cpuCost"`
-
- // IO cost
- // Example: `1`
- IoCost *int64 `mandatory:"false" json:"ioCost"`
-
- // Time space
- // Example: `15614000`
- TempSpace *int64 `mandatory:"false" json:"tempSpace"`
-
- // Access predicates
- // Example: `"\"RESOURCE_ID\"=:1 AND \"QUERY_ID\"=:2"`
- AccessPredicates *string `mandatory:"false" json:"accessPredicates"`
-
- // Filter predicates
- // Example: `"(INTERNAL_FUNCTION(\"J\".\"DATABASE_ROLE\") OR (\"J\".\"DATABASE_ROLE\" IS NULL AND SYS_CONTEXT('userenv','database_role')='PRIMARY'))"`
- FilterPredicates *string `mandatory:"false" json:"filterPredicates"`
-
- // Projection
- // Example: `"COUNT(*)[22]"`
- Projection *string `mandatory:"false" json:"projection"`
-
- // Qblock Name
- // Example: `"SEL$1"`
- QblockName *string `mandatory:"false" json:"qblockName"`
-
- // Total elapsed time
- // Example: `1.2`
- ElapsedTimeInSec *float32 `mandatory:"false" json:"elapsedTimeInSec"`
-
- // Other SQL
- // Example: `"18.0.0.04838927842709293936483892784"`
- OtherXML *string `mandatory:"false" json:"otherXML"`
-}
-
-func (m SqlPlanLine) 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 SqlPlanLine) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_summary.go
deleted file mode 100644
index 93aee69b4b8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_plan_summary.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlPlanSummary SQL Plan details
-type SqlPlanSummary struct {
-
- // Plan hash value for the SQL Execution Plan
- PlanHash *int64 `mandatory:"true" json:"planHash"`
-
- // Plan XML Content
- PlanContent *string `mandatory:"true" json:"planContent"`
-}
-
-func (m SqlPlanSummary) 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 SqlPlanSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation.go
deleted file mode 100644
index 9b63295ddf4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlResponseTimeDistributionAggregation SQL Response time distribution entry.
-type SqlResponseTimeDistributionAggregation struct {
-
- // Response time bucket id
- BucketId *string `mandatory:"true" json:"bucketId"`
-
- // Total number of SQL executions
- ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
-}
-
-func (m SqlResponseTimeDistributionAggregation) 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 SqlResponseTimeDistributionAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation_collection.go
deleted file mode 100644
index dc101c47b9b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_response_time_distribution_aggregation_collection.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlResponseTimeDistributionAggregationCollection SQL response time distribution over the selected time window.
-type SqlResponseTimeDistributionAggregationCollection struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Array of pre defined SQL response time bucket id and SQL executions count.
- Items []SqlResponseTimeDistributionAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SqlResponseTimeDistributionAggregationCollection) 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 SqlResponseTimeDistributionAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_collection.go
deleted file mode 100644
index 0ceaa7d00e2..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_collection.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlSearchCollection Search SQL response.
-type SqlSearchCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // List of Databases executing the sql.
- Items []SqlSearchSummary `mandatory:"true" json:"items"`
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"false" json:"sqlIdentifier"`
-
- // SQL Statement Text
- SqlText *string `mandatory:"false" json:"sqlText"`
-}
-
-func (m SqlSearchCollection) 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 SqlSearchCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_summary.go
deleted file mode 100644
index 36c29d889fe..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_search_summary.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlSearchSummary Database summary object resulting from a sql search operation.
-type SqlSearchSummary struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The database name. The database name is unique within the tenancy.
- DatabaseName *string `mandatory:"true" json:"databaseName"`
-
- // 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.
- DatabaseType *string `mandatory:"true" json:"databaseType"`
-
- // The version of the database.
- DatabaseVersion *string `mandatory:"true" json:"databaseVersion"`
-}
-
-func (m SqlSearchSummary) 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 SqlSearchSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation.go
deleted file mode 100644
index 9ee88cd0389..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation.go
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticAggregation SQL Statistics
-type SqlStatisticAggregation struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`
-
- // SQL belongs to one or more categories based on the insights.
- Category []string `mandatory:"true" json:"category"`
-
- Statistics *SqlStatistics `mandatory:"false" json:"statistics"`
-}
-
-func (m SqlStatisticAggregation) 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 SqlStatisticAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation_collection.go
deleted file mode 100644
index 52e62e819c0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistic_aggregation_collection.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticAggregationCollection SQL statistics response.
-type SqlStatisticAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Array of SQLs along with its statistics statisfying the query criteria.
- Items []SqlStatisticAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SqlStatisticAggregationCollection) 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 SqlStatisticAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics.go
deleted file mode 100644
index 7ec9071f1ef..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics.go
+++ /dev/null
@@ -1,95 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatistics Performance statistics for the SQL.
-type SqlStatistics struct {
-
- // Database Time in seconds
- DatabaseTimeInSec *float64 `mandatory:"true" json:"databaseTimeInSec"`
-
- // Number of executions per hour
- ExecutionsPerHour *float64 `mandatory:"true" json:"executionsPerHour"`
-
- // Total number of executions
- ExecutionsCount *int64 `mandatory:"true" json:"executionsCount"`
-
- // CPU Time in seconds
- CpuTimeInSec *float64 `mandatory:"true" json:"cpuTimeInSec"`
-
- // I/O Time in seconds
- IoTimeInSec *float64 `mandatory:"true" json:"ioTimeInSec"`
-
- // Inefficient Wait Time in seconds
- InefficientWaitTimeInSec *float64 `mandatory:"true" json:"inefficientWaitTimeInSec"`
-
- // Response time is the average elaspsed time per execution. It is the ratio of Total Database Time to the number of executions
- ResponseTimeInSec *float64 `mandatory:"true" json:"responseTimeInSec"`
-
- // Number of SQL execution plans used by the SQL
- PlanCount *int64 `mandatory:"true" json:"planCount"`
-
- // Variability is the ratio of the standard deviation in response time to the mean of response time of the SQL
- Variability *float64 `mandatory:"true" json:"variability"`
-
- // Average Active Sessions represent the average active sessions at a point in time. It is the number of sessions that are either working or waiting.
- AverageActiveSessions *float64 `mandatory:"true" json:"averageActiveSessions"`
-
- // Percentage of Database Time
- DatabaseTimePct *float64 `mandatory:"true" json:"databaseTimePct"`
-
- // Percentage of Inefficiency. It is calculated by Total Database Time divided by Total Wait Time
- InefficiencyInPct *float64 `mandatory:"true" json:"inefficiencyInPct"`
-
- // Percent change in CPU Time based on linear regression
- ChangeInCpuTimeInPct *float64 `mandatory:"true" json:"changeInCpuTimeInPct"`
-
- // Percent change in IO Time based on linear regression
- ChangeInIoTimeInPct *float64 `mandatory:"true" json:"changeInIoTimeInPct"`
-
- // Percent change in Inefficient Wait Time based on linear regression
- ChangeInInefficientWaitTimeInPct *float64 `mandatory:"true" json:"changeInInefficientWaitTimeInPct"`
-
- // Percent change in Response Time based on linear regression
- ChangeInResponseTimeInPct *float64 `mandatory:"true" json:"changeInResponseTimeInPct"`
-
- // Percent change in Average Active Sessions based on linear regression
- ChangeInAverageActiveSessionsInPct *float64 `mandatory:"true" json:"changeInAverageActiveSessionsInPct"`
-
- // Percent change in Executions per hour based on linear regression
- ChangeInExecutionsPerHourInPct *float64 `mandatory:"true" json:"changeInExecutionsPerHourInPct"`
-
- // Percent change in Inefficiency based on linear regression
- ChangeInInefficiencyInPct *float64 `mandatory:"true" json:"changeInInefficiencyInPct"`
-}
-
-func (m SqlStatistics) 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 SqlStatistics) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series.go
deleted file mode 100644
index d5074f8a6f3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticsTimeSeries SQL performance statistics per database
-type SqlStatisticsTimeSeries struct {
-
- // SQL performance statistic name
- Name *string `mandatory:"true" json:"name"`
-
- // SQL performance statistic value
- Values []float64 `mandatory:"true" json:"values"`
-}
-
-func (m SqlStatisticsTimeSeries) 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 SqlStatisticsTimeSeries) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation.go
deleted file mode 100644
index 6967429f92b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation.go
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticsTimeSeriesAggregation Database details and SQL performance statistics for a given database
-type SqlStatisticsTimeSeriesAggregation struct {
- DatabaseDetails *DatabaseDetails `mandatory:"true" json:"databaseDetails"`
-
- // SQL performance statistics for a given database
- Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"`
-}
-
-func (m SqlStatisticsTimeSeriesAggregation) 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 SqlStatisticsTimeSeriesAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation_collection.go
deleted file mode 100644
index fb1b8bb2776..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_aggregation_collection.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticsTimeSeriesAggregationCollection SQL performance statistics over the selected time window.
-type SqlStatisticsTimeSeriesAggregationCollection struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Array of SQL performance statistics across databases.
- Items []SqlStatisticsTimeSeriesAggregation `mandatory:"true" json:"items"`
-
- // Array comprising of all the sampling period end timestamps in RFC 3339 format.
- EndTimestamps []common.SDKTime `mandatory:"false" json:"endTimestamps"`
-}
-
-func (m SqlStatisticsTimeSeriesAggregationCollection) 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 SqlStatisticsTimeSeriesAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation.go
deleted file mode 100644
index 0ca38790cb0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticsTimeSeriesByPlanAggregation SQL performance statistics for a given plan
-type SqlStatisticsTimeSeriesByPlanAggregation struct {
-
- // Plan hash value for the SQL Execution Plan
- PlanHash *int64 `mandatory:"true" json:"planHash"`
-
- // SQL performance statistics for a given plan
- Statistics []SqlStatisticsTimeSeries `mandatory:"true" json:"statistics"`
-}
-
-func (m SqlStatisticsTimeSeriesByPlanAggregation) 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 SqlStatisticsTimeSeriesByPlanAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go
deleted file mode 100644
index 1e7b318e4cd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_statistics_time_series_by_plan_aggregation_collection.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStatisticsTimeSeriesByPlanAggregationCollection SQL performance statistics by plan over the selected time window.
-type SqlStatisticsTimeSeriesByPlanAggregationCollection struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Array comprising of all the sampling period end timestamps in RFC 3339 format.
- EndTimestamps []common.SDKTime `mandatory:"true" json:"endTimestamps"`
-
- // array of SQL performance statistics by plans
- Items []SqlStatisticsTimeSeriesByPlanAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SqlStatisticsTimeSeriesByPlanAggregationCollection) 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 SqlStatisticsTimeSeriesByPlanAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_stats.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_stats.go
deleted file mode 100644
index 4fdca89df4c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_stats.go
+++ /dev/null
@@ -1,242 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlStats Sql Stats type object.
-type SqlStats struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // Plan hash value for the SQL Execution Plan
- PlanHashValue *int64 `mandatory:"true" json:"planHashValue"`
-
- // Collection timestamp
- // Example: `"2020-03-31T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // Name of Database Instance
- // Example: `"DB10902_1"`
- InstanceName *string `mandatory:"true" json:"instanceName"`
-
- // last_active_time
- // Example: `"0000000099CCE300"`
- LastActiveTime *string `mandatory:"false" json:"lastActiveTime"`
-
- // Total integer of parse calls
- // Example: `60`
- ParseCalls *int64 `mandatory:"false" json:"parseCalls"`
-
- // Number of disk reads
- DiskReads *int64 `mandatory:"false" json:"diskReads"`
-
- // Number of direct reads
- DirectReads *int64 `mandatory:"false" json:"directReads"`
-
- // Number of Direct writes
- DirectWrites *int64 `mandatory:"false" json:"directWrites"`
-
- // Number of Buffer Gets
- BufferGets *int64 `mandatory:"false" json:"bufferGets"`
-
- // Number of row processed
- RowsProcessed *int64 `mandatory:"false" json:"rowsProcessed"`
-
- // Number of serializable aborts
- SerializableAborts *int64 `mandatory:"false" json:"serializableAborts"`
-
- // Number of fetches
- Fetches *int64 `mandatory:"false" json:"fetches"`
-
- // Number of executions
- Executions *int64 `mandatory:"false" json:"executions"`
-
- // Number of executions attempted on this object, but prevented due to the SQL statement being in quarantine
- AvoidedExecutions *int64 `mandatory:"false" json:"avoidedExecutions"`
-
- // Number of times this cursor was fully executed since the cursor was brought into the library cache
- EndOfFetchCount *int64 `mandatory:"false" json:"endOfFetchCount"`
-
- // Number of times the object was either loaded or reloaded
- Loads *int64 `mandatory:"false" json:"loads"`
-
- // Number of cursors present in the cache with this SQL text and plan
- VersionCount *int64 `mandatory:"false" json:"versionCount"`
-
- // Number of times this child cursor has been invalidated
- Invalidations *int64 `mandatory:"false" json:"invalidations"`
-
- // Number of times that a parent cursor became obsolete
- ObsoleteCount *int64 `mandatory:"false" json:"obsoleteCount"`
-
- // Total number of executions performed by parallel execution servers (0 when the statement has never been executed in parallel)
- PxServersExecutions *int64 `mandatory:"false" json:"pxServersExecutions"`
-
- // CPU time (in microseconds) used by this cursor for parsing, executing, and fetching
- CpuTimeInUs *int64 `mandatory:"false" json:"cpuTimeInUs"`
-
- // Elapsed time (in microseconds) used by this cursor for parsing, executing, and fetching.
- ElapsedTimeInUs *int64 `mandatory:"false" json:"elapsedTimeInUs"`
-
- // Average hard parse time (in microseconds) used by this cursor
- AvgHardParseTimeInUs *int64 `mandatory:"false" json:"avgHardParseTimeInUs"`
-
- // Concurrency wait time (in microseconds)
- ConcurrencyWaitTimeInUs *int64 `mandatory:"false" json:"concurrencyWaitTimeInUs"`
-
- // Application wait time (in microseconds)
- ApplicationWaitTimeInUs *int64 `mandatory:"false" json:"applicationWaitTimeInUs"`
-
- // Cluster wait time (in microseconds). This value is specific to Oracle RAC
- ClusterWaitTimeInUs *int64 `mandatory:"false" json:"clusterWaitTimeInUs"`
-
- // User I/O wait time (in microseconds)
- UserIoWaitTimeInUs *int64 `mandatory:"false" json:"userIoWaitTimeInUs"`
-
- // PL/SQL execution time (in microseconds)
- PlsqlExecTimeInUs *int64 `mandatory:"false" json:"plsqlExecTimeInUs"`
-
- // Java execution time (in microseconds)
- JavaExecTimeInUs *int64 `mandatory:"false" json:"javaExecTimeInUs"`
-
- // Number of sorts that were done for the child cursor
- Sorts *int64 `mandatory:"false" json:"sorts"`
-
- // Total shared memory (in bytes) currently occupied by all cursors with this SQL text and plan
- SharableMem *int64 `mandatory:"false" json:"sharableMem"`
-
- // Total shared memory (in bytes) occupied by all cursors with this SQL text and plan if they were to be fully loaded in the shared pool (that is, cursor size)
- TotalSharableMem *int64 `mandatory:"false" json:"totalSharableMem"`
-
- // Typecheck memory
- TypeCheckMem *int64 `mandatory:"false" json:"typeCheckMem"`
-
- // Number of I/O bytes which can be filtered by the Exadata storage system
- IoCellOffloadEligibleBytes *int64 `mandatory:"false" json:"ioCellOffloadEligibleBytes"`
-
- // Number of I/O bytes exchanged between Oracle Database and the storage system. Typically used for Cache Fusion or parallel queries
- IoInterconnectBytes *int64 `mandatory:"false" json:"ioInterconnectBytes"`
-
- // Number of physical read I/O requests issued by the monitored SQL. The requests may not be disk reads
- PhysicalReadRequests *int64 `mandatory:"false" json:"physicalReadRequests"`
-
- // Number of bytes read from disks by the monitored SQL
- PhysicalReadBytes *int64 `mandatory:"false" json:"physicalReadBytes"`
-
- // Number of physical write I/O requests issued by the monitored SQL
- PhysicalWriteRequests *int64 `mandatory:"false" json:"physicalWriteRequests"`
-
- // Number of bytes written to disks by the monitored SQL
- PhysicalWriteBytes *int64 `mandatory:"false" json:"physicalWriteBytes"`
-
- // exact_matching_signature
- // Example: `"18067345456756876713"`
- ExactMatchingSignature *string `mandatory:"false" json:"exactMatchingSignature"`
-
- // force_matching_signature
- // Example: `"18067345456756876713"`
- ForceMatchingSignature *string `mandatory:"false" json:"forceMatchingSignature"`
-
- // Number of uncompressed bytes (that is, size after decompression) that are offloaded to the Exadata cells
- IoCellUncompressedBytes *int64 `mandatory:"false" json:"ioCellUncompressedBytes"`
-
- // Number of bytes that are returned by Exadata cell through the regular I/O path
- IoCellOffloadReturnedBytes *int64 `mandatory:"false" json:"ioCellOffloadReturnedBytes"`
-
- // Number of this child cursor
- ChildNumber *int64 `mandatory:"false" json:"childNumber"`
-
- // Oracle command type definition
- CommandType *int64 `mandatory:"false" json:"commandType"`
-
- // Number of users that have any of the child cursors open
- UsersOpening *int64 `mandatory:"false" json:"usersOpening"`
-
- // Number of users executing the statement
- UsersExecuting *int64 `mandatory:"false" json:"usersExecuting"`
-
- // Cost of this query given by the optimizer
- OptimizerCost *int64 `mandatory:"false" json:"optimizerCost"`
-
- // Total Number of rows in SQLStats table
- FullPlanHashValue *string `mandatory:"false" json:"fullPlanHashValue"`
-
- // Module name
- Module *string `mandatory:"false" json:"module"`
-
- // Service name
- Service *string `mandatory:"false" json:"service"`
-
- // Contains the name of the action that was executing when the SQL statement was first parsed, which is set by calling DBMS_APPLICATION_INFO.SET_ACTION
- Action *string `mandatory:"false" json:"action"`
-
- // SQL profile used for this statement, if any
- SqlProfile *string `mandatory:"false" json:"sqlProfile"`
-
- // SQL patch used for this statement, if any
- SqlPatch *string `mandatory:"false" json:"sqlPatch"`
-
- // SQL plan baseline used for this statement, if any
- SqlPlanBaseline *string `mandatory:"false" json:"sqlPlanBaseline"`
-
- // Number of executions for the cursor since the last AWR snapshot
- DeltaExecutionCount *int64 `mandatory:"false" json:"deltaExecutionCount"`
-
- // CPU time (in microseconds) for the cursor since the last AWR snapshot
- DeltaCpuTime *int64 `mandatory:"false" json:"deltaCpuTime"`
-
- // Number of I/O bytes exchanged between the Oracle database and the storage system for the cursor since the last AWR snapshot
- DeltaIoBytes *int64 `mandatory:"false" json:"deltaIoBytes"`
-
- // Rank based on CPU Consumption
- DeltaCpuRank *int64 `mandatory:"false" json:"deltaCpuRank"`
-
- // Rank based on number of execution
- DeltaExecsRank *int64 `mandatory:"false" json:"deltaExecsRank"`
-
- // Rank based on sharable memory
- SharableMemRank *int64 `mandatory:"false" json:"sharableMemRank"`
-
- // Rank based on I/O Consumption
- DeltaIoRank *int64 `mandatory:"false" json:"deltaIoRank"`
-
- // Harmonic sum based on ranking parameters
- HarmonicSum *int64 `mandatory:"false" json:"harmonicSum"`
-
- // Weight based harmonic sum of ranking parameters
- WtHarmonicSum *int64 `mandatory:"false" json:"wtHarmonicSum"`
-
- // Total number of rows in SQLStats table
- TotalSqlCount *int64 `mandatory:"false" json:"totalSqlCount"`
-}
-
-func (m SqlStats) 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 SqlStats) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text.go
deleted file mode 100644
index b658922a35a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text.go
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlText SQL Text type object.
-type SqlText struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // Collection timestamp
- // Example: `"2020-05-06T00:00:00.000Z"`
- TimeCollected *common.SDKTime `mandatory:"true" json:"timeCollected"`
-
- // SQL command
- // Example: `"SELECT"`
- SqlCommand *string `mandatory:"true" json:"sqlCommand"`
-
- // Full SQL Text
- // Example: `"SELECT username,profile,default_tablespace,temporary_tablespace FROM dba_users"`
- // Disclaimer: SQL text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in the sqlFullText column should be masked prior to ingestion.
- SqlFullText *string `mandatory:"true" json:"sqlFullText"`
-
- // Version
- // Example: `1`
- Version *float32 `mandatory:"false" json:"version"`
-
- // Exact matching signature
- // Example: `"18067345456756876713"`
- ExactMatchingSignature *string `mandatory:"false" json:"exactMatchingSignature"`
-
- // Force matching signature
- // Example: `"18067345456756876713"`
- ForceMatchingSignature *string `mandatory:"false" json:"forceMatchingSignature"`
-}
-
-func (m SqlText) 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 SqlText) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_summary.go
deleted file mode 100644
index 7bb107d498a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_text_summary.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SqlTextSummary SQL Text details
-type SqlTextSummary struct {
-
- // Unique SQL_ID for a SQL Statement.
- SqlIdentifier *string `mandatory:"true" json:"sqlIdentifier"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"true" json:"id"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database.
- DatabaseId *string `mandatory:"true" json:"databaseId"`
-
- // SQL Text
- SqlText *string `mandatory:"true" json:"sqlText"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" json:"compartmentId"`
-}
-
-func (m SqlTextSummary) 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 SqlTextSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_type_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_type_details.go
deleted file mode 100644
index 7d64f8ba83f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/sql_type_details.go
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// SqlTypeDetails SQL details
-type SqlTypeDetails struct {
-
- // SQL identifier
- SqlId *string `mandatory:"true" json:"sqlId"`
-
- // First 3800 characters of the SQL text
- SqlText *string `mandatory:"true" json:"sqlText"`
-
- // SQL identifier
- IsSqlTextTruncated *bool `mandatory:"true" json:"isSqlTextTruncated"`
-
- // SQL command name (such as SELECT, INSERT)
- SqlCommand *string `mandatory:"true" json:"sqlCommand"`
-}
-
-func (m SqlTypeDetails) 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 SqlTypeDetails) 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 SqlTypeDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeSqlTypeDetails SqlTypeDetails
- s := struct {
- DiscriminatorParam string `json:"type"`
- MarshalTypeSqlTypeDetails
- }{
- "SQL",
- (MarshalTypeSqlTypeDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server.go
deleted file mode 100644
index 1b6187feffd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// StorageServerEnum Enum with underlying type: string
-type StorageServerEnum string
-
-// Set of constants representing the allowable values for StorageServerEnum
-const (
- StorageServerStorage StorageServerEnum = "STORAGE"
- StorageServerIops StorageServerEnum = "IOPS"
- StorageServerThroughput StorageServerEnum = "THROUGHPUT"
-)
-
-var mappingStorageServerEnum = map[string]StorageServerEnum{
- "STORAGE": StorageServerStorage,
- "IOPS": StorageServerIops,
- "THROUGHPUT": StorageServerThroughput,
-}
-
-var mappingStorageServerEnumLowerCase = map[string]StorageServerEnum{
- "storage": StorageServerStorage,
- "iops": StorageServerIops,
- "throughput": StorageServerThroughput,
-}
-
-// GetStorageServerEnumValues Enumerates the set of values for StorageServerEnum
-func GetStorageServerEnumValues() []StorageServerEnum {
- values := make([]StorageServerEnum, 0)
- for _, v := range mappingStorageServerEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetStorageServerEnumStringValues Enumerates the set of values in String for StorageServerEnum
-func GetStorageServerEnumStringValues() []string {
- return []string{
- "STORAGE",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingStorageServerEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingStorageServerEnum(val string) (StorageServerEnum, bool) {
- enum, ok := mappingStorageServerEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server_details.go
deleted file mode 100644
index 90727563f4b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_server_details.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// StorageServerDetails Partial information about a storage server which includes name and displayName.
-type StorageServerDetails struct {
-
- // The storage server name.
- StorageServerName *string `mandatory:"true" json:"storageServerName"`
-
- // The user-friendly name for the storage server. The name does not have to be unique.
- StorageServerDisplayName *string `mandatory:"true" json:"storageServerDisplayName"`
-}
-
-func (m StorageServerDetails) 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 StorageServerDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend.go
deleted file mode 100644
index bfdd04e9ce7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// StorageUsageTrend Usage data samples.
-type StorageUsageTrend struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Filesystem usage in GB.
- FileSystemUsageInGBs *float64 `mandatory:"true" json:"fileSystemUsageInGBs"`
-
- // Filesystem available in percent.
- FileSystemAvailInPercent *float64 `mandatory:"true" json:"fileSystemAvailInPercent"`
-}
-
-func (m StorageUsageTrend) 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 StorageUsageTrend) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend_aggregation.go
deleted file mode 100644
index 031a5ea7c44..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/storage_usage_trend_aggregation.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// StorageUsageTrendAggregation Usage data per filesystem.
-type StorageUsageTrendAggregation struct {
-
- // Name of filesystem.
- FileSystemName *string `mandatory:"true" json:"fileSystemName"`
-
- // Mount points are specialized NTFS filesystem objects.
- MountPoint *string `mandatory:"true" json:"mountPoint"`
-
- // Size of filesystem.
- FileSystemSizeInGBs *float64 `mandatory:"true" json:"fileSystemSizeInGBs"`
-
- // List of usage data samples for a filesystem.
- UsageData []StorageUsageTrend `mandatory:"true" json:"usageData"`
-}
-
-func (m StorageUsageTrendAggregation) 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 StorageUsageTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_findings_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_findings_request_response.go
deleted file mode 100644
index 84974d6fdac..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_findings_request_response.go
+++ /dev/null
@@ -1,265 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbFindingsRequest wrapper for the SummarizeAddmDbFindings operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbFindings.go.html to see an example of how to use SummarizeAddmDbFindingsRequest.
-type SummarizeAddmDbFindingsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional value filter to match the finding category exactly.
- CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAddmDbFindingsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the ADDM finding summary data
- SortBy SummarizeAddmDbFindingsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbFindingsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbFindingsRequest) 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 SummarizeAddmDbFindingsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbFindingsRequest) 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 SummarizeAddmDbFindingsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAddmDbFindingsSortOrderEnum(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(GetSummarizeAddmDbFindingsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbFindingsSortByEnum(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(GetSummarizeAddmDbFindingsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbFindingsResponse wrapper for the SummarizeAddmDbFindings operation
-type SummarizeAddmDbFindingsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbFindingAggregationCollection instances
- AddmDbFindingAggregationCollection `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 SummarizeAddmDbFindingsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbFindingsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAddmDbFindingsSortOrderEnum Enum with underlying type: string
-type SummarizeAddmDbFindingsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbFindingsSortOrderEnum
-const (
- SummarizeAddmDbFindingsSortOrderAsc SummarizeAddmDbFindingsSortOrderEnum = "ASC"
- SummarizeAddmDbFindingsSortOrderDesc SummarizeAddmDbFindingsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAddmDbFindingsSortOrderEnum = map[string]SummarizeAddmDbFindingsSortOrderEnum{
- "ASC": SummarizeAddmDbFindingsSortOrderAsc,
- "DESC": SummarizeAddmDbFindingsSortOrderDesc,
-}
-
-var mappingSummarizeAddmDbFindingsSortOrderEnumLowerCase = map[string]SummarizeAddmDbFindingsSortOrderEnum{
- "asc": SummarizeAddmDbFindingsSortOrderAsc,
- "desc": SummarizeAddmDbFindingsSortOrderDesc,
-}
-
-// GetSummarizeAddmDbFindingsSortOrderEnumValues Enumerates the set of values for SummarizeAddmDbFindingsSortOrderEnum
-func GetSummarizeAddmDbFindingsSortOrderEnumValues() []SummarizeAddmDbFindingsSortOrderEnum {
- values := make([]SummarizeAddmDbFindingsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAddmDbFindingsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbFindingsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbFindingsSortOrderEnum
-func GetSummarizeAddmDbFindingsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAddmDbFindingsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbFindingsSortOrderEnum(val string) (SummarizeAddmDbFindingsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAddmDbFindingsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbFindingsSortByEnum Enum with underlying type: string
-type SummarizeAddmDbFindingsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbFindingsSortByEnum
-const (
- SummarizeAddmDbFindingsSortByImpactoverallpercent SummarizeAddmDbFindingsSortByEnum = "impactOverallPercent"
- SummarizeAddmDbFindingsSortByImpactmaxpercent SummarizeAddmDbFindingsSortByEnum = "impactMaxPercent"
- SummarizeAddmDbFindingsSortByImpactavgactivesessions SummarizeAddmDbFindingsSortByEnum = "impactAvgActiveSessions"
- SummarizeAddmDbFindingsSortByFrequencycount SummarizeAddmDbFindingsSortByEnum = "frequencyCount"
-)
-
-var mappingSummarizeAddmDbFindingsSortByEnum = map[string]SummarizeAddmDbFindingsSortByEnum{
- "impactOverallPercent": SummarizeAddmDbFindingsSortByImpactoverallpercent,
- "impactMaxPercent": SummarizeAddmDbFindingsSortByImpactmaxpercent,
- "impactAvgActiveSessions": SummarizeAddmDbFindingsSortByImpactavgactivesessions,
- "frequencyCount": SummarizeAddmDbFindingsSortByFrequencycount,
-}
-
-var mappingSummarizeAddmDbFindingsSortByEnumLowerCase = map[string]SummarizeAddmDbFindingsSortByEnum{
- "impactoverallpercent": SummarizeAddmDbFindingsSortByImpactoverallpercent,
- "impactmaxpercent": SummarizeAddmDbFindingsSortByImpactmaxpercent,
- "impactavgactivesessions": SummarizeAddmDbFindingsSortByImpactavgactivesessions,
- "frequencycount": SummarizeAddmDbFindingsSortByFrequencycount,
-}
-
-// GetSummarizeAddmDbFindingsSortByEnumValues Enumerates the set of values for SummarizeAddmDbFindingsSortByEnum
-func GetSummarizeAddmDbFindingsSortByEnumValues() []SummarizeAddmDbFindingsSortByEnum {
- values := make([]SummarizeAddmDbFindingsSortByEnum, 0)
- for _, v := range mappingSummarizeAddmDbFindingsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbFindingsSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbFindingsSortByEnum
-func GetSummarizeAddmDbFindingsSortByEnumStringValues() []string {
- return []string{
- "impactOverallPercent",
- "impactMaxPercent",
- "impactAvgActiveSessions",
- "frequencyCount",
- }
-}
-
-// GetMappingSummarizeAddmDbFindingsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbFindingsSortByEnum(val string) (SummarizeAddmDbFindingsSortByEnum, bool) {
- enum, ok := mappingSummarizeAddmDbFindingsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameter_changes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameter_changes_request_response.go
deleted file mode 100644
index b6a03a7e936..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameter_changes_request_response.go
+++ /dev/null
@@ -1,262 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbParameterChangesRequest wrapper for the SummarizeAddmDbParameterChanges operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbParameterChanges.go.html to see an example of how to use SummarizeAddmDbParameterChangesRequest.
-type SummarizeAddmDbParameterChangesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required filter to return only changes for the specified parameter. The
- // match is case sensitive.
- Name *string `mandatory:"true" contributesTo:"query" name:"name"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional filter to return only resources whose value contains the substring given. The
- // match is not case sensitive.
- ValueContains *string `mandatory:"false" contributesTo:"query" name:"valueContains"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAddmDbParameterChangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the database parameter change data
- SortBy SummarizeAddmDbParameterChangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbParameterChangesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbParameterChangesRequest) 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 SummarizeAddmDbParameterChangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbParameterChangesRequest) 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 SummarizeAddmDbParameterChangesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAddmDbParameterChangesSortOrderEnum(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(GetSummarizeAddmDbParameterChangesSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbParameterChangesSortByEnum(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(GetSummarizeAddmDbParameterChangesSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbParameterChangesResponse wrapper for the SummarizeAddmDbParameterChanges operation
-type SummarizeAddmDbParameterChangesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbParameterChangeAggregationCollection instances
- AddmDbParameterChangeAggregationCollection `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 SummarizeAddmDbParameterChangesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbParameterChangesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAddmDbParameterChangesSortOrderEnum Enum with underlying type: string
-type SummarizeAddmDbParameterChangesSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParameterChangesSortOrderEnum
-const (
- SummarizeAddmDbParameterChangesSortOrderAsc SummarizeAddmDbParameterChangesSortOrderEnum = "ASC"
- SummarizeAddmDbParameterChangesSortOrderDesc SummarizeAddmDbParameterChangesSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAddmDbParameterChangesSortOrderEnum = map[string]SummarizeAddmDbParameterChangesSortOrderEnum{
- "ASC": SummarizeAddmDbParameterChangesSortOrderAsc,
- "DESC": SummarizeAddmDbParameterChangesSortOrderDesc,
-}
-
-var mappingSummarizeAddmDbParameterChangesSortOrderEnumLowerCase = map[string]SummarizeAddmDbParameterChangesSortOrderEnum{
- "asc": SummarizeAddmDbParameterChangesSortOrderAsc,
- "desc": SummarizeAddmDbParameterChangesSortOrderDesc,
-}
-
-// GetSummarizeAddmDbParameterChangesSortOrderEnumValues Enumerates the set of values for SummarizeAddmDbParameterChangesSortOrderEnum
-func GetSummarizeAddmDbParameterChangesSortOrderEnumValues() []SummarizeAddmDbParameterChangesSortOrderEnum {
- values := make([]SummarizeAddmDbParameterChangesSortOrderEnum, 0)
- for _, v := range mappingSummarizeAddmDbParameterChangesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParameterChangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParameterChangesSortOrderEnum
-func GetSummarizeAddmDbParameterChangesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAddmDbParameterChangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParameterChangesSortOrderEnum(val string) (SummarizeAddmDbParameterChangesSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParameterChangesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbParameterChangesSortByEnum Enum with underlying type: string
-type SummarizeAddmDbParameterChangesSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParameterChangesSortByEnum
-const (
- SummarizeAddmDbParameterChangesSortByIschanged SummarizeAddmDbParameterChangesSortByEnum = "isChanged"
- SummarizeAddmDbParameterChangesSortByBeginsnapid SummarizeAddmDbParameterChangesSortByEnum = "beginSnapId"
-)
-
-var mappingSummarizeAddmDbParameterChangesSortByEnum = map[string]SummarizeAddmDbParameterChangesSortByEnum{
- "isChanged": SummarizeAddmDbParameterChangesSortByIschanged,
- "beginSnapId": SummarizeAddmDbParameterChangesSortByBeginsnapid,
-}
-
-var mappingSummarizeAddmDbParameterChangesSortByEnumLowerCase = map[string]SummarizeAddmDbParameterChangesSortByEnum{
- "ischanged": SummarizeAddmDbParameterChangesSortByIschanged,
- "beginsnapid": SummarizeAddmDbParameterChangesSortByBeginsnapid,
-}
-
-// GetSummarizeAddmDbParameterChangesSortByEnumValues Enumerates the set of values for SummarizeAddmDbParameterChangesSortByEnum
-func GetSummarizeAddmDbParameterChangesSortByEnumValues() []SummarizeAddmDbParameterChangesSortByEnum {
- values := make([]SummarizeAddmDbParameterChangesSortByEnum, 0)
- for _, v := range mappingSummarizeAddmDbParameterChangesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParameterChangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParameterChangesSortByEnum
-func GetSummarizeAddmDbParameterChangesSortByEnumStringValues() []string {
- return []string{
- "isChanged",
- "beginSnapId",
- }
-}
-
-// GetMappingSummarizeAddmDbParameterChangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParameterChangesSortByEnum(val string) (SummarizeAddmDbParameterChangesSortByEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParameterChangesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameters_request_response.go
deleted file mode 100644
index 9dffdcd438d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_parameters_request_response.go
+++ /dev/null
@@ -1,410 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbParametersRequest wrapper for the SummarizeAddmDbParameters operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbParameters.go.html to see an example of how to use SummarizeAddmDbParametersRequest.
-type SummarizeAddmDbParametersRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional value filter to match the parameter category exactly. Note the list of possible
- // category names can be retrieved from the following endpoint:
- // /databases/{databaseId}/addmDbParameterCategories.
- CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
-
- // Optional filter to return only resources whose name or value contains the substring given. The
- // match is not case sensitive.
- NameOrValueContains *string `mandatory:"false" contributesTo:"query" name:"nameOrValueContains"`
-
- // Optional filter to return only parameters whose value changed in the specified time period.
- // Valid values include: TRUE, FALSE
- IsChanged SummarizeAddmDbParametersIsChangedEnum `mandatory:"false" contributesTo:"query" name:"isChanged" omitEmpty:"true"`
-
- // Optional filter to return only parameters whose end value was set to the default value (TRUE)
- // or was specified in the parameter file (FALSE). Valid values include: TRUE, FALSE
- IsDefault SummarizeAddmDbParametersIsDefaultEnum `mandatory:"false" contributesTo:"query" name:"isDefault" omitEmpty:"true"`
-
- // Optional filter to return only parameters which have recommendations in the specified time period.
- // Valid values include: TRUE, FALSE
- HasRecommendations SummarizeAddmDbParametersHasRecommendationsEnum `mandatory:"false" contributesTo:"query" name:"hasRecommendations" omitEmpty:"true"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAddmDbParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the database parameter data
- SortBy SummarizeAddmDbParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbParametersRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbParametersRequest) 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 SummarizeAddmDbParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbParametersRequest) 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 SummarizeAddmDbParametersRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAddmDbParametersIsChangedEnum(string(request.IsChanged)); !ok && request.IsChanged != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IsChanged: %s. Supported values are: %s.", request.IsChanged, strings.Join(GetSummarizeAddmDbParametersIsChangedEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbParametersIsDefaultEnum(string(request.IsDefault)); !ok && request.IsDefault != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for IsDefault: %s. Supported values are: %s.", request.IsDefault, strings.Join(GetSummarizeAddmDbParametersIsDefaultEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbParametersHasRecommendationsEnum(string(request.HasRecommendations)); !ok && request.HasRecommendations != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for HasRecommendations: %s. Supported values are: %s.", request.HasRecommendations, strings.Join(GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbParametersSortOrderEnum(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(GetSummarizeAddmDbParametersSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbParametersSortByEnum(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(GetSummarizeAddmDbParametersSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbParametersResponse wrapper for the SummarizeAddmDbParameters operation
-type SummarizeAddmDbParametersResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbParameterAggregationCollection instances
- AddmDbParameterAggregationCollection `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 SummarizeAddmDbParametersResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbParametersResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAddmDbParametersIsChangedEnum Enum with underlying type: string
-type SummarizeAddmDbParametersIsChangedEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParametersIsChangedEnum
-const (
- SummarizeAddmDbParametersIsChangedTrue SummarizeAddmDbParametersIsChangedEnum = "true"
- SummarizeAddmDbParametersIsChangedFalse SummarizeAddmDbParametersIsChangedEnum = "false"
-)
-
-var mappingSummarizeAddmDbParametersIsChangedEnum = map[string]SummarizeAddmDbParametersIsChangedEnum{
- "true": SummarizeAddmDbParametersIsChangedTrue,
- "false": SummarizeAddmDbParametersIsChangedFalse,
-}
-
-var mappingSummarizeAddmDbParametersIsChangedEnumLowerCase = map[string]SummarizeAddmDbParametersIsChangedEnum{
- "true": SummarizeAddmDbParametersIsChangedTrue,
- "false": SummarizeAddmDbParametersIsChangedFalse,
-}
-
-// GetSummarizeAddmDbParametersIsChangedEnumValues Enumerates the set of values for SummarizeAddmDbParametersIsChangedEnum
-func GetSummarizeAddmDbParametersIsChangedEnumValues() []SummarizeAddmDbParametersIsChangedEnum {
- values := make([]SummarizeAddmDbParametersIsChangedEnum, 0)
- for _, v := range mappingSummarizeAddmDbParametersIsChangedEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParametersIsChangedEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsChangedEnum
-func GetSummarizeAddmDbParametersIsChangedEnumStringValues() []string {
- return []string{
- "true",
- "false",
- }
-}
-
-// GetMappingSummarizeAddmDbParametersIsChangedEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParametersIsChangedEnum(val string) (SummarizeAddmDbParametersIsChangedEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParametersIsChangedEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbParametersIsDefaultEnum Enum with underlying type: string
-type SummarizeAddmDbParametersIsDefaultEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParametersIsDefaultEnum
-const (
- SummarizeAddmDbParametersIsDefaultTrue SummarizeAddmDbParametersIsDefaultEnum = "true"
- SummarizeAddmDbParametersIsDefaultFalse SummarizeAddmDbParametersIsDefaultEnum = "false"
-)
-
-var mappingSummarizeAddmDbParametersIsDefaultEnum = map[string]SummarizeAddmDbParametersIsDefaultEnum{
- "true": SummarizeAddmDbParametersIsDefaultTrue,
- "false": SummarizeAddmDbParametersIsDefaultFalse,
-}
-
-var mappingSummarizeAddmDbParametersIsDefaultEnumLowerCase = map[string]SummarizeAddmDbParametersIsDefaultEnum{
- "true": SummarizeAddmDbParametersIsDefaultTrue,
- "false": SummarizeAddmDbParametersIsDefaultFalse,
-}
-
-// GetSummarizeAddmDbParametersIsDefaultEnumValues Enumerates the set of values for SummarizeAddmDbParametersIsDefaultEnum
-func GetSummarizeAddmDbParametersIsDefaultEnumValues() []SummarizeAddmDbParametersIsDefaultEnum {
- values := make([]SummarizeAddmDbParametersIsDefaultEnum, 0)
- for _, v := range mappingSummarizeAddmDbParametersIsDefaultEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParametersIsDefaultEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersIsDefaultEnum
-func GetSummarizeAddmDbParametersIsDefaultEnumStringValues() []string {
- return []string{
- "true",
- "false",
- }
-}
-
-// GetMappingSummarizeAddmDbParametersIsDefaultEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParametersIsDefaultEnum(val string) (SummarizeAddmDbParametersIsDefaultEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParametersIsDefaultEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbParametersHasRecommendationsEnum Enum with underlying type: string
-type SummarizeAddmDbParametersHasRecommendationsEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParametersHasRecommendationsEnum
-const (
- SummarizeAddmDbParametersHasRecommendationsTrue SummarizeAddmDbParametersHasRecommendationsEnum = "true"
- SummarizeAddmDbParametersHasRecommendationsFalse SummarizeAddmDbParametersHasRecommendationsEnum = "false"
-)
-
-var mappingSummarizeAddmDbParametersHasRecommendationsEnum = map[string]SummarizeAddmDbParametersHasRecommendationsEnum{
- "true": SummarizeAddmDbParametersHasRecommendationsTrue,
- "false": SummarizeAddmDbParametersHasRecommendationsFalse,
-}
-
-var mappingSummarizeAddmDbParametersHasRecommendationsEnumLowerCase = map[string]SummarizeAddmDbParametersHasRecommendationsEnum{
- "true": SummarizeAddmDbParametersHasRecommendationsTrue,
- "false": SummarizeAddmDbParametersHasRecommendationsFalse,
-}
-
-// GetSummarizeAddmDbParametersHasRecommendationsEnumValues Enumerates the set of values for SummarizeAddmDbParametersHasRecommendationsEnum
-func GetSummarizeAddmDbParametersHasRecommendationsEnumValues() []SummarizeAddmDbParametersHasRecommendationsEnum {
- values := make([]SummarizeAddmDbParametersHasRecommendationsEnum, 0)
- for _, v := range mappingSummarizeAddmDbParametersHasRecommendationsEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersHasRecommendationsEnum
-func GetSummarizeAddmDbParametersHasRecommendationsEnumStringValues() []string {
- return []string{
- "true",
- "false",
- }
-}
-
-// GetMappingSummarizeAddmDbParametersHasRecommendationsEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParametersHasRecommendationsEnum(val string) (SummarizeAddmDbParametersHasRecommendationsEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParametersHasRecommendationsEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbParametersSortOrderEnum Enum with underlying type: string
-type SummarizeAddmDbParametersSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParametersSortOrderEnum
-const (
- SummarizeAddmDbParametersSortOrderAsc SummarizeAddmDbParametersSortOrderEnum = "ASC"
- SummarizeAddmDbParametersSortOrderDesc SummarizeAddmDbParametersSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAddmDbParametersSortOrderEnum = map[string]SummarizeAddmDbParametersSortOrderEnum{
- "ASC": SummarizeAddmDbParametersSortOrderAsc,
- "DESC": SummarizeAddmDbParametersSortOrderDesc,
-}
-
-var mappingSummarizeAddmDbParametersSortOrderEnumLowerCase = map[string]SummarizeAddmDbParametersSortOrderEnum{
- "asc": SummarizeAddmDbParametersSortOrderAsc,
- "desc": SummarizeAddmDbParametersSortOrderDesc,
-}
-
-// GetSummarizeAddmDbParametersSortOrderEnumValues Enumerates the set of values for SummarizeAddmDbParametersSortOrderEnum
-func GetSummarizeAddmDbParametersSortOrderEnumValues() []SummarizeAddmDbParametersSortOrderEnum {
- values := make([]SummarizeAddmDbParametersSortOrderEnum, 0)
- for _, v := range mappingSummarizeAddmDbParametersSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParametersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersSortOrderEnum
-func GetSummarizeAddmDbParametersSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAddmDbParametersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParametersSortOrderEnum(val string) (SummarizeAddmDbParametersSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParametersSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbParametersSortByEnum Enum with underlying type: string
-type SummarizeAddmDbParametersSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbParametersSortByEnum
-const (
- SummarizeAddmDbParametersSortByIschanged SummarizeAddmDbParametersSortByEnum = "isChanged"
- SummarizeAddmDbParametersSortByName SummarizeAddmDbParametersSortByEnum = "name"
-)
-
-var mappingSummarizeAddmDbParametersSortByEnum = map[string]SummarizeAddmDbParametersSortByEnum{
- "isChanged": SummarizeAddmDbParametersSortByIschanged,
- "name": SummarizeAddmDbParametersSortByName,
-}
-
-var mappingSummarizeAddmDbParametersSortByEnumLowerCase = map[string]SummarizeAddmDbParametersSortByEnum{
- "ischanged": SummarizeAddmDbParametersSortByIschanged,
- "name": SummarizeAddmDbParametersSortByName,
-}
-
-// GetSummarizeAddmDbParametersSortByEnumValues Enumerates the set of values for SummarizeAddmDbParametersSortByEnum
-func GetSummarizeAddmDbParametersSortByEnumValues() []SummarizeAddmDbParametersSortByEnum {
- values := make([]SummarizeAddmDbParametersSortByEnum, 0)
- for _, v := range mappingSummarizeAddmDbParametersSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbParametersSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbParametersSortByEnum
-func GetSummarizeAddmDbParametersSortByEnumStringValues() []string {
- return []string{
- "isChanged",
- "name",
- }
-}
-
-// GetMappingSummarizeAddmDbParametersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbParametersSortByEnum(val string) (SummarizeAddmDbParametersSortByEnum, bool) {
- enum, ok := mappingSummarizeAddmDbParametersSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_recommendations_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_recommendations_request_response.go
deleted file mode 100644
index 76270dc1ac1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_recommendations_request_response.go
+++ /dev/null
@@ -1,280 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbRecommendationsRequest wrapper for the SummarizeAddmDbRecommendations operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbRecommendations.go.html to see an example of how to use SummarizeAddmDbRecommendationsRequest.
-type SummarizeAddmDbRecommendationsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional value filter to match the finding category exactly.
- CategoryName *string `mandatory:"false" contributesTo:"query" name:"categoryName"`
-
- // Unique finding ID
- FindingIdentifier *string `mandatory:"false" contributesTo:"query" name:"findingIdentifier"`
-
- // Optional filter to return only resources whose sql id matches the value given. Only considered when
- // categoryName is SQL_TUNING.
- SqlIdentifier *string `mandatory:"false" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional filter to return only resources whose owner or name contains the substring given. The
- // match is not case sensitive. Only considered when categoryName is SCHEMA_OBJECT.
- OwnerOrNameContains *string `mandatory:"false" contributesTo:"query" name:"ownerOrNameContains"`
-
- // Optional filter to return only resources whose name contains the substring given. The
- // match is not case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
- NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`
-
- // Optional filter to return only resources whose name exactly matches the substring given. The
- // match is case sensitive. Only considered when categoryName is DATABASE_CONFIGURATION.
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAddmDbRecommendationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Field name for sorting the recommendation data
- SortBy SummarizeAddmDbRecommendationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbRecommendationsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbRecommendationsRequest) 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 SummarizeAddmDbRecommendationsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbRecommendationsRequest) 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 SummarizeAddmDbRecommendationsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAddmDbRecommendationsSortOrderEnum(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(GetSummarizeAddmDbRecommendationsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAddmDbRecommendationsSortByEnum(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(GetSummarizeAddmDbRecommendationsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbRecommendationsResponse wrapper for the SummarizeAddmDbRecommendations operation
-type SummarizeAddmDbRecommendationsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbRecommendationAggregationCollection instances
- AddmDbRecommendationAggregationCollection `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 SummarizeAddmDbRecommendationsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbRecommendationsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAddmDbRecommendationsSortOrderEnum Enum with underlying type: string
-type SummarizeAddmDbRecommendationsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbRecommendationsSortOrderEnum
-const (
- SummarizeAddmDbRecommendationsSortOrderAsc SummarizeAddmDbRecommendationsSortOrderEnum = "ASC"
- SummarizeAddmDbRecommendationsSortOrderDesc SummarizeAddmDbRecommendationsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAddmDbRecommendationsSortOrderEnum = map[string]SummarizeAddmDbRecommendationsSortOrderEnum{
- "ASC": SummarizeAddmDbRecommendationsSortOrderAsc,
- "DESC": SummarizeAddmDbRecommendationsSortOrderDesc,
-}
-
-var mappingSummarizeAddmDbRecommendationsSortOrderEnumLowerCase = map[string]SummarizeAddmDbRecommendationsSortOrderEnum{
- "asc": SummarizeAddmDbRecommendationsSortOrderAsc,
- "desc": SummarizeAddmDbRecommendationsSortOrderDesc,
-}
-
-// GetSummarizeAddmDbRecommendationsSortOrderEnumValues Enumerates the set of values for SummarizeAddmDbRecommendationsSortOrderEnum
-func GetSummarizeAddmDbRecommendationsSortOrderEnumValues() []SummarizeAddmDbRecommendationsSortOrderEnum {
- values := make([]SummarizeAddmDbRecommendationsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAddmDbRecommendationsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbRecommendationsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAddmDbRecommendationsSortOrderEnum
-func GetSummarizeAddmDbRecommendationsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAddmDbRecommendationsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbRecommendationsSortOrderEnum(val string) (SummarizeAddmDbRecommendationsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAddmDbRecommendationsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAddmDbRecommendationsSortByEnum Enum with underlying type: string
-type SummarizeAddmDbRecommendationsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAddmDbRecommendationsSortByEnum
-const (
- SummarizeAddmDbRecommendationsSortByMaxbenefitpercent SummarizeAddmDbRecommendationsSortByEnum = "maxBenefitPercent"
- SummarizeAddmDbRecommendationsSortByMaxbenefitavgactivesessions SummarizeAddmDbRecommendationsSortByEnum = "maxBenefitAvgActiveSessions"
- SummarizeAddmDbRecommendationsSortByFrequencycount SummarizeAddmDbRecommendationsSortByEnum = "frequencyCount"
-)
-
-var mappingSummarizeAddmDbRecommendationsSortByEnum = map[string]SummarizeAddmDbRecommendationsSortByEnum{
- "maxBenefitPercent": SummarizeAddmDbRecommendationsSortByMaxbenefitpercent,
- "maxBenefitAvgActiveSessions": SummarizeAddmDbRecommendationsSortByMaxbenefitavgactivesessions,
- "frequencyCount": SummarizeAddmDbRecommendationsSortByFrequencycount,
-}
-
-var mappingSummarizeAddmDbRecommendationsSortByEnumLowerCase = map[string]SummarizeAddmDbRecommendationsSortByEnum{
- "maxbenefitpercent": SummarizeAddmDbRecommendationsSortByMaxbenefitpercent,
- "maxbenefitavgactivesessions": SummarizeAddmDbRecommendationsSortByMaxbenefitavgactivesessions,
- "frequencycount": SummarizeAddmDbRecommendationsSortByFrequencycount,
-}
-
-// GetSummarizeAddmDbRecommendationsSortByEnumValues Enumerates the set of values for SummarizeAddmDbRecommendationsSortByEnum
-func GetSummarizeAddmDbRecommendationsSortByEnumValues() []SummarizeAddmDbRecommendationsSortByEnum {
- values := make([]SummarizeAddmDbRecommendationsSortByEnum, 0)
- for _, v := range mappingSummarizeAddmDbRecommendationsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAddmDbRecommendationsSortByEnumStringValues Enumerates the set of values in String for SummarizeAddmDbRecommendationsSortByEnum
-func GetSummarizeAddmDbRecommendationsSortByEnumStringValues() []string {
- return []string{
- "maxBenefitPercent",
- "maxBenefitAvgActiveSessions",
- "frequencyCount",
- }
-}
-
-// GetMappingSummarizeAddmDbRecommendationsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAddmDbRecommendationsSortByEnum(val string) (SummarizeAddmDbRecommendationsSortByEnum, bool) {
- enum, ok := mappingSummarizeAddmDbRecommendationsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_schema_objects_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_schema_objects_request_response.go
deleted file mode 100644
index 94b9dc333a8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_schema_objects_request_response.go
+++ /dev/null
@@ -1,158 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbSchemaObjectsRequest wrapper for the SummarizeAddmDbSchemaObjects operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbSchemaObjects.go.html to see an example of how to use SummarizeAddmDbSchemaObjectsRequest.
-type SummarizeAddmDbSchemaObjectsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // One or more unique Object id (from RDBMS)
- ObjectIdentifier []int `contributesTo:"query" name:"objectIdentifier" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbSchemaObjectsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbSchemaObjectsRequest) 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 SummarizeAddmDbSchemaObjectsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbSchemaObjectsRequest) 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 SummarizeAddmDbSchemaObjectsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbSchemaObjectsResponse wrapper for the SummarizeAddmDbSchemaObjects operation
-type SummarizeAddmDbSchemaObjectsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbSchemaObjectCollection instances
- AddmDbSchemaObjectCollection `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 SummarizeAddmDbSchemaObjectsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbSchemaObjectsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_sql_statements_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_sql_statements_request_response.go
deleted file mode 100644
index 0ae01361116..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_addm_db_sql_statements_request_response.go
+++ /dev/null
@@ -1,159 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAddmDbSqlStatementsRequest wrapper for the SummarizeAddmDbSqlStatements operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAddmDbSqlStatements.go.html to see an example of how to use SummarizeAddmDbSqlStatementsRequest.
-type SummarizeAddmDbSqlStatementsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // One or more unique SQL_IDs for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // 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 SummarizeAddmDbSqlStatementsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAddmDbSqlStatementsRequest) 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 SummarizeAddmDbSqlStatementsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAddmDbSqlStatementsRequest) 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 SummarizeAddmDbSqlStatementsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAddmDbSqlStatementsResponse wrapper for the SummarizeAddmDbSqlStatements operation
-type SummarizeAddmDbSqlStatementsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AddmDbSqlStatementCollection instances
- AddmDbSqlStatementCollection `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 SummarizeAddmDbSqlStatementsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAddmDbSqlStatementsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_cpu_usages_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_cpu_usages_request_response.go
deleted file mode 100644
index 34966f1c29f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_cpu_usages_request_response.go
+++ /dev/null
@@ -1,276 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseCpuUsagesRequest wrapper for the SummarizeAwrDatabaseCpuUsages operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseCpuUsages.go.html to see an example of how to use SummarizeAwrDatabaseCpuUsagesRequest.
-type SummarizeAwrDatabaseCpuUsagesRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND.
- SessionType SummarizeAwrDatabaseCpuUsagesSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR CPU usage summary data.
- SortBy SummarizeAwrDatabaseCpuUsagesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseCpuUsagesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseCpuUsagesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseCpuUsagesRequest) 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 SummarizeAwrDatabaseCpuUsagesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseCpuUsagesRequest) 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 SummarizeAwrDatabaseCpuUsagesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnum(string(request.SessionType)); !ok && request.SessionType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SessionType: %s. Supported values are: %s.", request.SessionType, strings.Join(GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseCpuUsagesSortByEnum(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(GetSummarizeAwrDatabaseCpuUsagesSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseCpuUsagesSortOrderEnum(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(GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseCpuUsagesResponse wrapper for the SummarizeAwrDatabaseCpuUsages operation
-type SummarizeAwrDatabaseCpuUsagesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseCpuUsageCollection instances
- AwrDatabaseCpuUsageCollection `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 SummarizeAwrDatabaseCpuUsagesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseCpuUsagesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseCpuUsagesSessionTypeEnum Enum with underlying type: string
-type SummarizeAwrDatabaseCpuUsagesSessionTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseCpuUsagesSessionTypeEnum
-const (
- SummarizeAwrDatabaseCpuUsagesSessionTypeForeground SummarizeAwrDatabaseCpuUsagesSessionTypeEnum = "FOREGROUND"
- SummarizeAwrDatabaseCpuUsagesSessionTypeBackground SummarizeAwrDatabaseCpuUsagesSessionTypeEnum = "BACKGROUND"
- SummarizeAwrDatabaseCpuUsagesSessionTypeAll SummarizeAwrDatabaseCpuUsagesSessionTypeEnum = "ALL"
-)
-
-var mappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnum = map[string]SummarizeAwrDatabaseCpuUsagesSessionTypeEnum{
- "FOREGROUND": SummarizeAwrDatabaseCpuUsagesSessionTypeForeground,
- "BACKGROUND": SummarizeAwrDatabaseCpuUsagesSessionTypeBackground,
- "ALL": SummarizeAwrDatabaseCpuUsagesSessionTypeAll,
-}
-
-var mappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnumLowerCase = map[string]SummarizeAwrDatabaseCpuUsagesSessionTypeEnum{
- "foreground": SummarizeAwrDatabaseCpuUsagesSessionTypeForeground,
- "background": SummarizeAwrDatabaseCpuUsagesSessionTypeBackground,
- "all": SummarizeAwrDatabaseCpuUsagesSessionTypeAll,
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDatabaseCpuUsagesSessionTypeEnum
-func GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumValues() []SummarizeAwrDatabaseCpuUsagesSessionTypeEnum {
- values := make([]SummarizeAwrDatabaseCpuUsagesSessionTypeEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSessionTypeEnum
-func GetSummarizeAwrDatabaseCpuUsagesSessionTypeEnumStringValues() []string {
- return []string{
- "FOREGROUND",
- "BACKGROUND",
- "ALL",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnum(val string) (SummarizeAwrDatabaseCpuUsagesSessionTypeEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseCpuUsagesSessionTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseCpuUsagesSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseCpuUsagesSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseCpuUsagesSortByEnum
-const (
- SummarizeAwrDatabaseCpuUsagesSortByTimeSampled SummarizeAwrDatabaseCpuUsagesSortByEnum = "TIME_SAMPLED"
- SummarizeAwrDatabaseCpuUsagesSortByAvgValue SummarizeAwrDatabaseCpuUsagesSortByEnum = "AVG_VALUE"
-)
-
-var mappingSummarizeAwrDatabaseCpuUsagesSortByEnum = map[string]SummarizeAwrDatabaseCpuUsagesSortByEnum{
- "TIME_SAMPLED": SummarizeAwrDatabaseCpuUsagesSortByTimeSampled,
- "AVG_VALUE": SummarizeAwrDatabaseCpuUsagesSortByAvgValue,
-}
-
-var mappingSummarizeAwrDatabaseCpuUsagesSortByEnumLowerCase = map[string]SummarizeAwrDatabaseCpuUsagesSortByEnum{
- "time_sampled": SummarizeAwrDatabaseCpuUsagesSortByTimeSampled,
- "avg_value": SummarizeAwrDatabaseCpuUsagesSortByAvgValue,
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseCpuUsagesSortByEnum
-func GetSummarizeAwrDatabaseCpuUsagesSortByEnumValues() []SummarizeAwrDatabaseCpuUsagesSortByEnum {
- values := make([]SummarizeAwrDatabaseCpuUsagesSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseCpuUsagesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSortByEnum
-func GetSummarizeAwrDatabaseCpuUsagesSortByEnumStringValues() []string {
- return []string{
- "TIME_SAMPLED",
- "AVG_VALUE",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseCpuUsagesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseCpuUsagesSortByEnum(val string) (SummarizeAwrDatabaseCpuUsagesSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseCpuUsagesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseCpuUsagesSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseCpuUsagesSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseCpuUsagesSortOrderEnum
-const (
- SummarizeAwrDatabaseCpuUsagesSortOrderAsc SummarizeAwrDatabaseCpuUsagesSortOrderEnum = "ASC"
- SummarizeAwrDatabaseCpuUsagesSortOrderDesc SummarizeAwrDatabaseCpuUsagesSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseCpuUsagesSortOrderEnum = map[string]SummarizeAwrDatabaseCpuUsagesSortOrderEnum{
- "ASC": SummarizeAwrDatabaseCpuUsagesSortOrderAsc,
- "DESC": SummarizeAwrDatabaseCpuUsagesSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseCpuUsagesSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseCpuUsagesSortOrderEnum{
- "asc": SummarizeAwrDatabaseCpuUsagesSortOrderAsc,
- "desc": SummarizeAwrDatabaseCpuUsagesSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseCpuUsagesSortOrderEnum
-func GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumValues() []SummarizeAwrDatabaseCpuUsagesSortOrderEnum {
- values := make([]SummarizeAwrDatabaseCpuUsagesSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseCpuUsagesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseCpuUsagesSortOrderEnum
-func GetSummarizeAwrDatabaseCpuUsagesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseCpuUsagesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseCpuUsagesSortOrderEnum(val string) (SummarizeAwrDatabaseCpuUsagesSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseCpuUsagesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_metrics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_metrics_request_response.go
deleted file mode 100644
index 553ad827f2e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_metrics_request_response.go
+++ /dev/null
@@ -1,227 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseMetricsRequest wrapper for the SummarizeAwrDatabaseMetrics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseMetrics.go.html to see an example of how to use SummarizeAwrDatabaseMetricsRequest.
-type SummarizeAwrDatabaseMetricsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The required multiple value query parameter to filter the entity name.
- Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR time series summary data.
- SortBy SummarizeAwrDatabaseMetricsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseMetricsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseMetricsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseMetricsRequest) 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 SummarizeAwrDatabaseMetricsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseMetricsRequest) 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 SummarizeAwrDatabaseMetricsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseMetricsSortByEnum(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(GetSummarizeAwrDatabaseMetricsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseMetricsSortOrderEnum(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(GetSummarizeAwrDatabaseMetricsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseMetricsResponse wrapper for the SummarizeAwrDatabaseMetrics operation
-type SummarizeAwrDatabaseMetricsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseMetricCollection instances
- AwrDatabaseMetricCollection `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 SummarizeAwrDatabaseMetricsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseMetricsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseMetricsSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseMetricsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseMetricsSortByEnum
-const (
- SummarizeAwrDatabaseMetricsSortByTimestamp SummarizeAwrDatabaseMetricsSortByEnum = "TIMESTAMP"
- SummarizeAwrDatabaseMetricsSortByName SummarizeAwrDatabaseMetricsSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseMetricsSortByEnum = map[string]SummarizeAwrDatabaseMetricsSortByEnum{
- "TIMESTAMP": SummarizeAwrDatabaseMetricsSortByTimestamp,
- "NAME": SummarizeAwrDatabaseMetricsSortByName,
-}
-
-var mappingSummarizeAwrDatabaseMetricsSortByEnumLowerCase = map[string]SummarizeAwrDatabaseMetricsSortByEnum{
- "timestamp": SummarizeAwrDatabaseMetricsSortByTimestamp,
- "name": SummarizeAwrDatabaseMetricsSortByName,
-}
-
-// GetSummarizeAwrDatabaseMetricsSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseMetricsSortByEnum
-func GetSummarizeAwrDatabaseMetricsSortByEnumValues() []SummarizeAwrDatabaseMetricsSortByEnum {
- values := make([]SummarizeAwrDatabaseMetricsSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseMetricsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseMetricsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseMetricsSortByEnum
-func GetSummarizeAwrDatabaseMetricsSortByEnumStringValues() []string {
- return []string{
- "TIMESTAMP",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseMetricsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseMetricsSortByEnum(val string) (SummarizeAwrDatabaseMetricsSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseMetricsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseMetricsSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseMetricsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseMetricsSortOrderEnum
-const (
- SummarizeAwrDatabaseMetricsSortOrderAsc SummarizeAwrDatabaseMetricsSortOrderEnum = "ASC"
- SummarizeAwrDatabaseMetricsSortOrderDesc SummarizeAwrDatabaseMetricsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseMetricsSortOrderEnum = map[string]SummarizeAwrDatabaseMetricsSortOrderEnum{
- "ASC": SummarizeAwrDatabaseMetricsSortOrderAsc,
- "DESC": SummarizeAwrDatabaseMetricsSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseMetricsSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseMetricsSortOrderEnum{
- "asc": SummarizeAwrDatabaseMetricsSortOrderAsc,
- "desc": SummarizeAwrDatabaseMetricsSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseMetricsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseMetricsSortOrderEnum
-func GetSummarizeAwrDatabaseMetricsSortOrderEnumValues() []SummarizeAwrDatabaseMetricsSortOrderEnum {
- values := make([]SummarizeAwrDatabaseMetricsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseMetricsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseMetricsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseMetricsSortOrderEnum
-func GetSummarizeAwrDatabaseMetricsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseMetricsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseMetricsSortOrderEnum(val string) (SummarizeAwrDatabaseMetricsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseMetricsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameter_changes_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameter_changes_request_response.go
deleted file mode 100644
index f27224fe64a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameter_changes_request_response.go
+++ /dev/null
@@ -1,227 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseParameterChangesRequest wrapper for the SummarizeAwrDatabaseParameterChanges operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseParameterChanges.go.html to see an example of how to use SummarizeAwrDatabaseParameterChangesRequest.
-type SummarizeAwrDatabaseParameterChangesRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The required single value query parameter to filter the entity name.
- Name *string `mandatory:"true" contributesTo:"query" name:"name"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR database parameter change history data.
- SortBy SummarizeAwrDatabaseParameterChangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseParameterChangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseParameterChangesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseParameterChangesRequest) 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 SummarizeAwrDatabaseParameterChangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseParameterChangesRequest) 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 SummarizeAwrDatabaseParameterChangesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseParameterChangesSortByEnum(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(GetSummarizeAwrDatabaseParameterChangesSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseParameterChangesSortOrderEnum(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(GetSummarizeAwrDatabaseParameterChangesSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseParameterChangesResponse wrapper for the SummarizeAwrDatabaseParameterChanges operation
-type SummarizeAwrDatabaseParameterChangesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseParameterChangeCollection instances
- AwrDatabaseParameterChangeCollection `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 SummarizeAwrDatabaseParameterChangesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseParameterChangesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseParameterChangesSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParameterChangesSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParameterChangesSortByEnum
-const (
- SummarizeAwrDatabaseParameterChangesSortByIsChanged SummarizeAwrDatabaseParameterChangesSortByEnum = "IS_CHANGED"
- SummarizeAwrDatabaseParameterChangesSortByName SummarizeAwrDatabaseParameterChangesSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseParameterChangesSortByEnum = map[string]SummarizeAwrDatabaseParameterChangesSortByEnum{
- "IS_CHANGED": SummarizeAwrDatabaseParameterChangesSortByIsChanged,
- "NAME": SummarizeAwrDatabaseParameterChangesSortByName,
-}
-
-var mappingSummarizeAwrDatabaseParameterChangesSortByEnumLowerCase = map[string]SummarizeAwrDatabaseParameterChangesSortByEnum{
- "is_changed": SummarizeAwrDatabaseParameterChangesSortByIsChanged,
- "name": SummarizeAwrDatabaseParameterChangesSortByName,
-}
-
-// GetSummarizeAwrDatabaseParameterChangesSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseParameterChangesSortByEnum
-func GetSummarizeAwrDatabaseParameterChangesSortByEnumValues() []SummarizeAwrDatabaseParameterChangesSortByEnum {
- values := make([]SummarizeAwrDatabaseParameterChangesSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParameterChangesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParameterChangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParameterChangesSortByEnum
-func GetSummarizeAwrDatabaseParameterChangesSortByEnumStringValues() []string {
- return []string{
- "IS_CHANGED",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParameterChangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParameterChangesSortByEnum(val string) (SummarizeAwrDatabaseParameterChangesSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParameterChangesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseParameterChangesSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParameterChangesSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParameterChangesSortOrderEnum
-const (
- SummarizeAwrDatabaseParameterChangesSortOrderAsc SummarizeAwrDatabaseParameterChangesSortOrderEnum = "ASC"
- SummarizeAwrDatabaseParameterChangesSortOrderDesc SummarizeAwrDatabaseParameterChangesSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseParameterChangesSortOrderEnum = map[string]SummarizeAwrDatabaseParameterChangesSortOrderEnum{
- "ASC": SummarizeAwrDatabaseParameterChangesSortOrderAsc,
- "DESC": SummarizeAwrDatabaseParameterChangesSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseParameterChangesSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseParameterChangesSortOrderEnum{
- "asc": SummarizeAwrDatabaseParameterChangesSortOrderAsc,
- "desc": SummarizeAwrDatabaseParameterChangesSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseParameterChangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseParameterChangesSortOrderEnum
-func GetSummarizeAwrDatabaseParameterChangesSortOrderEnumValues() []SummarizeAwrDatabaseParameterChangesSortOrderEnum {
- values := make([]SummarizeAwrDatabaseParameterChangesSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParameterChangesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParameterChangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParameterChangesSortOrderEnum
-func GetSummarizeAwrDatabaseParameterChangesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParameterChangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParameterChangesSortOrderEnum(val string) (SummarizeAwrDatabaseParameterChangesSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParameterChangesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameters_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameters_request_response.go
deleted file mode 100644
index db04f001965..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_parameters_request_response.go
+++ /dev/null
@@ -1,378 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseParametersRequest wrapper for the SummarizeAwrDatabaseParameters operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseParameters.go.html to see an example of how to use SummarizeAwrDatabaseParametersRequest.
-type SummarizeAwrDatabaseParametersRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The optional multiple value query parameter to filter the entity name.
- Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`
-
- // The optional contains query parameter to filter the entity name by any part of the name.
- NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`
-
- // The optional query parameter to filter database parameters whose values were changed.
- ValueChanged SummarizeAwrDatabaseParametersValueChangedEnum `mandatory:"false" contributesTo:"query" name:"valueChanged" omitEmpty:"true"`
-
- // The optional query parameter to filter the database parameters that had the default value in the last snapshot.
- ValueDefault SummarizeAwrDatabaseParametersValueDefaultEnum `mandatory:"false" contributesTo:"query" name:"valueDefault" omitEmpty:"true"`
-
- // The optional query parameter to filter the database parameters that had a modified value in the last snapshot.
- ValueModified SummarizeAwrDatabaseParametersValueModifiedEnum `mandatory:"false" contributesTo:"query" name:"valueModified" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR database parameter change history data.
- SortBy SummarizeAwrDatabaseParametersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseParametersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseParametersRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseParametersRequest) 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 SummarizeAwrDatabaseParametersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseParametersRequest) 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 SummarizeAwrDatabaseParametersRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseParametersValueChangedEnum(string(request.ValueChanged)); !ok && request.ValueChanged != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ValueChanged: %s. Supported values are: %s.", request.ValueChanged, strings.Join(GetSummarizeAwrDatabaseParametersValueChangedEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseParametersValueDefaultEnum(string(request.ValueDefault)); !ok && request.ValueDefault != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ValueDefault: %s. Supported values are: %s.", request.ValueDefault, strings.Join(GetSummarizeAwrDatabaseParametersValueDefaultEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseParametersValueModifiedEnum(string(request.ValueModified)); !ok && request.ValueModified != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ValueModified: %s. Supported values are: %s.", request.ValueModified, strings.Join(GetSummarizeAwrDatabaseParametersValueModifiedEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseParametersSortByEnum(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(GetSummarizeAwrDatabaseParametersSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseParametersSortOrderEnum(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(GetSummarizeAwrDatabaseParametersSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseParametersResponse wrapper for the SummarizeAwrDatabaseParameters operation
-type SummarizeAwrDatabaseParametersResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseParameterCollection instances
- AwrDatabaseParameterCollection `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 SummarizeAwrDatabaseParametersResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseParametersResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseParametersValueChangedEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParametersValueChangedEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParametersValueChangedEnum
-const (
- SummarizeAwrDatabaseParametersValueChangedY SummarizeAwrDatabaseParametersValueChangedEnum = "Y"
- SummarizeAwrDatabaseParametersValueChangedN SummarizeAwrDatabaseParametersValueChangedEnum = "N"
-)
-
-var mappingSummarizeAwrDatabaseParametersValueChangedEnum = map[string]SummarizeAwrDatabaseParametersValueChangedEnum{
- "Y": SummarizeAwrDatabaseParametersValueChangedY,
- "N": SummarizeAwrDatabaseParametersValueChangedN,
-}
-
-var mappingSummarizeAwrDatabaseParametersValueChangedEnumLowerCase = map[string]SummarizeAwrDatabaseParametersValueChangedEnum{
- "y": SummarizeAwrDatabaseParametersValueChangedY,
- "n": SummarizeAwrDatabaseParametersValueChangedN,
-}
-
-// GetSummarizeAwrDatabaseParametersValueChangedEnumValues Enumerates the set of values for SummarizeAwrDatabaseParametersValueChangedEnum
-func GetSummarizeAwrDatabaseParametersValueChangedEnumValues() []SummarizeAwrDatabaseParametersValueChangedEnum {
- values := make([]SummarizeAwrDatabaseParametersValueChangedEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParametersValueChangedEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParametersValueChangedEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueChangedEnum
-func GetSummarizeAwrDatabaseParametersValueChangedEnumStringValues() []string {
- return []string{
- "Y",
- "N",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParametersValueChangedEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParametersValueChangedEnum(val string) (SummarizeAwrDatabaseParametersValueChangedEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParametersValueChangedEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseParametersValueDefaultEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParametersValueDefaultEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParametersValueDefaultEnum
-const (
- SummarizeAwrDatabaseParametersValueDefaultTrue SummarizeAwrDatabaseParametersValueDefaultEnum = "TRUE"
- SummarizeAwrDatabaseParametersValueDefaultFalse SummarizeAwrDatabaseParametersValueDefaultEnum = "FALSE"
-)
-
-var mappingSummarizeAwrDatabaseParametersValueDefaultEnum = map[string]SummarizeAwrDatabaseParametersValueDefaultEnum{
- "TRUE": SummarizeAwrDatabaseParametersValueDefaultTrue,
- "FALSE": SummarizeAwrDatabaseParametersValueDefaultFalse,
-}
-
-var mappingSummarizeAwrDatabaseParametersValueDefaultEnumLowerCase = map[string]SummarizeAwrDatabaseParametersValueDefaultEnum{
- "true": SummarizeAwrDatabaseParametersValueDefaultTrue,
- "false": SummarizeAwrDatabaseParametersValueDefaultFalse,
-}
-
-// GetSummarizeAwrDatabaseParametersValueDefaultEnumValues Enumerates the set of values for SummarizeAwrDatabaseParametersValueDefaultEnum
-func GetSummarizeAwrDatabaseParametersValueDefaultEnumValues() []SummarizeAwrDatabaseParametersValueDefaultEnum {
- values := make([]SummarizeAwrDatabaseParametersValueDefaultEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParametersValueDefaultEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParametersValueDefaultEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueDefaultEnum
-func GetSummarizeAwrDatabaseParametersValueDefaultEnumStringValues() []string {
- return []string{
- "TRUE",
- "FALSE",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParametersValueDefaultEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParametersValueDefaultEnum(val string) (SummarizeAwrDatabaseParametersValueDefaultEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParametersValueDefaultEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseParametersValueModifiedEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParametersValueModifiedEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParametersValueModifiedEnum
-const (
- SummarizeAwrDatabaseParametersValueModifiedModified SummarizeAwrDatabaseParametersValueModifiedEnum = "MODIFIED"
- SummarizeAwrDatabaseParametersValueModifiedSystemMod SummarizeAwrDatabaseParametersValueModifiedEnum = "SYSTEM_MOD"
- SummarizeAwrDatabaseParametersValueModifiedFalse SummarizeAwrDatabaseParametersValueModifiedEnum = "FALSE"
-)
-
-var mappingSummarizeAwrDatabaseParametersValueModifiedEnum = map[string]SummarizeAwrDatabaseParametersValueModifiedEnum{
- "MODIFIED": SummarizeAwrDatabaseParametersValueModifiedModified,
- "SYSTEM_MOD": SummarizeAwrDatabaseParametersValueModifiedSystemMod,
- "FALSE": SummarizeAwrDatabaseParametersValueModifiedFalse,
-}
-
-var mappingSummarizeAwrDatabaseParametersValueModifiedEnumLowerCase = map[string]SummarizeAwrDatabaseParametersValueModifiedEnum{
- "modified": SummarizeAwrDatabaseParametersValueModifiedModified,
- "system_mod": SummarizeAwrDatabaseParametersValueModifiedSystemMod,
- "false": SummarizeAwrDatabaseParametersValueModifiedFalse,
-}
-
-// GetSummarizeAwrDatabaseParametersValueModifiedEnumValues Enumerates the set of values for SummarizeAwrDatabaseParametersValueModifiedEnum
-func GetSummarizeAwrDatabaseParametersValueModifiedEnumValues() []SummarizeAwrDatabaseParametersValueModifiedEnum {
- values := make([]SummarizeAwrDatabaseParametersValueModifiedEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParametersValueModifiedEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParametersValueModifiedEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersValueModifiedEnum
-func GetSummarizeAwrDatabaseParametersValueModifiedEnumStringValues() []string {
- return []string{
- "MODIFIED",
- "SYSTEM_MOD",
- "FALSE",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParametersValueModifiedEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParametersValueModifiedEnum(val string) (SummarizeAwrDatabaseParametersValueModifiedEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParametersValueModifiedEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseParametersSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParametersSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParametersSortByEnum
-const (
- SummarizeAwrDatabaseParametersSortByIsChanged SummarizeAwrDatabaseParametersSortByEnum = "IS_CHANGED"
- SummarizeAwrDatabaseParametersSortByName SummarizeAwrDatabaseParametersSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseParametersSortByEnum = map[string]SummarizeAwrDatabaseParametersSortByEnum{
- "IS_CHANGED": SummarizeAwrDatabaseParametersSortByIsChanged,
- "NAME": SummarizeAwrDatabaseParametersSortByName,
-}
-
-var mappingSummarizeAwrDatabaseParametersSortByEnumLowerCase = map[string]SummarizeAwrDatabaseParametersSortByEnum{
- "is_changed": SummarizeAwrDatabaseParametersSortByIsChanged,
- "name": SummarizeAwrDatabaseParametersSortByName,
-}
-
-// GetSummarizeAwrDatabaseParametersSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseParametersSortByEnum
-func GetSummarizeAwrDatabaseParametersSortByEnumValues() []SummarizeAwrDatabaseParametersSortByEnum {
- values := make([]SummarizeAwrDatabaseParametersSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParametersSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParametersSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersSortByEnum
-func GetSummarizeAwrDatabaseParametersSortByEnumStringValues() []string {
- return []string{
- "IS_CHANGED",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParametersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParametersSortByEnum(val string) (SummarizeAwrDatabaseParametersSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParametersSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseParametersSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseParametersSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseParametersSortOrderEnum
-const (
- SummarizeAwrDatabaseParametersSortOrderAsc SummarizeAwrDatabaseParametersSortOrderEnum = "ASC"
- SummarizeAwrDatabaseParametersSortOrderDesc SummarizeAwrDatabaseParametersSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseParametersSortOrderEnum = map[string]SummarizeAwrDatabaseParametersSortOrderEnum{
- "ASC": SummarizeAwrDatabaseParametersSortOrderAsc,
- "DESC": SummarizeAwrDatabaseParametersSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseParametersSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseParametersSortOrderEnum{
- "asc": SummarizeAwrDatabaseParametersSortOrderAsc,
- "desc": SummarizeAwrDatabaseParametersSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseParametersSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseParametersSortOrderEnum
-func GetSummarizeAwrDatabaseParametersSortOrderEnumValues() []SummarizeAwrDatabaseParametersSortOrderEnum {
- values := make([]SummarizeAwrDatabaseParametersSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseParametersSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseParametersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseParametersSortOrderEnum
-func GetSummarizeAwrDatabaseParametersSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseParametersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseParametersSortOrderEnum(val string) (SummarizeAwrDatabaseParametersSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseParametersSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_snapshot_ranges_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_snapshot_ranges_request_response.go
deleted file mode 100644
index 7f0a33a7c78..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_snapshot_ranges_request_response.go
+++ /dev/null
@@ -1,213 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseSnapshotRangesRequest wrapper for the SummarizeAwrDatabaseSnapshotRanges operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseSnapshotRanges.go.html to see an example of how to use SummarizeAwrDatabaseSnapshotRangesRequest.
-type SummarizeAwrDatabaseSnapshotRangesRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The optional single value query parameter to filter the entity name.
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the AWR summary data.
- SortBy SummarizeAwrDatabaseSnapshotRangesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseSnapshotRangesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseSnapshotRangesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseSnapshotRangesRequest) 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 SummarizeAwrDatabaseSnapshotRangesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseSnapshotRangesRequest) 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 SummarizeAwrDatabaseSnapshotRangesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseSnapshotRangesSortByEnum(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(GetSummarizeAwrDatabaseSnapshotRangesSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnum(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(GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseSnapshotRangesResponse wrapper for the SummarizeAwrDatabaseSnapshotRanges operation
-type SummarizeAwrDatabaseSnapshotRangesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseSnapshotRangeCollection instances
- AwrDatabaseSnapshotRangeCollection `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 SummarizeAwrDatabaseSnapshotRangesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseSnapshotRangesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseSnapshotRangesSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseSnapshotRangesSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseSnapshotRangesSortByEnum
-const (
- SummarizeAwrDatabaseSnapshotRangesSortByEndIntervalTime SummarizeAwrDatabaseSnapshotRangesSortByEnum = "END_INTERVAL_TIME"
- SummarizeAwrDatabaseSnapshotRangesSortByName SummarizeAwrDatabaseSnapshotRangesSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseSnapshotRangesSortByEnum = map[string]SummarizeAwrDatabaseSnapshotRangesSortByEnum{
- "END_INTERVAL_TIME": SummarizeAwrDatabaseSnapshotRangesSortByEndIntervalTime,
- "NAME": SummarizeAwrDatabaseSnapshotRangesSortByName,
-}
-
-var mappingSummarizeAwrDatabaseSnapshotRangesSortByEnumLowerCase = map[string]SummarizeAwrDatabaseSnapshotRangesSortByEnum{
- "end_interval_time": SummarizeAwrDatabaseSnapshotRangesSortByEndIntervalTime,
- "name": SummarizeAwrDatabaseSnapshotRangesSortByName,
-}
-
-// GetSummarizeAwrDatabaseSnapshotRangesSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseSnapshotRangesSortByEnum
-func GetSummarizeAwrDatabaseSnapshotRangesSortByEnumValues() []SummarizeAwrDatabaseSnapshotRangesSortByEnum {
- values := make([]SummarizeAwrDatabaseSnapshotRangesSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseSnapshotRangesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseSnapshotRangesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSnapshotRangesSortByEnum
-func GetSummarizeAwrDatabaseSnapshotRangesSortByEnumStringValues() []string {
- return []string{
- "END_INTERVAL_TIME",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseSnapshotRangesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseSnapshotRangesSortByEnum(val string) (SummarizeAwrDatabaseSnapshotRangesSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseSnapshotRangesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseSnapshotRangesSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseSnapshotRangesSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseSnapshotRangesSortOrderEnum
-const (
- SummarizeAwrDatabaseSnapshotRangesSortOrderAsc SummarizeAwrDatabaseSnapshotRangesSortOrderEnum = "ASC"
- SummarizeAwrDatabaseSnapshotRangesSortOrderDesc SummarizeAwrDatabaseSnapshotRangesSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnum = map[string]SummarizeAwrDatabaseSnapshotRangesSortOrderEnum{
- "ASC": SummarizeAwrDatabaseSnapshotRangesSortOrderAsc,
- "DESC": SummarizeAwrDatabaseSnapshotRangesSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseSnapshotRangesSortOrderEnum{
- "asc": SummarizeAwrDatabaseSnapshotRangesSortOrderAsc,
- "desc": SummarizeAwrDatabaseSnapshotRangesSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseSnapshotRangesSortOrderEnum
-func GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumValues() []SummarizeAwrDatabaseSnapshotRangesSortOrderEnum {
- values := make([]SummarizeAwrDatabaseSnapshotRangesSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSnapshotRangesSortOrderEnum
-func GetSummarizeAwrDatabaseSnapshotRangesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnum(val string) (SummarizeAwrDatabaseSnapshotRangesSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseSnapshotRangesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_sysstats_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_sysstats_request_response.go
deleted file mode 100644
index d86aac9b080..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_sysstats_request_response.go
+++ /dev/null
@@ -1,227 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseSysstatsRequest wrapper for the SummarizeAwrDatabaseSysstats operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseSysstats.go.html to see an example of how to use SummarizeAwrDatabaseSysstatsRequest.
-type SummarizeAwrDatabaseSysstatsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The required multiple value query parameter to filter the entity name.
- Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the data within a time period.
- SortBy SummarizeAwrDatabaseSysstatsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseSysstatsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseSysstatsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseSysstatsRequest) 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 SummarizeAwrDatabaseSysstatsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseSysstatsRequest) 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 SummarizeAwrDatabaseSysstatsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseSysstatsSortByEnum(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(GetSummarizeAwrDatabaseSysstatsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseSysstatsSortOrderEnum(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(GetSummarizeAwrDatabaseSysstatsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseSysstatsResponse wrapper for the SummarizeAwrDatabaseSysstats operation
-type SummarizeAwrDatabaseSysstatsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseSysstatCollection instances
- AwrDatabaseSysstatCollection `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 SummarizeAwrDatabaseSysstatsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseSysstatsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseSysstatsSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseSysstatsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseSysstatsSortByEnum
-const (
- SummarizeAwrDatabaseSysstatsSortByTimeBegin SummarizeAwrDatabaseSysstatsSortByEnum = "TIME_BEGIN"
- SummarizeAwrDatabaseSysstatsSortByName SummarizeAwrDatabaseSysstatsSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseSysstatsSortByEnum = map[string]SummarizeAwrDatabaseSysstatsSortByEnum{
- "TIME_BEGIN": SummarizeAwrDatabaseSysstatsSortByTimeBegin,
- "NAME": SummarizeAwrDatabaseSysstatsSortByName,
-}
-
-var mappingSummarizeAwrDatabaseSysstatsSortByEnumLowerCase = map[string]SummarizeAwrDatabaseSysstatsSortByEnum{
- "time_begin": SummarizeAwrDatabaseSysstatsSortByTimeBegin,
- "name": SummarizeAwrDatabaseSysstatsSortByName,
-}
-
-// GetSummarizeAwrDatabaseSysstatsSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseSysstatsSortByEnum
-func GetSummarizeAwrDatabaseSysstatsSortByEnumValues() []SummarizeAwrDatabaseSysstatsSortByEnum {
- values := make([]SummarizeAwrDatabaseSysstatsSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseSysstatsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseSysstatsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSysstatsSortByEnum
-func GetSummarizeAwrDatabaseSysstatsSortByEnumStringValues() []string {
- return []string{
- "TIME_BEGIN",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseSysstatsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseSysstatsSortByEnum(val string) (SummarizeAwrDatabaseSysstatsSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseSysstatsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseSysstatsSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseSysstatsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseSysstatsSortOrderEnum
-const (
- SummarizeAwrDatabaseSysstatsSortOrderAsc SummarizeAwrDatabaseSysstatsSortOrderEnum = "ASC"
- SummarizeAwrDatabaseSysstatsSortOrderDesc SummarizeAwrDatabaseSysstatsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseSysstatsSortOrderEnum = map[string]SummarizeAwrDatabaseSysstatsSortOrderEnum{
- "ASC": SummarizeAwrDatabaseSysstatsSortOrderAsc,
- "DESC": SummarizeAwrDatabaseSysstatsSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseSysstatsSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseSysstatsSortOrderEnum{
- "asc": SummarizeAwrDatabaseSysstatsSortOrderAsc,
- "desc": SummarizeAwrDatabaseSysstatsSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseSysstatsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseSysstatsSortOrderEnum
-func GetSummarizeAwrDatabaseSysstatsSortOrderEnumValues() []SummarizeAwrDatabaseSysstatsSortOrderEnum {
- values := make([]SummarizeAwrDatabaseSysstatsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseSysstatsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseSysstatsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseSysstatsSortOrderEnum
-func GetSummarizeAwrDatabaseSysstatsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseSysstatsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseSysstatsSortOrderEnum(val string) (SummarizeAwrDatabaseSysstatsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseSysstatsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_top_wait_events_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_top_wait_events_request_response.go
deleted file mode 100644
index 9a815975e84..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_top_wait_events_request_response.go
+++ /dev/null
@@ -1,267 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseTopWaitEventsRequest wrapper for the SummarizeAwrDatabaseTopWaitEvents operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseTopWaitEvents.go.html to see an example of how to use SummarizeAwrDatabaseTopWaitEventsRequest.
-type SummarizeAwrDatabaseTopWaitEventsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND.
- SessionType SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"`
-
- // The optional query parameter to filter the number of top categories to be returned.
- TopN *int `mandatory:"false" contributesTo:"query" name:"topN"`
-
- // The option to sort the AWR top event summary data.
- SortBy SummarizeAwrDatabaseTopWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseTopWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseTopWaitEventsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseTopWaitEventsRequest) 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 SummarizeAwrDatabaseTopWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseTopWaitEventsRequest) 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 SummarizeAwrDatabaseTopWaitEventsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnum(string(request.SessionType)); !ok && request.SessionType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SessionType: %s. Supported values are: %s.", request.SessionType, strings.Join(GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseTopWaitEventsSortByEnum(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(GetSummarizeAwrDatabaseTopWaitEventsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnum(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(GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseTopWaitEventsResponse wrapper for the SummarizeAwrDatabaseTopWaitEvents operation
-type SummarizeAwrDatabaseTopWaitEventsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The AwrDatabaseTopWaitEventCollection instance
- AwrDatabaseTopWaitEventCollection `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 SummarizeAwrDatabaseTopWaitEventsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseTopWaitEventsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum Enum with underlying type: string
-type SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum
-const (
- SummarizeAwrDatabaseTopWaitEventsSessionTypeForeground SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum = "FOREGROUND"
- SummarizeAwrDatabaseTopWaitEventsSessionTypeBackground SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum = "BACKGROUND"
- SummarizeAwrDatabaseTopWaitEventsSessionTypeAll SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum = "ALL"
-)
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnum = map[string]SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum{
- "FOREGROUND": SummarizeAwrDatabaseTopWaitEventsSessionTypeForeground,
- "BACKGROUND": SummarizeAwrDatabaseTopWaitEventsSessionTypeBackground,
- "ALL": SummarizeAwrDatabaseTopWaitEventsSessionTypeAll,
-}
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumLowerCase = map[string]SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum{
- "foreground": SummarizeAwrDatabaseTopWaitEventsSessionTypeForeground,
- "background": SummarizeAwrDatabaseTopWaitEventsSessionTypeBackground,
- "all": SummarizeAwrDatabaseTopWaitEventsSessionTypeAll,
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumValues() []SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum {
- values := make([]SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumStringValues() []string {
- return []string{
- "FOREGROUND",
- "BACKGROUND",
- "ALL",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnum(val string) (SummarizeAwrDatabaseTopWaitEventsSessionTypeEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseTopWaitEventsSessionTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseTopWaitEventsSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseTopWaitEventsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseTopWaitEventsSortByEnum
-const (
- SummarizeAwrDatabaseTopWaitEventsSortByWaitsPersec SummarizeAwrDatabaseTopWaitEventsSortByEnum = "WAITS_PERSEC"
- SummarizeAwrDatabaseTopWaitEventsSortByAvgWaitTimePersec SummarizeAwrDatabaseTopWaitEventsSortByEnum = "AVG_WAIT_TIME_PERSEC"
-)
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSortByEnum = map[string]SummarizeAwrDatabaseTopWaitEventsSortByEnum{
- "WAITS_PERSEC": SummarizeAwrDatabaseTopWaitEventsSortByWaitsPersec,
- "AVG_WAIT_TIME_PERSEC": SummarizeAwrDatabaseTopWaitEventsSortByAvgWaitTimePersec,
-}
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSortByEnumLowerCase = map[string]SummarizeAwrDatabaseTopWaitEventsSortByEnum{
- "waits_persec": SummarizeAwrDatabaseTopWaitEventsSortByWaitsPersec,
- "avg_wait_time_persec": SummarizeAwrDatabaseTopWaitEventsSortByAvgWaitTimePersec,
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseTopWaitEventsSortByEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSortByEnumValues() []SummarizeAwrDatabaseTopWaitEventsSortByEnum {
- values := make([]SummarizeAwrDatabaseTopWaitEventsSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseTopWaitEventsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSortByEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSortByEnumStringValues() []string {
- return []string{
- "WAITS_PERSEC",
- "AVG_WAIT_TIME_PERSEC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseTopWaitEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseTopWaitEventsSortByEnum(val string) (SummarizeAwrDatabaseTopWaitEventsSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseTopWaitEventsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseTopWaitEventsSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseTopWaitEventsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseTopWaitEventsSortOrderEnum
-const (
- SummarizeAwrDatabaseTopWaitEventsSortOrderAsc SummarizeAwrDatabaseTopWaitEventsSortOrderEnum = "ASC"
- SummarizeAwrDatabaseTopWaitEventsSortOrderDesc SummarizeAwrDatabaseTopWaitEventsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnum = map[string]SummarizeAwrDatabaseTopWaitEventsSortOrderEnum{
- "ASC": SummarizeAwrDatabaseTopWaitEventsSortOrderAsc,
- "DESC": SummarizeAwrDatabaseTopWaitEventsSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseTopWaitEventsSortOrderEnum{
- "asc": SummarizeAwrDatabaseTopWaitEventsSortOrderAsc,
- "desc": SummarizeAwrDatabaseTopWaitEventsSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseTopWaitEventsSortOrderEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumValues() []SummarizeAwrDatabaseTopWaitEventsSortOrderEnum {
- values := make([]SummarizeAwrDatabaseTopWaitEventsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseTopWaitEventsSortOrderEnum
-func GetSummarizeAwrDatabaseTopWaitEventsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnum(val string) (SummarizeAwrDatabaseTopWaitEventsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseTopWaitEventsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_event_buckets_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_event_buckets_request_response.go
deleted file mode 100644
index a7c3772d84c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_event_buckets_request_response.go
+++ /dev/null
@@ -1,236 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseWaitEventBucketsRequest wrapper for the SummarizeAwrDatabaseWaitEventBuckets operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseWaitEventBuckets.go.html to see an example of how to use SummarizeAwrDatabaseWaitEventBucketsRequest.
-type SummarizeAwrDatabaseWaitEventBucketsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The required single value query parameter to filter the entity name.
- Name *string `mandatory:"true" contributesTo:"query" name:"name"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The number of buckets within the histogram.
- NumBucket *int `mandatory:"false" contributesTo:"query" name:"numBucket"`
-
- // The minimum value of the histogram.
- MinValue *float64 `mandatory:"false" contributesTo:"query" name:"minValue"`
-
- // The maximum value of the histogram.
- MaxValue *float64 `mandatory:"false" contributesTo:"query" name:"maxValue"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort distribution data.
- SortBy SummarizeAwrDatabaseWaitEventBucketsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseWaitEventBucketsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseWaitEventBucketsRequest) 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 SummarizeAwrDatabaseWaitEventBucketsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseWaitEventBucketsRequest) 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 SummarizeAwrDatabaseWaitEventBucketsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseWaitEventBucketsSortByEnum(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(GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnum(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(GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseWaitEventBucketsResponse wrapper for the SummarizeAwrDatabaseWaitEventBuckets operation
-type SummarizeAwrDatabaseWaitEventBucketsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseWaitEventBucketCollection instances
- AwrDatabaseWaitEventBucketCollection `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 SummarizeAwrDatabaseWaitEventBucketsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseWaitEventBucketsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseWaitEventBucketsSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseWaitEventBucketsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseWaitEventBucketsSortByEnum
-const (
- SummarizeAwrDatabaseWaitEventBucketsSortByCategory SummarizeAwrDatabaseWaitEventBucketsSortByEnum = "CATEGORY"
- SummarizeAwrDatabaseWaitEventBucketsSortByPercentage SummarizeAwrDatabaseWaitEventBucketsSortByEnum = "PERCENTAGE"
-)
-
-var mappingSummarizeAwrDatabaseWaitEventBucketsSortByEnum = map[string]SummarizeAwrDatabaseWaitEventBucketsSortByEnum{
- "CATEGORY": SummarizeAwrDatabaseWaitEventBucketsSortByCategory,
- "PERCENTAGE": SummarizeAwrDatabaseWaitEventBucketsSortByPercentage,
-}
-
-var mappingSummarizeAwrDatabaseWaitEventBucketsSortByEnumLowerCase = map[string]SummarizeAwrDatabaseWaitEventBucketsSortByEnum{
- "category": SummarizeAwrDatabaseWaitEventBucketsSortByCategory,
- "percentage": SummarizeAwrDatabaseWaitEventBucketsSortByPercentage,
-}
-
-// GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseWaitEventBucketsSortByEnum
-func GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumValues() []SummarizeAwrDatabaseWaitEventBucketsSortByEnum {
- values := make([]SummarizeAwrDatabaseWaitEventBucketsSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseWaitEventBucketsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventBucketsSortByEnum
-func GetSummarizeAwrDatabaseWaitEventBucketsSortByEnumStringValues() []string {
- return []string{
- "CATEGORY",
- "PERCENTAGE",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseWaitEventBucketsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseWaitEventBucketsSortByEnum(val string) (SummarizeAwrDatabaseWaitEventBucketsSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseWaitEventBucketsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum
-const (
- SummarizeAwrDatabaseWaitEventBucketsSortOrderAsc SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum = "ASC"
- SummarizeAwrDatabaseWaitEventBucketsSortOrderDesc SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnum = map[string]SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum{
- "ASC": SummarizeAwrDatabaseWaitEventBucketsSortOrderAsc,
- "DESC": SummarizeAwrDatabaseWaitEventBucketsSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum{
- "asc": SummarizeAwrDatabaseWaitEventBucketsSortOrderAsc,
- "desc": SummarizeAwrDatabaseWaitEventBucketsSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum
-func GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumValues() []SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum {
- values := make([]SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum
-func GetSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnum(val string) (SummarizeAwrDatabaseWaitEventBucketsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseWaitEventBucketsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_events_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_events_request_response.go
deleted file mode 100644
index 0118fe488dd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_database_wait_events_request_response.go
+++ /dev/null
@@ -1,279 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrDatabaseWaitEventsRequest wrapper for the SummarizeAwrDatabaseWaitEvents operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrDatabaseWaitEvents.go.html to see an example of how to use SummarizeAwrDatabaseWaitEventsRequest.
-type SummarizeAwrDatabaseWaitEventsRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The internal ID of the database. The internal ID of the database is not the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
- // It can be retrieved from the following endpoint:
- // /awrHubs/{awrHubId}/awrDatabases
- AwrSourceDatabaseIdentifier *string `mandatory:"true" contributesTo:"query" name:"awrSourceDatabaseIdentifier"`
-
- // The optional single value query parameter to filter by database instance number.
- InstanceNumber *string `mandatory:"false" contributesTo:"query" name:"instanceNumber"`
-
- // The optional greater than or equal to filter on the snapshot ID.
- BeginSnapshotIdentifierGreaterThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"beginSnapshotIdentifierGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the snapshot Identifier.
- EndSnapshotIdentifierLessThanOrEqualTo *int `mandatory:"false" contributesTo:"query" name:"endSnapshotIdentifierLessThanOrEqualTo"`
-
- // The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeGreaterThanOrEqualTo"`
-
- // The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z
- TimeLessThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeLessThanOrEqualTo"`
-
- // The optional multiple value query parameter to filter the entity name.
- Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`
-
- // The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND.
- SessionType SummarizeAwrDatabaseWaitEventsSessionTypeEnum `mandatory:"false" contributesTo:"query" name:"sessionType" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The option to sort the data within a time period.
- SortBy SummarizeAwrDatabaseWaitEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrDatabaseWaitEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrDatabaseWaitEventsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrDatabaseWaitEventsRequest) 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 SummarizeAwrDatabaseWaitEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrDatabaseWaitEventsRequest) 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 SummarizeAwrDatabaseWaitEventsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrDatabaseWaitEventsSessionTypeEnum(string(request.SessionType)); !ok && request.SessionType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for SessionType: %s. Supported values are: %s.", request.SessionType, strings.Join(GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseWaitEventsSortByEnum(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(GetSummarizeAwrDatabaseWaitEventsSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrDatabaseWaitEventsSortOrderEnum(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(GetSummarizeAwrDatabaseWaitEventsSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrDatabaseWaitEventsResponse wrapper for the SummarizeAwrDatabaseWaitEvents operation
-type SummarizeAwrDatabaseWaitEventsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of AwrDatabaseWaitEventCollection instances
- AwrDatabaseWaitEventCollection `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 SummarizeAwrDatabaseWaitEventsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrDatabaseWaitEventsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrDatabaseWaitEventsSessionTypeEnum Enum with underlying type: string
-type SummarizeAwrDatabaseWaitEventsSessionTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseWaitEventsSessionTypeEnum
-const (
- SummarizeAwrDatabaseWaitEventsSessionTypeForeground SummarizeAwrDatabaseWaitEventsSessionTypeEnum = "FOREGROUND"
- SummarizeAwrDatabaseWaitEventsSessionTypeBackground SummarizeAwrDatabaseWaitEventsSessionTypeEnum = "BACKGROUND"
- SummarizeAwrDatabaseWaitEventsSessionTypeAll SummarizeAwrDatabaseWaitEventsSessionTypeEnum = "ALL"
-)
-
-var mappingSummarizeAwrDatabaseWaitEventsSessionTypeEnum = map[string]SummarizeAwrDatabaseWaitEventsSessionTypeEnum{
- "FOREGROUND": SummarizeAwrDatabaseWaitEventsSessionTypeForeground,
- "BACKGROUND": SummarizeAwrDatabaseWaitEventsSessionTypeBackground,
- "ALL": SummarizeAwrDatabaseWaitEventsSessionTypeAll,
-}
-
-var mappingSummarizeAwrDatabaseWaitEventsSessionTypeEnumLowerCase = map[string]SummarizeAwrDatabaseWaitEventsSessionTypeEnum{
- "foreground": SummarizeAwrDatabaseWaitEventsSessionTypeForeground,
- "background": SummarizeAwrDatabaseWaitEventsSessionTypeBackground,
- "all": SummarizeAwrDatabaseWaitEventsSessionTypeAll,
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumValues Enumerates the set of values for SummarizeAwrDatabaseWaitEventsSessionTypeEnum
-func GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumValues() []SummarizeAwrDatabaseWaitEventsSessionTypeEnum {
- values := make([]SummarizeAwrDatabaseWaitEventsSessionTypeEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseWaitEventsSessionTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSessionTypeEnum
-func GetSummarizeAwrDatabaseWaitEventsSessionTypeEnumStringValues() []string {
- return []string{
- "FOREGROUND",
- "BACKGROUND",
- "ALL",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseWaitEventsSessionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseWaitEventsSessionTypeEnum(val string) (SummarizeAwrDatabaseWaitEventsSessionTypeEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseWaitEventsSessionTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseWaitEventsSortByEnum Enum with underlying type: string
-type SummarizeAwrDatabaseWaitEventsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseWaitEventsSortByEnum
-const (
- SummarizeAwrDatabaseWaitEventsSortByTimeBegin SummarizeAwrDatabaseWaitEventsSortByEnum = "TIME_BEGIN"
- SummarizeAwrDatabaseWaitEventsSortByName SummarizeAwrDatabaseWaitEventsSortByEnum = "NAME"
-)
-
-var mappingSummarizeAwrDatabaseWaitEventsSortByEnum = map[string]SummarizeAwrDatabaseWaitEventsSortByEnum{
- "TIME_BEGIN": SummarizeAwrDatabaseWaitEventsSortByTimeBegin,
- "NAME": SummarizeAwrDatabaseWaitEventsSortByName,
-}
-
-var mappingSummarizeAwrDatabaseWaitEventsSortByEnumLowerCase = map[string]SummarizeAwrDatabaseWaitEventsSortByEnum{
- "time_begin": SummarizeAwrDatabaseWaitEventsSortByTimeBegin,
- "name": SummarizeAwrDatabaseWaitEventsSortByName,
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSortByEnumValues Enumerates the set of values for SummarizeAwrDatabaseWaitEventsSortByEnum
-func GetSummarizeAwrDatabaseWaitEventsSortByEnumValues() []SummarizeAwrDatabaseWaitEventsSortByEnum {
- values := make([]SummarizeAwrDatabaseWaitEventsSortByEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseWaitEventsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSortByEnum
-func GetSummarizeAwrDatabaseWaitEventsSortByEnumStringValues() []string {
- return []string{
- "TIME_BEGIN",
- "NAME",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseWaitEventsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseWaitEventsSortByEnum(val string) (SummarizeAwrDatabaseWaitEventsSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseWaitEventsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrDatabaseWaitEventsSortOrderEnum Enum with underlying type: string
-type SummarizeAwrDatabaseWaitEventsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrDatabaseWaitEventsSortOrderEnum
-const (
- SummarizeAwrDatabaseWaitEventsSortOrderAsc SummarizeAwrDatabaseWaitEventsSortOrderEnum = "ASC"
- SummarizeAwrDatabaseWaitEventsSortOrderDesc SummarizeAwrDatabaseWaitEventsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrDatabaseWaitEventsSortOrderEnum = map[string]SummarizeAwrDatabaseWaitEventsSortOrderEnum{
- "ASC": SummarizeAwrDatabaseWaitEventsSortOrderAsc,
- "DESC": SummarizeAwrDatabaseWaitEventsSortOrderDesc,
-}
-
-var mappingSummarizeAwrDatabaseWaitEventsSortOrderEnumLowerCase = map[string]SummarizeAwrDatabaseWaitEventsSortOrderEnum{
- "asc": SummarizeAwrDatabaseWaitEventsSortOrderAsc,
- "desc": SummarizeAwrDatabaseWaitEventsSortOrderDesc,
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSortOrderEnumValues Enumerates the set of values for SummarizeAwrDatabaseWaitEventsSortOrderEnum
-func GetSummarizeAwrDatabaseWaitEventsSortOrderEnumValues() []SummarizeAwrDatabaseWaitEventsSortOrderEnum {
- values := make([]SummarizeAwrDatabaseWaitEventsSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrDatabaseWaitEventsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrDatabaseWaitEventsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrDatabaseWaitEventsSortOrderEnum
-func GetSummarizeAwrDatabaseWaitEventsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrDatabaseWaitEventsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrDatabaseWaitEventsSortOrderEnum(val string) (SummarizeAwrDatabaseWaitEventsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrDatabaseWaitEventsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_collection.go
deleted file mode 100644
index f2beaa258cf..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeAwrSourcesSummariesCollection Collection of AwrSource summary objects.
-type SummarizeAwrSourcesSummariesCollection struct {
-
- // Array of AwrSource summary objects.
- Items []AwrSourceSummary `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeAwrSourcesSummariesCollection) 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 SummarizeAwrSourcesSummariesCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_request_response.go
deleted file mode 100644
index dd6c10710a8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_awr_sources_summaries_request_response.go
+++ /dev/null
@@ -1,210 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeAwrSourcesSummariesRequest wrapper for the SummarizeAwrSourcesSummaries operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeAwrSourcesSummaries.go.html to see an example of how to use SummarizeAwrSourcesSummariesRequest.
-type SummarizeAwrSourcesSummariesRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Name for an Awr source database
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The order in which Awr sources summary records are listed
- SortBy SummarizeAwrSourcesSummariesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeAwrSourcesSummariesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" 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"`
-
- // 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 SummarizeAwrSourcesSummariesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeAwrSourcesSummariesRequest) 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 SummarizeAwrSourcesSummariesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeAwrSourcesSummariesRequest) 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 SummarizeAwrSourcesSummariesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeAwrSourcesSummariesSortByEnum(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(GetSummarizeAwrSourcesSummariesSortByEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeAwrSourcesSummariesSortOrderEnum(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(GetSummarizeAwrSourcesSummariesSortOrderEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeAwrSourcesSummariesResponse wrapper for the SummarizeAwrSourcesSummaries operation
-type SummarizeAwrSourcesSummariesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeAwrSourcesSummariesCollection instances
- SummarizeAwrSourcesSummariesCollection `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 SummarizeAwrSourcesSummariesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeAwrSourcesSummariesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeAwrSourcesSummariesSortByEnum Enum with underlying type: string
-type SummarizeAwrSourcesSummariesSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrSourcesSummariesSortByEnum
-const (
- SummarizeAwrSourcesSummariesSortBySnapshotsuploaded SummarizeAwrSourcesSummariesSortByEnum = "snapshotsUploaded"
- SummarizeAwrSourcesSummariesSortByName SummarizeAwrSourcesSummariesSortByEnum = "name"
-)
-
-var mappingSummarizeAwrSourcesSummariesSortByEnum = map[string]SummarizeAwrSourcesSummariesSortByEnum{
- "snapshotsUploaded": SummarizeAwrSourcesSummariesSortBySnapshotsuploaded,
- "name": SummarizeAwrSourcesSummariesSortByName,
-}
-
-var mappingSummarizeAwrSourcesSummariesSortByEnumLowerCase = map[string]SummarizeAwrSourcesSummariesSortByEnum{
- "snapshotsuploaded": SummarizeAwrSourcesSummariesSortBySnapshotsuploaded,
- "name": SummarizeAwrSourcesSummariesSortByName,
-}
-
-// GetSummarizeAwrSourcesSummariesSortByEnumValues Enumerates the set of values for SummarizeAwrSourcesSummariesSortByEnum
-func GetSummarizeAwrSourcesSummariesSortByEnumValues() []SummarizeAwrSourcesSummariesSortByEnum {
- values := make([]SummarizeAwrSourcesSummariesSortByEnum, 0)
- for _, v := range mappingSummarizeAwrSourcesSummariesSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrSourcesSummariesSortByEnumStringValues Enumerates the set of values in String for SummarizeAwrSourcesSummariesSortByEnum
-func GetSummarizeAwrSourcesSummariesSortByEnumStringValues() []string {
- return []string{
- "snapshotsUploaded",
- "name",
- }
-}
-
-// GetMappingSummarizeAwrSourcesSummariesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrSourcesSummariesSortByEnum(val string) (SummarizeAwrSourcesSummariesSortByEnum, bool) {
- enum, ok := mappingSummarizeAwrSourcesSummariesSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeAwrSourcesSummariesSortOrderEnum Enum with underlying type: string
-type SummarizeAwrSourcesSummariesSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeAwrSourcesSummariesSortOrderEnum
-const (
- SummarizeAwrSourcesSummariesSortOrderAsc SummarizeAwrSourcesSummariesSortOrderEnum = "ASC"
- SummarizeAwrSourcesSummariesSortOrderDesc SummarizeAwrSourcesSummariesSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeAwrSourcesSummariesSortOrderEnum = map[string]SummarizeAwrSourcesSummariesSortOrderEnum{
- "ASC": SummarizeAwrSourcesSummariesSortOrderAsc,
- "DESC": SummarizeAwrSourcesSummariesSortOrderDesc,
-}
-
-var mappingSummarizeAwrSourcesSummariesSortOrderEnumLowerCase = map[string]SummarizeAwrSourcesSummariesSortOrderEnum{
- "asc": SummarizeAwrSourcesSummariesSortOrderAsc,
- "desc": SummarizeAwrSourcesSummariesSortOrderDesc,
-}
-
-// GetSummarizeAwrSourcesSummariesSortOrderEnumValues Enumerates the set of values for SummarizeAwrSourcesSummariesSortOrderEnum
-func GetSummarizeAwrSourcesSummariesSortOrderEnumValues() []SummarizeAwrSourcesSummariesSortOrderEnum {
- values := make([]SummarizeAwrSourcesSummariesSortOrderEnum, 0)
- for _, v := range mappingSummarizeAwrSourcesSummariesSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeAwrSourcesSummariesSortOrderEnumStringValues Enumerates the set of values in String for SummarizeAwrSourcesSummariesSortOrderEnum
-func GetSummarizeAwrSourcesSummariesSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeAwrSourcesSummariesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeAwrSourcesSummariesSortOrderEnum(val string) (SummarizeAwrSourcesSummariesSortOrderEnum, bool) {
- enum, ok := mappingSummarizeAwrSourcesSummariesSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_configuration_items_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_configuration_items_request_response.go
deleted file mode 100644
index 4be9e340b7e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_configuration_items_request_response.go
+++ /dev/null
@@ -1,225 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeConfigurationItemsRequest wrapper for the SummarizeConfigurationItems operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeConfigurationItems.go.html to see an example of how to use SummarizeConfigurationItemsRequest.
-type SummarizeConfigurationItemsRequest 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"`
-
- // Filter to return configuration items based on configuration type of OPSI configuration.
- OpsiConfigType SummarizeConfigurationItemsOpsiConfigTypeEnum `mandatory:"false" contributesTo:"query" name:"opsiConfigType" omitEmpty:"true"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Returns the configuration items filtered by applicable contexts sent in this param. By default configuration items of all applicable contexts are returned.
- ConfigItemsApplicableContext []string `contributesTo:"query" name:"configItemsApplicableContext" collectionFormat:"multi"`
-
- // Specifies the fields to return in a config item summary.
- ConfigItemField []SummarizeConfigurationItemsConfigItemFieldEnum `contributesTo:"query" name:"configItemField" omitEmpty:"true" collectionFormat:"multi"`
-
- // A filter to return only configuration items that match the entire name.
- Name *string `mandatory:"false" contributesTo:"query" name:"name"`
-
- // 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"`
-
- // 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 SummarizeConfigurationItemsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeConfigurationItemsRequest) 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 SummarizeConfigurationItemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeConfigurationItemsRequest) 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 SummarizeConfigurationItemsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeConfigurationItemsOpsiConfigTypeEnum(string(request.OpsiConfigType)); !ok && request.OpsiConfigType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OpsiConfigType: %s. Supported values are: %s.", request.OpsiConfigType, strings.Join(GetSummarizeConfigurationItemsOpsiConfigTypeEnumStringValues(), ",")))
- }
- for _, val := range request.ConfigItemField {
- if _, ok := GetMappingSummarizeConfigurationItemsConfigItemFieldEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ConfigItemField: %s. Supported values are: %s.", val, strings.Join(GetSummarizeConfigurationItemsConfigItemFieldEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeConfigurationItemsResponse wrapper for the SummarizeConfigurationItems operation
-type SummarizeConfigurationItemsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ConfigurationItemsCollection instances
- ConfigurationItemsCollection `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 SummarizeConfigurationItemsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeConfigurationItemsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeConfigurationItemsOpsiConfigTypeEnum Enum with underlying type: string
-type SummarizeConfigurationItemsOpsiConfigTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeConfigurationItemsOpsiConfigTypeEnum
-const (
- SummarizeConfigurationItemsOpsiConfigTypeUxConfiguration SummarizeConfigurationItemsOpsiConfigTypeEnum = "UX_CONFIGURATION"
-)
-
-var mappingSummarizeConfigurationItemsOpsiConfigTypeEnum = map[string]SummarizeConfigurationItemsOpsiConfigTypeEnum{
- "UX_CONFIGURATION": SummarizeConfigurationItemsOpsiConfigTypeUxConfiguration,
-}
-
-var mappingSummarizeConfigurationItemsOpsiConfigTypeEnumLowerCase = map[string]SummarizeConfigurationItemsOpsiConfigTypeEnum{
- "ux_configuration": SummarizeConfigurationItemsOpsiConfigTypeUxConfiguration,
-}
-
-// GetSummarizeConfigurationItemsOpsiConfigTypeEnumValues Enumerates the set of values for SummarizeConfigurationItemsOpsiConfigTypeEnum
-func GetSummarizeConfigurationItemsOpsiConfigTypeEnumValues() []SummarizeConfigurationItemsOpsiConfigTypeEnum {
- values := make([]SummarizeConfigurationItemsOpsiConfigTypeEnum, 0)
- for _, v := range mappingSummarizeConfigurationItemsOpsiConfigTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeConfigurationItemsOpsiConfigTypeEnumStringValues Enumerates the set of values in String for SummarizeConfigurationItemsOpsiConfigTypeEnum
-func GetSummarizeConfigurationItemsOpsiConfigTypeEnumStringValues() []string {
- return []string{
- "UX_CONFIGURATION",
- }
-}
-
-// GetMappingSummarizeConfigurationItemsOpsiConfigTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeConfigurationItemsOpsiConfigTypeEnum(val string) (SummarizeConfigurationItemsOpsiConfigTypeEnum, bool) {
- enum, ok := mappingSummarizeConfigurationItemsOpsiConfigTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeConfigurationItemsConfigItemFieldEnum Enum with underlying type: string
-type SummarizeConfigurationItemsConfigItemFieldEnum string
-
-// Set of constants representing the allowable values for SummarizeConfigurationItemsConfigItemFieldEnum
-const (
- SummarizeConfigurationItemsConfigItemFieldName SummarizeConfigurationItemsConfigItemFieldEnum = "name"
- SummarizeConfigurationItemsConfigItemFieldValue SummarizeConfigurationItemsConfigItemFieldEnum = "value"
- SummarizeConfigurationItemsConfigItemFieldDefaultvalue SummarizeConfigurationItemsConfigItemFieldEnum = "defaultValue"
- SummarizeConfigurationItemsConfigItemFieldValuesourceconfig SummarizeConfigurationItemsConfigItemFieldEnum = "valueSourceConfig"
- SummarizeConfigurationItemsConfigItemFieldMetadata SummarizeConfigurationItemsConfigItemFieldEnum = "metadata"
- SummarizeConfigurationItemsConfigItemFieldApplicablecontexts SummarizeConfigurationItemsConfigItemFieldEnum = "applicableContexts"
-)
-
-var mappingSummarizeConfigurationItemsConfigItemFieldEnum = map[string]SummarizeConfigurationItemsConfigItemFieldEnum{
- "name": SummarizeConfigurationItemsConfigItemFieldName,
- "value": SummarizeConfigurationItemsConfigItemFieldValue,
- "defaultValue": SummarizeConfigurationItemsConfigItemFieldDefaultvalue,
- "valueSourceConfig": SummarizeConfigurationItemsConfigItemFieldValuesourceconfig,
- "metadata": SummarizeConfigurationItemsConfigItemFieldMetadata,
- "applicableContexts": SummarizeConfigurationItemsConfigItemFieldApplicablecontexts,
-}
-
-var mappingSummarizeConfigurationItemsConfigItemFieldEnumLowerCase = map[string]SummarizeConfigurationItemsConfigItemFieldEnum{
- "name": SummarizeConfigurationItemsConfigItemFieldName,
- "value": SummarizeConfigurationItemsConfigItemFieldValue,
- "defaultvalue": SummarizeConfigurationItemsConfigItemFieldDefaultvalue,
- "valuesourceconfig": SummarizeConfigurationItemsConfigItemFieldValuesourceconfig,
- "metadata": SummarizeConfigurationItemsConfigItemFieldMetadata,
- "applicablecontexts": SummarizeConfigurationItemsConfigItemFieldApplicablecontexts,
-}
-
-// GetSummarizeConfigurationItemsConfigItemFieldEnumValues Enumerates the set of values for SummarizeConfigurationItemsConfigItemFieldEnum
-func GetSummarizeConfigurationItemsConfigItemFieldEnumValues() []SummarizeConfigurationItemsConfigItemFieldEnum {
- values := make([]SummarizeConfigurationItemsConfigItemFieldEnum, 0)
- for _, v := range mappingSummarizeConfigurationItemsConfigItemFieldEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeConfigurationItemsConfigItemFieldEnumStringValues Enumerates the set of values in String for SummarizeConfigurationItemsConfigItemFieldEnum
-func GetSummarizeConfigurationItemsConfigItemFieldEnumStringValues() []string {
- return []string{
- "name",
- "value",
- "defaultValue",
- "valueSourceConfig",
- "metadata",
- "applicableContexts",
- }
-}
-
-// GetMappingSummarizeConfigurationItemsConfigItemFieldEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeConfigurationItemsConfigItemFieldEnum(val string) (SummarizeConfigurationItemsConfigItemFieldEnum, bool) {
- enum, ok := mappingSummarizeConfigurationItemsConfigItemFieldEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go
deleted file mode 100644
index 226bd459efd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_aggregation_collection.go
+++ /dev/null
@@ -1,180 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection Collection of resource capacity trend.
-type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (example: CPU, STORAGE)
- ResourceMetric SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Capacity Data with time interval
- CapacityData []ResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
-}
-
-func (m SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) 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 SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "IO"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu,
- "STORAGE": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage,
- "IO": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricIo,
- "MEMORY": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory,
- "MEMORY_PGA": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemoryPga,
- "MEMORY_SGA": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemorySga,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu,
- "storage": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage,
- "io": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricIo,
- "memory": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory,
- "memory_pga": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemoryPga,
- "memory_sga": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricMemorySga,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "MEMORY_PGA",
- "MEMORY_SGA",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitCores SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitGb SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitIops SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_request_response.go
deleted file mode 100644
index eb9e00b79a9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_capacity_trend_request_response.go
+++ /dev/null
@@ -1,448 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceCapacityTrendRequest wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceCapacityTrendRequest.
-type SummarizeDatabaseInsightResourceCapacityTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by utilization level by the following buckets:
- // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
- // - LOW_UTILIZATION: DBs with utilization lower than 25.
- // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
- // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
- UtilizationLevel SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Sorts using end timestamp , capacity or baseCapacity
- SortBy SummarizeDatabaseInsightResourceCapacityTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Tablespace name for a database
- TablespaceName *string `mandatory:"false" contributesTo:"query" name:"tablespaceName"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeDatabaseInsightResourceCapacityTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) 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 SummarizeDatabaseInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceCapacityTrendRequest) 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 SummarizeDatabaseInsightResourceCapacityTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum(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(GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum(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(GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnum(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(GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendResponse wrapper for the SummarizeDatabaseInsightResourceCapacityTrend operation
-type SummarizeDatabaseInsightResourceCapacityTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection instances
- SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection `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 SummarizeDatabaseInsightResourceCapacityTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
- SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION"
- SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
- SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum{
- "HIGH_UTILIZATION": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization,
- "LOW_UTILIZATION": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization,
- "MEDIUM_HIGH_UTILIZATION": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization,
- "MEDIUM_LOW_UTILIZATION": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum{
- "high_utilization": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelHighUtilization,
- "low_utilization": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelLowUtilization,
- "medium_high_utilization": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization,
- "medium_low_utilization": SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumStringValues() []string {
- return []string{
- "HIGH_UTILIZATION",
- "LOW_UTILIZATION",
- "MEDIUM_HIGH_UTILIZATION",
- "MEDIUM_LOW_UTILIZATION",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendUtilizationLevelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "ASC"
- SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum{
- "ASC": SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc,
- "DESC": SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum{
- "asc": SummarizeDatabaseInsightResourceCapacityTrendSortOrderAsc,
- "desc": SummarizeDatabaseInsightResourceCapacityTrendSortOrderDesc,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceCapacityTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
-const (
- SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "endTimestamp"
- SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "capacity"
- SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity SummarizeDatabaseInsightResourceCapacityTrendSortByEnum = "baseCapacity"
-)
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnum = map[string]SummarizeDatabaseInsightResourceCapacityTrendSortByEnum{
- "endTimestamp": SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp,
- "capacity": SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity,
- "baseCapacity": SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity,
-}
-
-var mappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnumLowerCase = map[string]SummarizeDatabaseInsightResourceCapacityTrendSortByEnum{
- "endtimestamp": SummarizeDatabaseInsightResourceCapacityTrendSortByEndtimestamp,
- "capacity": SummarizeDatabaseInsightResourceCapacityTrendSortByCapacity,
- "basecapacity": SummarizeDatabaseInsightResourceCapacityTrendSortByBasecapacity,
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumValues() []SummarizeDatabaseInsightResourceCapacityTrendSortByEnum {
- values := make([]SummarizeDatabaseInsightResourceCapacityTrendSortByEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceCapacityTrendSortByEnum
-func GetSummarizeDatabaseInsightResourceCapacityTrendSortByEnumStringValues() []string {
- return []string{
- "endTimestamp",
- "capacity",
- "baseCapacity",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnum(val string) (SummarizeDatabaseInsightResourceCapacityTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceCapacityTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_forecast_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_forecast_trend_request_response.go
deleted file mode 100644
index 54877b45f6c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_forecast_trend_request_response.go
+++ /dev/null
@@ -1,462 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceForecastTrendRequest wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceForecastTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceForecastTrendRequest.
-type SummarizeDatabaseInsightResourceForecastTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeDatabaseInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Choose algorithm model for the forecasting.
- // Possible values:
- // - LINEAR: Uses linear regression algorithm for forecasting.
- // - ML_AUTO: Automatically detects best algorithm to use for forecasting.
- // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
- ForecastModel SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
-
- // Filter by utilization level by the following buckets:
- // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
- // - LOW_UTILIZATION: DBs with utilization lower than 25.
- // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
- // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
- UtilizationLevel SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`
-
- // This parameter is used to change data's confidence level, this data is ingested by the
- // forecast algorithm.
- // Confidence is the probability of an interval to contain the expected population parameter.
- // Manipulation of this value will lead to different results.
- // If not set, default confidence value is 95%.
- Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Tablespace name for a database
- TablespaceName *string `mandatory:"false" contributesTo:"query" name:"tablespaceName"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeDatabaseInsightResourceForecastTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceForecastTrendRequest) 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 SummarizeDatabaseInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceForecastTrendRequest) 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 SummarizeDatabaseInsightResourceForecastTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnum(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(GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnum(string(request.ForecastModel)); !ok && request.ForecastModel != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ForecastModel: %s. Supported values are: %s.", request.ForecastModel, strings.Join(GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum(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(GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceForecastTrendResponse wrapper for the SummarizeDatabaseInsightResourceForecastTrend operation
-type SummarizeDatabaseInsightResourceForecastTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceForecastTrendAggregation instances
- SummarizeDatabaseInsightResourceForecastTrendAggregation `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 SummarizeDatabaseInsightResourceForecastTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceForecastTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceForecastTrendDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceForecastTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
-const (
- SummarizeDatabaseInsightResourceForecastTrendStatisticAvg SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "AVG"
- SummarizeDatabaseInsightResourceForecastTrendStatisticMax SummarizeDatabaseInsightResourceForecastTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnum = map[string]SummarizeDatabaseInsightResourceForecastTrendStatisticEnum{
- "AVG": SummarizeDatabaseInsightResourceForecastTrendStatisticAvg,
- "MAX": SummarizeDatabaseInsightResourceForecastTrendStatisticMax,
-}
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnumLowerCase = map[string]SummarizeDatabaseInsightResourceForecastTrendStatisticEnum{
- "avg": SummarizeDatabaseInsightResourceForecastTrendStatisticAvg,
- "max": SummarizeDatabaseInsightResourceForecastTrendStatisticMax,
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumValues() []SummarizeDatabaseInsightResourceForecastTrendStatisticEnum {
- values := make([]SummarizeDatabaseInsightResourceForecastTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendStatisticEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnum(val string) (SummarizeDatabaseInsightResourceForecastTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceForecastTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
-const (
- SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "LINEAR"
- SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_AUTO"
- SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO"
-)
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnum = map[string]SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum{
- "LINEAR": SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear,
- "ML_AUTO": SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto,
- "ML_NO_AUTO": SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumLowerCase = map[string]SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum{
- "linear": SummarizeDatabaseInsightResourceForecastTrendForecastModelLinear,
- "ml_auto": SummarizeDatabaseInsightResourceForecastTrendForecastModelMlAuto,
- "ml_no_auto": SummarizeDatabaseInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum {
- values := make([]SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumStringValues() []string {
- return []string{
- "LINEAR",
- "ML_AUTO",
- "ML_NO_AUTO",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnum(val string) (SummarizeDatabaseInsightResourceForecastTrendForecastModelEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceForecastTrendForecastModelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
-const (
- SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
- SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION"
- SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
- SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
-)
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum = map[string]SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum{
- "HIGH_UTILIZATION": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization,
- "LOW_UTILIZATION": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization,
- "MEDIUM_HIGH_UTILIZATION": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization,
- "MEDIUM_LOW_UTILIZATION": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization,
-}
-
-var mappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumLowerCase = map[string]SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum{
- "high_utilization": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelHighUtilization,
- "low_utilization": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelLowUtilization,
- "medium_high_utilization": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumHighUtilization,
- "medium_low_utilization": SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelMediumLowUtilization,
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum {
- values := make([]SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum
-func GetSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumStringValues() []string {
- return []string{
- "HIGH_UTILIZATION",
- "LOW_UTILIZATION",
- "MEDIUM_HIGH_UTILIZATION",
- "MEDIUM_LOW_UTILIZATION",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum(val string) (SummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceForecastTrendUtilizationLevelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go
deleted file mode 100644
index 3c2b74cdbe2..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_aggregation_collection.go
+++ /dev/null
@@ -1,177 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceStatisticsAggregationCollection Returns list of the Databases with resource statistics like usage, capacity, utilization and usage change percent.
-type SummarizeDatabaseInsightResourceStatisticsAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (example: CPU, STORAGE)
- ResourceMetric SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Collection of Resource Statistics items
- Items []ResourceStatisticsAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeDatabaseInsightResourceStatisticsAggregationCollection) 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 SummarizeDatabaseInsightResourceStatisticsAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-const (
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "IO"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_PGA"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY_SGA"
-)
-
-var mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum = map[string]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu,
- "STORAGE": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage,
- "IO": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricIo,
- "MEMORY": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemory,
- "MEMORY_PGA": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemoryPga,
- "MEMORY_SGA": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemorySga,
-}
-
-var mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricCpu,
- "storage": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricStorage,
- "io": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricIo,
- "memory": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemory,
- "memory_pga": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemoryPga,
- "memory_sga": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricMemorySga,
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "MEMORY_PGA",
- "MEMORY_SGA",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum(val string) (SummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-const (
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitCores SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitGb SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "GB"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitMbps SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitIops SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitPercent SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum = map[string]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitCores,
- "GB": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum{
- "cores": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitCores,
- "gb": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitGb,
- "mbps": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitMbps,
- "iops": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitIops,
- "percent": SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumValues() []SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum(val string) (SummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceStatisticsAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_request_response.go
deleted file mode 100644
index 7823bf29afb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_statistics_request_response.go
+++ /dev/null
@@ -1,411 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceStatisticsRequest wrapper for the SummarizeDatabaseInsightResourceStatistics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceStatistics.go.html to see an example of how to use SummarizeDatabaseInsightResourceStatisticsRequest.
-type SummarizeDatabaseInsightResourceStatisticsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // Return data of a specific insight
- // Possible values are High Utilization, Low Utilization, Any ,High Utilization Forecast,
- // Low Utilization Forecast
- InsightBy *string `mandatory:"false" contributesTo:"query" name:"insightBy"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeDatabaseInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource statistics records are listed
- SortBy SummarizeDatabaseInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeDatabaseInsightResourceStatisticsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceStatisticsRequest) 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 SummarizeDatabaseInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceStatisticsRequest) 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 SummarizeDatabaseInsightResourceStatisticsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnum(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(GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceStatisticsSortByEnum(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(GetSummarizeDatabaseInsightResourceStatisticsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceStatisticsResponse wrapper for the SummarizeDatabaseInsightResourceStatistics operation
-type SummarizeDatabaseInsightResourceStatisticsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceStatisticsAggregationCollection instances
- SummarizeDatabaseInsightResourceStatisticsAggregationCollection `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 SummarizeDatabaseInsightResourceStatisticsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceStatisticsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpS SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpD SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceStatisticsDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceStatisticsDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceStatisticsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
-const (
- SummarizeDatabaseInsightResourceStatisticsSortOrderAsc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "ASC"
- SummarizeDatabaseInsightResourceStatisticsSortOrderDesc SummarizeDatabaseInsightResourceStatisticsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnum = map[string]SummarizeDatabaseInsightResourceStatisticsSortOrderEnum{
- "ASC": SummarizeDatabaseInsightResourceStatisticsSortOrderAsc,
- "DESC": SummarizeDatabaseInsightResourceStatisticsSortOrderDesc,
-}
-
-var mappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnumLowerCase = map[string]SummarizeDatabaseInsightResourceStatisticsSortOrderEnum{
- "asc": SummarizeDatabaseInsightResourceStatisticsSortOrderAsc,
- "desc": SummarizeDatabaseInsightResourceStatisticsSortOrderDesc,
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
-func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortOrderEnum {
- values := make([]SummarizeDatabaseInsightResourceStatisticsSortOrderEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsSortOrderEnum
-func GetSummarizeDatabaseInsightResourceStatisticsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnum(val string) (SummarizeDatabaseInsightResourceStatisticsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceStatisticsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceStatisticsSortByEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceStatisticsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
-const (
- SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "utilizationPercent"
- SummarizeDatabaseInsightResourceStatisticsSortByUsage SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usage"
- SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent SummarizeDatabaseInsightResourceStatisticsSortByEnum = "usageChangePercent"
- SummarizeDatabaseInsightResourceStatisticsSortByDatabasename SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseName"
- SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype SummarizeDatabaseInsightResourceStatisticsSortByEnum = "databaseType"
-)
-
-var mappingSummarizeDatabaseInsightResourceStatisticsSortByEnum = map[string]SummarizeDatabaseInsightResourceStatisticsSortByEnum{
- "utilizationPercent": SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeDatabaseInsightResourceStatisticsSortByUsage,
- "usageChangePercent": SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent,
- "databaseName": SummarizeDatabaseInsightResourceStatisticsSortByDatabasename,
- "databaseType": SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype,
-}
-
-var mappingSummarizeDatabaseInsightResourceStatisticsSortByEnumLowerCase = map[string]SummarizeDatabaseInsightResourceStatisticsSortByEnum{
- "utilizationpercent": SummarizeDatabaseInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeDatabaseInsightResourceStatisticsSortByUsage,
- "usagechangepercent": SummarizeDatabaseInsightResourceStatisticsSortByUsagechangepercent,
- "databasename": SummarizeDatabaseInsightResourceStatisticsSortByDatabasename,
- "databasetype": SummarizeDatabaseInsightResourceStatisticsSortByDatabasetype,
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceStatisticsSortByEnum
-func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumValues() []SummarizeDatabaseInsightResourceStatisticsSortByEnum {
- values := make([]SummarizeDatabaseInsightResourceStatisticsSortByEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceStatisticsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceStatisticsSortByEnum
-func GetSummarizeDatabaseInsightResourceStatisticsSortByEnumStringValues() []string {
- return []string{
- "utilizationPercent",
- "usage",
- "usageChangePercent",
- "databaseName",
- "databaseType",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceStatisticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceStatisticsSortByEnum(val string) (SummarizeDatabaseInsightResourceStatisticsSortByEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceStatisticsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_aggregation.go
deleted file mode 100644
index 37c36ea833b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_aggregation.go
+++ /dev/null
@@ -1,180 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUsageAggregation Resource usage summation for the current time period
-type SummarizeDatabaseInsightResourceUsageAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of resource metric (example: CPU, STORAGE)
- ResourceMetric SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Percentage change in resource usage during the current period calculated using linear regression functions
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m SummarizeDatabaseInsightResourceUsageAggregation) 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 SummarizeDatabaseInsightResourceUsageAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
-const (
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "CPU"
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "STORAGE"
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricIo SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "IO"
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY"
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_PGA"
- SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = "MEMORY_SGA"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum = map[string]SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum{
- "CPU": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu,
- "STORAGE": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage,
- "IO": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricIo,
- "MEMORY": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemory,
- "MEMORY_PGA": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemoryPga,
- "MEMORY_SGA": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemorySga,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum{
- "cpu": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricCpu,
- "storage": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricStorage,
- "io": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricIo,
- "memory": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemory,
- "memory_pga": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemoryPga,
- "memory_sga": SummarizeDatabaseInsightResourceUsageAggregationResourceMetricMemorySga,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "MEMORY_PGA",
- "MEMORY_SGA",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum(val string) (SummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageAggregationResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum
-const (
- SummarizeDatabaseInsightResourceUsageAggregationUsageUnitCores SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = "CORES"
- SummarizeDatabaseInsightResourceUsageAggregationUsageUnitGb SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = "GB"
- SummarizeDatabaseInsightResourceUsageAggregationUsageUnitMbps SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = "MBPS"
- SummarizeDatabaseInsightResourceUsageAggregationUsageUnitIops SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = "IOPS"
- SummarizeDatabaseInsightResourceUsageAggregationUsageUnitPercent SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum = map[string]SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum{
- "CORES": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitCores,
- "GB": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitGb,
- "MBPS": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitMbps,
- "IOPS": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitIops,
- "PERCENT": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum{
- "cores": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitCores,
- "gb": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitGb,
- "mbps": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitMbps,
- "iops": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitIops,
- "percent": SummarizeDatabaseInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumValues() []SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum(val string) (SummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageAggregationUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_request_response.go
deleted file mode 100644
index f3ca7f271cd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_request_response.go
+++ /dev/null
@@ -1,282 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUsageRequest wrapper for the SummarizeDatabaseInsightResourceUsage operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsage.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageRequest.
-type SummarizeDatabaseInsightResourceUsageRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" 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
-}
-
-func (request SummarizeDatabaseInsightResourceUsageRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceUsageRequest) 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 SummarizeDatabaseInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceUsageRequest) 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 SummarizeDatabaseInsightResourceUsageRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUsageResponse wrapper for the SummarizeDatabaseInsightResourceUsage operation
-type SummarizeDatabaseInsightResourceUsageResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceUsageAggregation instances
- SummarizeDatabaseInsightResourceUsageAggregation `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 SummarizeDatabaseInsightResourceUsageResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceUsageResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceUsageDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceUsageDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceUsageDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceUsageDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go
deleted file mode 100644
index 560a65195d8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_aggregation_collection.go
+++ /dev/null
@@ -1,174 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUsageTrendAggregationCollection Top level response object.
-type SummarizeDatabaseInsightResourceUsageTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of resource metric (example: CPU, STORAGE)
- ResourceMetric SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Usage Data with time stamps
- UsageData []ResourceUsageTrendAggregation `mandatory:"true" json:"usageData"`
-}
-
-func (m SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) 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 SummarizeDatabaseInsightResourceUsageTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-const (
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricIo SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "IO"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemoryPga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_PGA"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemorySga SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY_SGA"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = map[string]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu,
- "STORAGE": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage,
- "IO": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricIo,
- "MEMORY": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemory,
- "MEMORY_PGA": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemoryPga,
- "MEMORY_SGA": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemorySga,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricCpu,
- "storage": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricStorage,
- "io": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricIo,
- "memory": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemory,
- "memory_pga": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemoryPga,
- "memory_sga": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricMemorySga,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "MEMORY_PGA",
- "MEMORY_SGA",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum(val string) (SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitCores SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitGb SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitMbps SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitIops SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitPercent SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumValues() []SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_request_response.go
deleted file mode 100644
index aeb20c9d2c0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_usage_trend_request_response.go
+++ /dev/null
@@ -1,379 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUsageTrendRequest wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightResourceUsageTrendRequest.
-type SummarizeDatabaseInsightResourceUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Sorts using end timestamp, usage or capacity
- SortBy SummarizeDatabaseInsightResourceUsageTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" 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
-}
-
-func (request SummarizeDatabaseInsightResourceUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceUsageTrendRequest) 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 SummarizeDatabaseInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceUsageTrendRequest) 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 SummarizeDatabaseInsightResourceUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnum(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(GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUsageTrendSortByEnum(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(GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendResponse wrapper for the SummarizeDatabaseInsightResourceUsageTrend operation
-type SummarizeDatabaseInsightResourceUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceUsageTrendAggregationCollection instances
- SummarizeDatabaseInsightResourceUsageTrendAggregationCollection `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 SummarizeDatabaseInsightResourceUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpS SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpD SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageTrendDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
-const (
- SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "ASC"
- SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnum = map[string]SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum{
- "ASC": SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc,
- "DESC": SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum{
- "asc": SummarizeDatabaseInsightResourceUsageTrendSortOrderAsc,
- "desc": SummarizeDatabaseInsightResourceUsageTrendSortOrderDesc,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnum(val string) (SummarizeDatabaseInsightResourceUsageTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeDatabaseInsightResourceUsageTrendSortByEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUsageTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
-const (
- SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "endTimestamp"
- SummarizeDatabaseInsightResourceUsageTrendSortByUsage SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "usage"
- SummarizeDatabaseInsightResourceUsageTrendSortByCapacity SummarizeDatabaseInsightResourceUsageTrendSortByEnum = "capacity"
-)
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendSortByEnum = map[string]SummarizeDatabaseInsightResourceUsageTrendSortByEnum{
- "endTimestamp": SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp,
- "usage": SummarizeDatabaseInsightResourceUsageTrendSortByUsage,
- "capacity": SummarizeDatabaseInsightResourceUsageTrendSortByCapacity,
-}
-
-var mappingSummarizeDatabaseInsightResourceUsageTrendSortByEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUsageTrendSortByEnum{
- "endtimestamp": SummarizeDatabaseInsightResourceUsageTrendSortByEndtimestamp,
- "usage": SummarizeDatabaseInsightResourceUsageTrendSortByUsage,
- "capacity": SummarizeDatabaseInsightResourceUsageTrendSortByCapacity,
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumValues() []SummarizeDatabaseInsightResourceUsageTrendSortByEnum {
- values := make([]SummarizeDatabaseInsightResourceUsageTrendSortByEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUsageTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUsageTrendSortByEnum
-func GetSummarizeDatabaseInsightResourceUsageTrendSortByEnumStringValues() []string {
- return []string{
- "endTimestamp",
- "usage",
- "capacity",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUsageTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUsageTrendSortByEnum(val string) (SummarizeDatabaseInsightResourceUsageTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUsageTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go
deleted file mode 100644
index 8fc73e71e86..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_aggregation.go
+++ /dev/null
@@ -1,118 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for storage or CPU.
-type SummarizeDatabaseInsightResourceUtilizationInsightAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (example: CPU, STORAGE)
- ResourceMetric SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- ProjectedUtilization *ResourceInsightProjectedUtilization `mandatory:"true" json:"projectedUtilization"`
-
- CurrentUtilization *ResourceInsightCurrentUtilization `mandatory:"true" json:"currentUtilization"`
-}
-
-func (m SummarizeDatabaseInsightResourceUtilizationInsightAggregation) 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 SummarizeDatabaseInsightResourceUtilizationInsightAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
-const (
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU"
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "STORAGE"
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricIo SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "IO"
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY"
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemoryPga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_PGA"
- SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemorySga SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY_SGA"
-)
-
-var mappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum = map[string]SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum{
- "CPU": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu,
- "STORAGE": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage,
- "IO": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricIo,
- "MEMORY": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemory,
- "MEMORY_PGA": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemoryPga,
- "MEMORY_SGA": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemorySga,
-}
-
-var mappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum{
- "cpu": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricCpu,
- "storage": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricStorage,
- "io": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricIo,
- "memory": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemory,
- "memory_pga": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemoryPga,
- "memory_sga": SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricMemorySga,
-}
-
-// GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum {
- values := make([]SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum
-func GetSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "MEMORY_PGA",
- "MEMORY_SGA",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum(val string) (SummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUtilizationInsightAggregationResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_request_response.go
deleted file mode 100644
index 9368a2b3bdb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_resource_utilization_insight_request_response.go
+++ /dev/null
@@ -1,288 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightResourceUtilizationInsightRequest wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeDatabaseInsightResourceUtilizationInsightRequest.
-type SummarizeDatabaseInsightResourceUtilizationInsightRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY and IO.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Flag to indicate if database instance level metrics should be returned. The flag is ignored when a host name filter is not applied.
- // When a hostname filter is applied this flag will determine whether to return metrics for the instances located on the specified host or for the
- // whole database which contains an instance on this host.
- IsDatabaseInstanceLevelMetrics *bool `mandatory:"false" contributesTo:"query" name:"isDatabaseInstanceLevelMetrics"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeDatabaseInsightResourceUtilizationInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) 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 SummarizeDatabaseInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightResourceUtilizationInsightRequest) 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 SummarizeDatabaseInsightResourceUtilizationInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightResourceUtilizationInsightResponse wrapper for the SummarizeDatabaseInsightResourceUtilizationInsight operation
-type SummarizeDatabaseInsightResourceUtilizationInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightResourceUtilizationInsightAggregation instances
- SummarizeDatabaseInsightResourceUtilizationInsightAggregation `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 SummarizeDatabaseInsightResourceUtilizationInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum Enum with underlying type: string
-type SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
-const (
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-S"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpS SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-S"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ADW-D"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpD SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "ATP-D"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalPdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalNoncdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmCdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmPdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmNoncdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmCdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmPdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmNoncdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsCdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsPdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsNoncdb SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum = map[string]SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum{
- "ADW-S": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwS,
- "ATP-S": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpS,
- "ADW-D": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwD,
- "ATP-D": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumLowerCase = map[string]SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum{
- "adw-s": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwS,
- "atp-s": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpS,
- "adw-d": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAdwD,
- "atp-d": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeAtpD,
- "external-pdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues Enumerates the set of values for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumValues() []SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum {
- values := make([]SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum
-func GetSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum(val string) (SummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightResourceUtilizationInsightDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go
deleted file mode 100644
index c45cfda30f9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_aggregation_collection.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection Top level response object.
-type SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Collection of Usage Data with time stamps for top five tablespace
- Items []TablespaceUsageTrendAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection) 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 SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitCores SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitGb SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitMbps SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitIops SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitPercent SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumValues() []SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeDatabaseInsightTablespaceUsageTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_request_response.go
deleted file mode 100644
index dfc78464237..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_database_insight_tablespace_usage_trend_request_response.go
+++ /dev/null
@@ -1,133 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeDatabaseInsightTablespaceUsageTrendRequest wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeDatabaseInsightTablespaceUsageTrend.go.html to see an example of how to use SummarizeDatabaseInsightTablespaceUsageTrendRequest.
-type SummarizeDatabaseInsightTablespaceUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // 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"`
-
- // 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 SummarizeDatabaseInsightTablespaceUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) 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 SummarizeDatabaseInsightTablespaceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeDatabaseInsightTablespaceUsageTrendRequest) 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 SummarizeDatabaseInsightTablespaceUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeDatabaseInsightTablespaceUsageTrendResponse wrapper for the SummarizeDatabaseInsightTablespaceUsageTrend operation
-type SummarizeDatabaseInsightTablespaceUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection instances
- SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection `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 SummarizeDatabaseInsightTablespaceUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeDatabaseInsightTablespaceUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregated_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregated_request_response.go
deleted file mode 100644
index 5abade69a63..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregated_request_response.go
+++ /dev/null
@@ -1,262 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceCapacityTrendAggregatedRequest wrapper for the SummarizeExadataInsightResourceCapacityTrendAggregated operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrendAggregatedRequest.
-type SummarizeExadataInsightResourceCapacityTrendAggregatedRequest struct {
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Sorts using end timestamp or capacity.
- SortBy SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) 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 SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) 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 SummarizeExadataInsightResourceCapacityTrendAggregatedRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum(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(GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum(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(GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregatedResponse wrapper for the SummarizeExadataInsightResourceCapacityTrendAggregated operation
-type SummarizeExadataInsightResourceCapacityTrendAggregatedResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceCapacityTrendAggregation instances
- SummarizeExadataInsightResourceCapacityTrendAggregation `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 SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceCapacityTrendAggregatedResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderAsc SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum = "ASC"
- SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderDesc SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum = map[string]SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum{
- "ASC": SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderAsc,
- "DESC": SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderDesc,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum{
- "asc": SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderAsc,
- "desc": SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderDesc,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum(val string) (SummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEndtimestamp SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum = "endTimestamp"
- SummarizeExadataInsightResourceCapacityTrendAggregatedSortByCapacity SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum = "capacity"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum = map[string]SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum{
- "endTimestamp": SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEndtimestamp,
- "capacity": SummarizeExadataInsightResourceCapacityTrendAggregatedSortByCapacity,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum{
- "endtimestamp": SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEndtimestamp,
- "capacity": SummarizeExadataInsightResourceCapacityTrendAggregatedSortByCapacity,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumStringValues() []string {
- return []string{
- "endTimestamp",
- "capacity",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum(val string) (SummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendAggregatedSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go
deleted file mode 100644
index 5c9f7e9f7f8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_aggregation.go
+++ /dev/null
@@ -1,230 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceCapacityTrendAggregation Collection of resource capacity trend.
-type SummarizeExadataInsightResourceCapacityTrendAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Capacity Data with time interval
- CapacityData []ExadataInsightResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
-}
-
-func (m SummarizeExadataInsightResourceCapacityTrendAggregation) 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 SummarizeExadataInsightResourceCapacityTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIo SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIops SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeHost SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendAggregationExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitCores SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = "CORES"
- SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitGb SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = "GB"
- SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitMbps SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = "MBPS"
- SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitIops SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = "IOPS"
- SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitPercent SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum{
- "CORES": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitCores,
- "GB": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitGb,
- "MBPS": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitMbps,
- "IOPS": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitIops,
- "PERCENT": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitPercent,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum{
- "cores": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitCores,
- "gb": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitGb,
- "mbps": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitMbps,
- "iops": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitIops,
- "percent": SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitPercent,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumValues() []SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum
-func GetSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum(val string) (SummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendAggregationUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go
deleted file mode 100644
index 90883aae129..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_collection.go
+++ /dev/null
@@ -1,230 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceCapacityTrendCollection capacity results with breakdown by databases, hosts, storage servers or diskgroup.
-type SummarizeExadataInsightResourceCapacityTrendCollection struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Capacity Data with time interval
- Items []ExadataInsightResourceCapacityTrendSummary `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeExadataInsightResourceCapacityTrendCollection) 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 SummarizeExadataInsightResourceCapacityTrendCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeHost SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIo SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIops SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendCollectionExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitCores SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = "CORES"
- SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitGb SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = "GB"
- SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitMbps SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = "MBPS"
- SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitIops SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = "IOPS"
- SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitPercent SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum{
- "CORES": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitCores,
- "GB": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitGb,
- "MBPS": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitMbps,
- "IOPS": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitIops,
- "PERCENT": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum{
- "cores": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitCores,
- "gb": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitGb,
- "mbps": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitMbps,
- "iops": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitIops,
- "percent": SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitPercent,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumValues() []SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum(val string) (SummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_request_response.go
deleted file mode 100644
index a0f54144b71..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_capacity_trend_request_response.go
+++ /dev/null
@@ -1,253 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceCapacityTrendRequest wrapper for the SummarizeExadataInsightResourceCapacityTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeExadataInsightResourceCapacityTrendRequest.
-type SummarizeExadataInsightResourceCapacityTrendRequest struct {
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- DatabaseInsightId []string `contributesTo:"query" name:"databaseInsightId" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- HostInsightId []string `contributesTo:"query" name:"hostInsightId" collectionFormat:"multi"`
-
- // Optional storage server name on an exadata system.
- StorageServerName []string `contributesTo:"query" name:"storageServerName" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource capacity trend records are listed
- SortBy SummarizeExadataInsightResourceCapacityTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // 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 SummarizeExadataInsightResourceCapacityTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceCapacityTrendRequest) 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 SummarizeExadataInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceCapacityTrendRequest) 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 SummarizeExadataInsightResourceCapacityTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnum(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(GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceCapacityTrendSortByEnum(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(GetSummarizeExadataInsightResourceCapacityTrendSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceCapacityTrendResponse wrapper for the SummarizeExadataInsightResourceCapacityTrend operation
-type SummarizeExadataInsightResourceCapacityTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceCapacityTrendCollection instances
- SummarizeExadataInsightResourceCapacityTrendCollection `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 SummarizeExadataInsightResourceCapacityTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendSortOrderAsc SummarizeExadataInsightResourceCapacityTrendSortOrderEnum = "ASC"
- SummarizeExadataInsightResourceCapacityTrendSortOrderDesc SummarizeExadataInsightResourceCapacityTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnum = map[string]SummarizeExadataInsightResourceCapacityTrendSortOrderEnum{
- "ASC": SummarizeExadataInsightResourceCapacityTrendSortOrderAsc,
- "DESC": SummarizeExadataInsightResourceCapacityTrendSortOrderDesc,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendSortOrderEnum{
- "asc": SummarizeExadataInsightResourceCapacityTrendSortOrderAsc,
- "desc": SummarizeExadataInsightResourceCapacityTrendSortOrderDesc,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeExadataInsightResourceCapacityTrendSortOrderEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeExadataInsightResourceCapacityTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnum(val string) (SummarizeExadataInsightResourceCapacityTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceCapacityTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceCapacityTrendSortByEnum
-const (
- SummarizeExadataInsightResourceCapacityTrendSortById SummarizeExadataInsightResourceCapacityTrendSortByEnum = "id"
- SummarizeExadataInsightResourceCapacityTrendSortByName SummarizeExadataInsightResourceCapacityTrendSortByEnum = "name"
-)
-
-var mappingSummarizeExadataInsightResourceCapacityTrendSortByEnum = map[string]SummarizeExadataInsightResourceCapacityTrendSortByEnum{
- "id": SummarizeExadataInsightResourceCapacityTrendSortById,
- "name": SummarizeExadataInsightResourceCapacityTrendSortByName,
-}
-
-var mappingSummarizeExadataInsightResourceCapacityTrendSortByEnumLowerCase = map[string]SummarizeExadataInsightResourceCapacityTrendSortByEnum{
- "id": SummarizeExadataInsightResourceCapacityTrendSortById,
- "name": SummarizeExadataInsightResourceCapacityTrendSortByName,
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceCapacityTrendSortByEnum
-func GetSummarizeExadataInsightResourceCapacityTrendSortByEnumValues() []SummarizeExadataInsightResourceCapacityTrendSortByEnum {
- values := make([]SummarizeExadataInsightResourceCapacityTrendSortByEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceCapacityTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceCapacityTrendSortByEnum
-func GetSummarizeExadataInsightResourceCapacityTrendSortByEnumStringValues() []string {
- return []string{
- "id",
- "name",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceCapacityTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceCapacityTrendSortByEnum(val string) (SummarizeExadataInsightResourceCapacityTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceCapacityTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_aggregated_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_aggregated_request_response.go
deleted file mode 100644
index 3a0380063d5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_aggregated_request_response.go
+++ /dev/null
@@ -1,283 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceForecastTrendAggregatedRequest wrapper for the SummarizeExadataInsightResourceForecastTrendAggregated operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrendAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrendAggregatedRequest.
-type SummarizeExadataInsightResourceForecastTrendAggregatedRequest struct {
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
-
- // Number of days used for utilization forecast analysis.
- ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Choose algorithm model for the forecasting.
- // Possible values:
- // - LINEAR: Uses linear regression algorithm for forecasting.
- // - ML_AUTO: Automatically detects best algorithm to use for forecasting.
- // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
- ForecastModel SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // This parameter is used to change data's confidence level, this data is ingested by the
- // forecast algorithm.
- // Confidence is the probability of an interval to contain the expected population parameter.
- // Manipulation of this value will lead to different results.
- // If not set, default confidence value is 95%.
- Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceForecastTrendAggregatedRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) 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 SummarizeExadataInsightResourceForecastTrendAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceForecastTrendAggregatedRequest) 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 SummarizeExadataInsightResourceForecastTrendAggregatedRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum(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(GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum(string(request.ForecastModel)); !ok && request.ForecastModel != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ForecastModel: %s. Supported values are: %s.", request.ForecastModel, strings.Join(GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceForecastTrendAggregatedResponse wrapper for the SummarizeExadataInsightResourceForecastTrendAggregated operation
-type SummarizeExadataInsightResourceForecastTrendAggregatedResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceForecastTrendAggregation instances
- SummarizeExadataInsightResourceForecastTrendAggregation `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 SummarizeExadataInsightResourceForecastTrendAggregatedResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceForecastTrendAggregatedResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
-const (
- SummarizeExadataInsightResourceForecastTrendAggregatedStatisticAvg SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum = "AVG"
- SummarizeExadataInsightResourceForecastTrendAggregatedStatisticMax SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum = "MAX"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum = map[string]SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum{
- "AVG": SummarizeExadataInsightResourceForecastTrendAggregatedStatisticAvg,
- "MAX": SummarizeExadataInsightResourceForecastTrendAggregatedStatisticMax,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum{
- "avg": SummarizeExadataInsightResourceForecastTrendAggregatedStatisticAvg,
- "max": SummarizeExadataInsightResourceForecastTrendAggregatedStatisticMax,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
-func GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum
-func GetSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum(val string) (SummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendAggregatedStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
-const (
- SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelLinear SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "LINEAR"
- SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlAuto SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "ML_AUTO"
- SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlNoAuto SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = "ML_NO_AUTO"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum = map[string]SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum{
- "LINEAR": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelLinear,
- "ML_AUTO": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlAuto,
- "ML_NO_AUTO": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlNoAuto,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum{
- "linear": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelLinear,
- "ml_auto": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlAuto,
- "ml_no_auto": SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelMlNoAuto,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
-func GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumValues() []SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum
-func GetSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumStringValues() []string {
- return []string{
- "LINEAR",
- "ML_AUTO",
- "ML_NO_AUTO",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum(val string) (SummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendAggregatedForecastModelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go
deleted file mode 100644
index 11cc11497f5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_collection.go
+++ /dev/null
@@ -1,230 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceForecastTrendCollection Usage and Forecast results with breakdown by databases, hosts or storage servers.
-type SummarizeExadataInsightResourceForecastTrendCollection struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight.
- ExadataInsightId *string `mandatory:"true" json:"exadataInsightId"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Collection of id, name , daysToReach Capacity, historical usage and projected usage forecast.
- Items []ExadataInsightResourceForecastTrendSummary `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeExadataInsightResourceForecastTrendCollection) 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 SummarizeExadataInsightResourceForecastTrendCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeHost SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIo SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIops SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendCollectionExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum
-const (
- SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitCores SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = "CORES"
- SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitGb SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = "GB"
- SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitMbps SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = "MBPS"
- SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitIops SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = "IOPS"
- SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitPercent SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum = map[string]SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum{
- "CORES": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitCores,
- "GB": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitGb,
- "MBPS": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitMbps,
- "IOPS": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitIops,
- "PERCENT": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum{
- "cores": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitCores,
- "gb": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitGb,
- "mbps": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitMbps,
- "iops": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitIops,
- "percent": SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitPercent,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumValues() []SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum(val string) (SummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_request_response.go
deleted file mode 100644
index 639152c50f5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_forecast_trend_request_response.go
+++ /dev/null
@@ -1,371 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceForecastTrendRequest wrapper for the SummarizeExadataInsightResourceForecastTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceForecastTrend.go.html to see an example of how to use SummarizeExadataInsightResourceForecastTrendRequest.
-type SummarizeExadataInsightResourceForecastTrendRequest struct {
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- DatabaseInsightId []string `contributesTo:"query" name:"databaseInsightId" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- HostInsightId []string `contributesTo:"query" name:"hostInsightId" collectionFormat:"multi"`
-
- // Optional storage server name on an exadata system.
- StorageServerName []string `contributesTo:"query" name:"storageServerName" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeExadataInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
-
- // Number of days used for utilization forecast analysis.
- ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Choose algorithm model for the forecasting.
- // Possible values:
- // - LINEAR: Uses linear regression algorithm for forecasting.
- // - ML_AUTO: Automatically detects best algorithm to use for forecasting.
- // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
- ForecastModel SummarizeExadataInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // This parameter is used to change data's confidence level, this data is ingested by the
- // forecast algorithm.
- // Confidence is the probability of an interval to contain the expected population parameter.
- // Manipulation of this value will lead to different results.
- // If not set, default confidence value is 95%.
- Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataInsightResourceForecastTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource Forecast trend records are listed
- SortBy SummarizeExadataInsightResourceForecastTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceForecastTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceForecastTrendRequest) 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 SummarizeExadataInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceForecastTrendRequest) 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 SummarizeExadataInsightResourceForecastTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendStatisticEnum(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(GetSummarizeExadataInsightResourceForecastTrendStatisticEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendForecastModelEnum(string(request.ForecastModel)); !ok && request.ForecastModel != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ForecastModel: %s. Supported values are: %s.", request.ForecastModel, strings.Join(GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendSortOrderEnum(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(GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceForecastTrendSortByEnum(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(GetSummarizeExadataInsightResourceForecastTrendSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceForecastTrendResponse wrapper for the SummarizeExadataInsightResourceForecastTrend operation
-type SummarizeExadataInsightResourceForecastTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceForecastTrendCollection instances
- SummarizeExadataInsightResourceForecastTrendCollection `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 SummarizeExadataInsightResourceForecastTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceForecastTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendStatisticEnum
-const (
- SummarizeExadataInsightResourceForecastTrendStatisticAvg SummarizeExadataInsightResourceForecastTrendStatisticEnum = "AVG"
- SummarizeExadataInsightResourceForecastTrendStatisticMax SummarizeExadataInsightResourceForecastTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendStatisticEnum = map[string]SummarizeExadataInsightResourceForecastTrendStatisticEnum{
- "AVG": SummarizeExadataInsightResourceForecastTrendStatisticAvg,
- "MAX": SummarizeExadataInsightResourceForecastTrendStatisticMax,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendStatisticEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendStatisticEnum{
- "avg": SummarizeExadataInsightResourceForecastTrendStatisticAvg,
- "max": SummarizeExadataInsightResourceForecastTrendStatisticMax,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendStatisticEnum
-func GetSummarizeExadataInsightResourceForecastTrendStatisticEnumValues() []SummarizeExadataInsightResourceForecastTrendStatisticEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendStatisticEnum
-func GetSummarizeExadataInsightResourceForecastTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendStatisticEnum(val string) (SummarizeExadataInsightResourceForecastTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendForecastModelEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
-const (
- SummarizeExadataInsightResourceForecastTrendForecastModelLinear SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "LINEAR"
- SummarizeExadataInsightResourceForecastTrendForecastModelMlAuto SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "ML_AUTO"
- SummarizeExadataInsightResourceForecastTrendForecastModelMlNoAuto SummarizeExadataInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendForecastModelEnum = map[string]SummarizeExadataInsightResourceForecastTrendForecastModelEnum{
- "LINEAR": SummarizeExadataInsightResourceForecastTrendForecastModelLinear,
- "ML_AUTO": SummarizeExadataInsightResourceForecastTrendForecastModelMlAuto,
- "ML_NO_AUTO": SummarizeExadataInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendForecastModelEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendForecastModelEnum{
- "linear": SummarizeExadataInsightResourceForecastTrendForecastModelLinear,
- "ml_auto": SummarizeExadataInsightResourceForecastTrendForecastModelMlAuto,
- "ml_no_auto": SummarizeExadataInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumValues() []SummarizeExadataInsightResourceForecastTrendForecastModelEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendForecastModelEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendForecastModelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeExadataInsightResourceForecastTrendForecastModelEnumStringValues() []string {
- return []string{
- "LINEAR",
- "ML_AUTO",
- "ML_NO_AUTO",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendForecastModelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendForecastModelEnum(val string) (SummarizeExadataInsightResourceForecastTrendForecastModelEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendForecastModelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendSortOrderEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
-const (
- SummarizeExadataInsightResourceForecastTrendSortOrderAsc SummarizeExadataInsightResourceForecastTrendSortOrderEnum = "ASC"
- SummarizeExadataInsightResourceForecastTrendSortOrderDesc SummarizeExadataInsightResourceForecastTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendSortOrderEnum = map[string]SummarizeExadataInsightResourceForecastTrendSortOrderEnum{
- "ASC": SummarizeExadataInsightResourceForecastTrendSortOrderAsc,
- "DESC": SummarizeExadataInsightResourceForecastTrendSortOrderDesc,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendSortOrderEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendSortOrderEnum{
- "asc": SummarizeExadataInsightResourceForecastTrendSortOrderAsc,
- "desc": SummarizeExadataInsightResourceForecastTrendSortOrderDesc,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
-func GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumValues() []SummarizeExadataInsightResourceForecastTrendSortOrderEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendSortOrderEnum
-func GetSummarizeExadataInsightResourceForecastTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendSortOrderEnum(val string) (SummarizeExadataInsightResourceForecastTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceForecastTrendSortByEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceForecastTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceForecastTrendSortByEnum
-const (
- SummarizeExadataInsightResourceForecastTrendSortById SummarizeExadataInsightResourceForecastTrendSortByEnum = "id"
- SummarizeExadataInsightResourceForecastTrendSortByName SummarizeExadataInsightResourceForecastTrendSortByEnum = "name"
- SummarizeExadataInsightResourceForecastTrendSortByDaystoreachcapacity SummarizeExadataInsightResourceForecastTrendSortByEnum = "daysToReachCapacity"
-)
-
-var mappingSummarizeExadataInsightResourceForecastTrendSortByEnum = map[string]SummarizeExadataInsightResourceForecastTrendSortByEnum{
- "id": SummarizeExadataInsightResourceForecastTrendSortById,
- "name": SummarizeExadataInsightResourceForecastTrendSortByName,
- "daysToReachCapacity": SummarizeExadataInsightResourceForecastTrendSortByDaystoreachcapacity,
-}
-
-var mappingSummarizeExadataInsightResourceForecastTrendSortByEnumLowerCase = map[string]SummarizeExadataInsightResourceForecastTrendSortByEnum{
- "id": SummarizeExadataInsightResourceForecastTrendSortById,
- "name": SummarizeExadataInsightResourceForecastTrendSortByName,
- "daystoreachcapacity": SummarizeExadataInsightResourceForecastTrendSortByDaystoreachcapacity,
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceForecastTrendSortByEnum
-func GetSummarizeExadataInsightResourceForecastTrendSortByEnumValues() []SummarizeExadataInsightResourceForecastTrendSortByEnum {
- values := make([]SummarizeExadataInsightResourceForecastTrendSortByEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceForecastTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceForecastTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceForecastTrendSortByEnum
-func GetSummarizeExadataInsightResourceForecastTrendSortByEnumStringValues() []string {
- return []string{
- "id",
- "name",
- "daysToReachCapacity",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceForecastTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceForecastTrendSortByEnum(val string) (SummarizeExadataInsightResourceForecastTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceForecastTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go
index ef3ad2c90fc..cdce39f707c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_aggregation_collection.go
@@ -100,7 +100,6 @@ func (m *SummarizeExadataInsightResourceStatisticsAggregationCollection) Unmarsh
m.Items[i] = nil
}
}
-
m.UsageUnit = model.UsageUnit
m.ExadataResourceMetric = model.ExadataResourceMetric
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_request_response.go
deleted file mode 100644
index c22a6fc3507..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_statistics_request_response.go
+++ /dev/null
@@ -1,251 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceStatisticsRequest wrapper for the SummarizeExadataInsightResourceStatistics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceStatistics.go.html to see an example of how to use SummarizeExadataInsightResourceStatisticsRequest.
-type SummarizeExadataInsightResourceStatisticsRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource statistics records are listed
- SortBy SummarizeExadataInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceStatisticsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceStatisticsRequest) 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 SummarizeExadataInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceStatisticsRequest) 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 SummarizeExadataInsightResourceStatisticsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceStatisticsSortOrderEnum(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(GetSummarizeExadataInsightResourceStatisticsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceStatisticsSortByEnum(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(GetSummarizeExadataInsightResourceStatisticsSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceStatisticsResponse wrapper for the SummarizeExadataInsightResourceStatistics operation
-type SummarizeExadataInsightResourceStatisticsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceStatisticsAggregationCollection instances
- SummarizeExadataInsightResourceStatisticsAggregationCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 SummarizeExadataInsightResourceStatisticsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceStatisticsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceStatisticsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceStatisticsSortOrderEnum
-const (
- SummarizeExadataInsightResourceStatisticsSortOrderAsc SummarizeExadataInsightResourceStatisticsSortOrderEnum = "ASC"
- SummarizeExadataInsightResourceStatisticsSortOrderDesc SummarizeExadataInsightResourceStatisticsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataInsightResourceStatisticsSortOrderEnum = map[string]SummarizeExadataInsightResourceStatisticsSortOrderEnum{
- "ASC": SummarizeExadataInsightResourceStatisticsSortOrderAsc,
- "DESC": SummarizeExadataInsightResourceStatisticsSortOrderDesc,
-}
-
-var mappingSummarizeExadataInsightResourceStatisticsSortOrderEnumLowerCase = map[string]SummarizeExadataInsightResourceStatisticsSortOrderEnum{
- "asc": SummarizeExadataInsightResourceStatisticsSortOrderAsc,
- "desc": SummarizeExadataInsightResourceStatisticsSortOrderDesc,
-}
-
-// GetSummarizeExadataInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceStatisticsSortOrderEnum
-func GetSummarizeExadataInsightResourceStatisticsSortOrderEnumValues() []SummarizeExadataInsightResourceStatisticsSortOrderEnum {
- values := make([]SummarizeExadataInsightResourceStatisticsSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceStatisticsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsSortOrderEnum
-func GetSummarizeExadataInsightResourceStatisticsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceStatisticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceStatisticsSortOrderEnum(val string) (SummarizeExadataInsightResourceStatisticsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceStatisticsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceStatisticsSortByEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceStatisticsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceStatisticsSortByEnum
-const (
- SummarizeExadataInsightResourceStatisticsSortByUtilizationpercent SummarizeExadataInsightResourceStatisticsSortByEnum = "utilizationPercent"
- SummarizeExadataInsightResourceStatisticsSortByUsage SummarizeExadataInsightResourceStatisticsSortByEnum = "usage"
- SummarizeExadataInsightResourceStatisticsSortByUsagechangepercent SummarizeExadataInsightResourceStatisticsSortByEnum = "usageChangePercent"
-)
-
-var mappingSummarizeExadataInsightResourceStatisticsSortByEnum = map[string]SummarizeExadataInsightResourceStatisticsSortByEnum{
- "utilizationPercent": SummarizeExadataInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeExadataInsightResourceStatisticsSortByUsage,
- "usageChangePercent": SummarizeExadataInsightResourceStatisticsSortByUsagechangepercent,
-}
-
-var mappingSummarizeExadataInsightResourceStatisticsSortByEnumLowerCase = map[string]SummarizeExadataInsightResourceStatisticsSortByEnum{
- "utilizationpercent": SummarizeExadataInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeExadataInsightResourceStatisticsSortByUsage,
- "usagechangepercent": SummarizeExadataInsightResourceStatisticsSortByUsagechangepercent,
-}
-
-// GetSummarizeExadataInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceStatisticsSortByEnum
-func GetSummarizeExadataInsightResourceStatisticsSortByEnumValues() []SummarizeExadataInsightResourceStatisticsSortByEnum {
- values := make([]SummarizeExadataInsightResourceStatisticsSortByEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceStatisticsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceStatisticsSortByEnum
-func GetSummarizeExadataInsightResourceStatisticsSortByEnumStringValues() []string {
- return []string{
- "utilizationPercent",
- "usage",
- "usageChangePercent",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceStatisticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceStatisticsSortByEnum(val string) (SummarizeExadataInsightResourceStatisticsSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceStatisticsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregated_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregated_request_response.go
deleted file mode 100644
index 6bb3825fc1a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregated_request_response.go
+++ /dev/null
@@ -1,169 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUsageAggregatedRequest wrapper for the SummarizeExadataInsightResourceUsageAggregated operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsageAggregated.go.html to see an example of how to use SummarizeExadataInsightResourceUsageAggregatedRequest.
-type SummarizeExadataInsightResourceUsageAggregatedRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceUsageAggregatedRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceUsageAggregatedRequest) 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 SummarizeExadataInsightResourceUsageAggregatedRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceUsageAggregatedRequest) 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 SummarizeExadataInsightResourceUsageAggregatedRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUsageAggregatedResponse wrapper for the SummarizeExadataInsightResourceUsageAggregated operation
-type SummarizeExadataInsightResourceUsageAggregatedResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceUsageAggregation instances
- SummarizeExadataInsightResourceUsageAggregation `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 SummarizeExadataInsightResourceUsageAggregatedResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceUsageAggregatedResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregation.go
deleted file mode 100644
index 5e9252981a1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_aggregation.go
+++ /dev/null
@@ -1,236 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUsageAggregation Resource usage summation for the current time period
-type SummarizeExadataInsightResourceUsageAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Percentage change in resource usage during the current period calculated using linear regression functions
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-
- // The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
- TotalHostCapacity *float64 `mandatory:"false" json:"totalHostCapacity"`
-}
-
-func (m SummarizeExadataInsightResourceUsageAggregation) 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 SummarizeExadataInsightResourceUsageAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIo SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIops SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeHost SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageAggregationExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum
-const (
- SummarizeExadataInsightResourceUsageAggregationUsageUnitCores SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = "CORES"
- SummarizeExadataInsightResourceUsageAggregationUsageUnitGb SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = "GB"
- SummarizeExadataInsightResourceUsageAggregationUsageUnitMbps SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = "MBPS"
- SummarizeExadataInsightResourceUsageAggregationUsageUnitIops SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = "IOPS"
- SummarizeExadataInsightResourceUsageAggregationUsageUnitPercent SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnum = map[string]SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum{
- "CORES": SummarizeExadataInsightResourceUsageAggregationUsageUnitCores,
- "GB": SummarizeExadataInsightResourceUsageAggregationUsageUnitGb,
- "MBPS": SummarizeExadataInsightResourceUsageAggregationUsageUnitMbps,
- "IOPS": SummarizeExadataInsightResourceUsageAggregationUsageUnitIops,
- "PERCENT": SummarizeExadataInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-var mappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum{
- "cores": SummarizeExadataInsightResourceUsageAggregationUsageUnitCores,
- "gb": SummarizeExadataInsightResourceUsageAggregationUsageUnitGb,
- "mbps": SummarizeExadataInsightResourceUsageAggregationUsageUnitMbps,
- "iops": SummarizeExadataInsightResourceUsageAggregationUsageUnitIops,
- "percent": SummarizeExadataInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumValues() []SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum {
- values := make([]SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnum(val string) (SummarizeExadataInsightResourceUsageAggregationUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageAggregationUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_collection.go
deleted file mode 100644
index 8fb788eee45..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_collection.go
+++ /dev/null
@@ -1,227 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUsageCollection Resource usage , allocation, utilization and usage ChangePercent for the current time period
-type SummarizeExadataInsightResourceUsageCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Collection of Resource Usage Summary items
- Items []ResourceUsageSummary `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeExadataInsightResourceUsageCollection) 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 SummarizeExadataInsightResourceUsageCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricCpu SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricStorage SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIo SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricMemory SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIops SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricThroughput SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDatabase SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeHost SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeStorageServer SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageCollectionExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum
-const (
- SummarizeExadataInsightResourceUsageCollectionUsageUnitCores SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = "CORES"
- SummarizeExadataInsightResourceUsageCollectionUsageUnitGb SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = "GB"
- SummarizeExadataInsightResourceUsageCollectionUsageUnitMbps SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = "MBPS"
- SummarizeExadataInsightResourceUsageCollectionUsageUnitIops SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = "IOPS"
- SummarizeExadataInsightResourceUsageCollectionUsageUnitPercent SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnum = map[string]SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum{
- "CORES": SummarizeExadataInsightResourceUsageCollectionUsageUnitCores,
- "GB": SummarizeExadataInsightResourceUsageCollectionUsageUnitGb,
- "MBPS": SummarizeExadataInsightResourceUsageCollectionUsageUnitMbps,
- "IOPS": SummarizeExadataInsightResourceUsageCollectionUsageUnitIops,
- "PERCENT": SummarizeExadataInsightResourceUsageCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum{
- "cores": SummarizeExadataInsightResourceUsageCollectionUsageUnitCores,
- "gb": SummarizeExadataInsightResourceUsageCollectionUsageUnitGb,
- "mbps": SummarizeExadataInsightResourceUsageCollectionUsageUnitMbps,
- "iops": SummarizeExadataInsightResourceUsageCollectionUsageUnitIops,
- "percent": SummarizeExadataInsightResourceUsageCollectionUsageUnitPercent,
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumValues() []SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum {
- values := make([]SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum
-func GetSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnum(val string) (SummarizeExadataInsightResourceUsageCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_request_response.go
deleted file mode 100644
index c57c78c0e06..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_usage_request_response.go
+++ /dev/null
@@ -1,280 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUsageRequest wrapper for the SummarizeExadataInsightResourceUsage operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUsage.go.html to see an example of how to use SummarizeExadataInsightResourceUsageRequest.
-type SummarizeExadataInsightResourceUsageRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataInsightResourceUsageSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource usage summary records are listed
- SortBy SummarizeExadataInsightResourceUsageSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceUsageRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceUsageRequest) 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 SummarizeExadataInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceUsageRequest) 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 SummarizeExadataInsightResourceUsageRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageSortOrderEnum(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(GetSummarizeExadataInsightResourceUsageSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUsageSortByEnum(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(GetSummarizeExadataInsightResourceUsageSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUsageResponse wrapper for the SummarizeExadataInsightResourceUsage operation
-type SummarizeExadataInsightResourceUsageResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceUsageCollection instances
- SummarizeExadataInsightResourceUsageCollection `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 SummarizeExadataInsightResourceUsageResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceUsageResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataInsightResourceUsageSortOrderEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageSortOrderEnum
-const (
- SummarizeExadataInsightResourceUsageSortOrderAsc SummarizeExadataInsightResourceUsageSortOrderEnum = "ASC"
- SummarizeExadataInsightResourceUsageSortOrderDesc SummarizeExadataInsightResourceUsageSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataInsightResourceUsageSortOrderEnum = map[string]SummarizeExadataInsightResourceUsageSortOrderEnum{
- "ASC": SummarizeExadataInsightResourceUsageSortOrderAsc,
- "DESC": SummarizeExadataInsightResourceUsageSortOrderDesc,
-}
-
-var mappingSummarizeExadataInsightResourceUsageSortOrderEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageSortOrderEnum{
- "asc": SummarizeExadataInsightResourceUsageSortOrderAsc,
- "desc": SummarizeExadataInsightResourceUsageSortOrderDesc,
-}
-
-// GetSummarizeExadataInsightResourceUsageSortOrderEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageSortOrderEnum
-func GetSummarizeExadataInsightResourceUsageSortOrderEnumValues() []SummarizeExadataInsightResourceUsageSortOrderEnum {
- values := make([]SummarizeExadataInsightResourceUsageSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageSortOrderEnum
-func GetSummarizeExadataInsightResourceUsageSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageSortOrderEnum(val string) (SummarizeExadataInsightResourceUsageSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUsageSortByEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUsageSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUsageSortByEnum
-const (
- SummarizeExadataInsightResourceUsageSortByUtilizationpercent SummarizeExadataInsightResourceUsageSortByEnum = "utilizationPercent"
- SummarizeExadataInsightResourceUsageSortByUsage SummarizeExadataInsightResourceUsageSortByEnum = "usage"
- SummarizeExadataInsightResourceUsageSortByCapacity SummarizeExadataInsightResourceUsageSortByEnum = "capacity"
- SummarizeExadataInsightResourceUsageSortByUsagechangepercent SummarizeExadataInsightResourceUsageSortByEnum = "usageChangePercent"
-)
-
-var mappingSummarizeExadataInsightResourceUsageSortByEnum = map[string]SummarizeExadataInsightResourceUsageSortByEnum{
- "utilizationPercent": SummarizeExadataInsightResourceUsageSortByUtilizationpercent,
- "usage": SummarizeExadataInsightResourceUsageSortByUsage,
- "capacity": SummarizeExadataInsightResourceUsageSortByCapacity,
- "usageChangePercent": SummarizeExadataInsightResourceUsageSortByUsagechangepercent,
-}
-
-var mappingSummarizeExadataInsightResourceUsageSortByEnumLowerCase = map[string]SummarizeExadataInsightResourceUsageSortByEnum{
- "utilizationpercent": SummarizeExadataInsightResourceUsageSortByUtilizationpercent,
- "usage": SummarizeExadataInsightResourceUsageSortByUsage,
- "capacity": SummarizeExadataInsightResourceUsageSortByCapacity,
- "usagechangepercent": SummarizeExadataInsightResourceUsageSortByUsagechangepercent,
-}
-
-// GetSummarizeExadataInsightResourceUsageSortByEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUsageSortByEnum
-func GetSummarizeExadataInsightResourceUsageSortByEnumValues() []SummarizeExadataInsightResourceUsageSortByEnum {
- values := make([]SummarizeExadataInsightResourceUsageSortByEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUsageSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUsageSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUsageSortByEnum
-func GetSummarizeExadataInsightResourceUsageSortByEnumStringValues() []string {
- return []string{
- "utilizationPercent",
- "usage",
- "capacity",
- "usageChangePercent",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUsageSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUsageSortByEnum(val string) (SummarizeExadataInsightResourceUsageSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUsageSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go
deleted file mode 100644
index 1f446f58499..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_aggregation.go
+++ /dev/null
@@ -1,167 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUtilizationInsightAggregation Insights response containing utilization values for exadata systems.
-type SummarizeExadataInsightResourceUtilizationInsightAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of exadata resource metric (example: CPU, STORAGE)
- ExadataResourceMetric SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum `mandatory:"true" json:"exadataResourceMetric"`
-
- // Defines the resource type for an exadata (example: DATABASE, STORAGE_SERVER, HOST, DISKGROUP)
- ExadataResourceType SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum `mandatory:"true" json:"exadataResourceType"`
-
- // Collection of Exadata system utilization
- Utilization []ExadataInsightResourceInsightUtilizationItem `mandatory:"true" json:"utilization"`
-}
-
-func (m SummarizeExadataInsightResourceUtilizationInsightAggregation) 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 SummarizeExadataInsightResourceUtilizationInsightAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum(string(m.ExadataResourceMetric)); !ok && m.ExadataResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceMetric: %s. Supported values are: %s.", m.ExadataResourceMetric, strings.Join(GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum(string(m.ExadataResourceType)); !ok && m.ExadataResourceType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ExadataResourceType: %s. Supported values are: %s.", m.ExadataResourceType, strings.Join(GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
-const (
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricCpu SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "CPU"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricStorage SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "STORAGE"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIo SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "IO"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricMemory SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "MEMORY"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIops SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "IOPS"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricThroughput SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = "THROUGHPUT"
-)
-
-var mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum = map[string]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum{
- "CPU": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricCpu,
- "STORAGE": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricStorage,
- "IO": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIo,
- "MEMORY": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricMemory,
- "IOPS": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIops,
- "THROUGHPUT": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricThroughput,
-}
-
-var mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumLowerCase = map[string]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum{
- "cpu": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricCpu,
- "storage": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricStorage,
- "io": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIo,
- "memory": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricMemory,
- "iops": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricIops,
- "throughput": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricThroughput,
-}
-
-// GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumValues() []SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum {
- values := make([]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum
-func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "STORAGE",
- "IO",
- "MEMORY",
- "IOPS",
- "THROUGHPUT",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum(val string) (SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum Enum with underlying type: string
-type SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
-const (
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDatabase SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "DATABASE"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeHost SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "HOST"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeStorageServer SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "STORAGE_SERVER"
- SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDiskgroup SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = "DISKGROUP"
-)
-
-var mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum = map[string]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum{
- "DATABASE": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDatabase,
- "HOST": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeHost,
- "STORAGE_SERVER": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeStorageServer,
- "DISKGROUP": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDiskgroup,
-}
-
-var mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumLowerCase = map[string]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum{
- "database": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDatabase,
- "host": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeHost,
- "storage_server": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeStorageServer,
- "diskgroup": SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeDiskgroup,
-}
-
-// GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumValues Enumerates the set of values for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumValues() []SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum {
- values := make([]SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum, 0)
- for _, v := range mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumStringValues Enumerates the set of values in String for SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum
-func GetSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumStringValues() []string {
- return []string{
- "DATABASE",
- "HOST",
- "STORAGE_SERVER",
- "DISKGROUP",
- }
-}
-
-// GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum(val string) (SummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnum, bool) {
- enum, ok := mappingSummarizeExadataInsightResourceUtilizationInsightAggregationExadataResourceTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_request_response.go
deleted file mode 100644
index 72464e7e01b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_insight_resource_utilization_insight_request_response.go
+++ /dev/null
@@ -1,182 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataInsightResourceUtilizationInsightRequest wrapper for the SummarizeExadataInsightResourceUtilizationInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeExadataInsightResourceUtilizationInsightRequest.
-type SummarizeExadataInsightResourceUtilizationInsightRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by resource.
- // Supported values are HOST , STORAGE_SERVER and DATABASE
- ResourceType *string `mandatory:"true" contributesTo:"query" name:"resourceType"`
-
- // Filter by resource metric.
- // Supported values are CPU , STORAGE, MEMORY, IO, IOPS, THROUGHPUT
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // Number of days used for utilization forecast analysis.
- ForecastStartDay *int `mandatory:"false" contributesTo:"query" name:"forecastStartDay"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // 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"`
-
- // 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 SummarizeExadataInsightResourceUtilizationInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataInsightResourceUtilizationInsightRequest) 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 SummarizeExadataInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataInsightResourceUtilizationInsightRequest) 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 SummarizeExadataInsightResourceUtilizationInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataInsightResourceUtilizationInsightResponse wrapper for the SummarizeExadataInsightResourceUtilizationInsight operation
-type SummarizeExadataInsightResourceUtilizationInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeExadataInsightResourceUtilizationInsightAggregation instances
- SummarizeExadataInsightResourceUtilizationInsightAggregation `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 SummarizeExadataInsightResourceUtilizationInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_members_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_members_request_response.go
deleted file mode 100644
index a2f51f240ba..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_exadata_members_request_response.go
+++ /dev/null
@@ -1,215 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeExadataMembersRequest wrapper for the SummarizeExadataMembers operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeExadataMembers.go.html to see an example of how to use SummarizeExadataMembersRequest.
-type SummarizeExadataMembersRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of exadata insight resource.
- ExadataInsightId *string `mandatory:"true" contributesTo:"query" name:"exadataInsightId"`
-
- // Filter by one or more Exadata types.
- // Possible value are DBMACHINE, EXACS, and EXACC.
- ExadataType []string `contributesTo:"query" name:"exadataType" collectionFormat:"multi"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeExadataMembersSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which exadata member records are listed
- SortBy SummarizeExadataMembersSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeExadataMembersRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeExadataMembersRequest) 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 SummarizeExadataMembersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeExadataMembersRequest) 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 SummarizeExadataMembersRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeExadataMembersSortOrderEnum(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(GetSummarizeExadataMembersSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeExadataMembersSortByEnum(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(GetSummarizeExadataMembersSortByEnumStringValues(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeExadataMembersResponse wrapper for the SummarizeExadataMembers operation
-type SummarizeExadataMembersResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of ExadataMemberCollection instances
- ExadataMemberCollection `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. The total number of items in the result.
- OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
-
- // 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 SummarizeExadataMembersResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeExadataMembersResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeExadataMembersSortOrderEnum Enum with underlying type: string
-type SummarizeExadataMembersSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataMembersSortOrderEnum
-const (
- SummarizeExadataMembersSortOrderAsc SummarizeExadataMembersSortOrderEnum = "ASC"
- SummarizeExadataMembersSortOrderDesc SummarizeExadataMembersSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeExadataMembersSortOrderEnum = map[string]SummarizeExadataMembersSortOrderEnum{
- "ASC": SummarizeExadataMembersSortOrderAsc,
- "DESC": SummarizeExadataMembersSortOrderDesc,
-}
-
-var mappingSummarizeExadataMembersSortOrderEnumLowerCase = map[string]SummarizeExadataMembersSortOrderEnum{
- "asc": SummarizeExadataMembersSortOrderAsc,
- "desc": SummarizeExadataMembersSortOrderDesc,
-}
-
-// GetSummarizeExadataMembersSortOrderEnumValues Enumerates the set of values for SummarizeExadataMembersSortOrderEnum
-func GetSummarizeExadataMembersSortOrderEnumValues() []SummarizeExadataMembersSortOrderEnum {
- values := make([]SummarizeExadataMembersSortOrderEnum, 0)
- for _, v := range mappingSummarizeExadataMembersSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataMembersSortOrderEnumStringValues Enumerates the set of values in String for SummarizeExadataMembersSortOrderEnum
-func GetSummarizeExadataMembersSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeExadataMembersSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataMembersSortOrderEnum(val string) (SummarizeExadataMembersSortOrderEnum, bool) {
- enum, ok := mappingSummarizeExadataMembersSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeExadataMembersSortByEnum Enum with underlying type: string
-type SummarizeExadataMembersSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeExadataMembersSortByEnum
-const (
- SummarizeExadataMembersSortByName SummarizeExadataMembersSortByEnum = "name"
- SummarizeExadataMembersSortByDisplayname SummarizeExadataMembersSortByEnum = "displayName"
- SummarizeExadataMembersSortByEntitytype SummarizeExadataMembersSortByEnum = "entityType"
-)
-
-var mappingSummarizeExadataMembersSortByEnum = map[string]SummarizeExadataMembersSortByEnum{
- "name": SummarizeExadataMembersSortByName,
- "displayName": SummarizeExadataMembersSortByDisplayname,
- "entityType": SummarizeExadataMembersSortByEntitytype,
-}
-
-var mappingSummarizeExadataMembersSortByEnumLowerCase = map[string]SummarizeExadataMembersSortByEnum{
- "name": SummarizeExadataMembersSortByName,
- "displayname": SummarizeExadataMembersSortByDisplayname,
- "entitytype": SummarizeExadataMembersSortByEntitytype,
-}
-
-// GetSummarizeExadataMembersSortByEnumValues Enumerates the set of values for SummarizeExadataMembersSortByEnum
-func GetSummarizeExadataMembersSortByEnumValues() []SummarizeExadataMembersSortByEnum {
- values := make([]SummarizeExadataMembersSortByEnum, 0)
- for _, v := range mappingSummarizeExadataMembersSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeExadataMembersSortByEnumStringValues Enumerates the set of values in String for SummarizeExadataMembersSortByEnum
-func GetSummarizeExadataMembersSortByEnumStringValues() []string {
- return []string{
- "name",
- "displayName",
- "entityType",
- }
-}
-
-// GetMappingSummarizeExadataMembersSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeExadataMembersSortByEnum(val string) (SummarizeExadataMembersSortByEnum, bool) {
- enum, ok := mappingSummarizeExadataMembersSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go
deleted file mode 100644
index 43b2c37b5e1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_aggregation_collection.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightNetworkUsageTrendAggregationCollection Top level response object.
-type SummarizeHostInsightNetworkUsageTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Collection of Usage Data with time stamps for all network interfaces.
- Items []NetworkUsageTrendAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeHostInsightNetworkUsageTrendAggregationCollection) 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 SummarizeHostInsightNetworkUsageTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitCores SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitGb SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitMbps SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitIops SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitPercent SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumValues() []SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightNetworkUsageTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_request_response.go
deleted file mode 100644
index 6dcdd34530a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_network_usage_trend_request_response.go
+++ /dev/null
@@ -1,181 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightNetworkUsageTrendRequest wrapper for the SummarizeHostInsightNetworkUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightNetworkUsageTrend.go.html to see an example of how to use SummarizeHostInsightNetworkUsageTrendRequest.
-type SummarizeHostInsightNetworkUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // 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"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeHostInsightNetworkUsageTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" 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"`
-
- // 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 SummarizeHostInsightNetworkUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightNetworkUsageTrendRequest) 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 SummarizeHostInsightNetworkUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightNetworkUsageTrendRequest) 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 SummarizeHostInsightNetworkUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightNetworkUsageTrendResponse wrapper for the SummarizeHostInsightNetworkUsageTrend operation
-type SummarizeHostInsightNetworkUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightNetworkUsageTrendAggregationCollection instances
- SummarizeHostInsightNetworkUsageTrendAggregationCollection `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 SummarizeHostInsightNetworkUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightNetworkUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightNetworkUsageTrendStatisticEnum Enum with underlying type: string
-type SummarizeHostInsightNetworkUsageTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightNetworkUsageTrendStatisticEnum
-const (
- SummarizeHostInsightNetworkUsageTrendStatisticAvg SummarizeHostInsightNetworkUsageTrendStatisticEnum = "AVG"
- SummarizeHostInsightNetworkUsageTrendStatisticMax SummarizeHostInsightNetworkUsageTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeHostInsightNetworkUsageTrendStatisticEnum = map[string]SummarizeHostInsightNetworkUsageTrendStatisticEnum{
- "AVG": SummarizeHostInsightNetworkUsageTrendStatisticAvg,
- "MAX": SummarizeHostInsightNetworkUsageTrendStatisticMax,
-}
-
-var mappingSummarizeHostInsightNetworkUsageTrendStatisticEnumLowerCase = map[string]SummarizeHostInsightNetworkUsageTrendStatisticEnum{
- "avg": SummarizeHostInsightNetworkUsageTrendStatisticAvg,
- "max": SummarizeHostInsightNetworkUsageTrendStatisticMax,
-}
-
-// GetSummarizeHostInsightNetworkUsageTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightNetworkUsageTrendStatisticEnum
-func GetSummarizeHostInsightNetworkUsageTrendStatisticEnumValues() []SummarizeHostInsightNetworkUsageTrendStatisticEnum {
- values := make([]SummarizeHostInsightNetworkUsageTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeHostInsightNetworkUsageTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightNetworkUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightNetworkUsageTrendStatisticEnum
-func GetSummarizeHostInsightNetworkUsageTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeHostInsightNetworkUsageTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightNetworkUsageTrendStatisticEnum(val string) (SummarizeHostInsightNetworkUsageTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeHostInsightNetworkUsageTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go
deleted file mode 100644
index 430e0593d4f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_aggregation_collection.go
+++ /dev/null
@@ -1,176 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightResourceCapacityTrendAggregationCollection Top level response object.
-type SummarizeHostInsightResourceCapacityTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
- ResourceMetric SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Capacity Data with timestamp.
- CapacityData []HostResourceCapacityTrendAggregation `mandatory:"true" json:"capacityData"`
-}
-
-func (m SummarizeHostInsightResourceCapacityTrendAggregationCollection) 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 SummarizeHostInsightResourceCapacityTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-const (
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricNetwork SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = "NETWORK"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum = map[string]SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu,
- "MEMORY": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory,
- "LOGICAL_MEMORY": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricLogicalMemory,
- "STORAGE": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage,
- "NETWORK": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricNetwork,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricCpu,
- "memory": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricMemory,
- "logical_memory": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricLogicalMemory,
- "storage": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricStorage,
- "network": SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricNetwork,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- "LOGICAL_MEMORY",
- "STORAGE",
- "NETWORK",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum(val string) (SummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitCores SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitGb SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitIops SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumValues() []SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_request_response.go
deleted file mode 100644
index a049ec39fc1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_capacity_trend_request_response.go
+++ /dev/null
@@ -1,400 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceCapacityTrendRequest wrapper for the SummarizeHostInsightResourceCapacityTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceCapacityTrend.go.html to see an example of how to use SummarizeHostInsightResourceCapacityTrendRequest.
-type SummarizeHostInsightResourceCapacityTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by utilization level by the following buckets:
- // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
- // - LOW_UTILIZATION: DBs with utilization lower than 25.
- // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
- // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
- UtilizationLevel SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeHostInsightResourceCapacityTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Sorts using end timestamp or capacity
- SortBy SummarizeHostInsightResourceCapacityTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeHostInsightResourceCapacityTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceCapacityTrendRequest) 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 SummarizeHostInsightResourceCapacityTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceCapacityTrendRequest) 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 SummarizeHostInsightResourceCapacityTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum(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(GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceCapacityTrendSortOrderEnum(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(GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceCapacityTrendResponse wrapper for the SummarizeHostInsightResourceCapacityTrend operation
-type SummarizeHostInsightResourceCapacityTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceCapacityTrendAggregationCollection instances
- SummarizeHostInsightResourceCapacityTrendAggregationCollection `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 SummarizeHostInsightResourceCapacityTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceCapacityTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
-const (
- SummarizeHostInsightResourceCapacityTrendPlatformTypeLinux SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceCapacityTrendPlatformTypeSolaris SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceCapacityTrendPlatformTypeSunos SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceCapacityTrendPlatformTypeZlinux SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceCapacityTrendPlatformTypeWindows SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceCapacityTrendPlatformTypeAix SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnum = map[string]SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceCapacityTrendPlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceCapacityTrendPlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceCapacityTrendPlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceCapacityTrendPlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceCapacityTrendPlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceCapacityTrendPlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum{
- "linux": SummarizeHostInsightResourceCapacityTrendPlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceCapacityTrendPlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceCapacityTrendPlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceCapacityTrendPlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceCapacityTrendPlatformTypeWindows,
- "aix": SummarizeHostInsightResourceCapacityTrendPlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnum(val string) (SummarizeHostInsightResourceCapacityTrendPlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
-const (
- SummarizeHostInsightResourceCapacityTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
- SummarizeHostInsightResourceCapacityTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "LOW_UTILIZATION"
- SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
- SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum = map[string]SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum{
- "HIGH_UTILIZATION": SummarizeHostInsightResourceCapacityTrendUtilizationLevelHighUtilization,
- "LOW_UTILIZATION": SummarizeHostInsightResourceCapacityTrendUtilizationLevelLowUtilization,
- "MEDIUM_HIGH_UTILIZATION": SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization,
- "MEDIUM_LOW_UTILIZATION": SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum{
- "high_utilization": SummarizeHostInsightResourceCapacityTrendUtilizationLevelHighUtilization,
- "low_utilization": SummarizeHostInsightResourceCapacityTrendUtilizationLevelLowUtilization,
- "medium_high_utilization": SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumHighUtilization,
- "medium_low_utilization": SummarizeHostInsightResourceCapacityTrendUtilizationLevelMediumLowUtilization,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
-func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum
-func GetSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumStringValues() []string {
- return []string{
- "HIGH_UTILIZATION",
- "LOW_UTILIZATION",
- "MEDIUM_HIGH_UTILIZATION",
- "MEDIUM_LOW_UTILIZATION",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum(val string) (SummarizeHostInsightResourceCapacityTrendUtilizationLevelEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendUtilizationLevelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceCapacityTrendSortOrderEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
-const (
- SummarizeHostInsightResourceCapacityTrendSortOrderAsc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "ASC"
- SummarizeHostInsightResourceCapacityTrendSortOrderDesc SummarizeHostInsightResourceCapacityTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendSortOrderEnum = map[string]SummarizeHostInsightResourceCapacityTrendSortOrderEnum{
- "ASC": SummarizeHostInsightResourceCapacityTrendSortOrderAsc,
- "DESC": SummarizeHostInsightResourceCapacityTrendSortOrderDesc,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendSortOrderEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendSortOrderEnum{
- "asc": SummarizeHostInsightResourceCapacityTrendSortOrderAsc,
- "desc": SummarizeHostInsightResourceCapacityTrendSortOrderDesc,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumValues() []SummarizeHostInsightResourceCapacityTrendSortOrderEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendSortOrderEnum
-func GetSummarizeHostInsightResourceCapacityTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendSortOrderEnum(val string) (SummarizeHostInsightResourceCapacityTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceCapacityTrendSortByEnum Enum with underlying type: string
-type SummarizeHostInsightResourceCapacityTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceCapacityTrendSortByEnum
-const (
- SummarizeHostInsightResourceCapacityTrendSortByEndtimestamp SummarizeHostInsightResourceCapacityTrendSortByEnum = "endTimestamp"
- SummarizeHostInsightResourceCapacityTrendSortByCapacity SummarizeHostInsightResourceCapacityTrendSortByEnum = "capacity"
-)
-
-var mappingSummarizeHostInsightResourceCapacityTrendSortByEnum = map[string]SummarizeHostInsightResourceCapacityTrendSortByEnum{
- "endTimestamp": SummarizeHostInsightResourceCapacityTrendSortByEndtimestamp,
- "capacity": SummarizeHostInsightResourceCapacityTrendSortByCapacity,
-}
-
-var mappingSummarizeHostInsightResourceCapacityTrendSortByEnumLowerCase = map[string]SummarizeHostInsightResourceCapacityTrendSortByEnum{
- "endtimestamp": SummarizeHostInsightResourceCapacityTrendSortByEndtimestamp,
- "capacity": SummarizeHostInsightResourceCapacityTrendSortByCapacity,
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceCapacityTrendSortByEnum
-func GetSummarizeHostInsightResourceCapacityTrendSortByEnumValues() []SummarizeHostInsightResourceCapacityTrendSortByEnum {
- values := make([]SummarizeHostInsightResourceCapacityTrendSortByEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceCapacityTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceCapacityTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceCapacityTrendSortByEnum
-func GetSummarizeHostInsightResourceCapacityTrendSortByEnumStringValues() []string {
- return []string{
- "endTimestamp",
- "capacity",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceCapacityTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceCapacityTrendSortByEnum(val string) (SummarizeHostInsightResourceCapacityTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceCapacityTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_forecast_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_forecast_trend_request_response.go
deleted file mode 100644
index a99477eb2c3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_forecast_trend_request_response.go
+++ /dev/null
@@ -1,419 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceForecastTrendRequest wrapper for the SummarizeHostInsightResourceForecastTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceForecastTrend.go.html to see an example of how to use SummarizeHostInsightResourceForecastTrendRequest.
-type SummarizeHostInsightResourceForecastTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceForecastTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeHostInsightResourceForecastTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" omitEmpty:"true"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // Choose algorithm model for the forecasting.
- // Possible values:
- // - LINEAR: Uses linear regression algorithm for forecasting.
- // - ML_AUTO: Automatically detects best algorithm to use for forecasting.
- // - ML_NO_AUTO: Automatically detects seasonality of the data for forecasting using linear or seasonal algorithm.
- ForecastModel SummarizeHostInsightResourceForecastTrendForecastModelEnum `mandatory:"false" contributesTo:"query" name:"forecastModel" omitEmpty:"true"`
-
- // Filter by utilization level by the following buckets:
- // - HIGH_UTILIZATION: DBs with utilization greater or equal than 75.
- // - LOW_UTILIZATION: DBs with utilization lower than 25.
- // - MEDIUM_HIGH_UTILIZATION: DBs with utilization greater or equal than 50 but lower than 75.
- // - MEDIUM_LOW_UTILIZATION: DBs with utilization greater or equal than 25 but lower than 50.
- UtilizationLevel SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum `mandatory:"false" contributesTo:"query" name:"utilizationLevel" omitEmpty:"true"`
-
- // This parameter is used to change data's confidence level, this data is ingested by the
- // forecast algorithm.
- // Confidence is the probability of an interval to contain the expected population parameter.
- // Manipulation of this value will lead to different results.
- // If not set, default confidence value is 95%.
- Confidence *int `mandatory:"false" contributesTo:"query" name:"confidence"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // Mount points are specialized NTFS filesystem objects.
- MountPoint *string `mandatory:"false" contributesTo:"query" name:"mountPoint"`
-
- // Name of the network interface.
- InterfaceName *string `mandatory:"false" contributesTo:"query" name:"interfaceName"`
-
- // 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 SummarizeHostInsightResourceForecastTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceForecastTrendRequest) 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 SummarizeHostInsightResourceForecastTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceForecastTrendRequest) 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 SummarizeHostInsightResourceForecastTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeHostInsightResourceForecastTrendStatisticEnum(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(GetSummarizeHostInsightResourceForecastTrendStatisticEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceForecastTrendForecastModelEnum(string(request.ForecastModel)); !ok && request.ForecastModel != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ForecastModel: %s. Supported values are: %s.", request.ForecastModel, strings.Join(GetSummarizeHostInsightResourceForecastTrendForecastModelEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceForecastTrendResponse wrapper for the SummarizeHostInsightResourceForecastTrend operation
-type SummarizeHostInsightResourceForecastTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceForecastTrendAggregation instances
- SummarizeHostInsightResourceForecastTrendAggregation `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 SummarizeHostInsightResourceForecastTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceForecastTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceForecastTrendPlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceForecastTrendPlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
-const (
- SummarizeHostInsightResourceForecastTrendPlatformTypeLinux SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceForecastTrendPlatformTypeSolaris SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceForecastTrendPlatformTypeSunos SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceForecastTrendPlatformTypeZlinux SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceForecastTrendPlatformTypeWindows SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceForecastTrendPlatformTypeAix SummarizeHostInsightResourceForecastTrendPlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnum = map[string]SummarizeHostInsightResourceForecastTrendPlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceForecastTrendPlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceForecastTrendPlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceForecastTrendPlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceForecastTrendPlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceForecastTrendPlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceForecastTrendPlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceForecastTrendPlatformTypeEnum{
- "linux": SummarizeHostInsightResourceForecastTrendPlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceForecastTrendPlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceForecastTrendPlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceForecastTrendPlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceForecastTrendPlatformTypeWindows,
- "aix": SummarizeHostInsightResourceForecastTrendPlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceForecastTrendPlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceForecastTrendPlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceForecastTrendPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnum(val string) (SummarizeHostInsightResourceForecastTrendPlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceForecastTrendPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceForecastTrendStatisticEnum Enum with underlying type: string
-type SummarizeHostInsightResourceForecastTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendStatisticEnum
-const (
- SummarizeHostInsightResourceForecastTrendStatisticAvg SummarizeHostInsightResourceForecastTrendStatisticEnum = "AVG"
- SummarizeHostInsightResourceForecastTrendStatisticMax SummarizeHostInsightResourceForecastTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeHostInsightResourceForecastTrendStatisticEnum = map[string]SummarizeHostInsightResourceForecastTrendStatisticEnum{
- "AVG": SummarizeHostInsightResourceForecastTrendStatisticAvg,
- "MAX": SummarizeHostInsightResourceForecastTrendStatisticMax,
-}
-
-var mappingSummarizeHostInsightResourceForecastTrendStatisticEnumLowerCase = map[string]SummarizeHostInsightResourceForecastTrendStatisticEnum{
- "avg": SummarizeHostInsightResourceForecastTrendStatisticAvg,
- "max": SummarizeHostInsightResourceForecastTrendStatisticMax,
-}
-
-// GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendStatisticEnum
-func GetSummarizeHostInsightResourceForecastTrendStatisticEnumValues() []SummarizeHostInsightResourceForecastTrendStatisticEnum {
- values := make([]SummarizeHostInsightResourceForecastTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceForecastTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceForecastTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendStatisticEnum
-func GetSummarizeHostInsightResourceForecastTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceForecastTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceForecastTrendStatisticEnum(val string) (SummarizeHostInsightResourceForecastTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceForecastTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceForecastTrendForecastModelEnum Enum with underlying type: string
-type SummarizeHostInsightResourceForecastTrendForecastModelEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
-const (
- SummarizeHostInsightResourceForecastTrendForecastModelLinear SummarizeHostInsightResourceForecastTrendForecastModelEnum = "LINEAR"
- SummarizeHostInsightResourceForecastTrendForecastModelMlAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_AUTO"
- SummarizeHostInsightResourceForecastTrendForecastModelMlNoAuto SummarizeHostInsightResourceForecastTrendForecastModelEnum = "ML_NO_AUTO"
-)
-
-var mappingSummarizeHostInsightResourceForecastTrendForecastModelEnum = map[string]SummarizeHostInsightResourceForecastTrendForecastModelEnum{
- "LINEAR": SummarizeHostInsightResourceForecastTrendForecastModelLinear,
- "ML_AUTO": SummarizeHostInsightResourceForecastTrendForecastModelMlAuto,
- "ML_NO_AUTO": SummarizeHostInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-var mappingSummarizeHostInsightResourceForecastTrendForecastModelEnumLowerCase = map[string]SummarizeHostInsightResourceForecastTrendForecastModelEnum{
- "linear": SummarizeHostInsightResourceForecastTrendForecastModelLinear,
- "ml_auto": SummarizeHostInsightResourceForecastTrendForecastModelMlAuto,
- "ml_no_auto": SummarizeHostInsightResourceForecastTrendForecastModelMlNoAuto,
-}
-
-// GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumValues() []SummarizeHostInsightResourceForecastTrendForecastModelEnum {
- values := make([]SummarizeHostInsightResourceForecastTrendForecastModelEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceForecastTrendForecastModelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceForecastTrendForecastModelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendForecastModelEnum
-func GetSummarizeHostInsightResourceForecastTrendForecastModelEnumStringValues() []string {
- return []string{
- "LINEAR",
- "ML_AUTO",
- "ML_NO_AUTO",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceForecastTrendForecastModelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceForecastTrendForecastModelEnum(val string) (SummarizeHostInsightResourceForecastTrendForecastModelEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceForecastTrendForecastModelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum Enum with underlying type: string
-type SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
-const (
- SummarizeHostInsightResourceForecastTrendUtilizationLevelHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "HIGH_UTILIZATION"
- SummarizeHostInsightResourceForecastTrendUtilizationLevelLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "LOW_UTILIZATION"
- SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumHighUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_HIGH_UTILIZATION"
- SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumLowUtilization SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = "MEDIUM_LOW_UTILIZATION"
-)
-
-var mappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnum = map[string]SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum{
- "HIGH_UTILIZATION": SummarizeHostInsightResourceForecastTrendUtilizationLevelHighUtilization,
- "LOW_UTILIZATION": SummarizeHostInsightResourceForecastTrendUtilizationLevelLowUtilization,
- "MEDIUM_HIGH_UTILIZATION": SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumHighUtilization,
- "MEDIUM_LOW_UTILIZATION": SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumLowUtilization,
-}
-
-var mappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumLowerCase = map[string]SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum{
- "high_utilization": SummarizeHostInsightResourceForecastTrendUtilizationLevelHighUtilization,
- "low_utilization": SummarizeHostInsightResourceForecastTrendUtilizationLevelLowUtilization,
- "medium_high_utilization": SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumHighUtilization,
- "medium_low_utilization": SummarizeHostInsightResourceForecastTrendUtilizationLevelMediumLowUtilization,
-}
-
-// GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues Enumerates the set of values for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
-func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumValues() []SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum {
- values := make([]SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum
-func GetSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumStringValues() []string {
- return []string{
- "HIGH_UTILIZATION",
- "LOW_UTILIZATION",
- "MEDIUM_HIGH_UTILIZATION",
- "MEDIUM_LOW_UTILIZATION",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnum(val string) (SummarizeHostInsightResourceForecastTrendUtilizationLevelEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceForecastTrendUtilizationLevelEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go
deleted file mode 100644
index dd367e1c9bb..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_aggregation_collection.go
+++ /dev/null
@@ -1,173 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightResourceStatisticsAggregationCollection Returns list of hosts with resource statistics like usage, capacity, utilization, usage change percent and load.
-type SummarizeHostInsightResourceStatisticsAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
- ResourceMetric SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Collection of Resource Statistics items
- Items []HostInsightResourceStatisticsAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeHostInsightResourceStatisticsAggregationCollection) 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 SummarizeHostInsightResourceStatisticsAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-const (
- SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY"
- SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricStorage SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricNetwork SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = "NETWORK"
-)
-
-var mappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum = map[string]SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricCpu,
- "MEMORY": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricMemory,
- "LOGICAL_MEMORY": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricLogicalMemory,
- "STORAGE": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricStorage,
- "NETWORK": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricNetwork,
-}
-
-var mappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricCpu,
- "memory": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricMemory,
- "logical_memory": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricLogicalMemory,
- "storage": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricStorage,
- "network": SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricNetwork,
-}
-
-// GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- "LOGICAL_MEMORY",
- "STORAGE",
- "NETWORK",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum(val string) (SummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceStatisticsAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-const (
- SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitCores SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitGb SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "GB"
- SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitMbps SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitIops SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitPercent SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum = map[string]SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitCores,
- "GB": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum{
- "cores": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitCores,
- "gb": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitGb,
- "mbps": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitMbps,
- "iops": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitIops,
- "percent": SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumValues() []SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum(val string) (SummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceStatisticsAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_request_response.go
deleted file mode 100644
index 69d31fa2281..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_statistics_request_response.go
+++ /dev/null
@@ -1,370 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceStatisticsRequest wrapper for the SummarizeHostInsightResourceStatistics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceStatistics.go.html to see an example of how to use SummarizeHostInsightResourceStatisticsRequest.
-type SummarizeHostInsightResourceStatisticsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceStatisticsPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // Return data of a specific insight
- // Possible values are High Utilization, Low Utilization, Any ,High Utilization Forecast,
- // Low Utilization Forecast
- InsightBy *string `mandatory:"false" contributesTo:"query" name:"insightBy"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeHostInsightResourceStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The order in which resource statistics records are listed.
- SortBy SummarizeHostInsightResourceStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeHostInsightResourceStatisticsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceStatisticsRequest) 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 SummarizeHostInsightResourceStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceStatisticsRequest) 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 SummarizeHostInsightResourceStatisticsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceStatisticsPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeHostInsightResourceStatisticsSortOrderEnum(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(GetSummarizeHostInsightResourceStatisticsSortOrderEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceStatisticsResponse wrapper for the SummarizeHostInsightResourceStatistics operation
-type SummarizeHostInsightResourceStatisticsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceStatisticsAggregationCollection instances
- SummarizeHostInsightResourceStatisticsAggregationCollection `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 SummarizeHostInsightResourceStatisticsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceStatisticsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceStatisticsPlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceStatisticsPlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
-const (
- SummarizeHostInsightResourceStatisticsPlatformTypeLinux SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceStatisticsPlatformTypeSolaris SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceStatisticsPlatformTypeSunos SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceStatisticsPlatformTypeZlinux SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceStatisticsPlatformTypeWindows SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceStatisticsPlatformTypeAix SummarizeHostInsightResourceStatisticsPlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceStatisticsPlatformTypeEnum = map[string]SummarizeHostInsightResourceStatisticsPlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceStatisticsPlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceStatisticsPlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceStatisticsPlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceStatisticsPlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceStatisticsPlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceStatisticsPlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceStatisticsPlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceStatisticsPlatformTypeEnum{
- "linux": SummarizeHostInsightResourceStatisticsPlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceStatisticsPlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceStatisticsPlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceStatisticsPlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceStatisticsPlatformTypeWindows,
- "aix": SummarizeHostInsightResourceStatisticsPlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
-func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumValues() []SummarizeHostInsightResourceStatisticsPlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceStatisticsPlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceStatisticsPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsPlatformTypeEnum
-func GetSummarizeHostInsightResourceStatisticsPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceStatisticsPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceStatisticsPlatformTypeEnum(val string) (SummarizeHostInsightResourceStatisticsPlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceStatisticsPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceStatisticsSortOrderEnum Enum with underlying type: string
-type SummarizeHostInsightResourceStatisticsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortOrderEnum
-const (
- SummarizeHostInsightResourceStatisticsSortOrderAsc SummarizeHostInsightResourceStatisticsSortOrderEnum = "ASC"
- SummarizeHostInsightResourceStatisticsSortOrderDesc SummarizeHostInsightResourceStatisticsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeHostInsightResourceStatisticsSortOrderEnum = map[string]SummarizeHostInsightResourceStatisticsSortOrderEnum{
- "ASC": SummarizeHostInsightResourceStatisticsSortOrderAsc,
- "DESC": SummarizeHostInsightResourceStatisticsSortOrderDesc,
-}
-
-var mappingSummarizeHostInsightResourceStatisticsSortOrderEnumLowerCase = map[string]SummarizeHostInsightResourceStatisticsSortOrderEnum{
- "asc": SummarizeHostInsightResourceStatisticsSortOrderAsc,
- "desc": SummarizeHostInsightResourceStatisticsSortOrderDesc,
-}
-
-// GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortOrderEnum
-func GetSummarizeHostInsightResourceStatisticsSortOrderEnumValues() []SummarizeHostInsightResourceStatisticsSortOrderEnum {
- values := make([]SummarizeHostInsightResourceStatisticsSortOrderEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceStatisticsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsSortOrderEnum
-func GetSummarizeHostInsightResourceStatisticsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceStatisticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceStatisticsSortOrderEnum(val string) (SummarizeHostInsightResourceStatisticsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceStatisticsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceStatisticsSortByEnum Enum with underlying type: string
-type SummarizeHostInsightResourceStatisticsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceStatisticsSortByEnum
-const (
- SummarizeHostInsightResourceStatisticsSortByUtilizationpercent SummarizeHostInsightResourceStatisticsSortByEnum = "utilizationPercent"
- SummarizeHostInsightResourceStatisticsSortByUsage SummarizeHostInsightResourceStatisticsSortByEnum = "usage"
- SummarizeHostInsightResourceStatisticsSortByUsagechangepercent SummarizeHostInsightResourceStatisticsSortByEnum = "usageChangePercent"
- SummarizeHostInsightResourceStatisticsSortByHostname SummarizeHostInsightResourceStatisticsSortByEnum = "hostName"
- SummarizeHostInsightResourceStatisticsSortByPlatformtype SummarizeHostInsightResourceStatisticsSortByEnum = "platformType"
-)
-
-var mappingSummarizeHostInsightResourceStatisticsSortByEnum = map[string]SummarizeHostInsightResourceStatisticsSortByEnum{
- "utilizationPercent": SummarizeHostInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeHostInsightResourceStatisticsSortByUsage,
- "usageChangePercent": SummarizeHostInsightResourceStatisticsSortByUsagechangepercent,
- "hostName": SummarizeHostInsightResourceStatisticsSortByHostname,
- "platformType": SummarizeHostInsightResourceStatisticsSortByPlatformtype,
-}
-
-var mappingSummarizeHostInsightResourceStatisticsSortByEnumLowerCase = map[string]SummarizeHostInsightResourceStatisticsSortByEnum{
- "utilizationpercent": SummarizeHostInsightResourceStatisticsSortByUtilizationpercent,
- "usage": SummarizeHostInsightResourceStatisticsSortByUsage,
- "usagechangepercent": SummarizeHostInsightResourceStatisticsSortByUsagechangepercent,
- "hostname": SummarizeHostInsightResourceStatisticsSortByHostname,
- "platformtype": SummarizeHostInsightResourceStatisticsSortByPlatformtype,
-}
-
-// GetSummarizeHostInsightResourceStatisticsSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceStatisticsSortByEnum
-func GetSummarizeHostInsightResourceStatisticsSortByEnumValues() []SummarizeHostInsightResourceStatisticsSortByEnum {
- values := make([]SummarizeHostInsightResourceStatisticsSortByEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceStatisticsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceStatisticsSortByEnum
-func GetSummarizeHostInsightResourceStatisticsSortByEnumStringValues() []string {
- return []string{
- "utilizationPercent",
- "usage",
- "usageChangePercent",
- "hostName",
- "platformType",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceStatisticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceStatisticsSortByEnum(val string) (SummarizeHostInsightResourceStatisticsSortByEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceStatisticsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_aggregation.go
deleted file mode 100644
index b02a3954602..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_aggregation.go
+++ /dev/null
@@ -1,173 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightResourceUsageAggregation Resource usage summation for the current time period.
-type SummarizeHostInsightResourceUsageAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
- ResourceMetric SummarizeHostInsightResourceUsageAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightResourceUsageAggregationUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-
- // Percentage change in resource usage during the current period calculated using linear regression functions
- UsageChangePercent *float64 `mandatory:"true" json:"usageChangePercent"`
-}
-
-func (m SummarizeHostInsightResourceUsageAggregation) 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 SummarizeHostInsightResourceUsageAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUsageAggregationResourceMetricEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageAggregationResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
-const (
- SummarizeHostInsightResourceUsageAggregationResourceMetricCpu SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "CPU"
- SummarizeHostInsightResourceUsageAggregationResourceMetricMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "MEMORY"
- SummarizeHostInsightResourceUsageAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "LOGICAL_MEMORY"
- SummarizeHostInsightResourceUsageAggregationResourceMetricStorage SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "STORAGE"
- SummarizeHostInsightResourceUsageAggregationResourceMetricNetwork SummarizeHostInsightResourceUsageAggregationResourceMetricEnum = "NETWORK"
-)
-
-var mappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnum = map[string]SummarizeHostInsightResourceUsageAggregationResourceMetricEnum{
- "CPU": SummarizeHostInsightResourceUsageAggregationResourceMetricCpu,
- "MEMORY": SummarizeHostInsightResourceUsageAggregationResourceMetricMemory,
- "LOGICAL_MEMORY": SummarizeHostInsightResourceUsageAggregationResourceMetricLogicalMemory,
- "STORAGE": SummarizeHostInsightResourceUsageAggregationResourceMetricStorage,
- "NETWORK": SummarizeHostInsightResourceUsageAggregationResourceMetricNetwork,
-}
-
-var mappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnumLowerCase = map[string]SummarizeHostInsightResourceUsageAggregationResourceMetricEnum{
- "cpu": SummarizeHostInsightResourceUsageAggregationResourceMetricCpu,
- "memory": SummarizeHostInsightResourceUsageAggregationResourceMetricMemory,
- "logical_memory": SummarizeHostInsightResourceUsageAggregationResourceMetricLogicalMemory,
- "storage": SummarizeHostInsightResourceUsageAggregationResourceMetricStorage,
- "network": SummarizeHostInsightResourceUsageAggregationResourceMetricNetwork,
-}
-
-// GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
-func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUsageAggregationResourceMetricEnum {
- values := make([]SummarizeHostInsightResourceUsageAggregationResourceMetricEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageAggregationResourceMetricEnum
-func GetSummarizeHostInsightResourceUsageAggregationResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- "LOGICAL_MEMORY",
- "STORAGE",
- "NETWORK",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnum(val string) (SummarizeHostInsightResourceUsageAggregationResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageAggregationResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceUsageAggregationUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageAggregationUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageAggregationUsageUnitEnum
-const (
- SummarizeHostInsightResourceUsageAggregationUsageUnitCores SummarizeHostInsightResourceUsageAggregationUsageUnitEnum = "CORES"
- SummarizeHostInsightResourceUsageAggregationUsageUnitGb SummarizeHostInsightResourceUsageAggregationUsageUnitEnum = "GB"
- SummarizeHostInsightResourceUsageAggregationUsageUnitMbps SummarizeHostInsightResourceUsageAggregationUsageUnitEnum = "MBPS"
- SummarizeHostInsightResourceUsageAggregationUsageUnitIops SummarizeHostInsightResourceUsageAggregationUsageUnitEnum = "IOPS"
- SummarizeHostInsightResourceUsageAggregationUsageUnitPercent SummarizeHostInsightResourceUsageAggregationUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnum = map[string]SummarizeHostInsightResourceUsageAggregationUsageUnitEnum{
- "CORES": SummarizeHostInsightResourceUsageAggregationUsageUnitCores,
- "GB": SummarizeHostInsightResourceUsageAggregationUsageUnitGb,
- "MBPS": SummarizeHostInsightResourceUsageAggregationUsageUnitMbps,
- "IOPS": SummarizeHostInsightResourceUsageAggregationUsageUnitIops,
- "PERCENT": SummarizeHostInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnumLowerCase = map[string]SummarizeHostInsightResourceUsageAggregationUsageUnitEnum{
- "cores": SummarizeHostInsightResourceUsageAggregationUsageUnitCores,
- "gb": SummarizeHostInsightResourceUsageAggregationUsageUnitGb,
- "mbps": SummarizeHostInsightResourceUsageAggregationUsageUnitMbps,
- "iops": SummarizeHostInsightResourceUsageAggregationUsageUnitIops,
- "percent": SummarizeHostInsightResourceUsageAggregationUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumValues() []SummarizeHostInsightResourceUsageAggregationUsageUnitEnum {
- values := make([]SummarizeHostInsightResourceUsageAggregationUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageAggregationUsageUnitEnum
-func GetSummarizeHostInsightResourceUsageAggregationUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnum(val string) (SummarizeHostInsightResourceUsageAggregationUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageAggregationUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_request_response.go
deleted file mode 100644
index 97128ac4994..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_request_response.go
+++ /dev/null
@@ -1,236 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceUsageRequest wrapper for the SummarizeHostInsightResourceUsage operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsage.go.html to see an example of how to use SummarizeHostInsightResourceUsageRequest.
-type SummarizeHostInsightResourceUsageRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceUsagePlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // Percentile values of daily usage to be used for computing the aggregate resource usage.
- Percentile *int `mandatory:"false" contributesTo:"query" name:"percentile"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request SummarizeHostInsightResourceUsageRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceUsageRequest) 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 SummarizeHostInsightResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceUsageRequest) 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 SummarizeHostInsightResourceUsageRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceUsagePlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceUsagePlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUsageResponse wrapper for the SummarizeHostInsightResourceUsage operation
-type SummarizeHostInsightResourceUsageResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceUsageAggregation instances
- SummarizeHostInsightResourceUsageAggregation `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 SummarizeHostInsightResourceUsageResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceUsageResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceUsagePlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsagePlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsagePlatformTypeEnum
-const (
- SummarizeHostInsightResourceUsagePlatformTypeLinux SummarizeHostInsightResourceUsagePlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceUsagePlatformTypeSolaris SummarizeHostInsightResourceUsagePlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceUsagePlatformTypeSunos SummarizeHostInsightResourceUsagePlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceUsagePlatformTypeZlinux SummarizeHostInsightResourceUsagePlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceUsagePlatformTypeWindows SummarizeHostInsightResourceUsagePlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceUsagePlatformTypeAix SummarizeHostInsightResourceUsagePlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceUsagePlatformTypeEnum = map[string]SummarizeHostInsightResourceUsagePlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceUsagePlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceUsagePlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceUsagePlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceUsagePlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceUsagePlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceUsagePlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceUsagePlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceUsagePlatformTypeEnum{
- "linux": SummarizeHostInsightResourceUsagePlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceUsagePlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceUsagePlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceUsagePlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceUsagePlatformTypeWindows,
- "aix": SummarizeHostInsightResourceUsagePlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsagePlatformTypeEnum
-func GetSummarizeHostInsightResourceUsagePlatformTypeEnumValues() []SummarizeHostInsightResourceUsagePlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceUsagePlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsagePlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsagePlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsagePlatformTypeEnum
-func GetSummarizeHostInsightResourceUsagePlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsagePlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsagePlatformTypeEnum(val string) (SummarizeHostInsightResourceUsagePlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsagePlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go
deleted file mode 100644
index 91fd6870b5c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_aggregation_collection.go
+++ /dev/null
@@ -1,170 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightResourceUsageTrendAggregationCollection Top level response object.
-type SummarizeHostInsightResourceUsageTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
- ResourceMetric SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Usage Data with timestamp.
- UsageData []ResourceUsageTrendAggregation `mandatory:"true" json:"usageData"`
-}
-
-func (m SummarizeHostInsightResourceUsageTrendAggregationCollection) 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 SummarizeHostInsightResourceUsageTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-const (
- SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricCpu SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "CPU"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "MEMORY"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricLogicalMemory SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "LOGICAL_MEMORY"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricStorage SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "STORAGE"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricNetwork SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = "NETWORK"
-)
-
-var mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum = map[string]SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum{
- "CPU": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricCpu,
- "MEMORY": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricMemory,
- "LOGICAL_MEMORY": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricLogicalMemory,
- "STORAGE": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricStorage,
- "NETWORK": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricNetwork,
-}
-
-var mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumLowerCase = map[string]SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum{
- "cpu": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricCpu,
- "memory": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricMemory,
- "logical_memory": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricLogicalMemory,
- "storage": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricStorage,
- "network": SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricNetwork,
-}
-
-// GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumValues() []SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum {
- values := make([]SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum
-func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- "LOGICAL_MEMORY",
- "STORAGE",
- "NETWORK",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum(val string) (SummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitCores SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitGb SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitMbps SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitIops SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitPercent SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumValues() []SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_request_response.go
deleted file mode 100644
index c1c7ac57bc3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_usage_trend_request_response.go
+++ /dev/null
@@ -1,338 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceUsageTrendRequest wrapper for the SummarizeHostInsightResourceUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUsageTrend.go.html to see an example of how to use SummarizeHostInsightResourceUsageTrendRequest.
-type SummarizeHostInsightResourceUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceUsageTrendPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeHostInsightResourceUsageTrendSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // Sorts using end timestamp, usage or capacity
- SortBy SummarizeHostInsightResourceUsageTrendSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request SummarizeHostInsightResourceUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceUsageTrendRequest) 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 SummarizeHostInsightResourceUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceUsageTrendRequest) 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 SummarizeHostInsightResourceUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeHostInsightResourceUsageTrendSortOrderEnum(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(GetSummarizeHostInsightResourceUsageTrendSortOrderEnumStringValues(), ",")))
- }
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUsageTrendResponse wrapper for the SummarizeHostInsightResourceUsageTrend operation
-type SummarizeHostInsightResourceUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceUsageTrendAggregationCollection instances
- SummarizeHostInsightResourceUsageTrendAggregationCollection `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 SummarizeHostInsightResourceUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceUsageTrendPlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageTrendPlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
-const (
- SummarizeHostInsightResourceUsageTrendPlatformTypeLinux SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceUsageTrendPlatformTypeSolaris SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceUsageTrendPlatformTypeSunos SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceUsageTrendPlatformTypeZlinux SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceUsageTrendPlatformTypeWindows SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceUsageTrendPlatformTypeAix SummarizeHostInsightResourceUsageTrendPlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnum = map[string]SummarizeHostInsightResourceUsageTrendPlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceUsageTrendPlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceUsageTrendPlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceUsageTrendPlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceUsageTrendPlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceUsageTrendPlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceUsageTrendPlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceUsageTrendPlatformTypeEnum{
- "linux": SummarizeHostInsightResourceUsageTrendPlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceUsageTrendPlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceUsageTrendPlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceUsageTrendPlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceUsageTrendPlatformTypeWindows,
- "aix": SummarizeHostInsightResourceUsageTrendPlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumValues() []SummarizeHostInsightResourceUsageTrendPlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceUsageTrendPlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendPlatformTypeEnum
-func GetSummarizeHostInsightResourceUsageTrendPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnum(val string) (SummarizeHostInsightResourceUsageTrendPlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageTrendPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceUsageTrendSortOrderEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageTrendSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
-const (
- SummarizeHostInsightResourceUsageTrendSortOrderAsc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "ASC"
- SummarizeHostInsightResourceUsageTrendSortOrderDesc SummarizeHostInsightResourceUsageTrendSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeHostInsightResourceUsageTrendSortOrderEnum = map[string]SummarizeHostInsightResourceUsageTrendSortOrderEnum{
- "ASC": SummarizeHostInsightResourceUsageTrendSortOrderAsc,
- "DESC": SummarizeHostInsightResourceUsageTrendSortOrderDesc,
-}
-
-var mappingSummarizeHostInsightResourceUsageTrendSortOrderEnumLowerCase = map[string]SummarizeHostInsightResourceUsageTrendSortOrderEnum{
- "asc": SummarizeHostInsightResourceUsageTrendSortOrderAsc,
- "desc": SummarizeHostInsightResourceUsageTrendSortOrderDesc,
-}
-
-// GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortOrderEnum
-func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumValues() []SummarizeHostInsightResourceUsageTrendSortOrderEnum {
- values := make([]SummarizeHostInsightResourceUsageTrendSortOrderEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageTrendSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageTrendSortOrderEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendSortOrderEnum
-func GetSummarizeHostInsightResourceUsageTrendSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageTrendSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageTrendSortOrderEnum(val string) (SummarizeHostInsightResourceUsageTrendSortOrderEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageTrendSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeHostInsightResourceUsageTrendSortByEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUsageTrendSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUsageTrendSortByEnum
-const (
- SummarizeHostInsightResourceUsageTrendSortByEndtimestamp SummarizeHostInsightResourceUsageTrendSortByEnum = "endTimestamp"
- SummarizeHostInsightResourceUsageTrendSortByUsage SummarizeHostInsightResourceUsageTrendSortByEnum = "usage"
- SummarizeHostInsightResourceUsageTrendSortByCapacity SummarizeHostInsightResourceUsageTrendSortByEnum = "capacity"
-)
-
-var mappingSummarizeHostInsightResourceUsageTrendSortByEnum = map[string]SummarizeHostInsightResourceUsageTrendSortByEnum{
- "endTimestamp": SummarizeHostInsightResourceUsageTrendSortByEndtimestamp,
- "usage": SummarizeHostInsightResourceUsageTrendSortByUsage,
- "capacity": SummarizeHostInsightResourceUsageTrendSortByCapacity,
-}
-
-var mappingSummarizeHostInsightResourceUsageTrendSortByEnumLowerCase = map[string]SummarizeHostInsightResourceUsageTrendSortByEnum{
- "endtimestamp": SummarizeHostInsightResourceUsageTrendSortByEndtimestamp,
- "usage": SummarizeHostInsightResourceUsageTrendSortByUsage,
- "capacity": SummarizeHostInsightResourceUsageTrendSortByCapacity,
-}
-
-// GetSummarizeHostInsightResourceUsageTrendSortByEnumValues Enumerates the set of values for SummarizeHostInsightResourceUsageTrendSortByEnum
-func GetSummarizeHostInsightResourceUsageTrendSortByEnumValues() []SummarizeHostInsightResourceUsageTrendSortByEnum {
- values := make([]SummarizeHostInsightResourceUsageTrendSortByEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUsageTrendSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUsageTrendSortByEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUsageTrendSortByEnum
-func GetSummarizeHostInsightResourceUsageTrendSortByEnumStringValues() []string {
- return []string{
- "endTimestamp",
- "usage",
- "capacity",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUsageTrendSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUsageTrendSortByEnum(val string) (SummarizeHostInsightResourceUsageTrendSortByEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUsageTrendSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go
deleted file mode 100644
index e6b1e9e8ebd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_aggregation.go
+++ /dev/null
@@ -1,114 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightResourceUtilizationInsightAggregation Insights response containing current/projected groups for CPU or memory.
-type SummarizeHostInsightResourceUtilizationInsightAggregation struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"true" json:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered lowly utilized.
- LowUtilizationThreshold *int `mandatory:"true" json:"lowUtilizationThreshold"`
-
- // Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
- ResourceMetric SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum `mandatory:"true" json:"resourceMetric"`
-
- ProjectedUtilization *ResourceInsightProjectedUtilization `mandatory:"true" json:"projectedUtilization"`
-
- CurrentUtilization *ResourceInsightCurrentUtilization `mandatory:"true" json:"currentUtilization"`
-}
-
-func (m SummarizeHostInsightResourceUtilizationInsightAggregation) 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 SummarizeHostInsightResourceUtilizationInsightAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum(string(m.ResourceMetric)); !ok && m.ResourceMetric != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ResourceMetric: %s. Supported values are: %s.", m.ResourceMetric, strings.Join(GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
-const (
- SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricCpu SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "CPU"
- SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "MEMORY"
- SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricLogicalMemory SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "LOGICAL_MEMORY"
- SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricStorage SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "STORAGE"
- SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricNetwork SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = "NETWORK"
-)
-
-var mappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum = map[string]SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum{
- "CPU": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricCpu,
- "MEMORY": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricMemory,
- "LOGICAL_MEMORY": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricLogicalMemory,
- "STORAGE": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricStorage,
- "NETWORK": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricNetwork,
-}
-
-var mappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumLowerCase = map[string]SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum{
- "cpu": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricCpu,
- "memory": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricMemory,
- "logical_memory": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricLogicalMemory,
- "storage": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricStorage,
- "network": SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricNetwork,
-}
-
-// GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
-func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumValues() []SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum {
- values := make([]SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum
-func GetSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumStringValues() []string {
- return []string{
- "CPU",
- "MEMORY",
- "LOGICAL_MEMORY",
- "STORAGE",
- "NETWORK",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum(val string) (SummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUtilizationInsightAggregationResourceMetricEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_request_response.go
deleted file mode 100644
index d20c7a83641..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_resource_utilization_insight_request_response.go
+++ /dev/null
@@ -1,242 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightResourceUtilizationInsightRequest wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightResourceUtilizationInsight.go.html to see an example of how to use SummarizeHostInsightResourceUtilizationInsightRequest.
-type SummarizeHostInsightResourceUtilizationInsightRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by host resource metric.
- // Supported values are CPU, MEMORY, LOGICAL_MEMORY, STORAGE and NETWORK.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // Filter by one or more platform types.
- // Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS].
- // Supported platformType(s) for MACS-managed cloud host insight: [LINUX].
- // Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX].
- PlatformType []SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum `contributesTo:"query" name:"platformType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of host insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Number of days used for utilization forecast analysis.
- ForecastDays *int `mandatory:"false" contributesTo:"query" name:"forecastDays"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" collectionFormat:"multi"`
-
- // Percent value in which a resource metric is considered highly utilized.
- HighUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"highUtilizationThreshold"`
-
- // Percent value in which a resource metric is considered low utilized.
- LowUtilizationThreshold *int `mandatory:"false" contributesTo:"query" name:"lowUtilizationThreshold"`
-
- // 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 SummarizeHostInsightResourceUtilizationInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightResourceUtilizationInsightRequest) 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 SummarizeHostInsightResourceUtilizationInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightResourceUtilizationInsightRequest) 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 SummarizeHostInsightResourceUtilizationInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.PlatformType {
- if _, ok := GetMappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for PlatformType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightResourceUtilizationInsightResponse wrapper for the SummarizeHostInsightResourceUtilizationInsight operation
-type SummarizeHostInsightResourceUtilizationInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightResourceUtilizationInsightAggregation instances
- SummarizeHostInsightResourceUtilizationInsightAggregation `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 SummarizeHostInsightResourceUtilizationInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightResourceUtilizationInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum Enum with underlying type: string
-type SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
-const (
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeLinux SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "LINUX"
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeSolaris SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "SOLARIS"
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeSunos SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "SUNOS"
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeZlinux SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "ZLINUX"
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeWindows SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "WINDOWS"
- SummarizeHostInsightResourceUtilizationInsightPlatformTypeAix SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = "AIX"
-)
-
-var mappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum = map[string]SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum{
- "LINUX": SummarizeHostInsightResourceUtilizationInsightPlatformTypeLinux,
- "SOLARIS": SummarizeHostInsightResourceUtilizationInsightPlatformTypeSolaris,
- "SUNOS": SummarizeHostInsightResourceUtilizationInsightPlatformTypeSunos,
- "ZLINUX": SummarizeHostInsightResourceUtilizationInsightPlatformTypeZlinux,
- "WINDOWS": SummarizeHostInsightResourceUtilizationInsightPlatformTypeWindows,
- "AIX": SummarizeHostInsightResourceUtilizationInsightPlatformTypeAix,
-}
-
-var mappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumLowerCase = map[string]SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum{
- "linux": SummarizeHostInsightResourceUtilizationInsightPlatformTypeLinux,
- "solaris": SummarizeHostInsightResourceUtilizationInsightPlatformTypeSolaris,
- "sunos": SummarizeHostInsightResourceUtilizationInsightPlatformTypeSunos,
- "zlinux": SummarizeHostInsightResourceUtilizationInsightPlatformTypeZlinux,
- "windows": SummarizeHostInsightResourceUtilizationInsightPlatformTypeWindows,
- "aix": SummarizeHostInsightResourceUtilizationInsightPlatformTypeAix,
-}
-
-// GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues Enumerates the set of values for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
-func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumValues() []SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum {
- values := make([]SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum, 0)
- for _, v := range mappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumStringValues Enumerates the set of values in String for SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum
-func GetSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumStringValues() []string {
- return []string{
- "LINUX",
- "SOLARIS",
- "SUNOS",
- "ZLINUX",
- "WINDOWS",
- "AIX",
- }
-}
-
-// GetMappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum(val string) (SummarizeHostInsightResourceUtilizationInsightPlatformTypeEnum, bool) {
- enum, ok := mappingSummarizeHostInsightResourceUtilizationInsightPlatformTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go
deleted file mode 100644
index c2c1a3ee40c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_aggregation_collection.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightStorageUsageTrendAggregationCollection Top level response object.
-type SummarizeHostInsightStorageUsageTrendAggregationCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Displays usage unit ( CORES, GB , PERCENT, MBPS)
- UsageUnit SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum `mandatory:"true" json:"usageUnit"`
-
- // Time duration in milliseconds between data points (one hour or one day).
- ItemDurationInMs *int64 `mandatory:"true" json:"itemDurationInMs"`
-
- // Collection of Usage Data with time stamps for all filesystems.
- Items []StorageUsageTrendAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeHostInsightStorageUsageTrendAggregationCollection) 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 SummarizeHostInsightStorageUsageTrendAggregationCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum(string(m.UsageUnit)); !ok && m.UsageUnit != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for UsageUnit: %s. Supported values are: %s.", m.UsageUnit, strings.Join(GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum Enum with underlying type: string
-type SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum
-const (
- SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitCores SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = "CORES"
- SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitGb SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = "GB"
- SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitMbps SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = "MBPS"
- SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitIops SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = "IOPS"
- SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitPercent SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = "PERCENT"
-)
-
-var mappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum = map[string]SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum{
- "CORES": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitCores,
- "GB": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitGb,
- "MBPS": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitMbps,
- "IOPS": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitIops,
- "PERCENT": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-var mappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumLowerCase = map[string]SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum{
- "cores": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitCores,
- "gb": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitGb,
- "mbps": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitMbps,
- "iops": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitIops,
- "percent": SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitPercent,
-}
-
-// GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumValues Enumerates the set of values for SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumValues() []SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum {
- values := make([]SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum, 0)
- for _, v := range mappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumStringValues Enumerates the set of values in String for SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum
-func GetSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumStringValues() []string {
- return []string{
- "CORES",
- "GB",
- "MBPS",
- "IOPS",
- "PERCENT",
- }
-}
-
-// GetMappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum(val string) (SummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnum, bool) {
- enum, ok := mappingSummarizeHostInsightStorageUsageTrendAggregationCollectionUsageUnitEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_request_response.go
deleted file mode 100644
index 696a78930cf..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_storage_usage_trend_request_response.go
+++ /dev/null
@@ -1,181 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightStorageUsageTrendRequest wrapper for the SummarizeHostInsightStorageUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightStorageUsageTrend.go.html to see an example of how to use SummarizeHostInsightStorageUsageTrendRequest.
-type SummarizeHostInsightStorageUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // 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"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeHostInsightStorageUsageTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" 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"`
-
- // 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 SummarizeHostInsightStorageUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightStorageUsageTrendRequest) 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 SummarizeHostInsightStorageUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightStorageUsageTrendRequest) 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 SummarizeHostInsightStorageUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightStorageUsageTrendResponse wrapper for the SummarizeHostInsightStorageUsageTrend operation
-type SummarizeHostInsightStorageUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightStorageUsageTrendAggregationCollection instances
- SummarizeHostInsightStorageUsageTrendAggregationCollection `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 SummarizeHostInsightStorageUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightStorageUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightStorageUsageTrendStatisticEnum Enum with underlying type: string
-type SummarizeHostInsightStorageUsageTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightStorageUsageTrendStatisticEnum
-const (
- SummarizeHostInsightStorageUsageTrendStatisticAvg SummarizeHostInsightStorageUsageTrendStatisticEnum = "AVG"
- SummarizeHostInsightStorageUsageTrendStatisticMax SummarizeHostInsightStorageUsageTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeHostInsightStorageUsageTrendStatisticEnum = map[string]SummarizeHostInsightStorageUsageTrendStatisticEnum{
- "AVG": SummarizeHostInsightStorageUsageTrendStatisticAvg,
- "MAX": SummarizeHostInsightStorageUsageTrendStatisticMax,
-}
-
-var mappingSummarizeHostInsightStorageUsageTrendStatisticEnumLowerCase = map[string]SummarizeHostInsightStorageUsageTrendStatisticEnum{
- "avg": SummarizeHostInsightStorageUsageTrendStatisticAvg,
- "max": SummarizeHostInsightStorageUsageTrendStatisticMax,
-}
-
-// GetSummarizeHostInsightStorageUsageTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightStorageUsageTrendStatisticEnum
-func GetSummarizeHostInsightStorageUsageTrendStatisticEnumValues() []SummarizeHostInsightStorageUsageTrendStatisticEnum {
- values := make([]SummarizeHostInsightStorageUsageTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeHostInsightStorageUsageTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightStorageUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightStorageUsageTrendStatisticEnum
-func GetSummarizeHostInsightStorageUsageTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeHostInsightStorageUsageTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightStorageUsageTrendStatisticEnum(val string) (SummarizeHostInsightStorageUsageTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeHostInsightStorageUsageTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_request_response.go
deleted file mode 100644
index f399ddfc545..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_request_response.go
+++ /dev/null
@@ -1,193 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightTopProcessesUsageRequest wrapper for the SummarizeHostInsightTopProcessesUsage operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightTopProcessesUsage.go.html to see an example of how to use SummarizeHostInsightTopProcessesUsageRequest.
-type SummarizeHostInsightTopProcessesUsageRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Host top processes resource metric sort options.
- // Supported values are CPU, MEMORY, VIIRTUAL_MEMORY.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Timestamp at which to gather the top processes.
- // This will be top processes over the hour or over the day pending the time range passed into the query.
- Timestamp *common.SDKTime `mandatory:"true" contributesTo:"query" name:"timestamp"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // 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"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeHostInsightTopProcessesUsageStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" 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 SummarizeHostInsightTopProcessesUsageRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightTopProcessesUsageRequest) 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 SummarizeHostInsightTopProcessesUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightTopProcessesUsageRequest) 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 SummarizeHostInsightTopProcessesUsageRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightTopProcessesUsageResponse wrapper for the SummarizeHostInsightTopProcessesUsage operation
-type SummarizeHostInsightTopProcessesUsageResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightsTopProcessesUsageCollection instances
- SummarizeHostInsightsTopProcessesUsageCollection `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 SummarizeHostInsightTopProcessesUsageResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightTopProcessesUsageResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightTopProcessesUsageStatisticEnum Enum with underlying type: string
-type SummarizeHostInsightTopProcessesUsageStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightTopProcessesUsageStatisticEnum
-const (
- SummarizeHostInsightTopProcessesUsageStatisticAvg SummarizeHostInsightTopProcessesUsageStatisticEnum = "AVG"
- SummarizeHostInsightTopProcessesUsageStatisticMax SummarizeHostInsightTopProcessesUsageStatisticEnum = "MAX"
-)
-
-var mappingSummarizeHostInsightTopProcessesUsageStatisticEnum = map[string]SummarizeHostInsightTopProcessesUsageStatisticEnum{
- "AVG": SummarizeHostInsightTopProcessesUsageStatisticAvg,
- "MAX": SummarizeHostInsightTopProcessesUsageStatisticMax,
-}
-
-var mappingSummarizeHostInsightTopProcessesUsageStatisticEnumLowerCase = map[string]SummarizeHostInsightTopProcessesUsageStatisticEnum{
- "avg": SummarizeHostInsightTopProcessesUsageStatisticAvg,
- "max": SummarizeHostInsightTopProcessesUsageStatisticMax,
-}
-
-// GetSummarizeHostInsightTopProcessesUsageStatisticEnumValues Enumerates the set of values for SummarizeHostInsightTopProcessesUsageStatisticEnum
-func GetSummarizeHostInsightTopProcessesUsageStatisticEnumValues() []SummarizeHostInsightTopProcessesUsageStatisticEnum {
- values := make([]SummarizeHostInsightTopProcessesUsageStatisticEnum, 0)
- for _, v := range mappingSummarizeHostInsightTopProcessesUsageStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightTopProcessesUsageStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightTopProcessesUsageStatisticEnum
-func GetSummarizeHostInsightTopProcessesUsageStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeHostInsightTopProcessesUsageStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightTopProcessesUsageStatisticEnum(val string) (SummarizeHostInsightTopProcessesUsageStatisticEnum, bool) {
- enum, ok := mappingSummarizeHostInsightTopProcessesUsageStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go
deleted file mode 100644
index 04d29a58754..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insight_top_processes_usage_trend_request_response.go
+++ /dev/null
@@ -1,192 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeHostInsightTopProcessesUsageTrendRequest wrapper for the SummarizeHostInsightTopProcessesUsageTrend operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeHostInsightTopProcessesUsageTrend.go.html to see an example of how to use SummarizeHostInsightTopProcessesUsageTrendRequest.
-type SummarizeHostInsightTopProcessesUsageTrendRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Required OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the host insight resource.
- Id *string `mandatory:"true" contributesTo:"query" name:"id"`
-
- // Host top processes resource metric sort options.
- // Supported values are CPU, MEMORY, VIIRTUAL_MEMORY.
- ResourceMetric *string `mandatory:"true" contributesTo:"query" name:"resourceMetric"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // 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"`
-
- // Filter by one or more host types.
- // Possible values are CLOUD-HOST, EXTERNAL-HOST, COMANAGED-VM-HOST, COMANAGED-BM-HOST, COMANAGED-EXACS-HOST
- HostType []string `contributesTo:"query" name:"hostType" collectionFormat:"multi"`
-
- // 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"`
-
- // Unique identifier for a process.
- ProcessHash *string `mandatory:"false" contributesTo:"query" name:"processHash"`
-
- // Choose the type of statistic metric data to be used for forecasting.
- Statistic SummarizeHostInsightTopProcessesUsageTrendStatisticEnum `mandatory:"false" contributesTo:"query" name:"statistic" 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 SummarizeHostInsightTopProcessesUsageTrendRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeHostInsightTopProcessesUsageTrendRequest) 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 SummarizeHostInsightTopProcessesUsageTrendRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeHostInsightTopProcessesUsageTrendRequest) 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 SummarizeHostInsightTopProcessesUsageTrendRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- 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(), ",")))
- }
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeHostInsightTopProcessesUsageTrendResponse wrapper for the SummarizeHostInsightTopProcessesUsageTrend operation
-type SummarizeHostInsightTopProcessesUsageTrendResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SummarizeHostInsightsTopProcessesUsageTrendCollection instances
- SummarizeHostInsightsTopProcessesUsageTrendCollection `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 SummarizeHostInsightTopProcessesUsageTrendResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeHostInsightTopProcessesUsageTrendResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeHostInsightTopProcessesUsageTrendStatisticEnum Enum with underlying type: string
-type SummarizeHostInsightTopProcessesUsageTrendStatisticEnum string
-
-// Set of constants representing the allowable values for SummarizeHostInsightTopProcessesUsageTrendStatisticEnum
-const (
- SummarizeHostInsightTopProcessesUsageTrendStatisticAvg SummarizeHostInsightTopProcessesUsageTrendStatisticEnum = "AVG"
- SummarizeHostInsightTopProcessesUsageTrendStatisticMax SummarizeHostInsightTopProcessesUsageTrendStatisticEnum = "MAX"
-)
-
-var mappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnum = map[string]SummarizeHostInsightTopProcessesUsageTrendStatisticEnum{
- "AVG": SummarizeHostInsightTopProcessesUsageTrendStatisticAvg,
- "MAX": SummarizeHostInsightTopProcessesUsageTrendStatisticMax,
-}
-
-var mappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnumLowerCase = map[string]SummarizeHostInsightTopProcessesUsageTrendStatisticEnum{
- "avg": SummarizeHostInsightTopProcessesUsageTrendStatisticAvg,
- "max": SummarizeHostInsightTopProcessesUsageTrendStatisticMax,
-}
-
-// GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumValues Enumerates the set of values for SummarizeHostInsightTopProcessesUsageTrendStatisticEnum
-func GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumValues() []SummarizeHostInsightTopProcessesUsageTrendStatisticEnum {
- values := make([]SummarizeHostInsightTopProcessesUsageTrendStatisticEnum, 0)
- for _, v := range mappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumStringValues Enumerates the set of values in String for SummarizeHostInsightTopProcessesUsageTrendStatisticEnum
-func GetSummarizeHostInsightTopProcessesUsageTrendStatisticEnumStringValues() []string {
- return []string{
- "AVG",
- "MAX",
- }
-}
-
-// GetMappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnum(val string) (SummarizeHostInsightTopProcessesUsageTrendStatisticEnum, bool) {
- enum, ok := mappingSummarizeHostInsightTopProcessesUsageTrendStatisticEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_collection.go
deleted file mode 100644
index 169e0200a14..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_collection.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightsTopProcessesUsageCollection Top level response object.
-type SummarizeHostInsightsTopProcessesUsageCollection struct {
-
- // The start timestamp that was passed into the request.
- Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
-
- // List of usage data samples for a top process on a specific date.
- Items []TopProcessesUsage `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeHostInsightsTopProcessesUsageCollection) 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 SummarizeHostInsightsTopProcessesUsageCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_trend_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_trend_collection.go
deleted file mode 100644
index 42c5035435d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_host_insights_top_processes_usage_trend_collection.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeHostInsightsTopProcessesUsageTrendCollection Top level response object.
-type SummarizeHostInsightsTopProcessesUsageTrendCollection struct {
-
- // The start timestamp that was passed into the request.
- TimeIntervalStart *common.SDKTime `mandatory:"true" json:"timeIntervalStart"`
-
- // The end timestamp that was passed into the request.
- TimeIntervalEnd *common.SDKTime `mandatory:"true" json:"timeIntervalEnd"`
-
- // Collection of Usage Data with time stamps for top processes
- Items []TopProcessesUsageTrendAggregation `mandatory:"true" json:"items"`
-}
-
-func (m SummarizeHostInsightsTopProcessesUsageTrendCollection) 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 SummarizeHostInsightsTopProcessesUsageTrendCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go
deleted file mode 100644
index e3057bd011b..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_aggregation.go
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummarizeOperationsInsightsWarehouseResourceUsageAggregation Details of resource usage by an Operations Insights Warehouse resource.
-type SummarizeOperationsInsightsWarehouseResourceUsageAggregation struct {
-
- // OPSI Warehouse OCID
- Id *string `mandatory:"true" json:"id"`
-
- // Possible lifecycle states
- LifecycleState OperationsInsightsWarehouseLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
-
- // Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
- CpuUsed *float64 `mandatory:"false" json:"cpuUsed"`
-
- // Storage by OPSI Warehouse ADW in GB.
- StorageUsedInGBs *float64 `mandatory:"false" json:"storageUsedInGBs"`
-}
-
-func (m SummarizeOperationsInsightsWarehouseResourceUsageAggregation) 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 SummarizeOperationsInsightsWarehouseResourceUsageAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationsInsightsWarehouseLifecycleStateEnum(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(GetOperationsInsightsWarehouseLifecycleStateEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go
deleted file mode 100644
index 3412cb7f64f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_operations_insights_warehouse_resource_usage_request_response.go
+++ /dev/null
@@ -1,94 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeOperationsInsightsWarehouseResourceUsageRequest wrapper for the SummarizeOperationsInsightsWarehouseResourceUsage operation
-//
-// # See also
-//
-// 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
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
-
- // 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"`
-
- // 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 SummarizeOperationsInsightsWarehouseResourceUsageRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeOperationsInsightsWarehouseResourceUsageRequest) 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 SummarizeOperationsInsightsWarehouseResourceUsageRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeOperationsInsightsWarehouseResourceUsageRequest) 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 SummarizeOperationsInsightsWarehouseResourceUsageRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeOperationsInsightsWarehouseResourceUsageResponse wrapper for the SummarizeOperationsInsightsWarehouseResourceUsage operation
-type SummarizeOperationsInsightsWarehouseResourceUsageResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // The SummarizeOperationsInsightsWarehouseResourceUsageAggregation instance
- SummarizeOperationsInsightsWarehouseResourceUsageAggregation `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 SummarizeOperationsInsightsWarehouseResourceUsageResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeOperationsInsightsWarehouseResourceUsageResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_insights_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_insights_request_response.go
deleted file mode 100644
index 48b61030b66..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_insights_request_response.go
+++ /dev/null
@@ -1,273 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlInsightsRequest wrapper for the SummarizeSqlInsights operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlInsights.go.html to see an example of how to use SummarizeSqlInsightsRequest.
-type SummarizeSqlInsightsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeSqlInsightsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Filter sqls by percentage of db time.
- DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request SummarizeSqlInsightsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlInsightsRequest) 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 SummarizeSqlInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlInsightsRequest) 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 SummarizeSqlInsightsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeSqlInsightsDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeSqlInsightsDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlInsightsResponse wrapper for the SummarizeSqlInsights operation
-type SummarizeSqlInsightsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlInsightAggregationCollection instances
- SqlInsightAggregationCollection `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 SummarizeSqlInsightsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlInsightsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeSqlInsightsDatabaseTypeEnum Enum with underlying type: string
-type SummarizeSqlInsightsDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeSqlInsightsDatabaseTypeEnum
-const (
- SummarizeSqlInsightsDatabaseTypeAdwS SummarizeSqlInsightsDatabaseTypeEnum = "ADW-S"
- SummarizeSqlInsightsDatabaseTypeAtpS SummarizeSqlInsightsDatabaseTypeEnum = "ATP-S"
- SummarizeSqlInsightsDatabaseTypeAdwD SummarizeSqlInsightsDatabaseTypeEnum = "ADW-D"
- SummarizeSqlInsightsDatabaseTypeAtpD SummarizeSqlInsightsDatabaseTypeEnum = "ATP-D"
- SummarizeSqlInsightsDatabaseTypeExternalPdb SummarizeSqlInsightsDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeSqlInsightsDatabaseTypeExternalNoncdb SummarizeSqlInsightsDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeSqlInsightsDatabaseTypeComanagedVmCdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeSqlInsightsDatabaseTypeComanagedVmPdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeSqlInsightsDatabaseTypeComanagedVmNoncdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeSqlInsightsDatabaseTypeComanagedBmCdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeSqlInsightsDatabaseTypeComanagedBmPdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeSqlInsightsDatabaseTypeComanagedBmNoncdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeSqlInsightsDatabaseTypeComanagedExacsCdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeSqlInsightsDatabaseTypeComanagedExacsPdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeSqlInsightsDatabaseTypeComanagedExacsNoncdb SummarizeSqlInsightsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeSqlInsightsDatabaseTypeEnum = map[string]SummarizeSqlInsightsDatabaseTypeEnum{
- "ADW-S": SummarizeSqlInsightsDatabaseTypeAdwS,
- "ATP-S": SummarizeSqlInsightsDatabaseTypeAtpS,
- "ADW-D": SummarizeSqlInsightsDatabaseTypeAdwD,
- "ATP-D": SummarizeSqlInsightsDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeSqlInsightsDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeSqlInsightsDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeSqlInsightsDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeSqlInsightsDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeSqlInsightsDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeSqlInsightsDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeSqlInsightsDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeSqlInsightsDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeSqlInsightsDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeSqlInsightsDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeSqlInsightsDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeSqlInsightsDatabaseTypeEnumLowerCase = map[string]SummarizeSqlInsightsDatabaseTypeEnum{
- "adw-s": SummarizeSqlInsightsDatabaseTypeAdwS,
- "atp-s": SummarizeSqlInsightsDatabaseTypeAtpS,
- "adw-d": SummarizeSqlInsightsDatabaseTypeAdwD,
- "atp-d": SummarizeSqlInsightsDatabaseTypeAtpD,
- "external-pdb": SummarizeSqlInsightsDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeSqlInsightsDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeSqlInsightsDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeSqlInsightsDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeSqlInsightsDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeSqlInsightsDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeSqlInsightsDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeSqlInsightsDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeSqlInsightsDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeSqlInsightsDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeSqlInsightsDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeSqlInsightsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlInsightsDatabaseTypeEnum
-func GetSummarizeSqlInsightsDatabaseTypeEnumValues() []SummarizeSqlInsightsDatabaseTypeEnum {
- values := make([]SummarizeSqlInsightsDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeSqlInsightsDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeSqlInsightsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeSqlInsightsDatabaseTypeEnum
-func GetSummarizeSqlInsightsDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeSqlInsightsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeSqlInsightsDatabaseTypeEnum(val string) (SummarizeSqlInsightsDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeSqlInsightsDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_plan_insights_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_plan_insights_request_response.go
deleted file mode 100644
index 8d9a7f55ac9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_plan_insights_request_response.go
+++ /dev/null
@@ -1,130 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlPlanInsightsRequest wrapper for the SummarizeSqlPlanInsights operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlPlanInsights.go.html to see an example of how to use SummarizeSqlPlanInsightsRequest.
-type SummarizeSqlPlanInsightsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeSqlPlanInsightsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlPlanInsightsRequest) 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 SummarizeSqlPlanInsightsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlPlanInsightsRequest) 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 SummarizeSqlPlanInsightsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlPlanInsightsResponse wrapper for the SummarizeSqlPlanInsights operation
-type SummarizeSqlPlanInsightsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlPlanInsightAggregationCollection instances
- SqlPlanInsightAggregationCollection `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 SummarizeSqlPlanInsightsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlPlanInsightsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_response_time_distributions_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_response_time_distributions_request_response.go
deleted file mode 100644
index 784c551895e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_response_time_distributions_request_response.go
+++ /dev/null
@@ -1,130 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlResponseTimeDistributionsRequest wrapper for the SummarizeSqlResponseTimeDistributions operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlResponseTimeDistributions.go.html to see an example of how to use SummarizeSqlResponseTimeDistributionsRequest.
-type SummarizeSqlResponseTimeDistributionsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeSqlResponseTimeDistributionsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlResponseTimeDistributionsRequest) 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 SummarizeSqlResponseTimeDistributionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlResponseTimeDistributionsRequest) 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 SummarizeSqlResponseTimeDistributionsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlResponseTimeDistributionsResponse wrapper for the SummarizeSqlResponseTimeDistributions operation
-type SummarizeSqlResponseTimeDistributionsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlResponseTimeDistributionAggregationCollection instances
- SqlResponseTimeDistributionAggregationCollection `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 SummarizeSqlResponseTimeDistributionsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlResponseTimeDistributionsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_request_response.go
deleted file mode 100644
index 8ff16a65cf7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_request_response.go
+++ /dev/null
@@ -1,592 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlStatisticsRequest wrapper for the SummarizeSqlStatistics operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatistics.go.html to see an example of how to use SummarizeSqlStatisticsRequest.
-type SummarizeSqlStatisticsRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Filter by one or more database type.
- // Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
- DatabaseType []SummarizeSqlStatisticsDatabaseTypeEnum `contributesTo:"query" name:"databaseType" omitEmpty:"true" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Filter sqls by percentage of db time.
- DatabaseTimePctGreaterThan *float64 `mandatory:"false" contributesTo:"query" name:"databaseTimePctGreaterThan"`
-
- // One or more unique SQL_IDs for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier []string `contributesTo:"query" name:"sqlIdentifier" collectionFormat:"multi"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The maximum number of results per page, or items to
- // return in a paginated "List" call.
- // For important details about how pagination works, see
- // List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- // Example: `50`
- Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // The sort order to use, either ascending (`ASC`) or descending (`DESC`).
- SortOrder SummarizeSqlStatisticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`
-
- // The field to use when sorting SQL statistics.
- // Example: databaseTimeInSec
- SortBy SummarizeSqlStatisticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`
-
- // Filter sqls by one or more performance categories.
- Category []SummarizeSqlStatisticsCategoryEnum `contributesTo:"query" name:"category" omitEmpty:"true" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request SummarizeSqlStatisticsRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlStatisticsRequest) 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 SummarizeSqlStatisticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlStatisticsRequest) 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 SummarizeSqlStatisticsRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- for _, val := range request.DatabaseType {
- if _, ok := GetMappingSummarizeSqlStatisticsDatabaseTypeEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DatabaseType: %s. Supported values are: %s.", val, strings.Join(GetSummarizeSqlStatisticsDatabaseTypeEnumStringValues(), ",")))
- }
- }
-
- if _, ok := GetMappingSummarizeSqlStatisticsSortOrderEnum(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(GetSummarizeSqlStatisticsSortOrderEnumStringValues(), ",")))
- }
- if _, ok := GetMappingSummarizeSqlStatisticsSortByEnum(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(GetSummarizeSqlStatisticsSortByEnumStringValues(), ",")))
- }
- for _, val := range request.Category {
- if _, ok := GetMappingSummarizeSqlStatisticsCategoryEnum(string(val)); !ok && val != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Category: %s. Supported values are: %s.", val, strings.Join(GetSummarizeSqlStatisticsCategoryEnumStringValues(), ",")))
- }
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlStatisticsResponse wrapper for the SummarizeSqlStatistics operation
-type SummarizeSqlStatisticsResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlStatisticAggregationCollection instances
- SqlStatisticAggregationCollection `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 SummarizeSqlStatisticsResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlStatisticsResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
-
-// SummarizeSqlStatisticsDatabaseTypeEnum Enum with underlying type: string
-type SummarizeSqlStatisticsDatabaseTypeEnum string
-
-// Set of constants representing the allowable values for SummarizeSqlStatisticsDatabaseTypeEnum
-const (
- SummarizeSqlStatisticsDatabaseTypeAdwS SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-S"
- SummarizeSqlStatisticsDatabaseTypeAtpS SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-S"
- SummarizeSqlStatisticsDatabaseTypeAdwD SummarizeSqlStatisticsDatabaseTypeEnum = "ADW-D"
- SummarizeSqlStatisticsDatabaseTypeAtpD SummarizeSqlStatisticsDatabaseTypeEnum = "ATP-D"
- SummarizeSqlStatisticsDatabaseTypeExternalPdb SummarizeSqlStatisticsDatabaseTypeEnum = "EXTERNAL-PDB"
- SummarizeSqlStatisticsDatabaseTypeExternalNoncdb SummarizeSqlStatisticsDatabaseTypeEnum = "EXTERNAL-NONCDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedVmCdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-VM-CDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedVmPdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-VM-PDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedVmNoncdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-VM-NONCDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedBmCdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-BM-CDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedBmPdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-BM-PDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedBmNoncdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-BM-NONCDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedExacsCdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-CDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedExacsPdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-PDB"
- SummarizeSqlStatisticsDatabaseTypeComanagedExacsNoncdb SummarizeSqlStatisticsDatabaseTypeEnum = "COMANAGED-EXACS-NONCDB"
-)
-
-var mappingSummarizeSqlStatisticsDatabaseTypeEnum = map[string]SummarizeSqlStatisticsDatabaseTypeEnum{
- "ADW-S": SummarizeSqlStatisticsDatabaseTypeAdwS,
- "ATP-S": SummarizeSqlStatisticsDatabaseTypeAtpS,
- "ADW-D": SummarizeSqlStatisticsDatabaseTypeAdwD,
- "ATP-D": SummarizeSqlStatisticsDatabaseTypeAtpD,
- "EXTERNAL-PDB": SummarizeSqlStatisticsDatabaseTypeExternalPdb,
- "EXTERNAL-NONCDB": SummarizeSqlStatisticsDatabaseTypeExternalNoncdb,
- "COMANAGED-VM-CDB": SummarizeSqlStatisticsDatabaseTypeComanagedVmCdb,
- "COMANAGED-VM-PDB": SummarizeSqlStatisticsDatabaseTypeComanagedVmPdb,
- "COMANAGED-VM-NONCDB": SummarizeSqlStatisticsDatabaseTypeComanagedVmNoncdb,
- "COMANAGED-BM-CDB": SummarizeSqlStatisticsDatabaseTypeComanagedBmCdb,
- "COMANAGED-BM-PDB": SummarizeSqlStatisticsDatabaseTypeComanagedBmPdb,
- "COMANAGED-BM-NONCDB": SummarizeSqlStatisticsDatabaseTypeComanagedBmNoncdb,
- "COMANAGED-EXACS-CDB": SummarizeSqlStatisticsDatabaseTypeComanagedExacsCdb,
- "COMANAGED-EXACS-PDB": SummarizeSqlStatisticsDatabaseTypeComanagedExacsPdb,
- "COMANAGED-EXACS-NONCDB": SummarizeSqlStatisticsDatabaseTypeComanagedExacsNoncdb,
-}
-
-var mappingSummarizeSqlStatisticsDatabaseTypeEnumLowerCase = map[string]SummarizeSqlStatisticsDatabaseTypeEnum{
- "adw-s": SummarizeSqlStatisticsDatabaseTypeAdwS,
- "atp-s": SummarizeSqlStatisticsDatabaseTypeAtpS,
- "adw-d": SummarizeSqlStatisticsDatabaseTypeAdwD,
- "atp-d": SummarizeSqlStatisticsDatabaseTypeAtpD,
- "external-pdb": SummarizeSqlStatisticsDatabaseTypeExternalPdb,
- "external-noncdb": SummarizeSqlStatisticsDatabaseTypeExternalNoncdb,
- "comanaged-vm-cdb": SummarizeSqlStatisticsDatabaseTypeComanagedVmCdb,
- "comanaged-vm-pdb": SummarizeSqlStatisticsDatabaseTypeComanagedVmPdb,
- "comanaged-vm-noncdb": SummarizeSqlStatisticsDatabaseTypeComanagedVmNoncdb,
- "comanaged-bm-cdb": SummarizeSqlStatisticsDatabaseTypeComanagedBmCdb,
- "comanaged-bm-pdb": SummarizeSqlStatisticsDatabaseTypeComanagedBmPdb,
- "comanaged-bm-noncdb": SummarizeSqlStatisticsDatabaseTypeComanagedBmNoncdb,
- "comanaged-exacs-cdb": SummarizeSqlStatisticsDatabaseTypeComanagedExacsCdb,
- "comanaged-exacs-pdb": SummarizeSqlStatisticsDatabaseTypeComanagedExacsPdb,
- "comanaged-exacs-noncdb": SummarizeSqlStatisticsDatabaseTypeComanagedExacsNoncdb,
-}
-
-// GetSummarizeSqlStatisticsDatabaseTypeEnumValues Enumerates the set of values for SummarizeSqlStatisticsDatabaseTypeEnum
-func GetSummarizeSqlStatisticsDatabaseTypeEnumValues() []SummarizeSqlStatisticsDatabaseTypeEnum {
- values := make([]SummarizeSqlStatisticsDatabaseTypeEnum, 0)
- for _, v := range mappingSummarizeSqlStatisticsDatabaseTypeEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeSqlStatisticsDatabaseTypeEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsDatabaseTypeEnum
-func GetSummarizeSqlStatisticsDatabaseTypeEnumStringValues() []string {
- return []string{
- "ADW-S",
- "ATP-S",
- "ADW-D",
- "ATP-D",
- "EXTERNAL-PDB",
- "EXTERNAL-NONCDB",
- "COMANAGED-VM-CDB",
- "COMANAGED-VM-PDB",
- "COMANAGED-VM-NONCDB",
- "COMANAGED-BM-CDB",
- "COMANAGED-BM-PDB",
- "COMANAGED-BM-NONCDB",
- "COMANAGED-EXACS-CDB",
- "COMANAGED-EXACS-PDB",
- "COMANAGED-EXACS-NONCDB",
- }
-}
-
-// GetMappingSummarizeSqlStatisticsDatabaseTypeEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeSqlStatisticsDatabaseTypeEnum(val string) (SummarizeSqlStatisticsDatabaseTypeEnum, bool) {
- enum, ok := mappingSummarizeSqlStatisticsDatabaseTypeEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeSqlStatisticsSortOrderEnum Enum with underlying type: string
-type SummarizeSqlStatisticsSortOrderEnum string
-
-// Set of constants representing the allowable values for SummarizeSqlStatisticsSortOrderEnum
-const (
- SummarizeSqlStatisticsSortOrderAsc SummarizeSqlStatisticsSortOrderEnum = "ASC"
- SummarizeSqlStatisticsSortOrderDesc SummarizeSqlStatisticsSortOrderEnum = "DESC"
-)
-
-var mappingSummarizeSqlStatisticsSortOrderEnum = map[string]SummarizeSqlStatisticsSortOrderEnum{
- "ASC": SummarizeSqlStatisticsSortOrderAsc,
- "DESC": SummarizeSqlStatisticsSortOrderDesc,
-}
-
-var mappingSummarizeSqlStatisticsSortOrderEnumLowerCase = map[string]SummarizeSqlStatisticsSortOrderEnum{
- "asc": SummarizeSqlStatisticsSortOrderAsc,
- "desc": SummarizeSqlStatisticsSortOrderDesc,
-}
-
-// GetSummarizeSqlStatisticsSortOrderEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortOrderEnum
-func GetSummarizeSqlStatisticsSortOrderEnumValues() []SummarizeSqlStatisticsSortOrderEnum {
- values := make([]SummarizeSqlStatisticsSortOrderEnum, 0)
- for _, v := range mappingSummarizeSqlStatisticsSortOrderEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeSqlStatisticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsSortOrderEnum
-func GetSummarizeSqlStatisticsSortOrderEnumStringValues() []string {
- return []string{
- "ASC",
- "DESC",
- }
-}
-
-// GetMappingSummarizeSqlStatisticsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeSqlStatisticsSortOrderEnum(val string) (SummarizeSqlStatisticsSortOrderEnum, bool) {
- enum, ok := mappingSummarizeSqlStatisticsSortOrderEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeSqlStatisticsSortByEnum Enum with underlying type: string
-type SummarizeSqlStatisticsSortByEnum string
-
-// Set of constants representing the allowable values for SummarizeSqlStatisticsSortByEnum
-const (
- SummarizeSqlStatisticsSortByDatabasetimeinsec SummarizeSqlStatisticsSortByEnum = "databaseTimeInSec"
- SummarizeSqlStatisticsSortByExecutionsperhour SummarizeSqlStatisticsSortByEnum = "executionsPerHour"
- SummarizeSqlStatisticsSortByExecutionscount SummarizeSqlStatisticsSortByEnum = "executionsCount"
- SummarizeSqlStatisticsSortByCputimeinsec SummarizeSqlStatisticsSortByEnum = "cpuTimeInSec"
- SummarizeSqlStatisticsSortByIotimeinsec SummarizeSqlStatisticsSortByEnum = "ioTimeInSec"
- SummarizeSqlStatisticsSortByInefficientwaittimeinsec SummarizeSqlStatisticsSortByEnum = "inefficientWaitTimeInSec"
- SummarizeSqlStatisticsSortByResponsetimeinsec SummarizeSqlStatisticsSortByEnum = "responseTimeInSec"
- SummarizeSqlStatisticsSortByPlancount SummarizeSqlStatisticsSortByEnum = "planCount"
- SummarizeSqlStatisticsSortByVariability SummarizeSqlStatisticsSortByEnum = "variability"
- SummarizeSqlStatisticsSortByAverageactivesessions SummarizeSqlStatisticsSortByEnum = "averageActiveSessions"
- SummarizeSqlStatisticsSortByDatabasetimepct SummarizeSqlStatisticsSortByEnum = "databaseTimePct"
- SummarizeSqlStatisticsSortByInefficiencyinpct SummarizeSqlStatisticsSortByEnum = "inefficiencyInPct"
- SummarizeSqlStatisticsSortByChangeincputimeinpct SummarizeSqlStatisticsSortByEnum = "changeInCpuTimeInPct"
- SummarizeSqlStatisticsSortByChangeiniotimeinpct SummarizeSqlStatisticsSortByEnum = "changeInIoTimeInPct"
- SummarizeSqlStatisticsSortByChangeininefficientwaittimeinpct SummarizeSqlStatisticsSortByEnum = "changeInInefficientWaitTimeInPct"
- SummarizeSqlStatisticsSortByChangeinresponsetimeinpct SummarizeSqlStatisticsSortByEnum = "changeInResponseTimeInPct"
- SummarizeSqlStatisticsSortByChangeinaverageactivesessionsinpct SummarizeSqlStatisticsSortByEnum = "changeInAverageActiveSessionsInPct"
- SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct SummarizeSqlStatisticsSortByEnum = "changeInExecutionsPerHourInPct"
- SummarizeSqlStatisticsSortByChangeininefficiencyinpct SummarizeSqlStatisticsSortByEnum = "changeInInefficiencyInPct"
-)
-
-var mappingSummarizeSqlStatisticsSortByEnum = map[string]SummarizeSqlStatisticsSortByEnum{
- "databaseTimeInSec": SummarizeSqlStatisticsSortByDatabasetimeinsec,
- "executionsPerHour": SummarizeSqlStatisticsSortByExecutionsperhour,
- "executionsCount": SummarizeSqlStatisticsSortByExecutionscount,
- "cpuTimeInSec": SummarizeSqlStatisticsSortByCputimeinsec,
- "ioTimeInSec": SummarizeSqlStatisticsSortByIotimeinsec,
- "inefficientWaitTimeInSec": SummarizeSqlStatisticsSortByInefficientwaittimeinsec,
- "responseTimeInSec": SummarizeSqlStatisticsSortByResponsetimeinsec,
- "planCount": SummarizeSqlStatisticsSortByPlancount,
- "variability": SummarizeSqlStatisticsSortByVariability,
- "averageActiveSessions": SummarizeSqlStatisticsSortByAverageactivesessions,
- "databaseTimePct": SummarizeSqlStatisticsSortByDatabasetimepct,
- "inefficiencyInPct": SummarizeSqlStatisticsSortByInefficiencyinpct,
- "changeInCpuTimeInPct": SummarizeSqlStatisticsSortByChangeincputimeinpct,
- "changeInIoTimeInPct": SummarizeSqlStatisticsSortByChangeiniotimeinpct,
- "changeInInefficientWaitTimeInPct": SummarizeSqlStatisticsSortByChangeininefficientwaittimeinpct,
- "changeInResponseTimeInPct": SummarizeSqlStatisticsSortByChangeinresponsetimeinpct,
- "changeInAverageActiveSessionsInPct": SummarizeSqlStatisticsSortByChangeinaverageactivesessionsinpct,
- "changeInExecutionsPerHourInPct": SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct,
- "changeInInefficiencyInPct": SummarizeSqlStatisticsSortByChangeininefficiencyinpct,
-}
-
-var mappingSummarizeSqlStatisticsSortByEnumLowerCase = map[string]SummarizeSqlStatisticsSortByEnum{
- "databasetimeinsec": SummarizeSqlStatisticsSortByDatabasetimeinsec,
- "executionsperhour": SummarizeSqlStatisticsSortByExecutionsperhour,
- "executionscount": SummarizeSqlStatisticsSortByExecutionscount,
- "cputimeinsec": SummarizeSqlStatisticsSortByCputimeinsec,
- "iotimeinsec": SummarizeSqlStatisticsSortByIotimeinsec,
- "inefficientwaittimeinsec": SummarizeSqlStatisticsSortByInefficientwaittimeinsec,
- "responsetimeinsec": SummarizeSqlStatisticsSortByResponsetimeinsec,
- "plancount": SummarizeSqlStatisticsSortByPlancount,
- "variability": SummarizeSqlStatisticsSortByVariability,
- "averageactivesessions": SummarizeSqlStatisticsSortByAverageactivesessions,
- "databasetimepct": SummarizeSqlStatisticsSortByDatabasetimepct,
- "inefficiencyinpct": SummarizeSqlStatisticsSortByInefficiencyinpct,
- "changeincputimeinpct": SummarizeSqlStatisticsSortByChangeincputimeinpct,
- "changeiniotimeinpct": SummarizeSqlStatisticsSortByChangeiniotimeinpct,
- "changeininefficientwaittimeinpct": SummarizeSqlStatisticsSortByChangeininefficientwaittimeinpct,
- "changeinresponsetimeinpct": SummarizeSqlStatisticsSortByChangeinresponsetimeinpct,
- "changeinaverageactivesessionsinpct": SummarizeSqlStatisticsSortByChangeinaverageactivesessionsinpct,
- "changeinexecutionsperhourinpct": SummarizeSqlStatisticsSortByChangeinexecutionsperhourinpct,
- "changeininefficiencyinpct": SummarizeSqlStatisticsSortByChangeininefficiencyinpct,
-}
-
-// GetSummarizeSqlStatisticsSortByEnumValues Enumerates the set of values for SummarizeSqlStatisticsSortByEnum
-func GetSummarizeSqlStatisticsSortByEnumValues() []SummarizeSqlStatisticsSortByEnum {
- values := make([]SummarizeSqlStatisticsSortByEnum, 0)
- for _, v := range mappingSummarizeSqlStatisticsSortByEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeSqlStatisticsSortByEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsSortByEnum
-func GetSummarizeSqlStatisticsSortByEnumStringValues() []string {
- return []string{
- "databaseTimeInSec",
- "executionsPerHour",
- "executionsCount",
- "cpuTimeInSec",
- "ioTimeInSec",
- "inefficientWaitTimeInSec",
- "responseTimeInSec",
- "planCount",
- "variability",
- "averageActiveSessions",
- "databaseTimePct",
- "inefficiencyInPct",
- "changeInCpuTimeInPct",
- "changeInIoTimeInPct",
- "changeInInefficientWaitTimeInPct",
- "changeInResponseTimeInPct",
- "changeInAverageActiveSessionsInPct",
- "changeInExecutionsPerHourInPct",
- "changeInInefficiencyInPct",
- }
-}
-
-// GetMappingSummarizeSqlStatisticsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeSqlStatisticsSortByEnum(val string) (SummarizeSqlStatisticsSortByEnum, bool) {
- enum, ok := mappingSummarizeSqlStatisticsSortByEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
-
-// SummarizeSqlStatisticsCategoryEnum Enum with underlying type: string
-type SummarizeSqlStatisticsCategoryEnum string
-
-// Set of constants representing the allowable values for SummarizeSqlStatisticsCategoryEnum
-const (
- SummarizeSqlStatisticsCategoryDegrading SummarizeSqlStatisticsCategoryEnum = "DEGRADING"
- SummarizeSqlStatisticsCategoryVariant SummarizeSqlStatisticsCategoryEnum = "VARIANT"
- SummarizeSqlStatisticsCategoryInefficient SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT"
- SummarizeSqlStatisticsCategoryChangingPlans SummarizeSqlStatisticsCategoryEnum = "CHANGING_PLANS"
- SummarizeSqlStatisticsCategoryImproving SummarizeSqlStatisticsCategoryEnum = "IMPROVING"
- SummarizeSqlStatisticsCategoryDegradingVariant SummarizeSqlStatisticsCategoryEnum = "DEGRADING_VARIANT"
- SummarizeSqlStatisticsCategoryDegradingInefficient SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INEFFICIENT"
- SummarizeSqlStatisticsCategoryDegradingChangingPlans SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS"
- SummarizeSqlStatisticsCategoryDegradingIncreasingIo SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_IO"
- SummarizeSqlStatisticsCategoryDegradingIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_CPU"
- SummarizeSqlStatisticsCategoryDegradingIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "DEGRADING_INCREASING_INEFFICIENT_WAIT"
- SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingIo SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_IO"
- SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU"
- SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
- SummarizeSqlStatisticsCategoryVariantInefficient SummarizeSqlStatisticsCategoryEnum = "VARIANT_INEFFICIENT"
- SummarizeSqlStatisticsCategoryVariantChangingPlans SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS"
- SummarizeSqlStatisticsCategoryVariantIncreasingIo SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_IO"
- SummarizeSqlStatisticsCategoryVariantIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_CPU"
- SummarizeSqlStatisticsCategoryVariantIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "VARIANT_INCREASING_INEFFICIENT_WAIT"
- SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingIo SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_IO"
- SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingCpu SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_CPU"
- SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
- SummarizeSqlStatisticsCategoryInefficientChangingPlans SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS"
- SummarizeSqlStatisticsCategoryInefficientIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_INCREASING_INEFFICIENT_WAIT"
- SummarizeSqlStatisticsCategoryInefficientChangingPlansAndIncreasingInefficientWait SummarizeSqlStatisticsCategoryEnum = "INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT"
-)
-
-var mappingSummarizeSqlStatisticsCategoryEnum = map[string]SummarizeSqlStatisticsCategoryEnum{
- "DEGRADING": SummarizeSqlStatisticsCategoryDegrading,
- "VARIANT": SummarizeSqlStatisticsCategoryVariant,
- "INEFFICIENT": SummarizeSqlStatisticsCategoryInefficient,
- "CHANGING_PLANS": SummarizeSqlStatisticsCategoryChangingPlans,
- "IMPROVING": SummarizeSqlStatisticsCategoryImproving,
- "DEGRADING_VARIANT": SummarizeSqlStatisticsCategoryDegradingVariant,
- "DEGRADING_INEFFICIENT": SummarizeSqlStatisticsCategoryDegradingInefficient,
- "DEGRADING_CHANGING_PLANS": SummarizeSqlStatisticsCategoryDegradingChangingPlans,
- "DEGRADING_INCREASING_IO": SummarizeSqlStatisticsCategoryDegradingIncreasingIo,
- "DEGRADING_INCREASING_CPU": SummarizeSqlStatisticsCategoryDegradingIncreasingCpu,
- "DEGRADING_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryDegradingIncreasingInefficientWait,
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_IO": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingIo,
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingCpu,
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingInefficientWait,
- "VARIANT_INEFFICIENT": SummarizeSqlStatisticsCategoryVariantInefficient,
- "VARIANT_CHANGING_PLANS": SummarizeSqlStatisticsCategoryVariantChangingPlans,
- "VARIANT_INCREASING_IO": SummarizeSqlStatisticsCategoryVariantIncreasingIo,
- "VARIANT_INCREASING_CPU": SummarizeSqlStatisticsCategoryVariantIncreasingCpu,
- "VARIANT_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryVariantIncreasingInefficientWait,
- "VARIANT_CHANGING_PLANS_AND_INCREASING_IO": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingIo,
- "VARIANT_CHANGING_PLANS_AND_INCREASING_CPU": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingCpu,
- "VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingInefficientWait,
- "INEFFICIENT_CHANGING_PLANS": SummarizeSqlStatisticsCategoryInefficientChangingPlans,
- "INEFFICIENT_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryInefficientIncreasingInefficientWait,
- "INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT": SummarizeSqlStatisticsCategoryInefficientChangingPlansAndIncreasingInefficientWait,
-}
-
-var mappingSummarizeSqlStatisticsCategoryEnumLowerCase = map[string]SummarizeSqlStatisticsCategoryEnum{
- "degrading": SummarizeSqlStatisticsCategoryDegrading,
- "variant": SummarizeSqlStatisticsCategoryVariant,
- "inefficient": SummarizeSqlStatisticsCategoryInefficient,
- "changing_plans": SummarizeSqlStatisticsCategoryChangingPlans,
- "improving": SummarizeSqlStatisticsCategoryImproving,
- "degrading_variant": SummarizeSqlStatisticsCategoryDegradingVariant,
- "degrading_inefficient": SummarizeSqlStatisticsCategoryDegradingInefficient,
- "degrading_changing_plans": SummarizeSqlStatisticsCategoryDegradingChangingPlans,
- "degrading_increasing_io": SummarizeSqlStatisticsCategoryDegradingIncreasingIo,
- "degrading_increasing_cpu": SummarizeSqlStatisticsCategoryDegradingIncreasingCpu,
- "degrading_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryDegradingIncreasingInefficientWait,
- "degrading_changing_plans_and_increasing_io": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingIo,
- "degrading_changing_plans_and_increasing_cpu": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingCpu,
- "degrading_changing_plans_and_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryDegradingChangingPlansAndIncreasingInefficientWait,
- "variant_inefficient": SummarizeSqlStatisticsCategoryVariantInefficient,
- "variant_changing_plans": SummarizeSqlStatisticsCategoryVariantChangingPlans,
- "variant_increasing_io": SummarizeSqlStatisticsCategoryVariantIncreasingIo,
- "variant_increasing_cpu": SummarizeSqlStatisticsCategoryVariantIncreasingCpu,
- "variant_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryVariantIncreasingInefficientWait,
- "variant_changing_plans_and_increasing_io": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingIo,
- "variant_changing_plans_and_increasing_cpu": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingCpu,
- "variant_changing_plans_and_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryVariantChangingPlansAndIncreasingInefficientWait,
- "inefficient_changing_plans": SummarizeSqlStatisticsCategoryInefficientChangingPlans,
- "inefficient_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryInefficientIncreasingInefficientWait,
- "inefficient_changing_plans_and_increasing_inefficient_wait": SummarizeSqlStatisticsCategoryInefficientChangingPlansAndIncreasingInefficientWait,
-}
-
-// GetSummarizeSqlStatisticsCategoryEnumValues Enumerates the set of values for SummarizeSqlStatisticsCategoryEnum
-func GetSummarizeSqlStatisticsCategoryEnumValues() []SummarizeSqlStatisticsCategoryEnum {
- values := make([]SummarizeSqlStatisticsCategoryEnum, 0)
- for _, v := range mappingSummarizeSqlStatisticsCategoryEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetSummarizeSqlStatisticsCategoryEnumStringValues Enumerates the set of values in String for SummarizeSqlStatisticsCategoryEnum
-func GetSummarizeSqlStatisticsCategoryEnumStringValues() []string {
- return []string{
- "DEGRADING",
- "VARIANT",
- "INEFFICIENT",
- "CHANGING_PLANS",
- "IMPROVING",
- "DEGRADING_VARIANT",
- "DEGRADING_INEFFICIENT",
- "DEGRADING_CHANGING_PLANS",
- "DEGRADING_INCREASING_IO",
- "DEGRADING_INCREASING_CPU",
- "DEGRADING_INCREASING_INEFFICIENT_WAIT",
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_IO",
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_CPU",
- "DEGRADING_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT",
- "VARIANT_INEFFICIENT",
- "VARIANT_CHANGING_PLANS",
- "VARIANT_INCREASING_IO",
- "VARIANT_INCREASING_CPU",
- "VARIANT_INCREASING_INEFFICIENT_WAIT",
- "VARIANT_CHANGING_PLANS_AND_INCREASING_IO",
- "VARIANT_CHANGING_PLANS_AND_INCREASING_CPU",
- "VARIANT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT",
- "INEFFICIENT_CHANGING_PLANS",
- "INEFFICIENT_INCREASING_INEFFICIENT_WAIT",
- "INEFFICIENT_CHANGING_PLANS_AND_INCREASING_INEFFICIENT_WAIT",
- }
-}
-
-// GetMappingSummarizeSqlStatisticsCategoryEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingSummarizeSqlStatisticsCategoryEnum(val string) (SummarizeSqlStatisticsCategoryEnum, bool) {
- enum, ok := mappingSummarizeSqlStatisticsCategoryEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_by_plan_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_by_plan_request_response.go
deleted file mode 100644
index 01f597fb3d9..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_by_plan_request_response.go
+++ /dev/null
@@ -1,130 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlStatisticsTimeSeriesByPlanRequest wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeriesByPlan.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesByPlanRequest.
-type SummarizeSqlStatisticsTimeSeriesByPlanRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId *string `mandatory:"false" contributesTo:"query" name:"databaseId"`
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id *string `mandatory:"false" contributesTo:"query" name:"id"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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"`
-
- // 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 SummarizeSqlStatisticsTimeSeriesByPlanRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) 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 SummarizeSqlStatisticsTimeSeriesByPlanRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlStatisticsTimeSeriesByPlanRequest) 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 SummarizeSqlStatisticsTimeSeriesByPlanRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlStatisticsTimeSeriesByPlanResponse wrapper for the SummarizeSqlStatisticsTimeSeriesByPlan operation
-type SummarizeSqlStatisticsTimeSeriesByPlanResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlStatisticsTimeSeriesByPlanAggregationCollection instances
- SqlStatisticsTimeSeriesByPlanAggregationCollection `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 SummarizeSqlStatisticsTimeSeriesByPlanResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlStatisticsTimeSeriesByPlanResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_request_response.go
deleted file mode 100644
index 291a02f9a2a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summarize_sql_statistics_time_series_request_response.go
+++ /dev/null
@@ -1,170 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// SummarizeSqlStatisticsTimeSeriesRequest wrapper for the SummarizeSqlStatisticsTimeSeries operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/SummarizeSqlStatisticsTimeSeries.go.html to see an example of how to use SummarizeSqlStatisticsTimeSeriesRequest.
-type SummarizeSqlStatisticsTimeSeriesRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
- CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`
-
- // Unique SQL_ID for a SQL Statement.
- // Example: `6rgjh9bjmy2s7`
- SqlIdentifier *string `mandatory:"true" contributesTo:"query" name:"sqlIdentifier"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated DBaaS entity.
- DatabaseId []string `contributesTo:"query" name:"databaseId" collectionFormat:"multi"`
-
- // Optional list of database OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database insight resource.
- Id []string `contributesTo:"query" name:"id" collectionFormat:"multi"`
-
- // Optional list of exadata insight resource OCIDs (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- ExadataInsightId []string `contributesTo:"query" name:"exadataInsightId" collectionFormat:"multi"`
-
- // Filter by one or more cdb name.
- CdbName []string `contributesTo:"query" name:"cdbName" collectionFormat:"multi"`
-
- // Filter by one or more hostname.
- HostName []string `contributesTo:"query" name:"hostName" collectionFormat:"multi"`
-
- // Specify time period in ISO 8601 format with respect to current time.
- // Default is last 30 days represented by P30D.
- // If timeInterval is specified, then timeIntervalStart and timeIntervalEnd will be ignored.
- // Examples P90D (last 90 days), P4W (last 4 weeks), P2M (last 2 months), P1Y (last 12 months), . Maximum value allowed is 25 months prior to current time (P25M).
- AnalysisTimeInterval *string `mandatory:"false" contributesTo:"query" name:"analysisTimeInterval"`
-
- // Analysis start time in UTC in ISO 8601 format(inclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // The minimum allowed value is 2 years prior to the current day.
- // timeIntervalStart and timeIntervalEnd parameters are used together.
- // If analysisTimeInterval is specified, this parameter is ignored.
- TimeIntervalStart *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalStart"`
-
- // Analysis end time in UTC in ISO 8601 format(exclusive).
- // Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ).
- // timeIntervalStart and timeIntervalEnd are used together.
- // If timeIntervalEnd is not specified, current time is used as timeIntervalEnd.
- TimeIntervalEnd *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeIntervalEnd"`
-
- // For list pagination. The value of the `opc-next-page` response header from
- // the previous "List" call. For important details about how pagination works,
- // see List Pagination (https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine).
- Page *string `mandatory:"false" contributesTo:"query" name:"page"`
-
- // 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 list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagEquals []string `contributesTo:"query" name:"definedTagEquals" collectionFormat:"multi"`
-
- // A list of tag filters to apply. Only resources with a freeform tag matching the value will be returned.
- // The key for each tag is "{tagName}.{value}". All inputs are case-insensitive.
- // Multiple values for the same tag name are interpreted as "OR". Values for different tag names are interpreted as "AND".
- FreeformTagEquals []string `contributesTo:"query" name:"freeformTagEquals" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified defined tags exist will be returned.
- // Each item in the list has the format "{namespace}.{tagName}.true" (for checking existence of a defined tag)
- // or "{namespace}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for the same key (i.e. same namespace and tag name) are interpreted as "OR".
- // Values for different keys (i.e. different namespaces, different tag names, or both) are interpreted as "AND".
- DefinedTagExists []string `contributesTo:"query" name:"definedTagExists" collectionFormat:"multi"`
-
- // A list of tag existence filters to apply. Only resources for which the specified freeform tags exist the value will be returned.
- // The key for each tag is "{tagName}.true". All inputs are case-insensitive.
- // Currently, only existence ("true" at the end) is supported. Absence ("false" at the end) is not supported.
- // Multiple values for different tag names are interpreted as "AND".
- FreeformTagExists []string `contributesTo:"query" name:"freeformTagExists" collectionFormat:"multi"`
-
- // A flag to search all resources within a given compartment and all sub-compartments.
- CompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"compartmentIdInSubtree"`
-
- // Optional list of Exadata Insight VM cluster name.
- VmclusterName []string `contributesTo:"query" name:"vmclusterName" 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
-}
-
-func (request SummarizeSqlStatisticsTimeSeriesRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request SummarizeSqlStatisticsTimeSeriesRequest) 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 SummarizeSqlStatisticsTimeSeriesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request SummarizeSqlStatisticsTimeSeriesRequest) 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 SummarizeSqlStatisticsTimeSeriesRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// SummarizeSqlStatisticsTimeSeriesResponse wrapper for the SummarizeSqlStatisticsTimeSeries operation
-type SummarizeSqlStatisticsTimeSeriesResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // A list of SqlStatisticsTimeSeriesAggregationCollection instances
- SqlStatisticsTimeSeriesAggregationCollection `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 SummarizeSqlStatisticsTimeSeriesResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response SummarizeSqlStatisticsTimeSeriesResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summary_statistics.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summary_statistics.go
deleted file mode 100644
index a92190512cf..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/summary_statistics.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// SummaryStatistics Contains common summary statistics.
-type SummaryStatistics struct {
-
- // The smallest number in the data set.
- Minimum *float64 `mandatory:"true" json:"minimum"`
-
- // The largest number in the data set.
- Maximum *float64 `mandatory:"true" json:"maximum"`
-
- // The average number in the data set.
- Average *float64 `mandatory:"true" json:"average"`
-
- // The middle number in the data set.
- Median *float64 `mandatory:"true" json:"median"`
-
- // The middle number between the smallest number and the median of the data set. It's also known as the 25th quartile.
- LowerQuartile *float64 `mandatory:"true" json:"lowerQuartile"`
-
- // The middle number between the median and the largest number of the data set. It's also known as the 75th quartile.
- UpperQuartile *float64 `mandatory:"true" json:"upperQuartile"`
-}
-
-func (m SummaryStatistics) 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 SummaryStatistics) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend.go
deleted file mode 100644
index cdaaa09543d..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// TablespaceUsageTrend Usage data samples
-type TablespaceUsageTrend struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Total amount used of the resource metric type (CPU, STORAGE).
- Usage *float64 `mandatory:"true" json:"usage"`
-
- // The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
- Capacity *float64 `mandatory:"true" json:"capacity"`
-}
-
-func (m TablespaceUsageTrend) 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 TablespaceUsageTrend) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend_aggregation.go
deleted file mode 100644
index 9b668b09937..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/tablespace_usage_trend_aggregation.go
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// TablespaceUsageTrendAggregation Usage data per tablespace for a Pluggable database
-type TablespaceUsageTrendAggregation struct {
-
- // The name of tablespace.
- TablespaceName *string `mandatory:"true" json:"tablespaceName"`
-
- // Type of tablespace
- TablespaceType *string `mandatory:"true" json:"tablespaceType"`
-
- // List of usage data samples for a tablespace
- UsageData []TablespaceUsageTrend `mandatory:"true" json:"usageData"`
-}
-
-func (m TablespaceUsageTrendAggregation) 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 TablespaceUsageTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage.go
deleted file mode 100644
index 3562e93a7bc..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// TopProcessesUsage Aggregated data for top processes on a specific date.
-type TopProcessesUsage struct {
-
- // Command line and arguments used to launch process.
- Command *string `mandatory:"true" json:"command"`
-
- // Unique identifier for a process.
- ProcessHash *string `mandatory:"true" json:"processHash"`
-
- // Process CPU usage.
- CpuUsage *float64 `mandatory:"true" json:"cpuUsage"`
-
- // Process CPU utilization percentage.
- CpuUtilization *float64 `mandatory:"true" json:"cpuUtilization"`
-
- // Process memory utilization percentage.
- MemoryUtilization *float64 `mandatory:"true" json:"memoryUtilization"`
-
- // Process virtual memory in Megabytes.
- VirtualMemoryInMBs *float64 `mandatory:"true" json:"virtualMemoryInMBs"`
-
- // Procress physical memory in Megabytes.
- PhysicalMemoryInMBs *float64 `mandatory:"true" json:"physicalMemoryInMBs"`
-
- // Maximum number of processes running at time of collection.
- MaxProcessCount *int `mandatory:"true" json:"maxProcessCount"`
-}
-
-func (m TopProcessesUsage) 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 TopProcessesUsage) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend.go
deleted file mode 100644
index 03a0346e3db..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// TopProcessesUsageTrend Aggregated data for top processes
-type TopProcessesUsageTrend struct {
-
- // The timestamp in which the current sampling period ends in RFC 3339 format.
- EndTimestamp *common.SDKTime `mandatory:"true" json:"endTimestamp"`
-
- // Process CPU usage.
- CpuUsage *float64 `mandatory:"true" json:"cpuUsage"`
-
- // Process CPU utilization percentage
- CpuUtilization *float64 `mandatory:"true" json:"cpuUtilization"`
-
- // Process memory utilization percentage
- MemoryUtilization *float64 `mandatory:"true" json:"memoryUtilization"`
-
- // Process virtual memory in Megabytes
- VirtualMemoryInMBs *float64 `mandatory:"true" json:"virtualMemoryInMBs"`
-
- // Procress physical memory in Megabytes
- PhysicalMemoryInMBs *float64 `mandatory:"true" json:"physicalMemoryInMBs"`
-
- // Maximum number of processes running at time of collection
- MaxProcessCount *int `mandatory:"true" json:"maxProcessCount"`
-}
-
-func (m TopProcessesUsageTrend) 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 TopProcessesUsageTrend) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend_aggregation.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend_aggregation.go
deleted file mode 100644
index a678bd1aa5c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/top_processes_usage_trend_aggregation.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// TopProcessesUsageTrendAggregation Usage data per host top process
-type TopProcessesUsageTrendAggregation struct {
-
- // Command line and arguments used to launch process
- Command *string `mandatory:"true" json:"command"`
-
- // List of usage data samples for a top process
- UsageData []TopProcessesUsageTrend `mandatory:"true" json:"usageData"`
-}
-
-func (m TopProcessesUsageTrendAggregation) 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 TopProcessesUsageTrendAggregation) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_autonomous_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_autonomous_database_insight_details.go
deleted file mode 100644
index 2e24673e922..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_autonomous_database_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateAutonomousDatabaseInsightDetails The information to be updated.
-type UpdateAutonomousDatabaseInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateAutonomousDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateAutonomousDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateAutonomousDatabaseInsightDetails) 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 UpdateAutonomousDatabaseInsightDetails) 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 UpdateAutonomousDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateAutonomousDatabaseInsightDetails UpdateAutonomousDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateAutonomousDatabaseInsightDetails
- }{
- "AUTONOMOUS_DATABASE",
- (MarshalTypeUpdateAutonomousDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_details.go
deleted file mode 100644
index 1e3dc7ac3ca..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_details.go
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// UpdateAwrHubDetails The information to be updated.
-type UpdateAwrHubDetails struct {
-
- // User-friedly name of AWR Hub that does not have to be unique.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m UpdateAwrHubDetails) 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 UpdateAwrHubDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_request_response.go
deleted file mode 100644
index 72399552416..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_awr_hub_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateAwrHubRequest wrapper for the UpdateAwrHub operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateAwrHub.go.html to see an example of how to use UpdateAwrHubRequest.
-type UpdateAwrHubRequest struct {
-
- // Unique Awr Hub identifier
- AwrHubId *string `mandatory:"true" contributesTo:"path" name:"awrHubId"`
-
- // The configuration to be updated.
- UpdateAwrHubDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateAwrHubRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateAwrHubRequest) 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 UpdateAwrHubRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateAwrHubRequest) 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 UpdateAwrHubRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateAwrHubResponse wrapper for the UpdateAwrHub operation
-type UpdateAwrHubResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateAwrHubResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateAwrHubResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_basic_configuration_item_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_basic_configuration_item_details.go
deleted file mode 100644
index 72494366590..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_basic_configuration_item_details.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateBasicConfigurationItemDetails Configuration item details for OPSI configuration update.
-type UpdateBasicConfigurationItemDetails struct {
-
- // Name of configuration item.
- Name *string `mandatory:"false" json:"name"`
-
- // Value of configuration item.
- Value *string `mandatory:"false" json:"value"`
-}
-
-func (m UpdateBasicConfigurationItemDetails) 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 UpdateBasicConfigurationItemDetails) 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 UpdateBasicConfigurationItemDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateBasicConfigurationItemDetails UpdateBasicConfigurationItemDetails
- s := struct {
- DiscriminatorParam string `json:"configItemType"`
- MarshalTypeUpdateBasicConfigurationItemDetails
- }{
- "BASIC",
- (MarshalTypeUpdateBasicConfigurationItemDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_configuration_item_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_configuration_item_details.go
deleted file mode 100644
index fa78b155dee..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_configuration_item_details.go
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateConfigurationItemDetails Configuration item details for OPSI configuration update.
-type UpdateConfigurationItemDetails interface {
-}
-
-type updateconfigurationitemdetails struct {
- JsonData []byte
- ConfigItemType string `json:"configItemType"`
-}
-
-// UnmarshalJSON unmarshals json
-func (m *updateconfigurationitemdetails) UnmarshalJSON(data []byte) error {
- m.JsonData = data
- type Unmarshalerupdateconfigurationitemdetails updateconfigurationitemdetails
- s := struct {
- Model Unmarshalerupdateconfigurationitemdetails
- }{}
- err := json.Unmarshal(data, &s.Model)
- if err != nil {
- return err
- }
- m.ConfigItemType = s.Model.ConfigItemType
-
- return err
-}
-
-// UnmarshalPolymorphicJSON unmarshals polymorphic json
-func (m *updateconfigurationitemdetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
-
- if data == nil || string(data) == "null" {
- return nil, nil
- }
-
- var err error
- switch m.ConfigItemType {
- case "BASIC":
- mm := UpdateBasicConfigurationItemDetails{}
- err = json.Unmarshal(data, &mm)
- return mm, err
- default:
- common.Logf("Recieved unsupported enum value for UpdateConfigurationItemDetails: %s.", m.ConfigItemType)
- return *m, nil
- }
-}
-
-func (m updateconfigurationitemdetails) 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 updateconfigurationitemdetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_details.go
index c257009d384..28e3575018e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_details.go
@@ -86,12 +86,12 @@ func (m *updatedatabaseinsightdetails) UnmarshalPolymorphicJSON(data []byte) (in
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatedatabaseinsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatedatabaseinsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_request_response.go
deleted file mode 100644
index b49d6e2833e..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_database_insight_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateDatabaseInsightRequest wrapper for the UpdateDatabaseInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateDatabaseInsight.go.html to see an example of how to use UpdateDatabaseInsightRequest.
-type UpdateDatabaseInsightRequest struct {
-
- // Unique database insight identifier
- DatabaseInsightId *string `mandatory:"true" contributesTo:"path" name:"databaseInsightId"`
-
- // The configuration to be updated.
- UpdateDatabaseInsightDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateDatabaseInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateDatabaseInsightRequest) 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 UpdateDatabaseInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateDatabaseInsightRequest) 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 UpdateDatabaseInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateDatabaseInsightResponse wrapper for the UpdateDatabaseInsight operation
-type UpdateDatabaseInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateDatabaseInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateDatabaseInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_database_insight_details.go
deleted file mode 100644
index 16e752f70cd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_database_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateEmManagedExternalDatabaseInsightDetails The information to be updated.
-type UpdateEmManagedExternalDatabaseInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateEmManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateEmManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateEmManagedExternalDatabaseInsightDetails) 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 UpdateEmManagedExternalDatabaseInsightDetails) 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 UpdateEmManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateEmManagedExternalDatabaseInsightDetails UpdateEmManagedExternalDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateEmManagedExternalDatabaseInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeUpdateEmManagedExternalDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_exadata_insight_details.go
deleted file mode 100644
index f8c1b1dbbe6..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_exadata_insight_details.go
+++ /dev/null
@@ -1,74 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateEmManagedExternalExadataInsightDetails The information to be updated.
-type UpdateEmManagedExternalExadataInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-
- // Set to true to enable automatic enablement and disablement of related targets from Enterprise Manager. New resources (e.g. Database Insights) will be placed in the same compartment as the related Exadata Insight.
- IsAutoSyncEnabled *bool `mandatory:"false" json:"isAutoSyncEnabled"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateEmManagedExternalExadataInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateEmManagedExternalExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateEmManagedExternalExadataInsightDetails) 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 UpdateEmManagedExternalExadataInsightDetails) 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 UpdateEmManagedExternalExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateEmManagedExternalExadataInsightDetails UpdateEmManagedExternalExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateEmManagedExternalExadataInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_EXADATA",
- (MarshalTypeUpdateEmManagedExternalExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_host_insight_details.go
deleted file mode 100644
index e2a8b3b7a9c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_em_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateEmManagedExternalHostInsightDetails The information to be updated.
-type UpdateEmManagedExternalHostInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateEmManagedExternalHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateEmManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateEmManagedExternalHostInsightDetails) 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 UpdateEmManagedExternalHostInsightDetails) 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 UpdateEmManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateEmManagedExternalHostInsightDetails UpdateEmManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateEmManagedExternalHostInsightDetails
- }{
- "EM_MANAGED_EXTERNAL_HOST",
- (MarshalTypeUpdateEmManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_details.go
deleted file mode 100644
index 5cd09c01c1f..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_details.go
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// UpdateEnterpriseManagerBridgeDetails The information to be updated.
-type UpdateEnterpriseManagerBridgeDetails struct {
-
- // User-friedly name of Enterprise Manager Bridge that does not have to be unique.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Description of Enterprise Manager Bridge
- Description *string `mandatory:"false" json:"description"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m UpdateEnterpriseManagerBridgeDetails) 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 UpdateEnterpriseManagerBridgeDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_request_response.go
deleted file mode 100644
index 0334a87c391..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_enterprise_manager_bridge_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateEnterpriseManagerBridgeRequest wrapper for the UpdateEnterpriseManagerBridge operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateEnterpriseManagerBridge.go.html to see an example of how to use UpdateEnterpriseManagerBridgeRequest.
-type UpdateEnterpriseManagerBridgeRequest struct {
-
- // Unique Enterprise Manager bridge identifier
- EnterpriseManagerBridgeId *string `mandatory:"true" contributesTo:"path" name:"enterpriseManagerBridgeId"`
-
- // The configuration to be updated.
- UpdateEnterpriseManagerBridgeDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateEnterpriseManagerBridgeRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateEnterpriseManagerBridgeRequest) 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 UpdateEnterpriseManagerBridgeRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateEnterpriseManagerBridgeRequest) 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 UpdateEnterpriseManagerBridgeRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateEnterpriseManagerBridgeResponse wrapper for the UpdateEnterpriseManagerBridge operation
-type UpdateEnterpriseManagerBridgeResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateEnterpriseManagerBridgeResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateEnterpriseManagerBridgeResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_details.go
index 199ea87a42b..56439bf77c2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_details.go
@@ -78,12 +78,12 @@ func (m *updateexadatainsightdetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateexadatainsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateexadatainsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_request_response.go
deleted file mode 100644
index b85681e3ae4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_exadata_insight_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateExadataInsightRequest wrapper for the UpdateExadataInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateExadataInsight.go.html to see an example of how to use UpdateExadataInsightRequest.
-type UpdateExadataInsightRequest struct {
-
- // Unique Exadata insight identifier
- ExadataInsightId *string `mandatory:"true" contributesTo:"path" name:"exadataInsightId"`
-
- // The configuration to be updated.
- UpdateExadataInsightDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateExadataInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateExadataInsightRequest) 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 UpdateExadataInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateExadataInsightRequest) 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 UpdateExadataInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateExadataInsightResponse wrapper for the UpdateExadataInsight operation
-type UpdateExadataInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateExadataInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateExadataInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_details.go
index e27d4eeec63..1fd33dd5b2f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_details.go
@@ -82,12 +82,12 @@ func (m *updatehostinsightdetails) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatehostinsightdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatehostinsightdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_request_response.go
deleted file mode 100644
index afff1747ce1..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_host_insight_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateHostInsightRequest wrapper for the UpdateHostInsight operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateHostInsight.go.html to see an example of how to use UpdateHostInsightRequest.
-type UpdateHostInsightRequest struct {
-
- // Unique host insight identifier
- HostInsightId *string `mandatory:"true" contributesTo:"path" name:"hostInsightId"`
-
- // The configuration to be updated.
- UpdateHostInsightDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateHostInsightRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateHostInsightRequest) 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 UpdateHostInsightRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateHostInsightRequest) 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 UpdateHostInsightRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateHostInsightResponse wrapper for the UpdateHostInsight operation
-type UpdateHostInsightResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateHostInsightResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateHostInsightResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_cloud_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_cloud_host_insight_details.go
deleted file mode 100644
index 5c5230e4d3a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_cloud_host_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateMacsManagedCloudHostInsightDetails The information to be updated.
-type UpdateMacsManagedCloudHostInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateMacsManagedCloudHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateMacsManagedCloudHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateMacsManagedCloudHostInsightDetails) 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 UpdateMacsManagedCloudHostInsightDetails) 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 UpdateMacsManagedCloudHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateMacsManagedCloudHostInsightDetails UpdateMacsManagedCloudHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateMacsManagedCloudHostInsightDetails
- }{
- "MACS_MANAGED_CLOUD_HOST",
- (MarshalTypeUpdateMacsManagedCloudHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_database_insight_details.go
deleted file mode 100644
index dfc7ffce5d8..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_database_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateMacsManagedExternalDatabaseInsightDetails The information to be updated.
-type UpdateMacsManagedExternalDatabaseInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateMacsManagedExternalDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateMacsManagedExternalDatabaseInsightDetails) 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 UpdateMacsManagedExternalDatabaseInsightDetails) 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 UpdateMacsManagedExternalDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateMacsManagedExternalDatabaseInsightDetails UpdateMacsManagedExternalDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateMacsManagedExternalDatabaseInsightDetails
- }{
- "MACS_MANAGED_EXTERNAL_DATABASE",
- (MarshalTypeUpdateMacsManagedExternalDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_host_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_host_insight_details.go
deleted file mode 100644
index 56573ba0855..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_macs_managed_external_host_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdateMacsManagedExternalHostInsightDetails The information to be updated.
-type UpdateMacsManagedExternalHostInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdateMacsManagedExternalHostInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdateMacsManagedExternalHostInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdateMacsManagedExternalHostInsightDetails) 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 UpdateMacsManagedExternalHostInsightDetails) 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 UpdateMacsManagedExternalHostInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdateMacsManagedExternalHostInsightDetails UpdateMacsManagedExternalHostInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdateMacsManagedExternalHostInsightDetails
- }{
- "MACS_MANAGED_EXTERNAL_HOST",
- (MarshalTypeUpdateMacsManagedExternalHostInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_details.go
deleted file mode 100644
index e2c7de4d174..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_details.go
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// UpdateOperationsInsightsPrivateEndpointDetails The details used to update a Operation Insights private endpoint.
-type UpdateOperationsInsightsPrivateEndpointDetails struct {
-
- // The display name of the private endpoint.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // The description of the private endpoint.
- Description *string `mandatory:"false" json:"description"`
-
- // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups that the Private service accessed the database.
- NsgIds []string `mandatory:"false" json:"nsgIds"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m UpdateOperationsInsightsPrivateEndpointDetails) 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 UpdateOperationsInsightsPrivateEndpointDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_request_response.go
deleted file mode 100644
index 17e06a361fc..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_private_endpoint_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateOperationsInsightsPrivateEndpointRequest wrapper for the UpdateOperationsInsightsPrivateEndpoint operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateOperationsInsightsPrivateEndpoint.go.html to see an example of how to use UpdateOperationsInsightsPrivateEndpointRequest.
-type UpdateOperationsInsightsPrivateEndpointRequest struct {
-
- // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Operation Insights private endpoint.
- OperationsInsightsPrivateEndpointId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsPrivateEndpointId"`
-
- // The details used to update a private endpoint.
- UpdateOperationsInsightsPrivateEndpointDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateOperationsInsightsPrivateEndpointRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateOperationsInsightsPrivateEndpointRequest) 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 UpdateOperationsInsightsPrivateEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateOperationsInsightsPrivateEndpointRequest) 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 UpdateOperationsInsightsPrivateEndpointRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateOperationsInsightsPrivateEndpointResponse wrapper for the UpdateOperationsInsightsPrivateEndpoint operation
-type UpdateOperationsInsightsPrivateEndpointResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateOperationsInsightsPrivateEndpointResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateOperationsInsightsPrivateEndpointResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_details.go
deleted file mode 100644
index e1e62471644..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_details.go
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// UpdateOperationsInsightsWarehouseDetails The information to be updated.
-type UpdateOperationsInsightsWarehouseDetails struct {
-
- // User-friedly name of Operations Insights Warehouse that does not have to be unique.
- DisplayName *string `mandatory:"false" json:"displayName"`
-
- // Number of OCPUs allocated to OPSI Warehouse ADW.
- CpuAllocated *float64 `mandatory:"false" json:"cpuAllocated"`
-
- // Storage allocated to OPSI Warehouse ADW.
- StorageAllocatedInGBs *float64 `mandatory:"false" json:"storageAllocatedInGBs"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m UpdateOperationsInsightsWarehouseDetails) 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 UpdateOperationsInsightsWarehouseDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_request_response.go
deleted file mode 100644
index c171ed306f7..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateOperationsInsightsWarehouseRequest wrapper for the UpdateOperationsInsightsWarehouse operation
-//
-// # See also
-//
-// 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
- OperationsInsightsWarehouseId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseId"`
-
- // The configuration to be updated.
- UpdateOperationsInsightsWarehouseDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateOperationsInsightsWarehouseRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateOperationsInsightsWarehouseRequest) 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 UpdateOperationsInsightsWarehouseRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateOperationsInsightsWarehouseRequest) 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 UpdateOperationsInsightsWarehouseRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateOperationsInsightsWarehouseResponse wrapper for the UpdateOperationsInsightsWarehouse operation
-type UpdateOperationsInsightsWarehouseResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateOperationsInsightsWarehouseResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateOperationsInsightsWarehouseResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_details.go
deleted file mode 100644
index ed0f2cad7a0..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_details.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// 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.
- ConnectionPassword *string `mandatory:"false" json:"connectionPassword"`
-
- // Indicate whether user has access to AWR data.
- IsAwrDataAccess *bool `mandatory:"false" json:"isAwrDataAccess"`
-
- // Indicate whether user has access to EM data.
- IsEmDataAccess *bool `mandatory:"false" json:"isEmDataAccess"`
-
- // Indicate whether user has access to OPSI data.
- IsOpsiDataAccess *bool `mandatory:"false" json:"isOpsiDataAccess"`
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-func (m UpdateOperationsInsightsWarehouseUserDetails) 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 UpdateOperationsInsightsWarehouseUserDetails) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_request_response.go
deleted file mode 100644
index 7d587a8d208..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_operations_insights_warehouse_user_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateOperationsInsightsWarehouseUserRequest wrapper for the UpdateOperationsInsightsWarehouseUser operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateOperationsInsightsWarehouseUser.go.html to see an example of how to use UpdateOperationsInsightsWarehouseUserRequest.
-type UpdateOperationsInsightsWarehouseUserRequest struct {
-
- // Unique Operations Insights Warehouse User identifier
- OperationsInsightsWarehouseUserId *string `mandatory:"true" contributesTo:"path" name:"operationsInsightsWarehouseUserId"`
-
- // The configuration to be updated.
- UpdateOperationsInsightsWarehouseUserDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateOperationsInsightsWarehouseUserRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateOperationsInsightsWarehouseUserRequest) 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 UpdateOperationsInsightsWarehouseUserRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateOperationsInsightsWarehouseUserRequest) 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 UpdateOperationsInsightsWarehouseUserRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateOperationsInsightsWarehouseUserResponse wrapper for the UpdateOperationsInsightsWarehouseUser operation
-type UpdateOperationsInsightsWarehouseUserResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateOperationsInsightsWarehouseUserResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateOperationsInsightsWarehouseUserResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_details.go
index ad54f4cd5a0..fde8c5c913c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_details.go
@@ -96,32 +96,32 @@ func (m *updateopsiconfigurationdetails) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateopsiconfigurationdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateopsiconfigurationdetails) GetDescription() *string {
return m.Description
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateopsiconfigurationdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateopsiconfigurationdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m updateopsiconfigurationdetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetConfigItems returns ConfigItems
+// GetConfigItems returns ConfigItems
func (m updateopsiconfigurationdetails) GetConfigItems() json.RawMessage {
return m.ConfigItems
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_request_response.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_request_response.go
deleted file mode 100644
index b99920bdebe..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_configuration_request_response.go
+++ /dev/null
@@ -1,99 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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 opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "net/http"
- "strings"
-)
-
-// UpdateOpsiConfigurationRequest wrapper for the UpdateOpsiConfiguration operation
-//
-// # See also
-//
-// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/opsi/UpdateOpsiConfiguration.go.html to see an example of how to use UpdateOpsiConfigurationRequest.
-type UpdateOpsiConfigurationRequest struct {
-
- // OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of OPSI configuration resource.
- OpsiConfigurationId *string `mandatory:"true" contributesTo:"path" name:"opsiConfigurationId"`
-
- // The OPSI configuration resource details to be updated.
- UpdateOpsiConfigurationDetails `contributesTo:"body"`
-
- // Used for optimistic concurrency control. In the update or delete call for a resource, set the `if-match`
- // parameter to the value of the etag from a previous get, create, or update 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 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"`
-
- // 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 UpdateOpsiConfigurationRequest) String() string {
- return common.PointerString(request)
-}
-
-// HTTPRequest implements the OCIRequest interface
-func (request UpdateOpsiConfigurationRequest) 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 UpdateOpsiConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) {
-
- return nil, false
-
-}
-
-// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
-func (request UpdateOpsiConfigurationRequest) 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 UpdateOpsiConfigurationRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
-
-// UpdateOpsiConfigurationResponse wrapper for the UpdateOpsiConfiguration operation
-type UpdateOpsiConfigurationResponse struct {
-
- // The underlying http response
- RawResponse *http.Response
-
- // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
- 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 UpdateOpsiConfigurationResponse) String() string {
- return common.PointerString(response)
-}
-
-// HTTPResponse implements the OCIResponse interface
-func (response UpdateOpsiConfigurationResponse) HTTPResponse() *http.Response {
- return response.RawResponse
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_ux_configuration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_ux_configuration_details.go
index 938b6128cab..83faefcb150 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_ux_configuration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_opsi_ux_configuration_details.go
@@ -142,6 +142,5 @@ func (m *UpdateOpsiUxConfigurationDetails) UnmarshalJSON(data []byte) (e error)
m.ConfigItems[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_database_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_database_insight_details.go
deleted file mode 100644
index 64455d1e6e3..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_database_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdatePeComanagedDatabaseInsightDetails The information to be updated.
-type UpdatePeComanagedDatabaseInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdatePeComanagedDatabaseInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdatePeComanagedDatabaseInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdatePeComanagedDatabaseInsightDetails) 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 UpdatePeComanagedDatabaseInsightDetails) 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 UpdatePeComanagedDatabaseInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdatePeComanagedDatabaseInsightDetails UpdatePeComanagedDatabaseInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdatePeComanagedDatabaseInsightDetails
- }{
- "PE_COMANAGED_DATABASE",
- (MarshalTypeUpdatePeComanagedDatabaseInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_exadata_insight_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_exadata_insight_details.go
deleted file mode 100644
index 64e49f171dc..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/update_pe_comanaged_exadata_insight_details.go
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations 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"
-)
-
-// UpdatePeComanagedExadataInsightDetails The information to be updated.
-type UpdatePeComanagedExadataInsightDetails struct {
-
- // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
- // Example: `{"bar-key": "value"}`
- FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
-
- // Defined tags for this resource. Each key is predefined and scoped to a namespace.
- // Example: `{"foo-namespace": {"bar-key": "value"}}`
- DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
-}
-
-//GetFreeformTags returns FreeformTags
-func (m UpdatePeComanagedExadataInsightDetails) GetFreeformTags() map[string]string {
- return m.FreeformTags
-}
-
-//GetDefinedTags returns DefinedTags
-func (m UpdatePeComanagedExadataInsightDetails) GetDefinedTags() map[string]map[string]interface{} {
- return m.DefinedTags
-}
-
-func (m UpdatePeComanagedExadataInsightDetails) 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 UpdatePeComanagedExadataInsightDetails) 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 UpdatePeComanagedExadataInsightDetails) MarshalJSON() (buff []byte, e error) {
- type MarshalTypeUpdatePeComanagedExadataInsightDetails UpdatePeComanagedExadataInsightDetails
- s := struct {
- DiscriminatorParam string `json:"entitySource"`
- MarshalTypeUpdatePeComanagedExadataInsightDetails
- }{
- "PE_COMANAGED_EXADATA",
- (MarshalTypeUpdatePeComanagedExadataInsightDetails)(m),
- }
-
- return json.Marshal(&s)
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ux_configuration_items_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ux_configuration_items_collection.go
index fc21ef76031..b25cc3d0b0d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ux_configuration_items_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/ux_configuration_items_collection.go
@@ -83,6 +83,5 @@ func (m *UxConfigurationItemsCollection) UnmarshalJSON(data []byte) (e error) {
m.ConfigItems[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/vm_cluster_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/vm_cluster_summary.go
deleted file mode 100644
index c8ed2999bda..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/vm_cluster_summary.go
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// VmClusterSummary Partial information about the VM Cluster which includes name, memory allocated etc.
-type VmClusterSummary struct {
-
- // The name of the vm cluster.
- VmclusterName *string `mandatory:"true" json:"vmclusterName"`
-
- // The memory allocated on a vm cluster.
- MemoryAllocatedInGBs *int `mandatory:"false" json:"memoryAllocatedInGBs"`
-
- // The cpu allocated on a vm cluster.
- CpuAllocated *int `mandatory:"false" json:"cpuAllocated"`
-
- // The number of DB nodes on a vm cluster.
- DbNodesCount *int `mandatory:"false" json:"dbNodesCount"`
-}
-
-func (m VmClusterSummary) 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 VmClusterSummary) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request.go
deleted file mode 100644
index 432b54bcad5..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request.go
+++ /dev/null
@@ -1,76 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequest A description of workrequest status
-type WorkRequest struct {
-
- // Type of the work request
- OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`
-
- // Status of current work request.
- Status OperationStatusEnum `mandatory:"true" json:"status"`
-
- // The id of the work request.
- Id *string `mandatory:"true" json:"id"`
-
- // The ocid of the compartment that contains the work request. Work requests should be scoped to
- // the same compartment as the resource the work request affects. If the work request affects multiple resources,
- // and those resources are not in the same compartment, it is up to the service team to pick the primary
- // resource whose compartment should be used
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
-
- // The resources affected by this work request.
- Resources []WorkRequestResource `mandatory:"true" json:"resources"`
-
- // Percentage of the request completed.
- PercentComplete *float32 `mandatory:"true" json:"percentComplete"`
-
- // The date and time the request was created, as described in
- // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
- TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`
-
- // The date and time the request was started, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339),
- // section 14.29.
- TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`
-
- // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
- TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
-}
-
-func (m WorkRequest) 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 WorkRequest) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingOperationTypeEnum(string(m.OperationType)); !ok && m.OperationType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for OperationType: %s. Supported values are: %s.", m.OperationType, strings.Join(GetOperationTypeEnumStringValues(), ",")))
- }
- if _, ok := GetMappingOperationStatusEnum(string(m.Status)); !ok && m.Status != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetOperationStatusEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_collection.go
deleted file mode 100644
index f0ea30dd2fd..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
-type WorkRequestCollection struct {
-
- // List of workRequests.
- Items []WorkRequest `mandatory:"true" json:"items"`
-}
-
-func (m WorkRequestCollection) 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 WorkRequestCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error.go
deleted file mode 100644
index a8612312480..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error.go
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestError An error encountered while executing a work request.
-type WorkRequestError struct {
-
- // A machine-usable code for the error that occured. Error codes are listed on
- // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
- Code *string `mandatory:"true" json:"code"`
-
- // A human readable description of the issue encountered.
- Message *string `mandatory:"true" json:"message"`
-
- // The time the error occured. An RFC3339 formatted datetime string.
- Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
-}
-
-func (m WorkRequestError) 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 WorkRequestError) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error_collection.go
deleted file mode 100644
index d35b1e05b8a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_error_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
-type WorkRequestErrorCollection struct {
-
- // List of workRequestError objects.
- Items []WorkRequestError `mandatory:"true" json:"items"`
-}
-
-func (m WorkRequestErrorCollection) 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 WorkRequestErrorCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry.go
deleted file mode 100644
index d3c1f11f3a4..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestLogEntry A log message from the execution of a work request.
-type WorkRequestLogEntry struct {
-
- // Human-readable log message.
- Message *string `mandatory:"true" json:"message"`
-
- // The time the log message was written. An RFC3339 formatted datetime string
- Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
-}
-
-func (m WorkRequestLogEntry) 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 WorkRequestLogEntry) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry_collection.go
deleted file mode 100644
index 7d796b7855c..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_log_entry_collection.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
-type WorkRequestLogEntryCollection struct {
-
- // List of workRequestLogEntries.
- Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
-}
-
-func (m WorkRequestLogEntryCollection) 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 WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource.go
deleted file mode 100644
index d99f061579a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource.go
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequestResource A resource created or operated on by a work request.
-type WorkRequestResource struct {
-
- // The resource type the work request affects.
- EntityType *string `mandatory:"true" json:"entityType"`
-
- // The way in which this resource is affected by the work tracked in the work request.
- // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
- // work is complete for that resource at which point it will transition to CREATED, UPDATED,
- // or DELETED, respectively.
- ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`
-
- // The identifier of the resource the work request affects.
- Identifier *string `mandatory:"true" json:"identifier"`
-
- // The URI path that the user can do a GET on to access the resource
- EntityUri *string `mandatory:"false" json:"entityUri"`
-
- // Additional information that helps to explain the resource.
- Metadata map[string]string `mandatory:"false" json:"metadata"`
-}
-
-func (m WorkRequestResource) 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 WorkRequestResource) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
- if _, ok := GetMappingActionTypeEnum(string(m.ActionType)); !ok && m.ActionType != "" {
- errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for ActionType: %s. Supported values are: %s.", m.ActionType, strings.Join(GetActionTypeEnumStringValues(), ",")))
- }
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource_metadata_key.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource_metadata_key.go
deleted file mode 100644
index 7c48312583a..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_request_resource_metadata_key.go
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "strings"
-)
-
-// WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
-type WorkRequestResourceMetadataKeyEnum string
-
-// Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
-const (
- WorkRequestResourceMetadataKeyRelatedResourceIds WorkRequestResourceMetadataKeyEnum = "RELATED_RESOURCE_IDS"
- WorkRequestResourceMetadataKeyResourceName WorkRequestResourceMetadataKeyEnum = "RESOURCE_NAME"
-)
-
-var mappingWorkRequestResourceMetadataKeyEnum = map[string]WorkRequestResourceMetadataKeyEnum{
- "RELATED_RESOURCE_IDS": WorkRequestResourceMetadataKeyRelatedResourceIds,
- "RESOURCE_NAME": WorkRequestResourceMetadataKeyResourceName,
-}
-
-var mappingWorkRequestResourceMetadataKeyEnumLowerCase = map[string]WorkRequestResourceMetadataKeyEnum{
- "related_resource_ids": WorkRequestResourceMetadataKeyRelatedResourceIds,
- "resource_name": WorkRequestResourceMetadataKeyResourceName,
-}
-
-// GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
-func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum {
- values := make([]WorkRequestResourceMetadataKeyEnum, 0)
- for _, v := range mappingWorkRequestResourceMetadataKeyEnum {
- values = append(values, v)
- }
- return values
-}
-
-// GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
-func GetWorkRequestResourceMetadataKeyEnumStringValues() []string {
- return []string{
- "RELATED_RESOURCE_IDS",
- "RESOURCE_NAME",
- }
-}
-
-// GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
-func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool) {
- enum, ok := mappingWorkRequestResourceMetadataKeyEnumLowerCase[strings.ToLower(val)]
- return enum, ok
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_requests.go b/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_requests.go
deleted file mode 100644
index 23831602745..00000000000
--- a/vendor/github.com/oracle/oci-go-sdk/v65/opsi/work_requests.go
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2016, 2018, 2023, 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.
-
-// Operations Insights API
-//
-// Use the Operations Insights API to perform data extraction operations to obtain database
-// resource utilization, performance statistics, and reference information. For more information,
-// see About Oracle Cloud Infrastructure Operations Insights (https://docs.cloud.oracle.com/en-us/iaas/operations-insights/doc/operations-insights.html).
-//
-
-package opsi
-
-import (
- "fmt"
- "github.com/oracle/oci-go-sdk/v65/common"
- "strings"
-)
-
-// WorkRequests Logical grouping used for Operations Insights Work Request operations.
-type WorkRequests struct {
-
- // OPSI Work Request Object.
- WorkRequests *interface{} `mandatory:"false" json:"workRequests"`
-}
-
-func (m WorkRequests) 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 WorkRequests) ValidateEnumValue() (bool, error) {
- errMessage := []string{}
-
- if len(errMessage) > 0 {
- return true, fmt.Errorf(strings.Join(errMessage, "\n"))
- }
- return false, nil
-}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/optimizer/optimizer_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/optimizer/optimizer_client.go
index 0341055d1c3..878be56d40c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/optimizer/optimizer_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/optimizer/optimizer_client.go
@@ -82,7 +82,7 @@ func (client *OptimizerClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/event.go b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/event.go
index e6d6fd6a0e4..016a375e2b6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/event.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/event.go
@@ -60,7 +60,6 @@ type Event interface {
type event struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
InstanceId *string `mandatory:"false" json:"instanceId"`
CompartmentId *string `mandatory:"false" json:"compartmentId"`
TenancyId *string `mandatory:"false" json:"tenancyId"`
@@ -71,6 +70,7 @@ type event struct {
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ Id *string `mandatory:"true" json:"id"`
EventType string `json:"eventType"`
}
@@ -124,61 +124,61 @@ func (m *event) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetId returns Id
-func (m event) GetId() *string {
- return m.Id
-}
-
-//GetInstanceId returns InstanceId
+// GetInstanceId returns InstanceId
func (m event) GetInstanceId() *string {
return m.InstanceId
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m event) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTenancyId returns TenancyId
+// GetTenancyId returns TenancyId
func (m event) GetTenancyId() *string {
return m.TenancyId
}
-//GetSummary returns Summary
+// GetSummary returns Summary
func (m event) GetSummary() *string {
return m.Summary
}
-//GetTimestamp returns Timestamp
+// GetTimestamp returns Timestamp
func (m event) GetTimestamp() *common.SDKTime {
return m.Timestamp
}
-//GetEventFingerprint returns EventFingerprint
+// GetEventFingerprint returns EventFingerprint
func (m event) GetEventFingerprint() *string {
return m.EventFingerprint
}
-//GetCount returns Count
+// GetCount returns Count
func (m event) GetCount() *int {
return m.Count
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m event) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m event) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m event) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetId returns Id
+func (m event) GetId() *string {
+ return m.Id
+}
+
func (m event) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_client.go
index 91de588fd9e..05392aa937b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_client.go
@@ -81,7 +81,7 @@ func (client *OsManagementClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_event_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_event_client.go
index bf65b3596f1..19fcdf874f4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_event_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osmanagement/osmanagement_event_client.go
@@ -81,7 +81,7 @@ func (client *EventClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice.go
index 2692df35f10..02e4bc4012e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice.go
@@ -204,10 +204,7 @@ func (m *Invoice) UnmarshalJSON(data []byte) (e error) {
m.BillToAddress = model.BillToAddress
m.SubscriptionIds = make([]string, len(model.SubscriptionIds))
- for i, n := range model.SubscriptionIds {
- m.SubscriptionIds[i] = n
- }
-
+ copy(m.SubscriptionIds, model.SubscriptionIds)
m.InvoiceId = model.InvoiceId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice_summary.go
index 90ea094e4b0..2e70e3f437a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/invoice_summary.go
@@ -211,10 +211,7 @@ func (m *InvoiceSummary) UnmarshalJSON(data []byte) (e error) {
m.PartyName = model.PartyName
m.SubscriptionIds = make([]string, len(model.SubscriptionIds))
- for i, n := range model.SubscriptionIds {
- m.SubscriptionIds[i] = n
- }
-
+ copy(m.SubscriptionIds, model.SubscriptionIds)
m.InvoiceId = model.InvoiceId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressruleservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressruleservice_client.go
index 3d6b9b332ae..4fb2ca7610e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressruleservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressruleservice_client.go
@@ -80,7 +80,7 @@ func (client *AddressRuleServiceClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressservice_client.go
index e11bb874224..dd9557859f2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_addressservice_client.go
@@ -80,7 +80,7 @@ func (client *AddressServiceClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_invoiceservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_invoiceservice_client.go
index baf0a65aa68..1d7c6111c3b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_invoiceservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_invoiceservice_client.go
@@ -80,7 +80,7 @@ func (client *InvoiceServiceClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_subscriptionservice_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_subscriptionservice_client.go
index 5a78d8947b7..fdff0026ac8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_subscriptionservice_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/ospgateway_subscriptionservice_client.go
@@ -80,7 +80,7 @@ func (client *SubscriptionServiceClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_detail.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_detail.go
index 0b4d409b37c..932d3f57ab9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_detail.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_detail.go
@@ -87,17 +87,17 @@ func (m *paymentdetail) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetTimePaidOn returns TimePaidOn
+// GetTimePaidOn returns TimePaidOn
func (m paymentdetail) GetTimePaidOn() *common.SDKTime {
return m.TimePaidOn
}
-//GetPaidBy returns PaidBy
+// GetPaidBy returns PaidBy
func (m paymentdetail) GetPaidBy() *string {
return m.PaidBy
}
-//GetAmountPaid returns AmountPaid
+// GetAmountPaid returns AmountPaid
func (m paymentdetail) GetAmountPaid() *float32 {
return m.AmountPaid
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_option.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_option.go
index e5bb4b8fda3..13b1708465f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_option.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/payment_option.go
@@ -74,12 +74,12 @@ func (m *paymentoption) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetWalletInstrumentId returns WalletInstrumentId
+// GetWalletInstrumentId returns WalletInstrumentId
func (m paymentoption) GetWalletInstrumentId() *string {
return m.WalletInstrumentId
}
-//GetWalletTransactionId returns WalletTransactionId
+// GetWalletTransactionId returns WalletTransactionId
func (m paymentoption) GetWalletTransactionId() *string {
return m.WalletTransactionId
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription.go
index cd0cdb27d89..edd067cf567 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription.go
@@ -181,7 +181,6 @@ func (m *Subscription) UnmarshalJSON(data []byte) (e error) {
m.PaymentOptions[i] = nil
}
}
-
m.PaymentGateway = model.PaymentGateway
m.BillingAddress = model.BillingAddress
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription_summary.go
index 3209c7eef99..8b257b4b7c5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/ospgateway/subscription_summary.go
@@ -181,7 +181,6 @@ func (m *SubscriptionSummary) UnmarshalJSON(data []byte) (e error) {
m.PaymentOptions[i] = nil
}
}
-
m.PaymentGateway = model.PaymentGateway
m.BillingAddress = model.BillingAddress
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osubbillingschedule/osubbillingschedule_billingschedule_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osubbillingschedule/osubbillingschedule_billingschedule_client.go
index 198b0989b53..10dcd2f717a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osubbillingschedule/osubbillingschedule_billingschedule_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osubbillingschedule/osubbillingschedule_billingschedule_client.go
@@ -80,7 +80,7 @@ func (client *BillingScheduleClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osuborganizationsubscription/osuborganizationsubscription_organizationsubscription_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osuborganizationsubscription/osuborganizationsubscription_organizationsubscription_client.go
index 045f1fc0c58..f17b3f9e505 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osuborganizationsubscription/osuborganizationsubscription_organizationsubscription_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osuborganizationsubscription/osuborganizationsubscription_organizationsubscription_client.go
@@ -80,7 +80,7 @@ func (client *OrganizationSubscriptionClient) setConfigurationProvider(configPro
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_commitment_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_commitment_client.go
index 639f595f7df..c20ef934796 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_commitment_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_commitment_client.go
@@ -80,7 +80,7 @@ func (client *CommitmentClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_ratecard_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_ratecard_client.go
index fb2e16b4f2c..033fc7e58de 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_ratecard_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_ratecard_client.go
@@ -80,7 +80,7 @@ func (client *RatecardClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_subscription_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_subscription_client.go
index 0fcf60d1735..87b4523eb0c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_subscription_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osubsubscription/osubsubscription_subscription_client.go
@@ -80,7 +80,7 @@ func (client *SubscriptionClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/osubusage/osubusage_computedusage_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/osubusage/osubusage_computedusage_client.go
index 55e3ec61122..89aee5ab9d9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/osubusage/osubusage_computedusage_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/osubusage/osubusage_computedusage_client.go
@@ -80,7 +80,7 @@ func (client *ComputedUsageClient) setConfigurationProvider(configProvider commo
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_client.go
index 9597bb1a521..e95dd480092 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_client.go
@@ -80,7 +80,7 @@ func (client *QueueClient) setConfigurationProvider(configProvider common.Config
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_queueadmin_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_queueadmin_client.go
index 74d25dafe9c..5c8681b4f74 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_queueadmin_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/queue/queue_queueadmin_client.go
@@ -80,7 +80,7 @@ func (client *QueueAdminClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/recovery/recovery_databaserecovery_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/recovery/recovery_databaserecovery_client.go
index 5c6fbb997bb..50535364879 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/recovery/recovery_databaserecovery_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/recovery/recovery_databaserecovery_client.go
@@ -80,7 +80,7 @@ func (client *DatabaseRecoveryClient) setConfigurationProvider(configProvider co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/config_source.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/config_source.go
index b4cd4b9e40f..98f986258fa 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/config_source.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/config_source.go
@@ -97,7 +97,7 @@ func (m *configsource) UnmarshalPolymorphicJSON(data []byte) (interface{}, error
}
}
-//GetWorkingDirectory returns WorkingDirectory
+// GetWorkingDirectory returns WorkingDirectory
func (m configsource) GetWorkingDirectory() *string {
return m.WorkingDirectory
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider.go
index b302ecbf625..541cd2152db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider.go
@@ -139,57 +139,57 @@ func (m *configurationsourceprovider) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetId returns Id
+// GetId returns Id
func (m configurationsourceprovider) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m configurationsourceprovider) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m configurationsourceprovider) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m configurationsourceprovider) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m configurationsourceprovider) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m configurationsourceprovider) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum {
return m.LifecycleState
}
-//GetPrivateServerConfigDetails returns PrivateServerConfigDetails
+// GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m configurationsourceprovider) GetPrivateServerConfigDetails() *PrivateServerConfigDetails {
return m.PrivateServerConfigDetails
}
-//GetUsername returns Username
+// GetUsername returns Username
func (m configurationsourceprovider) GetUsername() *string {
return m.Username
}
-//GetSecretId returns SecretId
+// GetSecretId returns SecretId
func (m configurationsourceprovider) GetSecretId() *string {
return m.SecretId
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m configurationsourceprovider) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m configurationsourceprovider) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_collection.go
index 99fa382a362..719459a577d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_collection.go
@@ -65,6 +65,5 @@ func (m *ConfigurationSourceProviderCollection) UnmarshalJSON(data []byte) (e er
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_summary.go
index 189789e0921..b10fa546629 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/configuration_source_provider_summary.go
@@ -129,47 +129,47 @@ func (m *configurationsourceprovidersummary) UnmarshalPolymorphicJSON(data []byt
}
}
-//GetId returns Id
+// GetId returns Id
func (m configurationsourceprovidersummary) GetId() *string {
return m.Id
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m configurationsourceprovidersummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m configurationsourceprovidersummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m configurationsourceprovidersummary) GetDescription() *string {
return m.Description
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m configurationsourceprovidersummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m configurationsourceprovidersummary) GetLifecycleState() ConfigurationSourceProviderLifecycleStateEnum {
return m.LifecycleState
}
-//GetPrivateServerConfigDetails returns PrivateServerConfigDetails
+// GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m configurationsourceprovidersummary) GetPrivateServerConfigDetails() *PrivateServerConfigDetails {
return m.PrivateServerConfigDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m configurationsourceprovidersummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m configurationsourceprovidersummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_config_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_config_source_details.go
index a616291cec5..995a7e214bf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_config_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_config_source_details.go
@@ -101,7 +101,7 @@ func (m *createconfigsourcedetails) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetWorkingDirectory returns WorkingDirectory
+// GetWorkingDirectory returns WorkingDirectory
func (m createconfigsourcedetails) GetWorkingDirectory() *string {
return m.WorkingDirectory
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_configuration_source_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_configuration_source_provider_details.go
index 4ecdda9e479..f31834205d3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_configuration_source_provider_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_configuration_source_provider_details.go
@@ -109,32 +109,32 @@ func (m *createconfigurationsourceproviderdetails) UnmarshalPolymorphicJSON(data
}
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m createconfigurationsourceproviderdetails) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createconfigurationsourceproviderdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m createconfigurationsourceproviderdetails) GetDescription() *string {
return m.Description
}
-//GetPrivateServerConfigDetails returns PrivateServerConfigDetails
+// GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m createconfigurationsourceproviderdetails) GetPrivateServerConfigDetails() *PrivateServerConfigDetails {
return m.PrivateServerConfigDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createconfigurationsourceproviderdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createconfigurationsourceproviderdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_job_operation_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_job_operation_details.go
index a50c76be763..309ceffd63a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_job_operation_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/create_job_operation_details.go
@@ -90,7 +90,7 @@ func (m *createjoboperationdetails) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
+// GetIsProviderUpgradeRequired returns IsProviderUpgradeRequired
func (m createjoboperationdetails) GetIsProviderUpgradeRequired() *bool {
return m.IsProviderUpgradeRequired
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/resourcemanager_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/resourcemanager_client.go
index 6a75b158dbf..6f7d62e4c95 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/resourcemanager_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/resourcemanager_client.go
@@ -83,7 +83,7 @@ func (client *ResourceManagerClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_config_source_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_config_source_details.go
index 0d78d39a2e5..3cb5fa76925 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_config_source_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_config_source_details.go
@@ -93,7 +93,7 @@ func (m *updateconfigsourcedetails) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetWorkingDirectory returns WorkingDirectory
+// GetWorkingDirectory returns WorkingDirectory
func (m updateconfigsourcedetails) GetWorkingDirectory() *string {
return m.WorkingDirectory
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_configuration_source_provider_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_configuration_source_provider_details.go
index 2211c705e64..9e1bf7e9d89 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_configuration_source_provider_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/resourcemanager/update_configuration_source_provider_details.go
@@ -103,27 +103,27 @@ func (m *updateconfigurationsourceproviderdetails) UnmarshalPolymorphicJSON(data
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updateconfigurationsourceproviderdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m updateconfigurationsourceproviderdetails) GetDescription() *string {
return m.Description
}
-//GetPrivateServerConfigDetails returns PrivateServerConfigDetails
+// GetPrivateServerConfigDetails returns PrivateServerConfigDetails
func (m updateconfigurationsourceproviderdetails) GetPrivateServerConfigDetails() *PrivateServerConfigDetails {
return m.PrivateServerConfigDetails
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updateconfigurationsourceproviderdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updateconfigurationsourceproviderdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/sch/create_service_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/sch/create_service_connector_details.go
index 27554c4c2d8..ba5b122b39f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/sch/create_service_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/sch/create_service_connector_details.go
@@ -96,7 +96,6 @@ func (m *CreateServiceConnectorDetails) UnmarshalJSON(data []byte) (e error) {
m.Tasks[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/sch/sch_serviceconnector_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/sch/sch_serviceconnector_client.go
index 12b62f7ce2e..a2c041a2810 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/sch/sch_serviceconnector_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/sch/sch_serviceconnector_client.go
@@ -82,7 +82,7 @@ func (client *ServiceConnectorClient) setConfigurationProvider(configProvider co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/sch/service_connector.go b/vendor/github.com/oracle/oci-go-sdk/v65/sch/service_connector.go
index ba97ea9d58e..c545fb7f983 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/sch/service_connector.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/sch/service_connector.go
@@ -144,7 +144,6 @@ func (m *ServiceConnector) UnmarshalJSON(data []byte) (e error) {
m.Tasks[i] = nil
}
}
-
nn, e = model.Target.UnmarshalPolymorphicJSON(model.Target.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/sch/update_service_connector_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/sch/update_service_connector_details.go
index f18b1197f4e..d8f4f20378a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/sch/update_service_connector_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/sch/update_service_connector_details.go
@@ -103,7 +103,6 @@ func (m *UpdateServiceConnectorDetails) UnmarshalJSON(data []byte) (e error) {
m.Tasks[i] = nil
}
}
-
nn, e = model.Target.UnmarshalPolymorphicJSON(model.Target.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secret_bundle.go b/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secret_bundle.go
index 77a2b4878ca..9c3b60bb3ba 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secret_bundle.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secret_bundle.go
@@ -108,10 +108,7 @@ func (m *SecretBundle) UnmarshalJSON(data []byte) (e error) {
m.TimeOfExpiry = model.TimeOfExpiry
m.Stages = make([]SecretBundleStagesEnum, len(model.Stages))
- for i, n := range model.Stages {
- m.Stages[i] = n
- }
-
+ copy(m.Stages, model.Stages)
m.Metadata = model.Metadata
m.SecretId = model.SecretId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secrets_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secrets_client.go
index 34a3c5e2dc0..94d617c9ea3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secrets_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/secrets/secrets_client.go
@@ -80,7 +80,7 @@ func (client *SecretsClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/create_private_application_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/create_private_application_package.go
index a838a04f4bf..6658590a770 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/create_private_application_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/create_private_application_package.go
@@ -65,7 +65,7 @@ func (m *createprivateapplicationpackage) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetVersion returns Version
+// GetVersion returns Version
func (m createprivateapplicationpackage) GetVersion() *string {
return m.Version
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/private_application_package.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/private_application_package.go
index d4640992e89..bf6b7c8ee42 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/private_application_package.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/private_application_package.go
@@ -39,11 +39,11 @@ type PrivateApplicationPackage interface {
type privateapplicationpackage struct {
JsonData []byte
+ DisplayName *string `mandatory:"false" json:"displayName"`
Id *string `mandatory:"true" json:"id"`
PrivateApplicationId *string `mandatory:"true" json:"privateApplicationId"`
Version *string `mandatory:"true" json:"version"`
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
- DisplayName *string `mandatory:"false" json:"displayName"`
PackageType string `json:"packageType"`
}
@@ -87,31 +87,31 @@ func (m *privateapplicationpackage) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetId returns Id
+// GetDisplayName returns DisplayName
+func (m privateapplicationpackage) GetDisplayName() *string {
+ return m.DisplayName
+}
+
+// GetId returns Id
func (m privateapplicationpackage) GetId() *string {
return m.Id
}
-//GetPrivateApplicationId returns PrivateApplicationId
+// GetPrivateApplicationId returns PrivateApplicationId
func (m privateapplicationpackage) GetPrivateApplicationId() *string {
return m.PrivateApplicationId
}
-//GetVersion returns Version
+// GetVersion returns Version
func (m privateapplicationpackage) GetVersion() *string {
return m.Version
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m privateapplicationpackage) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetDisplayName returns DisplayName
-func (m privateapplicationpackage) GetDisplayName() *string {
- return m.DisplayName
-}
-
func (m privateapplicationpackage) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/servicecatalog_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/servicecatalog_client.go
index 4b5ecad401b..e563f79c353 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/servicecatalog_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicecatalog/servicecatalog_client.go
@@ -80,7 +80,7 @@ func (client *ServiceCatalogClient) setConfigurationProvider(configProvider comm
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemanagerproxy/servicemanagerproxy_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemanagerproxy/servicemanagerproxy_client.go
index defdd794044..0d9ae9aa080 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemanagerproxy/servicemanagerproxy_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemanagerproxy/servicemanagerproxy_client.go
@@ -81,7 +81,7 @@ func (client *ServiceManagerProxyClient) setConfigurationProvider(configProvider
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_ingress_gateway_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_ingress_gateway_route_table_details.go
index bc8742053d1..2c0637bee16 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_ingress_gateway_route_table_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_ingress_gateway_route_table_details.go
@@ -108,7 +108,6 @@ func (m *CreateIngressGatewayRouteTableDetails) UnmarshalJSON(data []byte) (e er
m.RouteRules[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_deployment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_deployment_details.go
index b8082b15ecd..88efb8ae554 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_deployment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_deployment_details.go
@@ -99,10 +99,7 @@ func (m *CreateVirtualDeploymentDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Listeners = make([]VirtualDeploymentListener, len(model.Listeners))
- for i, n := range model.Listeners {
- m.Listeners[i] = n
- }
-
+ copy(m.Listeners, model.Listeners)
m.AccessLogging = model.AccessLogging
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_service_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_service_route_table_details.go
index e16ec715e22..0ee29ba23ab 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_service_route_table_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/create_virtual_service_route_table_details.go
@@ -108,7 +108,6 @@ func (m *CreateVirtualServiceRouteTableDetails) UnmarshalJSON(data []byte) (e er
m.RouteRules[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_route_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_route_table.go
index 37405b5988c..25cd3e5876e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_route_table.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_route_table.go
@@ -128,7 +128,6 @@ func (m *IngressGatewayRouteTable) UnmarshalJSON(data []byte) (e error) {
m.RouteRules[i] = nil
}
}
-
m.LifecycleDetails = model.LifecycleDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule.go
index 0252534ba7e..9e70aa1b0f9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule.go
@@ -27,8 +27,8 @@ type IngressGatewayTrafficRouteRule interface {
type ingressgatewaytrafficrouterule struct {
JsonData []byte
- Destinations []VirtualServiceTrafficRuleTarget `mandatory:"true" json:"destinations"`
IngressGatewayHost *IngressGatewayHostRef `mandatory:"false" json:"ingressGatewayHost"`
+ Destinations []VirtualServiceTrafficRuleTarget `mandatory:"true" json:"destinations"`
Type string `json:"type"`
}
@@ -77,16 +77,16 @@ func (m *ingressgatewaytrafficrouterule) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDestinations returns Destinations
-func (m ingressgatewaytrafficrouterule) GetDestinations() []VirtualServiceTrafficRuleTarget {
- return m.Destinations
-}
-
-//GetIngressGatewayHost returns IngressGatewayHost
+// GetIngressGatewayHost returns IngressGatewayHost
func (m ingressgatewaytrafficrouterule) GetIngressGatewayHost() *IngressGatewayHostRef {
return m.IngressGatewayHost
}
+// GetDestinations returns Destinations
+func (m ingressgatewaytrafficrouterule) GetDestinations() []VirtualServiceTrafficRuleTarget {
+ return m.Destinations
+}
+
func (m ingressgatewaytrafficrouterule) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule_details.go
index d00dfdac6bf..3a1b1f2a799 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_gateway_traffic_route_rule_details.go
@@ -27,8 +27,8 @@ type IngressGatewayTrafficRouteRuleDetails interface {
type ingressgatewaytrafficrouteruledetails struct {
JsonData []byte
- Destinations []VirtualServiceTrafficRuleTargetDetails `mandatory:"true" json:"destinations"`
IngressGatewayHost *IngressGatewayHostRef `mandatory:"false" json:"ingressGatewayHost"`
+ Destinations []VirtualServiceTrafficRuleTargetDetails `mandatory:"true" json:"destinations"`
Type string `json:"type"`
}
@@ -77,16 +77,16 @@ func (m *ingressgatewaytrafficrouteruledetails) UnmarshalPolymorphicJSON(data []
}
}
-//GetDestinations returns Destinations
-func (m ingressgatewaytrafficrouteruledetails) GetDestinations() []VirtualServiceTrafficRuleTargetDetails {
- return m.Destinations
-}
-
-//GetIngressGatewayHost returns IngressGatewayHost
+// GetIngressGatewayHost returns IngressGatewayHost
func (m ingressgatewaytrafficrouteruledetails) GetIngressGatewayHost() *IngressGatewayHostRef {
return m.IngressGatewayHost
}
+// GetDestinations returns Destinations
+func (m ingressgatewaytrafficrouteruledetails) GetDestinations() []VirtualServiceTrafficRuleTargetDetails {
+ return m.Destinations
+}
+
func (m ingressgatewaytrafficrouteruledetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_listener_client_validation_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_listener_client_validation_config.go
index 06d84182c78..15811b4b907 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_listener_client_validation_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/ingress_listener_client_validation_config.go
@@ -63,9 +63,6 @@ func (m *IngressListenerClientValidationConfig) UnmarshalJSON(data []byte) (e er
}
m.SubjectAlternateNames = make([]string, len(model.SubjectAlternateNames))
- for i, n := range model.SubjectAlternateNames {
- m.SubjectAlternateNames[i] = n
- }
-
+ copy(m.SubjectAlternateNames, model.SubjectAlternateNames)
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/servicemesh_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/servicemesh_client.go
index 4cf0208da52..ad138a8f6c0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/servicemesh_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/servicemesh_client.go
@@ -80,7 +80,7 @@ func (client *ServiceMeshClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_ingress_gateway_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_ingress_gateway_route_table_details.go
index beac872b469..62403dae050 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_ingress_gateway_route_table_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_ingress_gateway_route_table_details.go
@@ -86,7 +86,6 @@ func (m *UpdateIngressGatewayRouteTableDetails) UnmarshalJSON(data []byte) (e er
m.RouteRules[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_deployment_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_deployment_details.go
index 540375cd0af..321d2a8e886 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_deployment_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_deployment_details.go
@@ -85,10 +85,7 @@ func (m *UpdateVirtualDeploymentDetails) UnmarshalJSON(data []byte) (e error) {
}
m.Listeners = make([]VirtualDeploymentListener, len(model.Listeners))
- for i, n := range model.Listeners {
- m.Listeners[i] = n
- }
-
+ copy(m.Listeners, model.Listeners)
m.AccessLogging = model.AccessLogging
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_service_route_table_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_service_route_table_details.go
index d91547b77bb..982f2e17cd0 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_service_route_table_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/update_virtual_service_route_table_details.go
@@ -86,7 +86,6 @@ func (m *UpdateVirtualServiceRouteTableDetails) UnmarshalJSON(data []byte) (e er
m.RouteRules[i] = nil
}
}
-
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_deployment.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_deployment.go
index f494134330c..7b36f318a93 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_deployment.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_deployment.go
@@ -127,10 +127,7 @@ func (m *VirtualDeployment) UnmarshalJSON(data []byte) (e error) {
}
m.Listeners = make([]VirtualDeploymentListener, len(model.Listeners))
- for i, n := range model.Listeners {
- m.Listeners[i] = n
- }
-
+ copy(m.Listeners, model.Listeners)
m.AccessLogging = model.AccessLogging
m.LifecycleDetails = model.LifecycleDetails
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_route_table.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_route_table.go
index eaee83bea41..df1c44fccb7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_route_table.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_route_table.go
@@ -128,7 +128,6 @@ func (m *VirtualServiceRouteTable) UnmarshalJSON(data []byte) (e error) {
m.RouteRules[i] = nil
}
}
-
m.LifecycleDetails = model.LifecycleDetails
m.FreeformTags = model.FreeformTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule.go
index 62836f7d056..6c6dc94ec66 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule.go
@@ -73,7 +73,7 @@ func (m *virtualservicetrafficrouterule) UnmarshalPolymorphicJSON(data []byte) (
}
}
-//GetDestinations returns Destinations
+// GetDestinations returns Destinations
func (m virtualservicetrafficrouterule) GetDestinations() []VirtualDeploymentTrafficRuleTarget {
return m.Destinations
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule_details.go
index 088c01de82a..2d1ac0ef294 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/servicemesh/virtual_service_traffic_route_rule_details.go
@@ -73,7 +73,7 @@ func (m *virtualservicetrafficrouteruledetails) UnmarshalPolymorphicJSON(data []
}
}
-//GetDestinations returns Destinations
+// GetDestinations returns Destinations
func (m virtualservicetrafficrouteruledetails) GetDestinations() []VirtualDeploymentTrafficRuleTargetDetails {
return m.Destinations
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/create_monitored_resource_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/create_monitored_resource_details.go
index 88e545ae05c..b96fa899dae 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/create_monitored_resource_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/create_monitored_resource_details.go
@@ -135,10 +135,7 @@ func (m *CreateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error) {
m.ResourceTimeZone = model.ResourceTimeZone
m.Properties = make([]MonitoredResourceProperty, len(model.Properties))
- for i, n := range model.Properties {
- m.Properties[i] = n
- }
-
+ copy(m.Properties, model.Properties)
m.DatabaseConnectionDetails = model.DatabaseConnectionDetails
nn, e = model.Credentials.UnmarshalPolymorphicJSON(model.Credentials.JsonData)
@@ -165,12 +162,8 @@ func (m *CreateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error) {
m.AdditionalCredentials[i] = nil
}
}
-
m.AdditionalAliases = make([]MonitoredResourceAliasCredential, len(model.AdditionalAliases))
- for i, n := range model.AdditionalAliases {
- m.AdditionalAliases[i] = n
- }
-
+ copy(m.AdditionalAliases, model.AdditionalAliases)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource.go b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource.go
index f742abcd07d..f1355db0b7f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource.go
@@ -153,10 +153,7 @@ func (m *MonitoredResource) UnmarshalJSON(data []byte) (e error) {
m.LifecycleState = model.LifecycleState
m.Properties = make([]MonitoredResourceProperty, len(model.Properties))
- for i, n := range model.Properties {
- m.Properties[i] = n
- }
-
+ copy(m.Properties, model.Properties)
m.DatabaseConnectionDetails = model.DatabaseConnectionDetails
nn, e = model.Credentials.UnmarshalPolymorphicJSON(model.Credentials.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource_credential.go b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource_credential.go
index 29393ee30e3..cb84a886880 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource_credential.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/monitored_resource_credential.go
@@ -89,22 +89,22 @@ func (m *monitoredresourcecredential) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetSource returns Source
+// GetSource returns Source
func (m monitoredresourcecredential) GetSource() *string {
return m.Source
}
-//GetName returns Name
+// GetName returns Name
func (m monitoredresourcecredential) GetName() *string {
return m.Name
}
-//GetType returns Type
+// GetType returns Type
func (m monitoredresourcecredential) GetType() *string {
return m.Type
}
-//GetDescription returns Description
+// GetDescription returns Description
func (m monitoredresourcecredential) GetDescription() *string {
return m.Description
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/stackmonitoring_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/stackmonitoring_client.go
index 74d4c629f90..06191d40450 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/stackmonitoring_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/stackmonitoring_client.go
@@ -80,7 +80,7 @@ func (client *StackMonitoringClient) setConfigurationProvider(configProvider com
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/update_monitored_resource_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/update_monitored_resource_details.go
index ea3ff42e2fd..0db6cc7f76b 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/update_monitored_resource_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/stackmonitoring/update_monitored_resource_details.go
@@ -108,10 +108,7 @@ func (m *UpdateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error) {
m.ResourceTimeZone = model.ResourceTimeZone
m.Properties = make([]MonitoredResourceProperty, len(model.Properties))
- for i, n := range model.Properties {
- m.Properties[i] = n
- }
-
+ copy(m.Properties, model.Properties)
m.DatabaseConnectionDetails = model.DatabaseConnectionDetails
nn, e = model.Credentials.UnmarshalPolymorphicJSON(model.Credentials.JsonData)
@@ -138,12 +135,8 @@ func (m *UpdateMonitoredResourceDetails) UnmarshalJSON(data []byte) (e error) {
m.AdditionalCredentials[i] = nil
}
}
-
m.AdditionalAliases = make([]MonitoredResourceAliasCredential, len(model.AdditionalAliases))
- for i, n := range model.AdditionalAliases {
- m.AdditionalAliases[i] = n
- }
-
+ copy(m.AdditionalAliases, model.AdditionalAliases)
m.FreeformTags = model.FreeformTags
m.DefinedTags = model.DefinedTags
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/streaming/streaming_streamadmin_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/streaming/streaming_streamadmin_client.go
index 6963147040b..3a8892f09a6 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/streaming/streaming_streamadmin_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/streaming/streaming_streamadmin_client.go
@@ -80,7 +80,7 @@ func (client *StreamAdminClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_resources_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_resources_client.go
index 534ad903463..05bbc8e38e9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_resources_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_resources_client.go
@@ -80,7 +80,7 @@ func (client *ResourcesClient) setConfigurationProvider(configProvider common.Co
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_rewards_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_rewards_client.go
index a9938e3c160..378753d59ab 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_rewards_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_rewards_client.go
@@ -80,7 +80,7 @@ func (client *RewardsClient) setConfigurationProvider(configProvider common.Conf
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_usagelimits_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_usagelimits_client.go
index 60ec143d5ab..e85984388e5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_usagelimits_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/usage/usage_usagelimits_client.go
@@ -80,7 +80,7 @@ func (client *UsagelimitsClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/query_properties.go b/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/query_properties.go
index b995a269070..2ee3dd405d4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/query_properties.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/query_properties.go
@@ -90,15 +90,9 @@ func (m *QueryProperties) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.GroupBy = make([]string, len(model.GroupBy))
- for i, n := range model.GroupBy {
- m.GroupBy[i] = n
- }
-
+ copy(m.GroupBy, model.GroupBy)
m.GroupByTag = make([]Tag, len(model.GroupByTag))
- for i, n := range model.GroupByTag {
- m.GroupByTag[i] = n
- }
-
+ copy(m.GroupByTag, model.GroupByTag)
m.Filter = model.Filter
m.CompartmentDepth = model.CompartmentDepth
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/usageapi_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/usageapi_client.go
index 3f1c9fba8fc..88cf11bf096 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/usageapi_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/usageapi/usageapi_client.go
@@ -80,7 +80,7 @@ func (client *UsageapiClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vault/create_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vault/create_secret_details.go
index 9ff912e2da3..9cb51178307 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vault/create_secret_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vault/create_secret_details.go
@@ -113,7 +113,6 @@ func (m *CreateSecretDetails) UnmarshalJSON(data []byte) (e error) {
m.SecretRules[i] = nil
}
}
-
m.CompartmentId = model.CompartmentId
nn, e = model.SecretContent.UnmarshalPolymorphicJSON(model.SecretContent.JsonData)
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret.go b/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret.go
index 3ae561d9fd3..f676b80b498 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret.go
@@ -148,7 +148,6 @@ func (m *Secret) UnmarshalJSON(data []byte) (e error) {
m.SecretRules[i] = nil
}
}
-
m.TimeOfCurrentVersionExpiry = model.TimeOfCurrentVersionExpiry
m.TimeOfDeletion = model.TimeOfDeletion
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret_content_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret_content_details.go
index 56a5e9381e5..1768a8b2ae2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret_content_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vault/secret_content_details.go
@@ -74,12 +74,12 @@ func (m *secretcontentdetails) UnmarshalPolymorphicJSON(data []byte) (interface{
}
}
-//GetName returns Name
+// GetName returns Name
func (m secretcontentdetails) GetName() *string {
return m.Name
}
-//GetStage returns Stage
+// GetStage returns Stage
func (m secretcontentdetails) GetStage() SecretContentDetailsStageEnum {
return m.Stage
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vault/update_secret_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vault/update_secret_details.go
index f85a7cb37ce..8ef019c97ff 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vault/update_secret_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vault/update_secret_details.go
@@ -113,6 +113,5 @@ func (m *UpdateSecretDetails) UnmarshalJSON(data []byte) (e error) {
m.SecretRules[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vault/vault_vaults_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/vault/vault_vaults_client.go
index 50732fbedab..3db0220a023 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vault/vault_vaults_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vault/vault_vaults_client.go
@@ -80,7 +80,7 @@ func (client *VaultsClient) setConfigurationProvider(configProvider common.Confi
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vbsinst/vbsinst_vbsinstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/vbsinst/vbsinst_vbsinstance_client.go
index 0ee10c0fd9d..e5cc49ec349 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vbsinst/vbsinst_vbsinstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vbsinst/vbsinst_vbsinstance_client.go
@@ -80,7 +80,7 @@ func (client *VbsInstanceClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/visualbuilder/visualbuilder_vbinstance_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/visualbuilder/visualbuilder_vbinstance_client.go
index 660bec17ea3..2c390f9fdd1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/visualbuilder/visualbuilder_vbinstance_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/visualbuilder/visualbuilder_vbinstance_client.go
@@ -81,7 +81,7 @@ func (client *VbInstanceClient) setConfigurationProvider(configProvider common.C
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/add_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/add_drg_route_distribution_statement_details.go
index 784f0f24623..c003a04dabd 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/add_drg_route_distribution_statement_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/add_drg_route_distribution_statement_details.go
@@ -78,7 +78,6 @@ func (m *AddDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte) (e
m.MatchCriteria[i] = nil
}
}
-
m.Action = model.Action
m.Priority = model.Priority
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/cpe.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/cpe.go
index 781ce06962e..9f959e07dc1 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/cpe.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/cpe.go
@@ -64,6 +64,9 @@ type Cpe struct {
// The date and time the CPE was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2016-08-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+
+ // Indicates whether this CPE is of type `private` or not.
+ IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}
func (m Cpe) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_cpe_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_cpe_details.go
index 6e241c0af82..8862517a534 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_cpe_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_cpe_details.go
@@ -49,6 +49,9 @@ type CreateCpeDetails struct {
// * GetTunnelCpeDeviceConfigContent
// * GetTunnelCpeDeviceConfig
CpeDeviceShapeId *string `mandatory:"false" json:"cpeDeviceShapeId"`
+
+ // Indicates whether this CPE is of type `private` or not.
+ IsPrivate *bool `mandatory:"false" json:"isPrivate"`
}
func (m CreateCpeDetails) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_dhcp_details.go
index 358c0929811..a731650cde9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_dhcp_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_dhcp_details.go
@@ -103,7 +103,6 @@ func (m *CreateDhcpDetails) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.VcnId = model.VcnId
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_details.go
index 2d5f609e138..1113bfae9be 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_details.go
@@ -72,6 +72,10 @@ type CreateIpSecConnectionDetails struct {
// maximum of 2 `tunnelConfiguration` objects in the array (one for each of the
// two tunnels).
TunnelConfiguration []CreateIpSecConnectionTunnelDetails `mandatory:"false" json:"tunnelConfiguration"`
+
+ // The count of tunnels in the IPsec connection. This value should be equal to the number of
+ // `tunnelConfiguration` objects specified in the `CreateIPSecConnection` request.
+ TunnelCount *int `mandatory:"false" json:"tunnelCount"`
}
func (m CreateIpSecConnectionDetails) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_tunnel_details.go
index 8d5fcce63d8..e4126754aa4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_tunnel_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_ip_sec_connection_tunnel_details.go
@@ -54,6 +54,16 @@ type CreateIpSecConnectionTunnelDetails struct {
DpdConfig *DpdConfig `mandatory:"false" json:"dpdConfig"`
+ // The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.
+ OracleTunnelIp *string `mandatory:"false" json:"oracleTunnelIp"`
+
+ // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
+ AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG route table assigned to this attachment.
+ // The DRG route table manages traffic inside the DRG.
+ DrgRouteTableId *string `mandatory:"false" json:"drgRouteTableId"`
+
EncryptionDomainConfig *CreateIpSecTunnelEncryptionDomainDetails `mandatory:"false" json:"encryptionDomainConfig"`
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_virtual_circuit_details.go
index e6c268fa97e..a07dbcd36d5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_virtual_circuit_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/create_virtual_circuit_details.go
@@ -49,6 +49,9 @@ type CreateVirtualCircuitDetails struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/dhcp_options.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/dhcp_options.go
index 9d4d528fa2e..cc22ffc10e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/dhcp_options.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/dhcp_options.go
@@ -133,7 +133,6 @@ func (m *DhcpOptions) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.TimeCreated = model.TimeCreated
m.VcnId = model.VcnId
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_create_details.go
index 4d4eff8f7e5..294f73a222f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_create_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_create_details.go
@@ -26,7 +26,7 @@ type DrgAttachmentNetworkCreateDetails interface {
type drgattachmentnetworkcreatedetails struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
Type string `json:"type"`
}
@@ -66,7 +66,7 @@ func (m *drgattachmentnetworkcreatedetails) UnmarshalPolymorphicJSON(data []byte
}
}
-//GetId returns Id
+// GetId returns Id
func (m drgattachmentnetworkcreatedetails) GetId() *string {
return m.Id
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_details.go
index 1be4246ba82..ab1501bfa1d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_attachment_network_details.go
@@ -26,7 +26,7 @@ type DrgAttachmentNetworkDetails interface {
type drgattachmentnetworkdetails struct {
JsonData []byte
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
Type string `json:"type"`
}
@@ -60,6 +60,10 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int
mm := VcnDrgAttachmentNetworkDetails{}
err = json.Unmarshal(data, &mm)
return mm, err
+ case "LOOPBACK":
+ mm := LoopBackDrgAttachmentNetworkDetails{}
+ err = json.Unmarshal(data, &mm)
+ return mm, err
case "IPSEC_TUNNEL":
mm := IpsecTunnelDrgAttachmentNetworkDetails{}
err = json.Unmarshal(data, &mm)
@@ -78,7 +82,7 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetId returns Id
+// GetId returns Id
func (m drgattachmentnetworkdetails) GetId() *string {
return m.Id
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_route_distribution_statement.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_route_distribution_statement.go
index 2f5db86d59f..042c52d77a2 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_route_distribution_statement.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/drg_route_distribution_statement.go
@@ -85,7 +85,6 @@ func (m *DrgRouteDistributionStatement) UnmarshalJSON(data []byte) (e error) {
m.MatchCriteria[i] = nil
}
}
-
m.Action = model.Action
m.Priority = model.Priority
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection.go
index bb35128c649..de1af314f10 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection.go
@@ -93,6 +93,9 @@ type IpSecConnection struct {
// The date and time the IPSec connection was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2016-08-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
+
+ // The transport type used for the IPSec connection.
+ TransportType IpSecConnectionTransportTypeEnum `mandatory:"false" json:"transportType,omitempty"`
}
func (m IpSecConnection) String() string {
@@ -111,6 +114,9 @@ func (m IpSecConnection) ValidateEnumValue() (bool, error) {
if _, ok := GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(string(m.CpeLocalIdentifierType)); !ok && m.CpeLocalIdentifierType != "" {
errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for CpeLocalIdentifierType: %s. Supported values are: %s.", m.CpeLocalIdentifierType, strings.Join(GetIpSecConnectionCpeLocalIdentifierTypeEnumStringValues(), ",")))
}
+ if _, ok := GetMappingIpSecConnectionTransportTypeEnum(string(m.TransportType)); !ok && m.TransportType != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TransportType: %s. Supported values are: %s.", m.TransportType, strings.Join(GetIpSecConnectionTransportTypeEnumStringValues(), ",")))
+ }
if len(errMessage) > 0 {
return true, fmt.Errorf(strings.Join(errMessage, "\n"))
}
@@ -208,3 +214,45 @@ func GetMappingIpSecConnectionCpeLocalIdentifierTypeEnum(val string) (IpSecConne
enum, ok := mappingIpSecConnectionCpeLocalIdentifierTypeEnumLowerCase[strings.ToLower(val)]
return enum, ok
}
+
+// IpSecConnectionTransportTypeEnum Enum with underlying type: string
+type IpSecConnectionTransportTypeEnum string
+
+// Set of constants representing the allowable values for IpSecConnectionTransportTypeEnum
+const (
+ IpSecConnectionTransportTypeInternet IpSecConnectionTransportTypeEnum = "INTERNET"
+ IpSecConnectionTransportTypeFastconnect IpSecConnectionTransportTypeEnum = "FASTCONNECT"
+)
+
+var mappingIpSecConnectionTransportTypeEnum = map[string]IpSecConnectionTransportTypeEnum{
+ "INTERNET": IpSecConnectionTransportTypeInternet,
+ "FASTCONNECT": IpSecConnectionTransportTypeFastconnect,
+}
+
+var mappingIpSecConnectionTransportTypeEnumLowerCase = map[string]IpSecConnectionTransportTypeEnum{
+ "internet": IpSecConnectionTransportTypeInternet,
+ "fastconnect": IpSecConnectionTransportTypeFastconnect,
+}
+
+// GetIpSecConnectionTransportTypeEnumValues Enumerates the set of values for IpSecConnectionTransportTypeEnum
+func GetIpSecConnectionTransportTypeEnumValues() []IpSecConnectionTransportTypeEnum {
+ values := make([]IpSecConnectionTransportTypeEnum, 0)
+ for _, v := range mappingIpSecConnectionTransportTypeEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetIpSecConnectionTransportTypeEnumStringValues Enumerates the set of values in String for IpSecConnectionTransportTypeEnum
+func GetIpSecConnectionTransportTypeEnumStringValues() []string {
+ return []string{
+ "INTERNET",
+ "FASTCONNECT",
+ }
+}
+
+// GetMappingIpSecConnectionTransportTypeEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingIpSecConnectionTransportTypeEnum(val string) (IpSecConnectionTransportTypeEnum, bool) {
+ enum, ok := mappingIpSecConnectionTransportTypeEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection_tunnel.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection_tunnel.go
index 74dae6c7817..eaaedb085db 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection_tunnel.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ip_sec_connection_tunnel.go
@@ -87,6 +87,9 @@ type IpSecConnectionTunnel struct {
PhaseOneDetails *TunnelPhaseOneDetails `mandatory:"false" json:"phaseOneDetails"`
PhaseTwoDetails *TunnelPhaseTwoDetails `mandatory:"false" json:"phaseTwoDetails"`
+
+ // The list of virtual circuit OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s over which your network can reach this tunnel.
+ AssociatedVirtualCircuits []string `mandatory:"false" json:"associatedVirtualCircuits"`
}
func (m IpSecConnectionTunnel) String() string {
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ipsec_tunnel_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ipsec_tunnel_drg_attachment_network_details.go
index 3f5fc3ca36f..49b72745d03 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ipsec_tunnel_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/ipsec_tunnel_drg_attachment_network_details.go
@@ -21,10 +21,13 @@ import (
type IpsecTunnelDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// The IPSec connection that contains the attached IPSec tunnel.
IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual circuit's DRG attachment.
+ TransportAttachmentId *string `mandatory:"false" json:"transportAttachmentId"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/loop_back_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/loop_back_drg_attachment_network_details.go
new file mode 100644
index 00000000000..76c1f228c7e
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/loop_back_drg_attachment_network_details.go
@@ -0,0 +1,63 @@
+// Copyright (c) 2016, 2018, 2023, 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.
+
+// Network Monitoring API
+//
+// Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console
+// documentation for the Network Path Analyzer (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool.
+//
+
+package vnmonitoring
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// LoopBackDrgAttachmentNetworkDetails Specifies the loopback attachment on the DRG. A loopback attachment can be used to terminate a virtual circuit that is carrying an IPSec tunnel, routing traffic directly to the IPSec tunnel attachment where the tunnel can terminate.
+type LoopBackDrgAttachmentNetworkDetails struct {
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
+ Id *string `mandatory:"false" json:"id"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target IPSec tunnel attachment.
+ Ids []string `mandatory:"false" json:"ids"`
+}
+
+//GetId returns Id
+func (m LoopBackDrgAttachmentNetworkDetails) GetId() *string {
+ return m.Id
+}
+
+func (m LoopBackDrgAttachmentNetworkDetails) 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 LoopBackDrgAttachmentNetworkDetails) 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 LoopBackDrgAttachmentNetworkDetails) MarshalJSON() (buff []byte, e error) {
+ type MarshalTypeLoopBackDrgAttachmentNetworkDetails LoopBackDrgAttachmentNetworkDetails
+ s := struct {
+ DiscriminatorParam string `json:"type"`
+ MarshalTypeLoopBackDrgAttachmentNetworkDetails
+ }{
+ "LOOPBACK",
+ (MarshalTypeLoopBackDrgAttachmentNetworkDetails)(m),
+ }
+
+ return json.Marshal(&s)
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/networking_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/networking_topology.go
index a1b2258ab67..4117c1a9c9c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/networking_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/networking_topology.go
@@ -100,10 +100,7 @@ func (m *NetworkingTopology) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -116,12 +113,8 @@ func (m *NetworkingTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/path_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/path_topology.go
index ad179a6d1d0..c371f1003d7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/path_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/path_topology.go
@@ -100,10 +100,7 @@ func (m *PathTopology) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -116,12 +113,8 @@ func (m *PathTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/remote_peering_connection_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/remote_peering_connection_drg_attachment_network_details.go
index 2bb53c80113..2fa3034186e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/remote_peering_connection_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/remote_peering_connection_drg_attachment_network_details.go
@@ -21,7 +21,7 @@ import (
type RemotePeeringConnectionDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/routing_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/routing_action.go
index ec98b48d800..fc260add28c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/routing_action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/routing_action.go
@@ -74,7 +74,7 @@ func (m *routingaction) UnmarshalPolymorphicJSON(data []byte) (interface{}, erro
}
}
-//GetActionType returns ActionType
+// GetActionType returns ActionType
func (m routingaction) GetActionType() RoutingActionActionTypeEnum {
return m.ActionType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/security_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/security_action.go
index 81aca038943..f9d6c807573 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/security_action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/security_action.go
@@ -70,7 +70,7 @@ func (m *securityaction) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetActionType returns ActionType
+// GetActionType returns ActionType
func (m securityaction) GetActionType() SecurityActionActionTypeEnum {
return m.ActionType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/subnet_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/subnet_topology.go
index 8a1fef08735..513efd6809f 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/subnet_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/subnet_topology.go
@@ -106,10 +106,7 @@ func (m *SubnetTopology) UnmarshalJSON(data []byte) (e error) {
m.SubnetId = model.SubnetId
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -122,12 +119,8 @@ func (m *SubnetTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology.go
index 4ca0db90193..6bcfa53cc56 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology.go
@@ -95,22 +95,22 @@ func (m *topology) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetEntities returns Entities
+// GetEntities returns Entities
func (m topology) GetEntities() []interface{} {
return m.Entities
}
-//GetRelationships returns Relationships
+// GetRelationships returns Relationships
func (m topology) GetRelationships() json.RawMessage {
return m.Relationships
}
-//GetLimitedEntities returns LimitedEntities
+// GetLimitedEntities returns LimitedEntities
func (m topology) GetLimitedEntities() []string {
return m.LimitedEntities
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m topology) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology_entity_relationship.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology_entity_relationship.go
index 056e24bc1d4..13692a1d26c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology_entity_relationship.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/topology_entity_relationship.go
@@ -79,12 +79,12 @@ func (m *topologyentityrelationship) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetId1 returns Id1
+// GetId1 returns Id1
func (m topologyentityrelationship) GetId1() *string {
return m.Id1
}
-//GetId2 returns Id2
+// GetId2 returns Id2
func (m topologyentityrelationship) GetId2() *string {
return m.Id2
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_node.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_node.go
index 584a15f6413..1a06ce4b601 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_node.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_node.go
@@ -31,9 +31,9 @@ type TrafficNode interface {
type trafficnode struct {
JsonData []byte
EgressTraffic *EgressTrafficSpec `mandatory:"false" json:"egressTraffic"`
- NextHopRoutingAction RoutingAction `mandatory:"false" json:"nextHopRoutingAction"`
- EgressSecurityAction SecurityAction `mandatory:"false" json:"egressSecurityAction"`
- IngressSecurityAction SecurityAction `mandatory:"false" json:"ingressSecurityAction"`
+ NextHopRoutingAction routingaction `mandatory:"false" json:"nextHopRoutingAction"`
+ EgressSecurityAction securityaction `mandatory:"false" json:"egressSecurityAction"`
+ IngressSecurityAction securityaction `mandatory:"false" json:"ingressSecurityAction"`
Type string `json:"type"`
}
@@ -80,23 +80,23 @@ func (m *trafficnode) UnmarshalPolymorphicJSON(data []byte) (interface{}, error)
}
}
-//GetEgressTraffic returns EgressTraffic
+// GetEgressTraffic returns EgressTraffic
func (m trafficnode) GetEgressTraffic() *EgressTrafficSpec {
return m.EgressTraffic
}
-//GetNextHopRoutingAction returns NextHopRoutingAction
-func (m trafficnode) GetNextHopRoutingAction() RoutingAction {
+// GetNextHopRoutingAction returns NextHopRoutingAction
+func (m trafficnode) GetNextHopRoutingAction() routingaction {
return m.NextHopRoutingAction
}
-//GetEgressSecurityAction returns EgressSecurityAction
-func (m trafficnode) GetEgressSecurityAction() SecurityAction {
+// GetEgressSecurityAction returns EgressSecurityAction
+func (m trafficnode) GetEgressSecurityAction() securityaction {
return m.EgressSecurityAction
}
-//GetIngressSecurityAction returns IngressSecurityAction
-func (m trafficnode) GetIngressSecurityAction() SecurityAction {
+// GetIngressSecurityAction returns IngressSecurityAction
+func (m trafficnode) GetIngressSecurityAction() securityaction {
return m.IngressSecurityAction
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_route.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_route.go
index ff8113e1b96..43a2dcf4004 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_route.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/traffic_route.go
@@ -79,7 +79,6 @@ func (m *TrafficRoute) UnmarshalJSON(data []byte) (e error) {
m.Nodes[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_dhcp_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_dhcp_details.go
index e311209466c..6cd75ee6ede 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_dhcp_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_dhcp_details.go
@@ -90,7 +90,6 @@ func (m *UpdateDhcpDetails) UnmarshalJSON(data []byte) (e error) {
m.Options[i] = nil
}
}
-
m.DomainNameType = model.DomainNameType
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_drg_route_distribution_statement_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_drg_route_distribution_statement_details.go
index 376d055eb3f..e4d42052569 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_drg_route_distribution_statement_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_drg_route_distribution_statement_details.go
@@ -71,7 +71,6 @@ func (m *UpdateDrgRouteDistributionStatementDetails) UnmarshalJSON(data []byte)
m.MatchCriteria[i] = nil
}
}
-
m.Priority = model.Priority
m.Id = model.Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_virtual_circuit_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_virtual_circuit_details.go
index ae1c28885f9..3714f7d11ec 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_virtual_circuit_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/update_virtual_circuit_details.go
@@ -44,6 +44,9 @@ type UpdateVirtualCircuitDetails struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_create_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_create_details.go
index 5181649ccc1..f642ee8845e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_create_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_create_details.go
@@ -21,7 +21,7 @@ import (
type VcnDrgAttachmentNetworkCreateDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// This is the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table that is used to route the traffic as it enters a VCN through this attachment.
// For information about why you would associate a route table with a DRG attachment, see
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_details.go
index a36adf9ce03..aa5a5c64888 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_drg_attachment_network_details.go
@@ -21,7 +21,7 @@ import (
type VcnDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the DRG attachment is using.
// For information about why you would associate a route table with a DRG attachment, see:
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_topology.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_topology.go
index a49a3d17261..a2d34faa96c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_topology.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vcn_topology.go
@@ -106,10 +106,7 @@ func (m *VcnTopology) UnmarshalJSON(data []byte) (e error) {
m.VcnId = model.VcnId
m.Entities = make([]interface{}, len(model.Entities))
- for i, n := range model.Entities {
- m.Entities[i] = n
- }
-
+ copy(m.Entities, model.Entities)
m.Relationships = make([]TopologyEntityRelationship, len(model.Relationships))
for i, n := range model.Relationships {
nn, e = n.UnmarshalPolymorphicJSON(n.JsonData)
@@ -122,12 +119,8 @@ func (m *VcnTopology) UnmarshalJSON(data []byte) (e error) {
m.Relationships[i] = nil
}
}
-
m.LimitedEntities = make([]string, len(model.LimitedEntities))
- for i, n := range model.LimitedEntities {
- m.LimitedEntities[i] = n
- }
-
+ copy(m.LimitedEntities, model.LimitedEntities)
m.TimeCreated = model.TimeCreated
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit.go
index 2ce7966f840..701347b97e5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit.go
@@ -70,6 +70,9 @@ type VirtualCircuit struct {
// Set to `true` to enable BFD for IPv4 BGP peering, or set to `false` to disable BFD. If this is not set, the default is `false`.
IsBfdEnabled *bool `mandatory:"false" json:"isBfdEnabled"`
+ // Set to `true` for the virtual circuit to carry only encrypted traffic, or set to `false` for the virtual circuit to carry unencrypted traffic. If this is not set, the default is `false`.
+ IsTransportMode *bool `mandatory:"false" json:"isTransportMode"`
+
// Deprecated. Instead use `customerAsn`.
// If you specify values for both, the request will be rejected.
CustomerBgpAsn *int `mandatory:"false" json:"customerBgpAsn"`
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_associated_tunnel_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_associated_tunnel_details.go
new file mode 100644
index 00000000000..f022655f038
--- /dev/null
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_associated_tunnel_details.go
@@ -0,0 +1,87 @@
+// Copyright (c) 2016, 2018, 2023, 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.
+
+// Network Monitoring API
+//
+// Use the Network Monitoring API to troubleshoot routing and security issues for resources such as virtual cloud networks (VCNs) and compute instances. For more information, see the console
+// documentation for the Network Path Analyzer (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/path_analyzer.htm) tool.
+//
+
+package vnmonitoring
+
+import (
+ "fmt"
+ "github.com/oracle/oci-go-sdk/v65/common"
+ "strings"
+)
+
+// VirtualCircuitAssociatedTunnelDetails Detailed private tunnel info associated with the virtual circuit.
+type VirtualCircuitAssociatedTunnelDetails struct {
+
+ // The type of the tunnel associated with the virtual circuit.
+ TunnelType VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum `mandatory:"true" json:"tunnelType"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit.
+ TunnelId *string `mandatory:"true" json:"tunnelId"`
+
+ // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IPSec connection associated with the virtual circuit.
+ IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"`
+}
+
+func (m VirtualCircuitAssociatedTunnelDetails) 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 VirtualCircuitAssociatedTunnelDetails) ValidateEnumValue() (bool, error) {
+ errMessage := []string{}
+ if _, ok := GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum(string(m.TunnelType)); !ok && m.TunnelType != "" {
+ errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for TunnelType: %s. Supported values are: %s.", m.TunnelType, strings.Join(GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues(), ",")))
+ }
+
+ if len(errMessage) > 0 {
+ return true, fmt.Errorf(strings.Join(errMessage, "\n"))
+ }
+ return false, nil
+}
+
+// VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum Enum with underlying type: string
+type VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum string
+
+// Set of constants representing the allowable values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+const (
+ VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum = "IPSEC"
+)
+
+var mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum = map[string]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum{
+ "IPSEC": VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec,
+}
+
+var mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumLowerCase = map[string]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum{
+ "ipsec": VirtualCircuitAssociatedTunnelDetailsTunnelTypeIpsec,
+}
+
+// GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues Enumerates the set of values for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumValues() []VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum {
+ values := make([]VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum, 0)
+ for _, v := range mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum {
+ values = append(values, v)
+ }
+ return values
+}
+
+// GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues Enumerates the set of values in String for VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum
+func GetVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumStringValues() []string {
+ return []string{
+ "IPSEC",
+ }
+}
+
+// GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum performs case Insensitive comparison on enum value and return the desired enum
+func GetMappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum(val string) (VirtualCircuitAssociatedTunnelDetailsTunnelTypeEnum, bool) {
+ enum, ok := mappingVirtualCircuitAssociatedTunnelDetailsTunnelTypeEnumLowerCase[strings.ToLower(val)]
+ return enum, ok
+}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_drg_attachment_network_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_drg_attachment_network_details.go
index 737a4924137..d278ca94d40 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_drg_attachment_network_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/virtual_circuit_drg_attachment_network_details.go
@@ -21,7 +21,11 @@ import (
type VirtualCircuitDrgAttachmentNetworkDetails struct {
// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network attached to the DRG.
- Id *string `mandatory:"true" json:"id"`
+ Id *string `mandatory:"false" json:"id"`
+
+ // Boolean flag that determines wether all traffic over the virtual circuits is encrypted.
+ // Example: `true`
+ TransportOnlyMode *bool `mandatory:"false" json:"transportOnlyMode"`
}
//GetId returns Id
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vnmonitoring_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vnmonitoring_client.go
index 1fa97b454a5..445ff9655ae 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vnmonitoring_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/vnmonitoring_client.go
@@ -81,7 +81,7 @@ func (client *VnMonitoringClient) setConfigurationProvider(configProvider common
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/work_request_result_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/work_request_result_collection.go
index fb4fdd156c0..7fb8dc43a10 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/work_request_result_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vnmonitoring/work_request_result_collection.go
@@ -63,6 +63,5 @@ func (m *WorkRequestResultCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/container_scan_registry.go b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/container_scan_registry.go
index 8259ee380a4..17fd59924f7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/container_scan_registry.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/container_scan_registry.go
@@ -65,7 +65,7 @@ func (m *containerscanregistry) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetUrl returns Url
+// GetUrl returns Url
func (m containerscanregistry) GetUrl() *string {
return m.Url
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/create_container_scan_registry_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/create_container_scan_registry_details.go
index 5115a8f417e..6c4f65919f9 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/create_container_scan_registry_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/create_container_scan_registry_details.go
@@ -65,7 +65,7 @@ func (m *createcontainerscanregistrydetails) UnmarshalPolymorphicJSON(data []byt
}
}
-//GetUrl returns Url
+// GetUrl returns Url
func (m createcontainerscanregistrydetails) GetUrl() *string {
return m.Url
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/host_scan_agent_configuration.go b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/host_scan_agent_configuration.go
index 86ef3022d4d..54c5bb8625e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/host_scan_agent_configuration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/host_scan_agent_configuration.go
@@ -69,7 +69,7 @@ func (m *hostscanagentconfiguration) UnmarshalPolymorphicJSON(data []byte) (inte
}
}
-//GetVendorType returns VendorType
+// GetVendorType returns VendorType
func (m hostscanagentconfiguration) GetVendorType() VendorTypeEnum {
return m.VendorType
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/update_container_scan_registry_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/update_container_scan_registry_details.go
index 4cf13add2f9..d82dc148e17 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/update_container_scan_registry_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/update_container_scan_registry_details.go
@@ -65,7 +65,7 @@ func (m *updatecontainerscanregistrydetails) UnmarshalPolymorphicJSON(data []byt
}
}
-//GetUrl returns Url
+// GetUrl returns Url
func (m updatecontainerscanregistrydetails) GetUrl() *string {
return m.Url
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/vulnerabilityscanning_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/vulnerabilityscanning_client.go
index 6494031c491..06f8aef9411 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/vulnerabilityscanning_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/vulnerabilityscanning/vulnerabilityscanning_client.go
@@ -80,7 +80,7 @@ func (client *VulnerabilityScanningClient) setConfigurationProvider(configProvid
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/create_web_app_acceleration_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/create_web_app_acceleration_details.go
index fab76507c74..2ed5446e138 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/create_web_app_acceleration_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/create_web_app_acceleration_details.go
@@ -45,12 +45,12 @@ type CreateWebAppAccelerationDetails interface {
type createwebappaccelerationdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- WebAppAccelerationPolicyId *string `mandatory:"true" json:"webAppAccelerationPolicyId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ WebAppAccelerationPolicyId *string `mandatory:"true" json:"webAppAccelerationPolicyId"`
BackendType string `json:"backendType"`
}
@@ -95,36 +95,36 @@ func (m *createwebappaccelerationdetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetCompartmentId returns CompartmentId
-func (m createwebappaccelerationdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
-func (m createwebappaccelerationdetails) GetWebAppAccelerationPolicyId() *string {
- return m.WebAppAccelerationPolicyId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createwebappaccelerationdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createwebappaccelerationdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createwebappaccelerationdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createwebappaccelerationdetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetCompartmentId returns CompartmentId
+func (m createwebappaccelerationdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
+func (m createwebappaccelerationdetails) GetWebAppAccelerationPolicyId() *string {
+ return m.WebAppAccelerationPolicyId
+}
+
func (m createwebappaccelerationdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_client.go
index 64efd74c22b..1ac74a5fae8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_client.go
@@ -82,7 +82,7 @@ func (client *WaaClient) setConfigurationProvider(configProvider common.Configur
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_workrequest_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_workrequest_client.go
index ebe516323f9..64ba1cb60f4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_workrequest_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/waa_workrequest_client.go
@@ -82,7 +82,7 @@ func (client *WorkRequestClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration.go
index ce17b8bd40c..1ad0cdb7ded 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration.go
@@ -61,6 +61,8 @@ type WebAppAcceleration interface {
type webappacceleration struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -70,8 +72,6 @@ type webappacceleration struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
BackendType string `json:"backendType"`
}
@@ -121,61 +121,61 @@ func (m *webappacceleration) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m webappacceleration) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m webappacceleration) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m webappacceleration) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m webappacceleration) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m webappacceleration) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
+// GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
func (m webappacceleration) GetWebAppAccelerationPolicyId() *string {
return m.WebAppAccelerationPolicyId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m webappacceleration) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m webappacceleration) GetLifecycleState() WebAppAccelerationLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m webappacceleration) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m webappacceleration) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m webappacceleration) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m webappacceleration) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m webappacceleration) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m webappacceleration) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_collection.go
index e40f3b2da9e..b083688f7d8 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_collection.go
@@ -64,6 +64,5 @@ func (m *WebAppAccelerationCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_summary.go
index 86d0743f66d..416c253dc2e 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waa/web_app_acceleration_summary.go
@@ -61,6 +61,8 @@ type WebAppAccelerationSummary interface {
type webappaccelerationsummary struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -70,8 +72,6 @@ type webappaccelerationsummary struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
BackendType string `json:"backendType"`
}
@@ -121,61 +121,61 @@ func (m *webappaccelerationsummary) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m webappaccelerationsummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m webappaccelerationsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m webappaccelerationsummary) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m webappaccelerationsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m webappaccelerationsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
+// GetWebAppAccelerationPolicyId returns WebAppAccelerationPolicyId
func (m webappaccelerationsummary) GetWebAppAccelerationPolicyId() *string {
return m.WebAppAccelerationPolicyId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m webappaccelerationsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m webappaccelerationsummary) GetLifecycleState() WebAppAccelerationLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m webappaccelerationsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m webappaccelerationsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m webappaccelerationsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m webappaccelerationsummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m webappaccelerationsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m webappaccelerationsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waas/access_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/waas/access_rule.go
index e3a35fee09a..2ca7f7d2ff4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waas/access_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waas/access_rule.go
@@ -149,10 +149,7 @@ func (m *AccessRule) UnmarshalJSON(data []byte) (e error) {
m.BlockErrorPageDescription = model.BlockErrorPageDescription
m.BypassChallenges = make([]AccessRuleBypassChallengesEnum, len(model.BypassChallenges))
- for i, n := range model.BypassChallenges {
- m.BypassChallenges[i] = n
- }
-
+ copy(m.BypassChallenges, model.BypassChallenges)
m.RedirectUrl = model.RedirectUrl
m.RedirectResponseCode = model.RedirectResponseCode
@@ -177,14 +174,10 @@ func (m *AccessRule) UnmarshalJSON(data []byte) (e error) {
m.ResponseHeaderManipulation[i] = nil
}
}
-
m.Name = model.Name
m.Criteria = make([]AccessRuleCriteria, len(model.Criteria))
- for i, n := range model.Criteria {
- m.Criteria[i] = n
- }
-
+ copy(m.Criteria, model.Criteria)
m.Action = model.Action
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waas/policy_config.go b/vendor/github.com/oracle/oci-go-sdk/v65/waas/policy_config.go
index e82beb0bb0a..c73e1f95dfb 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waas/policy_config.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waas/policy_config.go
@@ -135,10 +135,7 @@ func (m *PolicyConfig) UnmarshalJSON(data []byte) (e error) {
m.IsHttpsForced = model.IsHttpsForced
m.TlsProtocols = make([]PolicyConfigTlsProtocolsEnum, len(model.TlsProtocols))
- for i, n := range model.TlsProtocols {
- m.TlsProtocols[i] = n
- }
-
+ copy(m.TlsProtocols, model.TlsProtocols)
m.IsOriginCompressionEnabled = model.IsOriginCompressionEnabled
m.IsBehindCdn = model.IsBehindCdn
@@ -162,10 +159,7 @@ func (m *PolicyConfig) UnmarshalJSON(data []byte) (e error) {
}
m.WebsocketPathPrefixes = make([]string, len(model.WebsocketPathPrefixes))
- for i, n := range model.WebsocketPathPrefixes {
- m.WebsocketPathPrefixes[i] = n
- }
-
+ copy(m.WebsocketPathPrefixes, model.WebsocketPathPrefixes)
m.IsSniEnabled = model.IsSniEnabled
m.HealthChecks = model.HealthChecks
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_client.go
index d73a250b106..8193a28adaf 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_client.go
@@ -80,7 +80,7 @@ func (client *WaasClient) setConfigurationProvider(configProvider common.Configu
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_redirect_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_redirect_client.go
index 9f3e5bb814d..74d789a6e38 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_redirect_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waas/waas_redirect_client.go
@@ -80,7 +80,7 @@ func (client *RedirectClient) setConfigurationProvider(configProvider common.Con
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/action.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/action.go
index 917751c9ad0..0930b3288c5 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/action.go
@@ -76,7 +76,7 @@ func (m *action) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) {
}
}
-//GetName returns Name
+// GetName returns Name
func (m action) GetName() *string {
return m.Name
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_network_address_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_network_address_list_details.go
index 9f2e3a435c6..4427b5234e3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_network_address_list_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_network_address_list_details.go
@@ -41,11 +41,11 @@ type CreateNetworkAddressListDetails interface {
type createnetworkaddresslistdetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
Type string `json:"type"`
}
@@ -93,31 +93,31 @@ func (m *createnetworkaddresslistdetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetCompartmentId returns CompartmentId
-func (m createnetworkaddresslistdetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createnetworkaddresslistdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createnetworkaddresslistdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createnetworkaddresslistdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createnetworkaddresslistdetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetCompartmentId returns CompartmentId
+func (m createnetworkaddresslistdetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
func (m createnetworkaddresslistdetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_details.go
index b18b0f45f88..2655e92b812 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_details.go
@@ -44,12 +44,12 @@ type CreateWebAppFirewallDetails interface {
type createwebappfirewalldetails struct {
JsonData []byte
- CompartmentId *string `mandatory:"true" json:"compartmentId"`
- WebAppFirewallPolicyId *string `mandatory:"true" json:"webAppFirewallPolicyId"`
DisplayName *string `mandatory:"false" json:"displayName"`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
+ CompartmentId *string `mandatory:"true" json:"compartmentId"`
+ WebAppFirewallPolicyId *string `mandatory:"true" json:"webAppFirewallPolicyId"`
BackendType string `json:"backendType"`
}
@@ -94,36 +94,36 @@ func (m *createwebappfirewalldetails) UnmarshalPolymorphicJSON(data []byte) (int
}
}
-//GetCompartmentId returns CompartmentId
-func (m createwebappfirewalldetails) GetCompartmentId() *string {
- return m.CompartmentId
-}
-
-//GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
-func (m createwebappfirewalldetails) GetWebAppFirewallPolicyId() *string {
- return m.WebAppFirewallPolicyId
-}
-
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m createwebappfirewalldetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m createwebappfirewalldetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m createwebappfirewalldetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m createwebappfirewalldetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
+// GetCompartmentId returns CompartmentId
+func (m createwebappfirewalldetails) GetCompartmentId() *string {
+ return m.CompartmentId
+}
+
+// GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
+func (m createwebappfirewalldetails) GetWebAppFirewallPolicyId() *string {
+ return m.WebAppFirewallPolicyId
+}
+
func (m createwebappfirewalldetails) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_policy_details.go
index 22be877f456..94f08ec1acc 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/create_web_app_firewall_policy_details.go
@@ -105,7 +105,6 @@ func (m *CreateWebAppFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
m.Actions[i] = nil
}
}
-
m.RequestAccessControl = model.RequestAccessControl
m.RequestRateLimiting = model.RequestRateLimiting
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list.go
index 1eeb6277853..0c90fb42575 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list.go
@@ -57,6 +57,8 @@ type NetworkAddressList interface {
type networkaddresslist struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -65,8 +67,6 @@ type networkaddresslist struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Type string `json:"type"`
}
@@ -119,56 +119,56 @@ func (m *networkaddresslist) UnmarshalPolymorphicJSON(data []byte) (interface{},
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m networkaddresslist) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m networkaddresslist) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m networkaddresslist) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m networkaddresslist) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m networkaddresslist) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m networkaddresslist) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m networkaddresslist) GetLifecycleState() NetworkAddressListLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m networkaddresslist) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m networkaddresslist) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m networkaddresslist) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m networkaddresslist) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m networkaddresslist) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m networkaddresslist) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_collection.go
index 9327cab1b69..80269e3ecf4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_collection.go
@@ -63,6 +63,5 @@ func (m *NetworkAddressListCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_summary.go
index 28fabd6e9da..751a0ec7238 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/network_address_list_summary.go
@@ -57,6 +57,8 @@ type NetworkAddressListSummary interface {
type networkaddresslistsummary struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -65,8 +67,6 @@ type networkaddresslistsummary struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Type string `json:"type"`
}
@@ -119,56 +119,56 @@ func (m *networkaddresslistsummary) UnmarshalPolymorphicJSON(data []byte) (inter
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m networkaddresslistsummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m networkaddresslistsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m networkaddresslistsummary) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m networkaddresslistsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m networkaddresslistsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m networkaddresslistsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m networkaddresslistsummary) GetLifecycleState() NetworkAddressListLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m networkaddresslistsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m networkaddresslistsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m networkaddresslistsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m networkaddresslistsummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m networkaddresslistsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m networkaddresslistsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/return_http_response_action.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/return_http_response_action.go
index 234c3b66a0f..d4b1b23cdf7 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/return_http_response_action.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/return_http_response_action.go
@@ -131,10 +131,7 @@ func (m *ReturnHttpResponseAction) UnmarshalJSON(data []byte) (e error) {
}
var nn interface{}
m.Headers = make([]ResponseHeader, len(model.Headers))
- for i, n := range model.Headers {
- m.Headers[i] = n
- }
-
+ copy(m.Headers, model.Headers)
nn, e = model.Body.UnmarshalPolymorphicJSON(model.Body.JsonData)
if e != nil {
return
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_network_address_list_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_network_address_list_details.go
index d5860241c71..530a1c9e74c 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_network_address_list_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_network_address_list_details.go
@@ -88,22 +88,22 @@ func (m *updatenetworkaddresslistdetails) UnmarshalPolymorphicJSON(data []byte)
}
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m updatenetworkaddresslistdetails) GetDisplayName() *string {
return m.DisplayName
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m updatenetworkaddresslistdetails) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m updatenetworkaddresslistdetails) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m updatenetworkaddresslistdetails) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_web_app_firewall_policy_details.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_web_app_firewall_policy_details.go
index 73f9ed67b20..bf8ebcaa97d 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_web_app_firewall_policy_details.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/update_web_app_firewall_policy_details.go
@@ -104,7 +104,6 @@ func (m *UpdateWebAppFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
m.Actions[i] = nil
}
}
-
m.RequestAccessControl = model.RequestAccessControl
m.RequestRateLimiting = model.RequestRateLimiting
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/waf_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/waf_client.go
index 0c6a08abf27..6a11288e0ca 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/waf_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/waf_client.go
@@ -81,7 +81,7 @@ func (client *WafClient) setConfigurationProvider(configProvider common.Configur
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall.go
index 2f19448798f..100c3136aa3 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall.go
@@ -60,6 +60,8 @@ type WebAppFirewall interface {
type webappfirewall struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -69,8 +71,6 @@ type webappfirewall struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
BackendType string `json:"backendType"`
}
@@ -120,61 +120,61 @@ func (m *webappfirewall) UnmarshalPolymorphicJSON(data []byte) (interface{}, err
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m webappfirewall) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m webappfirewall) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m webappfirewall) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m webappfirewall) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m webappfirewall) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
+// GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
func (m webappfirewall) GetWebAppFirewallPolicyId() *string {
return m.WebAppFirewallPolicyId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m webappfirewall) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m webappfirewall) GetLifecycleState() WebAppFirewallLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m webappfirewall) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m webappfirewall) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m webappfirewall) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m webappfirewall) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m webappfirewall) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m webappfirewall) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_collection.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_collection.go
index 712eb72fc58..1b67b52a129 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_collection.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_collection.go
@@ -63,6 +63,5 @@ func (m *WebAppFirewallCollection) UnmarshalJSON(data []byte) (e error) {
m.Items[i] = nil
}
}
-
return
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy.go
index 86e80f47fc0..9bd90771a4a 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy.go
@@ -141,7 +141,6 @@ func (m *WebAppFirewallPolicy) UnmarshalJSON(data []byte) (e error) {
m.Actions[i] = nil
}
}
-
m.RequestAccessControl = model.RequestAccessControl
m.RequestRateLimiting = model.RequestRateLimiting
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy_rule.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy_rule.go
index be749d92286..d2080f20e19 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy_rule.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_policy_rule.go
@@ -36,10 +36,10 @@ type WebAppFirewallPolicyRule interface {
type webappfirewallpolicyrule struct {
JsonData []byte
- Name *string `mandatory:"true" json:"name"`
- ActionName *string `mandatory:"true" json:"actionName"`
ConditionLanguage WebAppFirewallPolicyRuleConditionLanguageEnum `mandatory:"false" json:"conditionLanguage,omitempty"`
Condition *string `mandatory:"false" json:"condition"`
+ Name *string `mandatory:"true" json:"name"`
+ ActionName *string `mandatory:"true" json:"actionName"`
Type string `json:"type"`
}
@@ -90,26 +90,26 @@ func (m *webappfirewallpolicyrule) UnmarshalPolymorphicJSON(data []byte) (interf
}
}
-//GetName returns Name
-func (m webappfirewallpolicyrule) GetName() *string {
- return m.Name
-}
-
-//GetActionName returns ActionName
-func (m webappfirewallpolicyrule) GetActionName() *string {
- return m.ActionName
-}
-
-//GetConditionLanguage returns ConditionLanguage
+// GetConditionLanguage returns ConditionLanguage
func (m webappfirewallpolicyrule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum {
return m.ConditionLanguage
}
-//GetCondition returns Condition
+// GetCondition returns Condition
func (m webappfirewallpolicyrule) GetCondition() *string {
return m.Condition
}
+// GetName returns Name
+func (m webappfirewallpolicyrule) GetName() *string {
+ return m.Name
+}
+
+// GetActionName returns ActionName
+func (m webappfirewallpolicyrule) GetActionName() *string {
+ return m.ActionName
+}
+
func (m webappfirewallpolicyrule) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_summary.go b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_summary.go
index 47fda59e22b..0c4a90be9e4 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_summary.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/waf/web_app_firewall_summary.go
@@ -60,6 +60,8 @@ type WebAppFirewallSummary interface {
type webappfirewallsummary struct {
JsonData []byte
+ TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
+ LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
Id *string `mandatory:"true" json:"id"`
DisplayName *string `mandatory:"true" json:"displayName"`
CompartmentId *string `mandatory:"true" json:"compartmentId"`
@@ -69,8 +71,6 @@ type webappfirewallsummary struct {
FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`
DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`
SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`
- TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
- LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
BackendType string `json:"backendType"`
}
@@ -120,61 +120,61 @@ func (m *webappfirewallsummary) UnmarshalPolymorphicJSON(data []byte) (interface
}
}
-//GetId returns Id
+// GetTimeUpdated returns TimeUpdated
+func (m webappfirewallsummary) GetTimeUpdated() *common.SDKTime {
+ return m.TimeUpdated
+}
+
+// GetLifecycleDetails returns LifecycleDetails
+func (m webappfirewallsummary) GetLifecycleDetails() *string {
+ return m.LifecycleDetails
+}
+
+// GetId returns Id
func (m webappfirewallsummary) GetId() *string {
return m.Id
}
-//GetDisplayName returns DisplayName
+// GetDisplayName returns DisplayName
func (m webappfirewallsummary) GetDisplayName() *string {
return m.DisplayName
}
-//GetCompartmentId returns CompartmentId
+// GetCompartmentId returns CompartmentId
func (m webappfirewallsummary) GetCompartmentId() *string {
return m.CompartmentId
}
-//GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
+// GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId
func (m webappfirewallsummary) GetWebAppFirewallPolicyId() *string {
return m.WebAppFirewallPolicyId
}
-//GetTimeCreated returns TimeCreated
+// GetTimeCreated returns TimeCreated
func (m webappfirewallsummary) GetTimeCreated() *common.SDKTime {
return m.TimeCreated
}
-//GetLifecycleState returns LifecycleState
+// GetLifecycleState returns LifecycleState
func (m webappfirewallsummary) GetLifecycleState() WebAppFirewallLifecycleStateEnum {
return m.LifecycleState
}
-//GetFreeformTags returns FreeformTags
+// GetFreeformTags returns FreeformTags
func (m webappfirewallsummary) GetFreeformTags() map[string]string {
return m.FreeformTags
}
-//GetDefinedTags returns DefinedTags
+// GetDefinedTags returns DefinedTags
func (m webappfirewallsummary) GetDefinedTags() map[string]map[string]interface{} {
return m.DefinedTags
}
-//GetSystemTags returns SystemTags
+// GetSystemTags returns SystemTags
func (m webappfirewallsummary) GetSystemTags() map[string]map[string]interface{} {
return m.SystemTags
}
-//GetTimeUpdated returns TimeUpdated
-func (m webappfirewallsummary) GetTimeUpdated() *common.SDKTime {
- return m.TimeUpdated
-}
-
-//GetLifecycleDetails returns LifecycleDetails
-func (m webappfirewallsummary) GetLifecycleDetails() *string {
- return m.LifecycleDetails
-}
-
func (m webappfirewallsummary) String() string {
return common.PointerString(m)
}
diff --git a/vendor/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go b/vendor/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go
index 1fa8b2ca1ac..6f6d99ae099 100644
--- a/vendor/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go
+++ b/vendor/github.com/oracle/oci-go-sdk/v65/workrequests/workrequests_workrequest_client.go
@@ -84,7 +84,7 @@ func (client *WorkRequestClient) setConfigurationProvider(configProvider common.
region, _ := configProvider.Region()
client.SetRegion(region)
if client.Host == "" {
- return fmt.Errorf("Invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
+ return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region")
}
client.config = &configProvider
return nil
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 94a44d10609..fa15257b978 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -248,7 +248,7 @@ github.com/mitchellh/reflectwalk
# github.com/oklog/run v1.0.0
## explicit
github.com/oklog/run
-# github.com/oracle/oci-go-sdk/v65 v65.47.2
+# github.com/oracle/oci-go-sdk/v65 v65.47.2 => ./vendor/github.com/oracle/oci-go-sdk
## explicit; go 1.13
github.com/oracle/oci-go-sdk/v65/adm
github.com/oracle/oci-go-sdk/v65/aianomalydetection