Skip to content

Commit fa406e2

Browse files
authored
Releasing version 2.50.0
Releasing version 2.50.0
2 parents be755fd + c364aed commit fa406e2

37 files changed

+1986
-111
lines changed

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66
====================
7+
2.50.0 - 2021-11-09
8+
====================
9+
10+
Added
11+
-----
12+
* Support for drill down metadata in the Management Dashboard service
13+
* Support for operator access control on dedicated autonomous databases in the Operator Access Control service
14+
15+
Breaking
16+
--------
17+
* Property `resource_type` and `is_enforced_always` from model `CreateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service
18+
* Property `operator_control_name`, `approver_groups_list` and `is_fully_pre_approved` from model `UpdateOperatorControlDetails` changed from optional to required in the Operator Access Control service
19+
* Property `is_enforced_always` from model `UpdateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service
20+
* Property `approver_groups_list` and `is_fully_pre_approved` from model `CreateOperatorControlDetails` changed from optional to required in the Operator Access Control service
21+
* Data type for response of operation `create_operator_control_assignment` changed to `oci.operator_access_control.models.OperatorControlAssignment` in the Operator Access Control service
22+
====================
723
2.49.1 - 2021-11-02
824
====================
925

docs/api/operator_access_control.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Operator Access Control
4545
oci.operator_access_control.models.OperatorControlCollection
4646
oci.operator_access_control.models.OperatorControlSummary
4747
oci.operator_access_control.models.RejectAccessRequestDetails
48+
oci.operator_access_control.models.ReviewAccessRequestDetails
4849
oci.operator_access_control.models.RevokeAccessRequestDetails
4950
oci.operator_access_control.models.UpdateOperatorControlAssignmentDetails
5051
oci.operator_access_control.models.UpdateOperatorControlDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ReviewAccessRequestDetails
2+
==========================
3+
4+
.. currentmodule:: oci.operator_access_control.models
5+
6+
.. autoclass:: ReviewAccessRequestDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

examples/drg_attachment_example.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,17 @@ def create_drg_attachment(virtual_network_client, vcn, drg):
119119
drg_attachment_2 = create_drg_attachment(virtual_network_client, vcn_2, drg)
120120

121121
print("Creating a new DRG route table.")
122-
drg_route_table_1 = virtual_network_client.create_drg_route_table(
122+
result = virtual_network_client.create_drg_route_table(
123123
oci.core.models.CreateDrgRouteTableDetails(
124124
drg_id=drg.id
125125
)
126126
).data
127+
drg_route_table_1 = oci.wait_until(
128+
virtual_network_client,
129+
virtual_network_client.get_drg_route_table(result.id),
130+
'lifecycle_state',
131+
'AVAILABLE'
132+
).data
127133
print(drg_route_table_1)
128134
print('\n')
129135

examples/drg_route_distribution_example.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,18 @@ def list_dynamic_route_rules(drg_route_table, virtual_network_client):
169169
)
170170

171171
print("Create a new DRG route table pointing to the route distribution.")
172-
drg_route_table = virtual_network_client.create_drg_route_table(
172+
result = virtual_network_client.create_drg_route_table(
173173
oci.core.models.CreateDrgRouteTableDetails(
174174
drg_id=drg.id,
175175
import_drg_route_distribution_id=import_route_distribution.id
176176
)
177177
).data
178+
drg_route_table = oci.wait_until(
179+
virtual_network_client,
180+
virtual_network_client.get_drg_route_table(result.id),
181+
'lifecycle_state',
182+
'AVAILABLE'
183+
).data
178184
print(drg_route_table)
179185
print('\n')
180186

examples/drg_route_table_example.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,17 @@ def list_static_route_rules(drg_route_table, virtual_network_client):
125125
drg_attachment_2 = create_drg_attachment(virtual_network_client, vcn_2, drg)
126126

127127
print("Creating a new DRG route table.")
128-
drg_route_table = virtual_network_client.create_drg_route_table(
128+
result = virtual_network_client.create_drg_route_table(
129129
oci.core.models.CreateDrgRouteTableDetails(
130130
drg_id=drg.id
131131
)
132132
).data
133+
drg_route_table = oci.wait_until(
134+
virtual_network_client,
135+
virtual_network_client.get_drg_route_table(result.id),
136+
'lifecycle_state',
137+
'AVAILABLE'
138+
).data
133139
print(drg_route_table)
134140
print('\n')
135141

src/oci/management_dashboard/models/create_management_dashboard_details.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ def __init__(self, **kwargs):
9494
The value to assign to the parameters_config property of this CreateManagementDashboardDetails.
9595
:type parameters_config: list[object]
9696
97+
:param drilldown_config:
98+
The value to assign to the drilldown_config property of this CreateManagementDashboardDetails.
99+
:type drilldown_config: list[object]
100+
97101
:param freeform_tags:
98102
The value to assign to the freeform_tags property of this CreateManagementDashboardDetails.
99103
:type freeform_tags: dict(str, str)
@@ -123,6 +127,7 @@ def __init__(self, **kwargs):
123127
'type': 'str',
124128
'is_favorite': 'bool',
125129
'parameters_config': 'list[object]',
130+
'drilldown_config': 'list[object]',
126131
'freeform_tags': 'dict(str, str)',
127132
'defined_tags': 'dict(str, dict(str, object))'
128133
}
@@ -147,6 +152,7 @@ def __init__(self, **kwargs):
147152
'type': 'type',
148153
'is_favorite': 'isFavorite',
149154
'parameters_config': 'parametersConfig',
155+
'drilldown_config': 'drilldownConfig',
150156
'freeform_tags': 'freeformTags',
151157
'defined_tags': 'definedTags'
152158
}
@@ -170,6 +176,7 @@ def __init__(self, **kwargs):
170176
self._type = None
171177
self._is_favorite = None
172178
self._parameters_config = None
179+
self._drilldown_config = None
173180
self._freeform_tags = None
174181
self._defined_tags = None
175182

