Skip to content

Commit 4184e80

Browse files
authored
Releasing version 4.72.0
Releasing version 4.72.0
2 parents 38e2ae2 + e187b4f commit 4184e80

File tree

351 files changed

+21637
-296
lines changed

Some content is hidden

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

351 files changed

+21637
-296
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 4.72.0 (April 20, 2022)
2+
3+
### Added
4+
- Support for Stack Monitoring service
5+
- Support for apm traces
6+
- Support IORM operation on CloudVmCluster
7+
- Support for Redemption Code in Oracle Support Rewards
8+
19
## 4.71.0 (April 14, 2022)
210

311
### Added
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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 "apm_domain_id" {}
10+
11+
12+
provider "oci" {
13+
tenancy_ocid = var.tenancy_ocid
14+
user_ocid = var.user_ocid
15+
fingerprint = var.fingerprint
16+
private_key_path = var.private_key_path
17+
region = var.region
18+
}
19+
20+
21+
data "oci_apm_traces_query_quick_picks" "test_query_quick_picks" {
22+
#Required
23+
apm_domain_id = var.apm_domain_id
24+
}
25+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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 "apm_domain_id" {}
10+
11+
variable "trace_trace_key" {
12+
default = "traceKey"
13+
}
14+
15+
16+
17+
provider "oci" {
18+
tenancy_ocid = var.tenancy_ocid
19+
user_ocid = var.user_ocid
20+
fingerprint = var.fingerprint
21+
private_key_path = var.private_key_path
22+
region = var.region
23+
}
24+
25+
data "oci_apm_traces_trace" "test_trace" {
26+
#Required
27+
apm_domain_id = var.apm_domain_id
28+
trace_key = var.trace_trace_key
29+
}
30+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 "apm_domain_id" {}
10+
11+
variable "trace_aggregated_snapshot_data_trace_key" {
12+
default = "traceKey"
13+
}
14+
15+
16+
provider "oci" {
17+
tenancy_ocid = var.tenancy_ocid
18+
user_ocid = var.user_ocid
19+
fingerprint = var.fingerprint
20+
private_key_path = var.private_key_path
21+
region = var.region
22+
}
23+
24+
data "oci_apm_traces_trace_aggregated_snapshot_data" "test_trace_aggregated_snapshot_data" {
25+
#Required
26+
apm_domain_id = var.apm_domain_id
27+
trace_key = var.trace_aggregated_snapshot_data_trace_key
28+
}
29+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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 "apm_domain_id" {}
10+
11+
variable "trace_snapshot_data_is_summarized" {
12+
default = false
13+
}
14+
15+
variable "trace_snapshot_data_snapshot_time" {
16+
default = "snapshotTime"
17+
}
18+
19+
variable "trace_snapshot_data_trace_key" {
20+
default = "traceKey"
21+
}
22+
23+
variable "trace_snapshot_data_thread_id" {
24+
default = "threadId"
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+
data "oci_apm_traces_trace_snapshot_data" "test_trace_snapshot_data" {
38+
#Required
39+
apm_domain_id = var.apm_domain_id
40+
trace_key = var.trace_snapshot_data_trace_key
41+
42+
#Optional
43+
is_summarized = var.trace_snapshot_data_is_summarized
44+
snapshot_time = var.trace_snapshot_data_snapshot_time
45+
thread_id = var.trace_snapshot_data_thread_id
46+
}
47+

examples/database/db_systems/db_exacs/datasources.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ data "oci_database_db_system_shapes" "test_db_system_shapes" {
1515
values = [var.db_system_shape]
1616
}
1717
}
18+
19+
data "oci_database_cloud_vm_cluster_iorm_config" "test_cloud_vm_cluster_iorm_config" {
20+
cloud_vm_cluster_id = oci_database_cloud_vm_cluster_iorm_config.test_cloud_vm_cluster_iorm_config.cloud_vm_cluster_id
21+
}

