Skip to content

Commit 4603b7b

Browse files
authored
Releasing version 2.5.1
Releasing version 2.5.1
2 parents 3c07dcd + 8af658a commit 4603b7b

26 files changed

+711
-69
lines changed

CHANGELOG.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ 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+
====================
8+
2.5.1 - 2019-09-24
9+
====================
10+
11+
Added
12+
-----
13+
* Support for selecting the Terraform version to use in the Resource Manager service
14+
* Support for bucket re-encryption in the Object Storage service
15+
* Support for enabling / disabling bucket-level events in the Object Storage service
16+
717
====================
818
2.5.0 - 2019-09-17
919
====================

docs/api/resource_manager.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Resource Manager
4646
oci.resource_manager.models.PlanJobOperationDetailsSummary
4747
oci.resource_manager.models.Stack
4848
oci.resource_manager.models.StackSummary
49+
oci.resource_manager.models.TerraformVersionCollection
50+
oci.resource_manager.models.TerraformVersionSummary
4951
oci.resource_manager.models.UpdateConfigSourceDetails
5052
oci.resource_manager.models.UpdateJobDetails
5153
oci.resource_manager.models.UpdateStackDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
TerraformVersionCollection
2+
==========================
3+
4+
.. currentmodule:: oci.resource_manager.models
5+
6+
.. autoclass:: TerraformVersionCollection
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
TerraformVersionSummary
2+
=======================
3+
4+
.. currentmodule:: oci.resource_manager.models
5+
6+
.. autoclass:: TerraformVersionSummary
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

src/oci/monitoring/models/alarm.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -541,17 +541,18 @@ def pending_duration(self):
541541
"""
542542
Gets the pending_duration of this Alarm.
543543
The period of time that the condition defined in the alarm must persist before the alarm state
544-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
544+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
545545
alarm must persist in breaching the condition for five minutes before the alarm updates its
546-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
547-
minutes before the alarm updates its state to \"OK.\"
546+
state to \"FIRING\".
548547
549548
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
550549
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
551550
552551
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
553-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
554-
to \"OK\".
552+
state to \"FIRING\".
553+
554+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
555+
the most recent minute.
555556
556557
Example: `PT5M`
557558
@@ -566,17 +567,18 @@ def pending_duration(self, pending_duration):
566567
"""
567568
Sets the pending_duration of this Alarm.
568569
The period of time that the condition defined in the alarm must persist before the alarm state
569-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
570+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
570571
alarm must persist in breaching the condition for five minutes before the alarm updates its
571-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
572-
minutes before the alarm updates its state to \"OK.\"
572+
state to \"FIRING\".
573573
574574
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
575575
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
576576
577577
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
578-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
579-
to \"OK\".
578+
state to \"FIRING\".
579+
580+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
581+
the most recent minute.
580582
581583
Example: `PT5M`
582584

src/oci/monitoring/models/create_alarm_details.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -441,17 +441,18 @@ def pending_duration(self):
441441
"""
442442
Gets the pending_duration of this CreateAlarmDetails.
443443
The period of time that the condition defined in the alarm must persist before the alarm state
444-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
444+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
445445
alarm must persist in breaching the condition for five minutes before the alarm updates its
446-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
447-
minutes before the alarm updates its state to \"OK.\"
446+
state to \"FIRING\".
448447
449448
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
450449
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
451450
452451
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
453-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
454-
to \"OK\".
452+
state to \"FIRING\".
453+
454+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
455+
the most recent minute.
455456
456457
Example: `PT5M`
457458
@@ -466,17 +467,18 @@ def pending_duration(self, pending_duration):
466467
"""
467468
Sets the pending_duration of this CreateAlarmDetails.
468469
The period of time that the condition defined in the alarm must persist before the alarm state
469-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
470+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
470471
alarm must persist in breaching the condition for five minutes before the alarm updates its
471-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
472-
minutes before the alarm updates its state to \"OK.\"
472+
state to \"FIRING\".
473473
474474
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
475475
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
476476
477477
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
478-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
479-
to \"OK\".
478+
state to \"FIRING\".
479+
480+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
481+
the most recent minute.
480482
481483
Example: `PT5M`
482484