@@ -629,6 +636,30 @@ def parameters_config(self, parameters_config):
629636
"""
630637
self._parameters_config = parameters_config
631638

639+
@property
640+
def drilldown_config(self):
641+
"""
642+
Gets the drilldown_config of this CreateManagementDashboardDetails.
643+
Drill-down configuration to define the destination of a drill-down action.
644+
645+
646+
:return: The drilldown_config of this CreateManagementDashboardDetails.
647+
:rtype: list[object]
648+
"""
649+
return self._drilldown_config
650+
651+
@drilldown_config.setter
652+
def drilldown_config(self, drilldown_config):
653+
"""
654+
Sets the drilldown_config of this CreateManagementDashboardDetails.
655+
Drill-down configuration to define the destination of a drill-down action.
656+
657+
658+
:param drilldown_config: The drilldown_config of this CreateManagementDashboardDetails.
659+
:type: list[object]
660+
"""
661+
self._drilldown_config = drilldown_config
662+
632663
@property
633664
def freeform_tags(self):
634665
"""

src/oci/management_dashboard/models/create_management_saved_search_details.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ def __init__(self, **kwargs):
103103
The value to assign to the parameters_config property of this CreateManagementSavedSearchDetails.
104104
:type parameters_config: list[object]
105105
106+
:param drilldown_config:
107+
The value to assign to the drilldown_config property of this CreateManagementSavedSearchDetails.
108+
:type drilldown_config: list[object]
109+
106110
:param freeform_tags:
107111
The value to assign to the freeform_tags property of this CreateManagementSavedSearchDetails.
108112
:type freeform_tags: dict(str, str)
@@ -130,6 +134,7 @@ def __init__(self, **kwargs):
130134
'widget_template': 'str',
131135
'widget_vm': 'str',
132136
'parameters_config': 'list[object]',
137+
'drilldown_config': 'list[object]',
133138
'freeform_tags': 'dict(str, str)',
134139
'defined_tags': 'dict(str, dict(str, object))'
135140
}
@@ -152,6 +157,7 @@ def __init__(self, **kwargs):
152157
'widget_template': 'widgetTemplate',
153158
'widget_vm': 'widgetVM',
154159
'parameters_config': 'parametersConfig',
160+
'drilldown_config': 'drilldownConfig',
155161
'freeform_tags': 'freeformTags',
156162
'defined_tags': 'definedTags'
157163
}
@@ -173,6 +179,7 @@ def __init__(self, **kwargs):
173179
self._widget_template = None
174180
self._widget_vm = None
175181
self._parameters_config = None
182+
self._drilldown_config = None
176183
self._freeform_tags = None
177184
self._defined_tags = None
178185

@@ -592,6 +599,30 @@ def parameters_config(self, parameters_config):
592599
"""
593600
self._parameters_config = parameters_config
594601

602+
@property
603+
def drilldown_config(self):
604+
"""
605+
Gets the drilldown_config of this CreateManagementSavedSearchDetails.
606+
Drill-down configuration to define the destination of a drill-down action.
607+
608+
609+
:return: The drilldown_config of this CreateManagementSavedSearchDetails.
610+
:rtype: list[object]
611+
"""
612+
return self._drilldown_config
613+
614+
@drilldown_config.setter
615+
def drilldown_config(self, drilldown_config):
616+
"""
617+
Sets the drilldown_config of this CreateManagementSavedSearchDetails.
618+
Drill-down configuration to define the destination of a drill-down action.
619+
620+
621+
:param drilldown_config: The drilldown_config of this CreateManagementSavedSearchDetails.
622+
:type: list[object]
623+
"""
624+
self._drilldown_config = drilldown_config
625+
595626
@property
596627
def freeform_tags(self):
597628
"""