examples/database/db_systems/db_exacs/resources.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,14 @@ resource "oci_database_backup" "test_backup" {
6060
database_id = oci_database_db_home.test_db_home_vm_cluster.database.0.id
6161
display_name = "FirstBackup"
6262
}
63+
64+
65+
resource "oci_database_cloud_vm_cluster_iorm_config" "test_cloud_vm_cluster_iorm_config" {
66+
cloud_vm_cluster_id = oci_database_cloud_vm_cluster.test_cloud_vm_cluster.id
67+
objective = "AUTO"
68+
69+
db_plans {
70+
db_name = "default"
71+
share = 1
72+
}
73+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Copyright (c) 2017, 2022, 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+
variable "stack_mon_management_agent_id_discovery" {}
11+
12+
13+
provider "oci" {
14+
tenancy_ocid = var.tenancy_ocid
15+
user_ocid = var.user_ocid
16+
fingerprint = var.fingerprint
17+
private_key_path = var.private_key_path
18+
region = var.region
19+
}
20+
21+
22+
resource "oci_stack_monitoring_discovery_job" "test_discovery_job" {
23+
#Required
24+
compartment_id = var.compartment_ocid
25+
discovery_client = "LA_SERVICE"
26+
discovery_type = "ADD"
27+
discovery_details {
28+
#Required
29+
agent_id = var.stack_mon_management_agent_id_discovery
30+
properties {
31+
32+
#Optional
33+
properties_map = {
34+
"admin_server_host" = "somehost.us.oracle.com",
35+
"admin_server_port" = "7001",
36+
"admin_server_protocol" = "t3"
37+
}
38+
}
39+
resource_name = "terraformExample"
40+
resource_type = "WEBLOGIC_DOMAIN"
41+
42+
#Optional
43+
credentials {
44+
#Required
45+
items {
46+
#Required
47+
credential_name = "Sk1YQ3JlZHM="
48+
credential_type = "Sk1YQ3JlZHM="
49+
properties {
50+
51+
#Optional
52+
properties_map = {
53+
"Username" = "d2VibG9naWM=",
54+
"Password" = "d2VibG9naWM="
55+
}
56+
}
57+
}
58+
}
59+
}
60+
}
61+
62+
63+
data "oci_stack_monitoring_discovery_job_logs" "test_discovery_job_logs" {
64+
#Required
65+
discovery_job_id = oci_stack_monitoring_discovery_job.test_discovery_job.id
66+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
// Copyright (c) 2017, 2022, 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+
variable "stack_mon_management_agent_id_discovery" {}
11+
12+
13+
provider "oci" {
14+
tenancy_ocid = var.tenancy_ocid
15+
user_ocid = var.user_ocid
16+
fingerprint = var.fingerprint
17+
private_key_path = var.private_key_path
18+
region = var.region
19+
}
20+
21+
22+
resource "oci_stack_monitoring_discovery_job" "test_discovery_job" {
23+
#Required
24+
compartment_id = var.compartment_ocid
25+
discovery_client = "LA_SERVICE"
26+
discovery_type = "ADD"
27+
discovery_details {
28+
#Required
29+
agent_id = var.stack_mon_management_agent_id_discovery
30+
properties {
31+
32+
#Optional
33+
properties_map = {
34+
"admin_server_host" = "somehost.us.oracle.com",
35+
"admin_server_port" = "7001",
36+
"admin_server_protocol" = "t3"
37+
}
38+
}
39+
resource_name = "terraformExample"
40+
resource_type = "WEBLOGIC_DOMAIN"
41+
42+
#Optional
43+
credentials {
44+
#Required
45+
items {
46+
#Required
47+
credential_name = "Sk1YQ3JlZHM="
48+
credential_type = "Sk1YQ3JlZHM="
49+
properties {
50+
51+
#Optional
52+
properties_map = {
53+
"Username" = "d2VibG9naWM=",
54+
"Password" = "d2VibG9naWM="
55+
}
56+
}
57+
}
58+
}
59+
}
60+
}
61+
data "oci_stack_monitoring_discovery_jobs" "test_discovery_jobs" {
62+
#Required
63+
compartment_id = var.compartment_ocid
64+
}
65+
66+
data "oci_stack_monitoring_discovery_job" "test_discovery_job" {
67+
#Required
68+
discovery_job_id = oci_stack_monitoring_discovery_job.test_discovery_job.id
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
// Copyright (c) 2017, 2022, 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+
variable "stack_mon_management_agent_id_resource1" {}
11+
variable "stack_mon_management_agent_id_resource2" {}
12+
variable "stack_mon_hostname_resource1" {}
13+
variable "stack_mon_hostname_resource2" {}
14+
15+
16+
provider "oci" {
17+
tenancy_ocid = var.tenancy_ocid
18+
user_ocid = var.user_ocid
19+
fingerprint = var.fingerprint
20+
private_key_path = var.private_key_path
21+
region = var.region
22+
}
23+
24+
resource "oci_stack_monitoring_monitored_resource" "test_monitored_resource1" {
25+
#Required
26+
compartment_id = var.compartment_ocid
27+
name = "terraformExample"
28+
type = "host"
29+
30+
#Optional
31+
display_name = "exampleDisplayName"
32+
host_name = var.stack_mon_hostname_resource1
33+
management_agent_id = var.stack_mon_management_agent_id_resource1
34+
properties {
35+
name = "OS"
36+
value = "Linux"
37+
}
38+
resource_time_zone = "en"
39+
}
40+
resource "oci_stack_monitoring_monitored_resource" "test_monitored_resource2" {
41+
#Required
42+
compartment_id = var.compartment_ocid
43+
name = "terraformExample2"
44+
type = "host"
45+
46+
#Optional
47+
display_name = "exampleDisplayName2"
48+
host_name = var.stack_mon_hostname_resource2
49+
management_agent_id = var.stack_mon_management_agent_id_resource2
50+
properties {
51+
name = "OS"
52+
value = "Linux"
53+
}
54+
resource_time_zone = "en"
55+
}
56+
57+
resource "oci_stack_monitoring_monitored_resources_associate_monitored_resource" "test_monitored_resources_associate_monitored_resource" {
58+
#Required
59+
association_type = "contains"
60+
compartment_id = var.compartment_ocid
61+
destination_resource_id = oci_stack_monitoring_monitored_resource.test_monitored_resource2.id
62+
source_resource_id = oci_stack_monitoring_monitored_resource.test_monitored_resource1.id
63+
}

0 commit comments

Comments
 (0)