Skip to content

Commit b463e6e

Browse files
Added - changes to systemtags in anomaly detection
1 parent 6be74a8 commit b463e6e

8 files changed

+36
-36
lines changed

internal/service/ai_anomaly_detection/ai_anomaly_detection_ai_private_endpoint_data_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ func (s *AiAnomalyDetectionAiPrivateEndpointDataSourceCrud) SetData() error {
9494
s.D.Set("subnet_id", *s.Res.SubnetId)
9595
}
9696

97-
if s.Res.SystemTags != nil {
98-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
99-
}
97+
// if s.Res.SystemTags != nil {
98+
// // s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
99+
// }
100100

101101
if s.Res.TimeCreated != nil {
102102
s.D.Set("time_created", s.Res.TimeCreated.String())

internal/service/ai_anomaly_detection/ai_anomaly_detection_ai_private_endpoint_resource.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ func (s *AiAnomalyDetectionAiPrivateEndpointResourceCrud) SetData() error {
473473
s.D.Set("subnet_id", *s.Res.SubnetId)
474474
}
475475

476-
if s.Res.SystemTags != nil {
477-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
478-
}
476+
// if s.Res.SystemTags != nil {
477+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
478+
// }
479479

480480
if s.Res.TimeCreated != nil {
481481
s.D.Set("time_created", s.Res.TimeCreated.String())
@@ -521,9 +521,9 @@ func AiPrivateEndpointSummaryToMap(obj oci_ai_anomaly_detection.AiPrivateEndpoin
521521
result["subnet_id"] = string(*obj.SubnetId)
522522
}
523523

524-
if obj.SystemTags != nil {
525-
result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
526-
}
524+
// if obj.SystemTags != nil {
525+
// result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
526+
// }
527527

528528
if obj.TimeCreated != nil {
529529
result["time_created"] = obj.TimeCreated.String()

internal/service/ai_anomaly_detection/ai_anomaly_detection_data_asset_data_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ func (s *AiAnomalyDetectionDataAssetDataSourceCrud) SetData() error {
104104

105105
s.D.Set("state", s.Res.LifecycleState)
106106

107-
if s.Res.SystemTags != nil {
108-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
109-
}
107+
// if s.Res.SystemTags != nil {
108+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
109+
// }
110110

111111
if s.Res.TimeCreated != nil {
112112
s.D.Set("time_created", s.Res.TimeCreated.String())

internal/service/ai_anomaly_detection/ai_anomaly_detection_data_asset_resource.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,9 @@ func (s *AiAnomalyDetectionDataAssetResourceCrud) SetData() error {
524524

525525
s.D.Set("state", s.Res.LifecycleState)
526526

527-
if s.Res.SystemTags != nil {
528-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
529-
}
527+
// if s.Res.SystemTags != nil {
528+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
529+
// }
530530

531531
if s.Res.TimeCreated != nil {
532532
s.D.Set("time_created", s.Res.TimeCreated.String())
@@ -582,9 +582,9 @@ func AiDataAssetSummaryToMap(obj oci_ai_anomaly_detection.DataAssetSummary) map[
582582

583583
result["state"] = string(obj.LifecycleState)
584584

585-
if obj.SystemTags != nil {
586-
result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
587-
}
585+
// if obj.SystemTags != nil {
586+
// result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
587+
// }
588588

589589
if obj.TimeCreated != nil {
590590
result["time_created"] = obj.TimeCreated.String()

internal/service/ai_anomaly_detection/ai_anomaly_detection_model_data_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ func (s *AiAnomalyDetectionModelDataSourceCrud) SetData() error {
106106

107107
s.D.Set("state", s.Res.LifecycleState)
108108

109-
if s.Res.SystemTags != nil {
110-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
111-
}
109+
// if s.Res.SystemTags != nil {
110+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
111+
// }
112112

113113
if s.Res.TimeCreated != nil {
114114
s.D.Set("time_created", s.Res.TimeCreated.String())

internal/service/ai_anomaly_detection/ai_anomaly_detection_model_resource.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,9 @@ func (s *AiAnomalyDetectionModelResourceCrud) SetData() error {
642642

643643
s.D.Set("state", s.Res.LifecycleState)
644644

645-
if s.Res.SystemTags != nil {
646-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
647-
}
645+
// if s.Res.SystemTags != nil {
646+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
647+
// }
648648

649649
if s.Res.TimeCreated != nil {
650650
s.D.Set("time_created", s.Res.TimeCreated.String())
@@ -696,9 +696,9 @@ func ModelSummaryToMap(obj oci_ai_anomaly_detection.ModelSummary) map[string]int
696696

697697
result["state"] = string(obj.LifecycleState)
698698

699-
if obj.SystemTags != nil {
700-
result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
701-
}
699+
// if obj.SystemTags != nil {
700+
// result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
701+
// }
702702

703703
if obj.TimeCreated != nil {
704704
result["time_created"] = obj.TimeCreated.String()

internal/service/ai_anomaly_detection/ai_anomaly_detection_project_data_source.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ func (s *AiAnomalyDetectionProjectDataSourceCrud) SetData() error {
8686

8787
s.D.Set("state", s.Res.LifecycleState)
8888

89-
if s.Res.SystemTags != nil {
90-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
91-
}
89+
// if s.Res.SystemTags != nil {
90+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
91+
// }
9292

9393
if s.Res.TimeCreated != nil {
9494
s.D.Set("time_created", s.Res.TimeCreated.String())

internal/service/ai_anomaly_detection/ai_anomaly_detection_project_resource.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,9 @@ func (s *AiAnomalyDetectionProjectResourceCrud) SetData() error {
426426

427427
s.D.Set("state", s.Res.LifecycleState)
428428

429-
if s.Res.SystemTags != nil {
430-
s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
431-
}
429+
// if s.Res.SystemTags != nil {
430+
// s.D.Set("system_tags", tfresource.SystemTagsToMap(s.Res.SystemTags))
431+
// }
432432

433433
if s.Res.TimeCreated != nil {
434434
s.D.Set("time_created", s.Res.TimeCreated.String())
@@ -468,9 +468,9 @@ func aiAnomalyDetectionProjectSummaryToMap(obj oci_ai_anomaly_detection.ProjectS
468468

469469
result["state"] = string(obj.LifecycleState)
470470

471-
if obj.SystemTags != nil {
472-
result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
473-
}
471+
// if obj.SystemTags != nil {
472+
// result["system_tags"] = tfresource.SystemTagsToMap(obj.SystemTags)
473+
// }
474474

475475
if obj.TimeCreated != nil {
476476
result["time_created"] = obj.TimeCreated.String()

0 commit comments

Comments
 (0)