src/oci/management_dashboard/models/management_dashboard.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ def __init__(self, **kwargs):
128128
The value to assign to the parameters_config property of this ManagementDashboard.
129129
:type parameters_config: list[object]
130130
131+
:param drilldown_config:
132+
The value to assign to the drilldown_config property of this ManagementDashboard.
133+
:type drilldown_config: list[object]
134+
131135
:param freeform_tags:
132136
The value to assign to the freeform_tags property of this ManagementDashboard.
133137
:type freeform_tags: dict(str, str)
@@ -164,6 +168,7 @@ def __init__(self, **kwargs):
164168
'saved_searches': 'list[ManagementSavedSearch]',
165169
'lifecycle_state': 'str',
166170
'parameters_config': 'list[object]',
171+
'drilldown_config': 'list[object]',
167172
'freeform_tags': 'dict(str, str)',
168173
'defined_tags': 'dict(str, dict(str, object))'
169174
}
@@ -195,6 +200,7 @@ def __init__(self, **kwargs):
195200
'saved_searches': 'savedSearches',
196201
'lifecycle_state': 'lifecycleState',
197202
'parameters_config': 'parametersConfig',
203+
'drilldown_config': 'drilldownConfig',
198204
'freeform_tags': 'freeformTags',
199205
'defined_tags': 'definedTags'
200206
}
@@ -225,6 +231,7 @@ def __init__(self, **kwargs):
225231
self._saved_searches = None
226232
self._lifecycle_state = None
227233
self._parameters_config = None
234+
self._drilldown_config = None
228235
self._freeform_tags = None
229236
self._defined_tags = None
230237

@@ -858,6 +865,30 @@ def parameters_config(self, parameters_config):
858865
"""
859866
self._parameters_config = parameters_config
860867

868+
@property
869+
def drilldown_config(self):
870+
"""
871+
Gets the drilldown_config of this ManagementDashboard.
872+
Drill-down configuration to define the destination of a drill-down action.
873+
874+
875+
:return: The drilldown_config of this ManagementDashboard.
876+
:rtype: list[object]
877+
"""
878+
return self._drilldown_config
879+
880+
@drilldown_config.setter
881+
def drilldown_config(self, drilldown_config):
882+
"""
883+
Sets the drilldown_config of this ManagementDashboard.
884+
Drill-down configuration to define the destination of a drill-down action.
885+
886+
887+
:param drilldown_config: The drilldown_config of this ManagementDashboard.
888+
:type: list[object]
889+
"""
890+
self._drilldown_config = drilldown_config
891+
861892
@property
862893
def freeform_tags(self):
863894
"""

src/oci/management_dashboard/models/management_dashboard_for_import_export_details.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ def __init__(self, **kwargs):
9898
The value to assign to the parameters_config property of this ManagementDashboardForImportExportDetails.
9999
:type parameters_config: list[object]
100100
101+
:param drilldown_config:
102+
The value to assign to the drilldown_config property of this ManagementDashboardForImportExportDetails.
103+
:type drilldown_config: list[object]
104+
101105
:param freeform_tags:
102106
The value to assign to the freeform_tags property of this ManagementDashboardForImportExportDetails.
103107
:type freeform_tags: dict(str, str)
@@ -128,6 +132,7 @@ def __init__(self, **kwargs):
128132
'is_favorite': 'bool',
129133
'saved_searches': 'list[ManagementSavedSearchForImportDetails]',
130134
'parameters_config': 'list[object]',
135+
'drilldown_config': 'list[object]',
131136
'freeform_tags': 'dict(str, str)',
132137
'defined_tags': 'dict(str, dict(str, object))'
133138
}
@@ -153,6 +158,7 @@ def __init__(self, **kwargs):
153158
'is_favorite': 'isFavorite',
154159
'saved_searches': 'savedSearches',
155160
'parameters_config': 'parametersConfig',
161+
'drilldown_config': 'drilldownConfig',
156162
'freeform_tags': 'freeformTags',
157163
'defined_tags': 'definedTags'
158164
}
@@ -177,6 +183,7 @@ def __init__(self, **kwargs):
177183
self._is_favorite = None
178184
self._saved_searches = None
179185
self._parameters_config = None
186+
self._drilldown_config = None
180187
self._freeform_tags = None
181188
self._defined_tags = None
182189

@@ -660,6 +667,30 @@ def parameters_config(self, parameters_config):
660667
"""
661668
self._parameters_config = parameters_config
662669

670+
@property
671+
def drilldown_config(self):
672+
"""
673+
Gets the drilldown_config of this ManagementDashboardForImportExportDetails.
674+
Drill-down configuration to define the destination of a drill-down action.
675+
676+
677+
:return: The drilldown_config of this ManagementDashboardForImportExportDetails.
678+
:rtype: list[object]
679+
"""
680+
return self._drilldown_config
681+
682+
@drilldown_config.setter
683+
def drilldown_config(self, drilldown_config):
684+
"""
685+
Sets the drilldown_config of this ManagementDashboardForImportExportDetails.
686+
Drill-down configuration to define the destination of a drill-down action.
687+
688+
689+
:param drilldown_config: The drilldown_config of this ManagementDashboardForImportExportDetails.
690+
:type: list[object]
691+
"""
692+
self._drilldown_config = drilldown_config
693+
663694
@property
664695
def freeform_tags(self):
665696
"""

0 commit comments

Comments
 (0)