Skip to content

Commit d61a82c

Browse files
authored
Releasing version 4.82.0
Releasing version 4.82.0
2 parents 8e6c8e4 + ebd1a5a commit d61a82c

File tree

1,193 files changed

+48586
-14277
lines changed

Some content is hidden

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

1,193 files changed

+48586
-14277
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## 4.82.0 (June 28, 2022)
2+
3+
### Added
4+
- Data Plane Guest VM Events
5+
- Support for safe delete
6+
- Support for character sets for Autonomous Database on Shared Infrastructure
7+
- Support VSS app scan settings
8+
- Parameter `bootVolumeVpusPerGB` to Launch Instance API
9+
- VN Path Analyzer Resource
10+
- Operations Insights EM DataWarehouse
11+
112
## 4.81.0 (June 22, 2022)
213

314
### Added

coverage/coverage_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
var totalRgx = regexp.MustCompile(`total:\s+\(statements\)\s+([^"]*)%`)
1616

17-
const CodeCoverageThreshold = 55.6
17+
const CodeCoverageThreshold = 57.5
1818

1919
func TestCoverage(t *testing.T) {
2020
if os.Getenv("CHECK_COVERAGE") != "true" {

examples/container_engine/main.tf

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ variable "kms_vault_id" {
2929

3030
}
3131

32+
variable "node_pool_node_eviction_node_pool_settings_eviction_grace_duration" {
33+
default = "PT50M"
34+
}
35+
36+
variable "node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration" {
37+
default = false
38+
}
39+
40+
variable "node_pool_state" {
41+
default = []
42+
}
43+
3244
provider "oci" {
3345
region = var.region
3446
tenancy_ocid = var.tenancy_ocid
@@ -195,6 +207,12 @@ resource "oci_containerengine_node_pool" "test_node_pool" {
195207
value = "value"
196208
}
197209

210+
node_eviction_node_pool_settings {
211+
#Optional
212+
eviction_grace_duration = var.node_pool_node_eviction_node_pool_settings_eviction_grace_duration
213+
is_force_delete_after_grace_duration = var.node_pool_node_eviction_node_pool_settings_is_force_delete_after_grace_duration
214+
}
215+
198216
node_source_details {
199217
#Required
200218
image_id = local.image_id
@@ -308,6 +326,14 @@ data "oci_identity_availability_domains" "test_availability_domains" {
308326
compartment_id = var.tenancy_ocid
309327
}
310328

329+
data "oci_containerengine_node_pools" "test_node_pools" {
330+
#Required
331+
compartment_id = var.compartment_ocid
332+
333+
#Optional
334+
state = var.node_pool_state
335+
}
336+
311337
variable "InstanceImageOCID" {
312338
type = map(string)
313339

examples/database/adb/autonomous_database.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ resource "oci_database_autonomous_database" "autonomous_database" {
4040
license_model = var.autonomous_database_license_model
4141
is_preview_version_with_service_terms_accepted = "false"
4242
whitelisted_ips = ["1.1.1.1/28"]
43+
character_set = "AL32UTF8"
44+
ncharacter_set = "AL16UTF16"
4345
}
4446

4547
resource "oci_database_autonomous_database" "test_autonomous_database" {

examples/database/db_systems/db_exacs/resources.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ resource "oci_database_cloud_vm_cluster" "test_cloud_vm_cluster" {
2929
ocpu_count = var.cloud_vm_cluster_ocpu_count
3030
scan_listener_port_tcp = var.cloud_vm_cluster_scan_listener_port_tcp
3131
scan_listener_port_tcp_ssl = var.cloud_vm_cluster_scan_listener_port_tcp_ssl
32+
33+
data_collection_options {
34+
#Optional
35+
is_diagnostics_events_enabled = "true"
36+
}
3237
}
3338

3439
resource "oci_database_db_home" "test_db_home_vm_cluster" {
Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
11+
variable "em_warehouse_defined_tags_value" {
12+
default = "value"
13+
}
14+
15+
variable "em_warehouse_display_name" {
16+
default = "displayName"
17+
}
18+
19+
variable "em_warehouse_freeform_tags" {
20+
default = { "bar-key" = "value" }
21+
}
22+
23+
variable "em_warehouse_state" {
24+
default = "ACTIVE"
25+
}
26+
27+
28+
29+
provider "oci" {
30+
tenancy_ocid = var.tenancy_ocid
31+
user_ocid = var.user_ocid
32+
fingerprint = var.fingerprint
33+
private_key_path = var.private_key_path
34+
region = var.region
35+
}
36+
37+
resource "oci_identity_tag_namespace" "tag-namespace1" {
38+
compartment_id = var.tenancy_ocid
39+
description = "example tag namespace"
40+
name = "examples-tag-namespace-all"
41+
is_retired = false
42+
}
43+
44+
resource "oci_identity_tag" "tag1" {
45+
description = "example tag"
46+
name = "example-tag"
47+
tag_namespace_id = oci_identity_tag_namespace.tag-namespace1.id
48+
is_cost_tracking = false
49+
is_retired = false
50+
}
51+
52+
variable "warehouse_defined_tags_value" {
53+
default = "warehouse_tag_value"
54+
}
55+
56+
variable "warehouse_freeform_tags" {
57+
default = { "bar-key" = "value" }
58+
}
59+
60+
variable "warehouse_display_name" {
61+
default = "TestWarehouseDisplayName"
62+
}
63+
64+
variable "warehouse_cpu_allocated" {
65+
default = 1.0
66+
}
67+
68+
variable "storage_allocated_in_gbs" {
69+
default = 1.0
70+
}
71+
72+
// To Create a OPSI Warehouse
73+
resource "oci_opsi_operations_insights_warehouse" "test_operations_insights_warehouse" {
74+
#Required
75+
compartment_id = var.compartment_ocid
76+
cpu_allocated = var.warehouse_cpu_allocated
77+
display_name = var.warehouse_display_name
78+
79+
#Optional
80+
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "${var.warehouse_defined_tags_value}")}"
81+
freeform_tags = var.warehouse_freeform_tags
82+
storage_allocated_in_gbs = var.storage_allocated_in_gbs
83+
}
84+
85+
data "oci_objectstorage_namespace" "test_namespace" {
86+
compartment_id = var.compartment_ocid
87+
}
88+
89+
variable "bucket_name" {
90+
default = "em_data_collection_bucket"
91+
}
92+
93+
resource "oci_objectstorage_bucket" "test_bucket" {
94+
name = var.bucket_name
95+
compartment_id = var.compartment_ocid
96+
namespace = data.oci_objectstorage_namespace.test_namespace.namespace
97+
}
98+
99+
variable "enterprise_manager_bridge_defined_tags_value" {
100+
default = "embridge_tag_value"
101+
}
102+
103+
variable "enterprise_manager_bridge_description" {
104+
default = "Test EM Bridge Description"
105+
}
106+
107+
variable "enterprise_manager_bridge_display_name" {
108+
default = "TestEMManagedBridgeName"
109+
}
110+
111+
variable "enterprise_manager_bridge_freeform_tags" {
112+
default = { "bar-key" = "value" }
113+
}
114+
115+
variable "enterprise_manager_bridge_state" {
116+
default = ["ACTIVE"]
117+
}
118+
119+
variable "compartment_id_in_subtree" {
120+
default = true
121+
}
122+
123+
// To Create a Enterprise Manager Bridge
124+
resource "oci_opsi_enterprise_manager_bridge" "test_enterprise_manager_bridge" {
125+
#Required
126+
compartment_id = var.compartment_ocid
127+
display_name = var.enterprise_manager_bridge_display_name
128+
object_storage_bucket_name = oci_objectstorage_bucket.test_bucket.name
129+
130+
#Optional
131+
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "${var.enterprise_manager_bridge_defined_tags_value}")}"
132+
freeform_tags = var.enterprise_manager_bridge_freeform_tags
133+
description = var.enterprise_manager_bridge_description
134+
}
135+
136+
// To Create a Enterprise Manager Warehouse
137+
resource "oci_em_warehouse_em_warehouse" "test_em_warehouse" {
138+
#Required
139+
compartment_id = var.compartment_ocid
140+
em_bridge_id = oci_opsi_enterprise_manager_bridge.test_enterprise_manager_bridge.id
141+
operations_insights_warehouse_id = oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse.id
142+
143+
#Optional
144+
defined_tags = "${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "${var.em_warehouse_defined_tags_value}")}"
145+
display_name = var.em_warehouse_display_name
146+
freeform_tags = var.em_warehouse_freeform_tags
147+
}
148+
149+
// List emWarehouses present under a compartment
150+
data "oci_em_warehouse_em_warehouses" "test_em_warehouses" {
151+
#Required
152+
compartment_id = var.compartment_ocid
153+
154+
#Optional
155+
display_name = var.em_warehouse_display_name
156+
id = oci_em_warehouse_em_warehouse.test_em_warehouse.id
157+
operations_insights_warehouse_id = oci_opsi_operations_insights_warehouse.test_operations_insights_warehouse.id
158+
state = var.em_warehouse_state
159+
}
160+
161+
// Get emWarehouse for a particular id
162+
data "oci_em_warehouse_em_warehouse" "test_em_warehouse" {
163+
#Required
164+
em_warehouse_id = oci_em_warehouse_em_warehouse.test_em_warehouse.id
165+
}
166+
167+
// Get ETL Runs for a particular emWarehouseId
168+
data "oci_em_warehouse_em_warehouse_etl_runs" "test_em_warehouse_etl_runs" {
169+
#Required
170+
em_warehouse_id = oci_em_warehouse_em_warehouse.test_em_warehouse.id
171+
}
172+
173+
// Get Resource Usage for a particular emWarehouseId
174+
data "oci_em_warehouse_em_warehouse_resource_usage" "test_em_warehouse_resource_usage" {
175+
#Required
176+
em_warehouse_id = oci_em_warehouse_em_warehouse.test_em_warehouse.id
177+
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
4+
variable "tenancy_ocid" {}
5+
variable "user_ocid" {}
6+
variable "fingerprint" {}
7+
variable "private_key_path" {}
8+
variable "region" {}
9+
variable "compartment_ocid" {}
10+
11+
variable "path_analysi_destination_endpoint_type" {
12+
default = "SUBNET"
13+
}
14+
15+
variable "path_analysi_protocol" {
16+
default = 1
17+
}
18+
19+
variable "path_analysi_protocol_parameters_destination_port" {
20+
default = 10
21+
}
22+
23+
variable "path_analysi_protocol_parameters_icmp_code" {
24+
default = 10
25+
}
26+
27+
variable "path_analysi_protocol_parameters_icmp_type" {
28+
default = 10
29+
}
30+
31+
variable "path_analysi_protocol_parameters_source_port" {
32+
default = 10
33+
}
34+
35+
variable "path_analysi_protocol_parameters_type" {
36+
default = "ICMP"
37+
}
38+
39+
variable "path_analysi_query_options_is_bi_directional_analysis" {
40+
default = false
41+
}
42+
43+
variable "path_analysi_source_endpoint_type" {
44+
default = "SUBNET"
45+
}
46+
47+
variable "path_analysi_type" {
48+
default = "ADHOC_QUERY"
49+
}
50+
51+
provider "oci" {
52+
tenancy_ocid = var.tenancy_ocid
53+
user_ocid = var.user_ocid
54+
fingerprint = var.fingerprint
55+
private_key_path = var.private_key_path
56+
region = var.region
57+
}
58+
59+
resource "oci_core_vcn" "test_vcn" {
60+
cidr_block = "10.1.0.0/16"
61+
compartment_id = var.compartment_ocid
62+
display_name = "testVcn"
63+
dns_label = "testvcn"
64+
}
65+
66+
resource "oci_core_subnet" "test_subnet" {
67+
cidr_block = "10.1.20.0/24"
68+
display_name = "testSubnet1"
69+
dns_label = "testsubnet1"
70+
compartment_id = var.compartment_ocid
71+
vcn_id = oci_core_vcn.test_vcn.id
72+
}
73+
74+
resource "oci_core_subnet" "test_subnet2" {
75+
cidr_block = "10.1.21.0/24"
76+
display_name = "testSubnet2"
77+
dns_label = "testsubnet2"
78+
compartment_id = var.compartment_ocid
79+
vcn_id = oci_core_vcn.test_vcn.id
80+
}
81+
82+
resource "oci_vn_monitoring_path_analysi" "test_path_analysi" {
83+
#Required
84+
type = var.path_analysi_type
85+
86+
#Optional
87+
compartment_id = var.compartment_ocid
88+
destination_endpoint {
89+
#Required
90+
type = var.path_analysi_destination_endpoint_type
91+
92+
#Optional
93+
address = "10.1.20.55"
94+
subnet_id = oci_core_subnet.test_subnet.id
95+
}
96+
protocol = var.path_analysi_protocol
97+
protocol_parameters {
98+
#Required
99+
type = var.path_analysi_protocol_parameters_type
100+
101+
#Optional
102+
destination_port = var.path_analysi_protocol_parameters_destination_port
103+
icmp_code = var.path_analysi_protocol_parameters_icmp_code
104+
icmp_type = var.path_analysi_protocol_parameters_icmp_type
105+
source_port = var.path_analysi_protocol_parameters_source_port
106+
}
107+
query_options {
108+
109+
#Optional
110+
is_bi_directional_analysis = var.path_analysi_query_options_is_bi_directional_analysis
111+
}
112+
source_endpoint {
113+
#Required
114+
type = var.path_analysi_source_endpoint_type
115+
116+
#Optional
117+
address = "10.1.21.55"
118+
subnet_id = oci_core_subnet.test_subnet2.id
119+
}
120+
}
121+

0 commit comments

Comments
 (0)