src/oci/monitoring/models/update_alarm_details.py

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -441,17 +441,18 @@ def pending_duration(self):
441441
"""
442442
Gets the pending_duration of this UpdateAlarmDetails.
443443
The period of time that the condition defined in the alarm must persist before the alarm state
444-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
444+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
445445
alarm must persist in breaching the condition for five minutes before the alarm updates its
446-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
447-
minutes before the alarm updates its state to \"OK.\"
446+
state to \"FIRING\".
448447
449448
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
450449
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
451450
452451
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
453-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
454-
to \"OK\".
452+
state to \"FIRING\".
453+
454+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
455+
the most recent minute.
455456
456457
Example: `PT5M`
457458
@@ -466,17 +467,18 @@ def pending_duration(self, pending_duration):
466467
"""
467468
Sets the pending_duration of this UpdateAlarmDetails.
468469
The period of time that the condition defined in the alarm must persist before the alarm state
469-
changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
470+
changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the
470471
alarm must persist in breaching the condition for five minutes before the alarm updates its
471-
state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
472-
minutes before the alarm updates its state to \"OK.\"
472+
state to \"FIRING\".
473473
474474
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H`
475475
for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
476476
477477
Under the default value of PT1M, the first evaluation that breaches the alarm updates the
478-
state to \"FIRING\" and the first evaluation that does not breach the alarm updates the state
479-
to \"OK\".
478+
state to \"FIRING\".
479+
480+
The alarm updates its status to \"OK\" when the breaching condition has been clear for
481+
the most recent minute.
480482
481483
Example: `PT5M`
482484

src/oci/monitoring/monitoring_client.py

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ def create_alarm(self, create_alarm_details, **kwargs):
188188
Creates a new alarm in the specified compartment.
189189
For important limits information, see `Limits on Monitoring`__.
190190
191-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
191+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
192+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
193+
or transactions, per second (TPS) for a given tenancy.
192194
193195
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
194196
@@ -268,7 +270,9 @@ def delete_alarm(self, alarm_id, **kwargs):
268270
Deletes the specified alarm.
269271
For important limits information, see `Limits on Monitoring`__.
270272
271-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
273+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
274+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
275+
or transactions, per second (TPS) for a given tenancy.
272276
273277
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
274278
@@ -353,7 +357,9 @@ def get_alarm(self, alarm_id, **kwargs):
353357
Gets the specified alarm.
354358
For important limits information, see `Limits on Monitoring`__.
355359
356-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
360+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
361+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
362+
or transactions, per second (TPS) for a given tenancy.
357363
358364
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
359365
@@ -433,7 +439,9 @@ def get_alarm_history(self, alarm_id, **kwargs):
433439
Get the history of the specified alarm.
434440
For important limits information, see `Limits on Monitoring`__.
435441
436-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
442+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
443+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
444+
or transactions, per second (TPS) for a given tenancy.
437445
438446
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
439447
@@ -570,7 +578,9 @@ def list_alarms(self, compartment_id, **kwargs):
570578
Lists the alarms for the specified compartment.
571579
For important limits information, see `Limits on Monitoring`__.
572580
573-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
581+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
582+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
583+
or transactions, per second (TPS) for a given tenancy.
574584
575585
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
576586
@@ -730,7 +740,9 @@ def list_alarms_status(self, compartment_id, **kwargs):
730740
List the status of each alarm in the specified compartment.
731741
For important limits information, see `Limits on Monitoring`__.
732742
733-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
743+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
744+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
745+
or transactions, per second (TPS) for a given tenancy.
734746
735747
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
736748
@@ -878,7 +890,7 @@ def list_metrics(self, compartment_id, list_metrics_details, **kwargs):
878890
For information about metrics, see `Metrics Overview`__.
879891
For important limits information, see `Limits on Monitoring`__.
880892
881-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
893+
Transactions Per Second (TPS) per-tenancy limit for this operation: 10.
882894
883895
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview
884896
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
@@ -1078,7 +1090,9 @@ def remove_alarm_suppression(self, alarm_id, **kwargs):
10781090
Removes any existing suppression for the specified alarm.
10791091
For important limits information, see `Limits on Monitoring`__.
10801092
1081-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
1093+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
1094+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
1095+
or transactions, per second (TPS) for a given tenancy.
10821096
10831097
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
10841098
@@ -1260,7 +1274,9 @@ def update_alarm(self, alarm_id, update_alarm_details, **kwargs):
12601274
Updates the specified alarm.
12611275
For important limits information, see `Limits on Monitoring`__.
12621276
1263-
Transactions Per Second (TPS) per-tenancy limit for this operation: 1.
1277+
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations.
1278+
Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests,
1279+
or transactions, per second (TPS) for a given tenancy.
12641280
12651281
__ https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#Limits
12661282

src/oci/object_storage/models/bucket.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ def __init__(self, **kwargs):
8686
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
8787
:type storage_tier: str
8888
89+
:param object_events_enabled:
90+
The value to assign to the object_events_enabled property of this Bucket.
91+
:type object_events_enabled: bool
92+
8993
:param freeform_tags:
9094
The value to assign to the freeform_tags property of this Bucket.
9195
:type freeform_tags: dict(str, str)
@@ -121,6 +125,7 @@ def __init__(self, **kwargs):
121125
'etag': 'str',
122126
'public_access_type': 'str',
123127
'storage_tier': 'str',
128+
'object_events_enabled': 'bool',
124129
'freeform_tags': 'dict(str, str)',
125130
'defined_tags': 'dict(str, dict(str, object))',
126131
'kms_key_id': 'str',
@@ -139,6 +144,7 @@ def __init__(self, **kwargs):
139144
'etag': 'etag',
140145
'public_access_type': 'publicAccessType',
141146
'storage_tier': 'storageTier',
147+
'object_events_enabled': 'objectEventsEnabled',
142148
'freeform_tags': 'freeformTags',
143149
'defined_tags': 'definedTags',
144150
'kms_key_id': 'kmsKeyId',
@@ -156,6 +162,7 @@ def __init__(self, **kwargs):
156162
self._etag = None
157163
self._public_access_type = None
158164
self._storage_tier = None
165+
self._object_events_enabled = None
159166
self._freeform_tags = None
160167
self._defined_tags = None
161168
self._kms_key_id = None
@@ -411,6 +418,32 @@ def storage_tier(self, storage_tier):
411418
storage_tier = 'UNKNOWN_ENUM_VALUE'
412419
self._storage_tier = storage_tier
413420

421+
@property
422+
def object_events_enabled(self):
423+
"""
424+
Gets the object_events_enabled of this Bucket.
425+
A property that determines whether events will be generated for operations on objects in this bucket.
426+
This is false by default.
427+
428+
429+
:return: The object_events_enabled of this Bucket.
430+
:rtype: bool
431+
"""
432+
return self._object_events_enabled
433+
434+
@object_events_enabled.setter
435+
def object_events_enabled(self, object_events_enabled):
436+
"""
437+
Sets the object_events_enabled of this Bucket.
438+
A property that determines whether events will be generated for operations on objects in this bucket.
439+
This is false by default.
440+
441+
442+
:param object_events_enabled: The object_events_enabled of this Bucket.
443+
:type: bool
444+
"""
445+
self._object_events_enabled = object_events_enabled
446+
414447
@property
415448
def freeform_tags(self):
416449
"""

0 commit comments

Comments
 (0)