diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index ffa62eb50e..1fad17ea4f 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+====================
+1.3.12 - 2018-01-11
+====================
+
+Added
+-----
+* Support for tagging:
+
+ * Support for creating, updating, retrieving and listing tags and tag namespaces (these operations can be found in Identity Service)
+ * Support for adding freeform and defined tags to resources in Core Services (Networking, Compute, and Block Volume) and Identity Service
+ * An example on using tagging can be found on `GitHub `_.
+
+* Support for bringing your own custom image for emulation mode virtual machines in Compute Service
+* Added the ``oci.pagination`` module, which contains convenience functions so that you don't have to manually deal with page tokens when using list operations. See the `documentation `_ for more information
+
+Changed
+-------
+* Upgraded cryptography dependency to 2.1.3
+
+ * Added dependency on pyOpenSSL <= 17.4.0 as the minimum cryptography version for pyOpenSSL 17.5.0 is 2.1.4
+
+* Upgraded six dependency to 1.11.0
+* Ugraded requests dependency to 2.18.4
+
====================
1.3.11 - 2017-12-11
====================
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 75a6862228..616a114983 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -1,7 +1,7 @@
Contributing to the Oracle Cloud Infrastructure Python SDK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-*Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.*
+*Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.*
Pull requests can be made under
`The Oracle Contributor Agreement `_ (OCA).
diff --git a/LICENSE.txt b/LICENSE.txt
index 69b573e1db..0a88efc63e 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,9 +1,9 @@
-Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
This software is dual-licensed to you under the Universal Permissive License (UPL) and Apache License 2.0. See below for license terms. You may choose either license, or both.
____________________________
The Universal Permissive License (UPL), Version 1.0
-Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, associated documentation and/or data (collectively the "Software"), free of charge and under any and all copyright rights in the Software, and any and all patent rights owned or freely licensable by each licensor hereunder covering either (i) the unmodified Software as contributed to or provided by such licensor, or (ii) the Larger Works (as defined below), to deal in both
@@ -19,7 +19,7 @@ The above copyright notice and either this complete permission notice or at a mi
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The Apache Software License, Version 2.0
-Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); You may not use this product except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. A copy of the license is also reproduced below. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
diff --git a/README.rst b/README.rst
index 6c0ca4f066..b7969a7cc1 100644
--- a/README.rst
+++ b/README.rst
@@ -113,7 +113,7 @@ __ https://github.com/oracle/oci-python-sdk
License
=======
-Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
This SDK and sample is dual licensed under the Universal Permissive License 1.0 and the Apache License 2.0.
diff --git a/docs/api/index.rst b/docs/api/index.rst
index 98b608906a..2522bb50a8 100644
--- a/docs/api/index.rst
+++ b/docs/api/index.rst
@@ -234,6 +234,17 @@ Load Balancer
.. autofunction:: wait_until
+===========
+ Pagination
+===========
+
+.. module:: oci.pagination
+
+.. autofunction:: list_call_get_all_results
+.. autofunction:: list_call_get_up_to_limit
+.. autofunction:: list_call_get_all_results_generator
+.. autofunction:: list_call_get_up_to_limit_generator
+
=========
Request
=========
diff --git a/docs/conf.py b/docs/conf.py
index b250f418ff..95ef31fb10 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -4,6 +4,8 @@
import pkg_resources
import sphinx_rtd_theme
+from sphinx.domains.python import PythonDomain
+
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
@@ -236,3 +238,20 @@
# If true, do not generate a @detailmenu in the "Top" node's menu.
#
# texinfo_no_detailmenu = False
+
+class PatchedPythonDomain(PythonDomain):
+ def resolve_xref(self, env, fromdocname, builder, typ, target, node, contnode):
+ if 'refspecific' in node and fromdocname == 'api/index':
+ # This for api/index.rst and defined tags. These have a data type of dict(str, dict(str, object)) but if
+ # Sphinx auto-linking tries to link "object" to the "object" property in CreateMultipartUploadDetails (which is
+ # incorrect).
+ #
+ # This prevents any non-explicit link (e.g. just plain "object") from being linked across, but if I was
+ # explicit like "oci.object_storage.models.CreateMultipartUploadDetails.object" that **should** still produce
+ # a link
+ if node['reftarget'] == 'object' and not node['refexplicit']:
+ del node['refspecific']
+ return super(PatchedPythonDomain, self).resolve_xref(env, fromdocname, builder, typ, target, node, contnode)
+
+def setup(sphinx):
+ sphinx.override_domain(PatchedPythonDomain)
diff --git a/docs/index.rst b/docs/index.rst
index 5f6d9b20a5..facc37bef9 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -53,6 +53,7 @@ To get started, head over to the :ref:`installation instructions ` or s
upload-manager
raw-requests
waiters
+ pagination
api/index
contributions
notifications
diff --git a/docs/installation.rst b/docs/installation.rst
index bd4805df44..5ac7ff3b0f 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -105,7 +105,7 @@ The supported version of OpenSSL for the Python SDK is version 1.0.1 or newer.
If the version is lower than ``1.0.1``, run the following command to bypass the version issue::
- pip install requests[security]==2.11.1
+ pip install requests[security]==2.18.4
This command instructs the `requests `_
library used by the Python SDK to use the version of OpenSSL that is bundled with the `cryptography `_
diff --git a/docs/pagination.rst b/docs/pagination.rst
new file mode 100644
index 0000000000..c55c8c89b5
--- /dev/null
+++ b/docs/pagination.rst
@@ -0,0 +1,22 @@
+.. raw:: html
+
+
+
+Pagination
+~~~~~~~~~~~~
+When you call a list operation (for example :py:func:`~oci.core.compute_client.ComputeClient.list_instances`) will retrieve a page of results. In order
+to retrieve more data, you have to continue to make calls to the list operation, passing in the value of the most recent response's ``next_page`` attribute
+as a parameter to the next list operation call.
+
+As a convenience over manually writing pagination code, you can make use of the functions in the :py:mod:`~oci.pagination` module to:
+
+* Eagerly load all possible results from a list call
+* Eagerly load all results from a list call up to a given limit
+* Lazily load results (either all results, or up to a given limit) from a list call via a generator. These generators can yield either values/models or the raw response from calling the list operation
+
+For an example on how to use these functions, please check `GitHub `_.
\ No newline at end of file
diff --git a/docs/waiters.rst b/docs/waiters.rst
index 1a3f349155..b226b6bada 100644
--- a/docs/waiters.rst
+++ b/docs/waiters.rst
@@ -34,6 +34,24 @@ Sometimes you may need to wait until an attribute of a resource, such as an inst
# - The fourth parameter is the desired value. An equality (==) comparison is done
get_instance_response = oci.wait_until(client, client.get_instance(instance_ocid), 'lifecycle_state', 'RUNNING')
+Instead of waiting for a single attribute to equal a given value, you can also provide a function reference (either a lambda or a reference to an already defined function) that
+can be used to evaluate the response received from the service call. This function should return a truthy value if the waiter should stop waiting, and a falsey value if the waiter
+should continue waiting.
+
+For example, to wait until a volume backup reaches either the "AVAILABLE" or "FAULTY" state :
+
+.. code-block:: python
+
+ oci.wait_until(client, client.get_volume_backup(vol_backup_id), evaluate_response=lambda r: r.data.lifecycle_state in ['AVAILABLE', 'FAULTY'])
+
+Instead of using a lambda, an already defined function can be used:
+
+.. code-block:: python
+
+ def should_stop_waiting_volume_backup(response):
+ return response.data.lifecycle_state in ['AVAILABLE', 'FAULTY']
+
+ oci.wait_until(client, client.get_volume_backup(vol_backup_id), evaluate_response=should_stop_waiting_volume_backup)
In addition to the base parameters shown above, the function can accept optional attributes to control the maximum amount of time it will wait for and the time between calls to the service. For more information on the optional parameters, see the documentation on the :py:func:`~oci.wait_until` function.
diff --git a/examples/multipart_object_upload.py b/examples/multipart_object_upload.py
index a0c4daf4df..cd8bbecbba 100644
--- a/examples/multipart_object_upload.py
+++ b/examples/multipart_object_upload.py
@@ -1,4 +1,5 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import os
diff --git a/examples/object_crud.py b/examples/object_crud.py
index 5f62313023..b43e8f35be 100644
--- a/examples/object_crud.py
+++ b/examples/object_crud.py
@@ -1,5 +1,7 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+import filecmp
import oci
from oci.object_storage.models import CreateBucketDetails
@@ -36,8 +38,32 @@
my_data, same_obj.data.content,
my_data == same_obj.data.content))
+print('Uploading a file to object storage')
+
+# First create a sample file
+sample_content = b'a' * 1024 * 1024 * 5
+with open('example_file', 'wb') as f:
+ f.write(sample_content)
+
+# Then upload the file to Object Storage
+example_file_object_name = 'example_file_obj'
+with open('example_file', 'rb') as f:
+ obj = object_storage.put_object(namespace, bucket_name, example_file_object_name, f)
+
+# Retrieve the file, streaming it into another file in 1 MiB chunks
+print('Retrieving file from object storage')
+get_obj = object_storage.get_object(namespace, bucket_name, example_file_object_name)
+with open('example_file_retrieved', 'wb') as f:
+ for chunk in get_obj.data.raw.stream(1024 * 1024, decode_content=False):
+ f.write(chunk)
+
+print('Uploaded and downloaded files are the same: {}'.format(filecmp.cmp('example_file', 'example_file_retrieved')))
+
print("Deleting object {}".format(object_name))
object_storage.delete_object(namespace, bucket_name, object_name)
+print("Deleting object {}".format(example_file_object_name))
+object_storage.delete_object(namespace, bucket_name, example_file_object_name)
+
print("Deleting bucket {}".format(bucket_name))
object_storage.delete_bucket(namespace, bucket_name)
diff --git a/examples/pagination.py b/examples/pagination.py
index 2041ecac38..f434a465c8 100644
--- a/examples/pagination.py
+++ b/examples/pagination.py
@@ -1,4 +1,12 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# This script demonstrates different methods of pagination in the SDK via the oci.pagination module. This module supports:
+#
+# - Eagerly loading all possible results from a list call
+# - Eagerly loading all results from a list call up to a given limit
+# - Generators that can be used to lazily iterate over results from a list call. These generators can yield either values/models
+# or the raw responses of the call
import oci
@@ -7,30 +15,66 @@
compartment_id = config["tenancy"]
identity = oci.identity.IdentityClient(config)
+# This demonstrates the eager loading of all possible results. This will return an oci.response.Response whose data attribute contains
+# a list of all results. The other attributes of the Response object come from the last response received from the service.
+print('--------------------------------------------')
+print('Eager load all results')
+print('--------------------------------------------')
+response = oci.pagination.list_call_get_all_results(identity.list_users, compartment_id)
+for user in response.data:
+ print('User: {}'.format(user.name))
-# operation-independent pagination function
-def paginate(operation, *args, **kwargs):
- """Yields values from a list call, automatically following pagination tokens.
+# This demonstrates the eager loading of all results up to a given limit. Note that we have to specify a record limit (20) and
+# a page size (5)
+#
+# This will return an oci.response.Response whose data attribute contains a list of all results. The other attributes of the
+# Response object come from the last response received from the service.
+print('--------------------------------------------')
+print('Eager load up to limit')
+print('--------------------------------------------')
+response = oci.pagination.list_call_get_up_to_limit(identity.list_users, 20, 5, compartment_id)
+total_results = 0
+for user in response.data:
+ total_results += 1
+ print('User: {}'.format(user.name))
+print('Total results: {}'.format(total_results))
- Metadata such as request_id, headers, and http status are not returned.
- :param operation: a client list function such as identity.list_policies
- """
- while True:
- response = operation(*args, **kwargs)
- for value in response.data:
- yield value
- kwargs["page"] = response.next_page
- if not response.has_next_page:
- break
+# This demonstrates lazily loading, via a generator, all results. Here we use a generator which yields values/models via specifying
+# the yield_mode as 'record'
+print('--------------------------------------------')
+print('Lazy load all results - yield values')
+print('--------------------------------------------')
+for user in oci.pagination.list_call_get_all_results_generator(identity.list_users, 'record', config["tenancy"]):
+ print('User: {}'.format(user.name))
+# The below demonstrates lazily loading, via a generator, results up to a certain limit
-for user in paginate(
- identity.list_users,
- compartment_id=compartment_id):
- print("User: " + str(user))
+print('--------------------------------------------')
+print('Lazy load all results - yield raw responses')
+print('--------------------------------------------')
+response_num = 0
+for response in oci.pagination.list_call_get_all_results_generator(identity.list_users, 'response', config["tenancy"]):
+ response_num += 1
+ for user in response.data:
+ print('Response: {}, User: {}'.format(response_num, user.name))
+print('--------------------------------------------')
+print('Lazy load up to limit - yield values')
+print('--------------------------------------------')
+total_results = 0
+for user in oci.pagination.list_call_get_up_to_limit_generator(identity.list_users, 20, 10, 'record', config["tenancy"]):
+ total_results += 1
+ print('User: {}'.format(user.name))
+print('Total results: {}'.format(total_results))
-for group in paginate(
- identity.list_groups,
- compartment_id=compartment_id):
- print("Group: " + str(group))
+print('--------------------------------------------')
+print('Lazy load up to limit - yield raw responses')
+print('--------------------------------------------')
+response_num = 0
+total_results = 0
+for response in oci.pagination.list_call_get_up_to_limit_generator(identity.list_users, 20, 10, 'response', config["tenancy"]):
+ response_num += 1
+ for user in response.data:
+ total_results += 1
+ print('Response: {}, User: {}'.format(response_num, user.name))
+print('Total results: {}'.format(total_results))
diff --git a/examples/parallel_upload_to_object_storage.py b/examples/parallel_upload_to_object_storage.py
index 426b8ac33f..4a3b0b4a36 100644
--- a/examples/parallel_upload_to_object_storage.py
+++ b/examples/parallel_upload_to_object_storage.py
@@ -1,5 +1,6 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
-#
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
# Uploads all files from a local directory to an object storage bucket
# using multiple processes so that the uploads are done in parallel.
#
diff --git a/examples/raw_request.py b/examples/raw_request.py
index f2be717547..e1c21195cf 100644
--- a/examples/raw_request.py
+++ b/examples/raw_request.py
@@ -1,4 +1,5 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import requests
from oci.config import from_file
diff --git a/examples/tagging.py b/examples/tagging.py
new file mode 100644
index 0000000000..b5d4496498
--- /dev/null
+++ b/examples/tagging.py
@@ -0,0 +1,161 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# This script provides an example on how to use tagging in the Python SDK to manage tags and tag namespaces, as
+# well as how to apply freeform and defined tags to a resource.
+
+import oci
+import random
+import time
+
+# Default config file and profile
+config = oci.config.from_file()
+compartment_id = ''
+
+identity = oci.identity.IdentityClient(config)
+
+# Create a namespace
+example_namespace_name = 'examplens_{}'.format(random.randint(0, 1000000))
+create_tag_namespace_response = identity.create_tag_namespace(
+ oci.identity.models.CreateTagNamespaceDetails(
+ compartment_id=compartment_id,
+ name=example_namespace_name,
+ description='Python SDK example tag namespace'
+ )
+)
+tag_namespace_id = create_tag_namespace_response.data.id
+print('Created tag namespace: {}'.format(create_tag_namespace_response.data))
+
+# Create a tag
+tag_one_name = 'tagone_{}'.format(random.randint(0, 1000000))
+create_tag_one_response = identity.create_tag(
+ tag_namespace_id,
+ oci.identity.models.CreateTagDetails(
+ name=tag_one_name,
+ description='Python SDK example tag one'
+ )
+)
+print('Created tag: {}'.format(create_tag_one_response.data))
+
+# Create another tag
+tag_two_name = 'tagtwo_{}'.format(random.randint(0, 1000000))
+create_tag_two_response = identity.create_tag(
+ tag_namespace_id,
+ oci.identity.models.CreateTagDetails(
+ name=tag_two_name,
+ description='Python SDK example tag two'
+ )
+)
+print('Created tag: {}'.format(create_tag_one_response.data))
+
+# We can retire a tag by using the update tag operation
+update_tag_one_response = identity.update_tag(
+ tag_namespace_id,
+ tag_one_name,
+ oci.identity.models.UpdateTagDetails(is_retired=True)
+)
+print('Updated tag (retired): {}'.format(update_tag_one_response.data))
+
+# We can retrieve individual tags and namespaces
+tag_namespace = identity.get_tag_namespace(tag_namespace_id).data
+tag_one = identity.get_tag(tag_namespace_id, tag_one_name).data
+tag_two = identity.get_tag(tag_namespace_id, tag_two_name).data
+
+# We can list tags and namespaces. These operations are paginated and take a "page" parameter to allow you
+# to get the next batch of items from the server
+tag_namespaces = identity.list_tag_namespaces(compartment_id).data
+tags_in_namespace = identity.list_tags(tag_namespace.id).data
+
+# We can also reactivate a tag using the update tag operation
+update_tag_one_response = identity.update_tag(
+ tag_namespace_id,
+ tag_one_name,
+ oci.identity.models.UpdateTagDetails(is_retired=False)
+)
+print('Updated tag (reactivated): {}'.format(update_tag_one_response.data))
+
+virtual_network = oci.core.VirtualNetworkClient(config)
+
+# We can assign freeform and defined tags at creation time. Freeform tags are a dictionary of string-to-string,
+# where the key is the tag name and the value is the tag value.
+#
+# Defined tags are a dictionary where the key is the tag namespace (string) and the value is another dictionary. In
+# this second dictionary, the key is the tag name (string) and the value is the tag value. The tag names have to
+# correspond to the name of a tag within the specified namespace (and the namespace must exist).
+#
+# Resources where we can create/update tags will have the freeform_tags and defined_tags attributes. Consult the API
+# documentation to see what these are (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/index.html)
+num_tries = 0
+while True:
+ # You may get a 404 if you create/reactivate a tag and try and use it straight away. If you have a delay/sleep between
+ # creating the tag and then using it (or alternatively retry the 404) that may resolve the issue.
+ try:
+ create_vcn_response = virtual_network.create_vcn(
+ oci.core.models.CreateVcnDetails(
+ cidr_block='10.0.0.0/16',
+ compartment_id=compartment_id,
+ display_name='Python SDK tagging example VCN',
+ dns_label='vcn{}'.format(random.randint(0, 1000000)),
+ freeform_tags={'free': 'form', 'another': 'item'},
+ defined_tags={tag_namespace.name: {tag_one_name: 'hello', tag_two_name: 'world'}}
+ )
+ )
+ vcn_id = create_vcn_response.data.id
+ vcn_after_wait_response = oci.wait_until(virtual_network, virtual_network.get_vcn(vcn_id), 'lifecycle_state', 'AVAILABLE', max_wait_seconds=300)
+ print('Created VCN with tags: {}'.format(vcn_after_wait_response.data))
+ break
+ except oci.exceptions.ServiceError as e:
+ if e.status == 404:
+ print('Retrying on 404: {}'.format(e))
+ num_tries += 1
+ if num_tries >= 3: # If we can't get it in 3 tries, something else may be going on
+ raise
+ else:
+ time.sleep(2)
+ else:
+ raise
+
+# We can also update tags on a resource. Note that this is a total replacement for any previously set freeform or defined tags.
+#
+# Resources where we can create/update tags will have the freeform_tags and defined_tags attributes. Consult the API
+# documentation to see what these are (https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/index.html)
+update_vcn_response = virtual_network.update_vcn(
+ vcn_id,
+ oci.core.models.UpdateVcnDetails(
+ freeform_tags={'total': 'replace'},
+ defined_tags={tag_namespace.name: {tag_two_name: 'also replaced'}}
+ )
+)
+print('Updated tags on VCN: {}'.format(update_vcn_response.data))
+
+# We can also totally remove tags on a resource by passing in an empty dictionary for those tagging parameters
+update_vcn_response = virtual_network.update_vcn(
+ vcn_id,
+ oci.core.models.UpdateVcnDetails(
+ freeform_tags={},
+ defined_tags={}
+ )
+)
+print('Removed tags from VCN: {}'.format(update_vcn_response.data))
+
+# Previously we saw retiring a tag. We can also retire a tag namespace - this will also retire any tags in that namespace
+update_tag_namespace_response = identity.update_tag_namespace(
+ tag_namespace.id,
+ oci.identity.models.UpdateTagNamespaceDetails(is_retired=True)
+)
+print('Updated tag namespace (retired): {}'.format(update_tag_namespace_response.data))
+print('Tags in namespace: {}'.format(identity.list_tags(tag_namespace.id).data))
+
+# We can also reactivate a namespace. Note that this doesn't reactivate the tags in that namespace - those tags will need
+# to be reactivated individually
+update_tag_namespace_response = identity.update_tag_namespace(
+ tag_namespace.id,
+ oci.identity.models.UpdateTagNamespaceDetails(is_retired=False)
+)
+print('Updated tag namespace (reactivated): {}'.format(update_tag_namespace_response.data))
+print('Tags in namespace: {}'.format(identity.list_tags(tag_namespace.id).data))
+
+identity.update_tag_namespace(
+ tag_namespace.id,
+ oci.identity.models.UpdateTagNamespaceDetails(is_retired=True)
+)
diff --git a/examples/user_crud.py b/examples/user_crud.py
index 6073403845..9c0b927909 100644
--- a/examples/user_crud.py
+++ b/examples/user_crud.py
@@ -1,4 +1,5 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import oci
from oci.identity.models import AddUserToGroupDetails, CreateGroupDetails, CreateUserDetails
diff --git a/examples/wait_for_resource_in_state.py b/examples/wait_for_resource_in_state.py
index 2c50e3e192..a3bddf25dc 100644
--- a/examples/wait_for_resource_in_state.py
+++ b/examples/wait_for_resource_in_state.py
@@ -1,5 +1,6 @@
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
-#
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
# This script provides an example on how to use waiters in the Python SDK to block/wait until a resource (e.g. an instance, a VCN)
# reaches a certain state.
@@ -36,6 +37,12 @@
get_subnet_response = oci.wait_until(virtual_network_client, virtual_network_client.get_subnet(subnet_ocid), 'lifecycle_state', 'AVAILABLE')
print(get_subnet_response.data)
+# Here we use a variation of the wait_until function where instead of specifying the property and state we can pass in a function reference (either
+# a reference to a defined function or a lambda) that returns a truthy value if the waiter should stop waiting and a falsey value if the waiter
+# should continue waiting. This function will receive a single argument, which is the response received from calling the GET service operation.
+#
+# Using a function reference may be useful if you need logic other than a straight equality check on an attribute (e.g. checking that an attribute is
+# in one of a possible number of states)
print('Creating Subnet 2')
result = virtual_network_client.create_subnet(
oci.core.models.CreateSubnetDetails(
@@ -47,7 +54,7 @@
)
)
subnet_two_ocid = result.data.id
-get_subnet_response = oci.wait_until(virtual_network_client, virtual_network_client.get_subnet(subnet_two_ocid), 'lifecycle_state', 'AVAILABLE')
+get_subnet_response = oci.wait_until(virtual_network_client, virtual_network_client.get_subnet(subnet_two_ocid), evaluate_response=lambda r: r.data.lifecycle_state == 'AVAILABLE')
print(get_subnet_response.data)
# Now we create a load balancer and wait until it has been created. Load balancers work slightly differently in that the create_load_balancer call
diff --git a/requirements.txt b/requirements.txt
old mode 100644
new mode 100755
index 2e0bf643f5..34d4a5d4a7
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,17 +1,18 @@
certifi
configparser==3.5.0
-coverage==4.2
-cryptography==1.9
-flake8==3.0.4
+coverage==4.4.1
+cryptography==2.1.3
+flake8==3.5.0
httpsig_cffi==15.0.0
mock==2.0.0
-pytest==3.0.3
+pyOpenSSL==17.4.0
+pytest==3.2.3
pytest-catchlog==1.2.2
python-dateutil==2.5.3
pytz==2016.10
-requests==2.11.1
+requests==2.18.4
sphinx-rtd-theme==0.1.9
-six==1.10.0
+six==1.11.0
sphinx==1.6.4
-tox==2.3.1
+tox==2.9.1
wheel==0.29.0
\ No newline at end of file
diff --git a/scripts/wercker_validate.py b/scripts/wercker_validate.py
new file mode 100644
index 0000000000..f91c045733
--- /dev/null
+++ b/scripts/wercker_validate.py
@@ -0,0 +1,43 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# A very basic script that can be run at the end of a wercker build to ensure that the SDK can be imported
+# and used to make a call. This uses dummy values so the intended behaviour is that the call will fail
+# with a ServiceError (i.e. we did actually hit the service and it came back with an error response).
+
+from cryptography.hazmat.backends import default_backend
+from cryptography.hazmat.primitives import serialization
+from cryptography.hazmat.primitives.asymmetric import rsa
+from oci.exceptions import ServiceError
+
+import oci
+
+
+key = rsa.generate_private_key(
+ public_exponent=65537,
+ key_size=2048,
+ backend=default_backend()
+)
+
+key_content = key.private_bytes(
+ encoding=serialization.Encoding.PEM,
+ format=serialization.PrivateFormat.TraditionalOpenSSL,
+ encryption_algorithm=serialization.NoEncryption()
+)
+
+# These are dummy values and don't exist
+config = {
+ 'log_requests': True,
+ 'region': 'us-ashburn-1',
+ 'tenancy': 'ocidv1:tenancy:oc1:phx:1111111111111:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
+ 'user': 'ocid1.user.oc1..aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
+ 'key_content': key_content,
+ 'fingerprint': '00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00'
+}
+
+identity_client = oci.identity.IdentityClient(config)
+try:
+ identity_client.list_regions()
+except ServiceError:
+ # We expect a service error here because we sent dummy auth information
+ pass
diff --git a/setup.py b/setup.py
index 908b947a1a..978d0dfd6e 100644
--- a/setup.py
+++ b/setup.py
@@ -31,12 +31,13 @@ def open_relative(*path):
requires = [
"certifi",
"configparser==3.5.0",
- "cryptography==1.9",
+ "cryptography==2.1.3",
"httpsig_cffi==15.0.0",
+ "pyOpenSSL<=17.4.0",
"python-dateutil==2.5.3",
"pytz==2016.10",
- "requests==2.11.1",
- "six==1.10.0",
+ "requests==2.18.4",
+ "six==1.11.0",
]
setup(
diff --git a/src/oci/__init__.py b/src/oci/__init__.py
index b0d4ad65b6..23423aaf41 100644
--- a/src/oci/__init__.py
+++ b/src/oci/__init__.py
@@ -1,7 +1,8 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
-from . import audit, config, constants, core, decorators, database, exceptions, identity, load_balancer, object_storage, regions
+from . import audit, core, database, identity, load_balancer, object_storage
+from . import config, constants, decorators, exceptions, regions, pagination
from .base_client import BaseClient
from .request import Request
from .response import Response
@@ -11,8 +12,6 @@
__all__ = [
- "BaseClient", "Error", "Request", "Response", "Signer",
- "audit", "config", "constants", "core", "decorators", "database", "exceptions",
- "identity", "load_balancer", "object_storage", "regions",
- "wait_until"
+ "BaseClient", "Error", "Request", "Response", "Signer", "config", "constants", "decorators", "exceptions", "regions", "wait_until", "pagination",
+ "audit", "core", "database", "identity", "load_balancer", "object_storage"
]
diff --git a/src/oci/audit/__init__.py b/src/oci/audit/__init__.py
index 102e6f0058..5d108e9ef6 100644
--- a/src/oci/audit/__init__.py
+++ b/src/oci/audit/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/audit/audit_client.py b/src/oci/audit/audit_client.py
index 6f7d237f96..e1d4ce52f4 100644
--- a/src/oci/audit/audit_client.py
+++ b/src/oci/audit/audit_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/audit/models/__init__.py b/src/oci/audit/models/__init__.py
index 6d8964ea88..9aafd1ce88 100644
--- a/src/oci/audit/models/__init__.py
+++ b/src/oci/audit/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/audit/models/audit_event.py b/src/oci/audit/models/audit_event.py
index e75e956f34..d14f4a2c3f 100644
--- a/src/oci/audit/models/audit_event.py
+++ b/src/oci/audit/models/audit_event.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/audit/models/configuration.py b/src/oci/audit/models/configuration.py
index ad083e752a..21374107a3 100644
--- a/src/oci/audit/models/configuration.py
+++ b/src/oci/audit/models/configuration.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/audit/models/update_configuration_details.py b/src/oci/audit/models/update_configuration_details.py
index 29fffcdb7f..158b050bb2 100644
--- a/src/oci/audit/models/update_configuration_details.py
+++ b/src/oci/audit/models/update_configuration_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/base_client.py b/src/oci/base_client.py
index ff8cdd25ff..3da762992d 100644
--- a/src/oci/base_client.py
+++ b/src/oci/base_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
import json
diff --git a/src/oci/config.py b/src/oci/config.py
index 88e1b1c742..d22e36a5f7 100644
--- a/src/oci/config.py
+++ b/src/oci/config.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
"""
Helpers for loading and validating service configuration.
diff --git a/src/oci/constants.py b/src/oci/constants.py
index c58a253d45..527128e633 100644
--- a/src/oci/constants.py
+++ b/src/oci/constants.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
HEADER_NEXT_PAGE = 'opc-next-page'
HEADER_REQUEST_ID = 'opc-request-id'
diff --git a/src/oci/core/__init__.py b/src/oci/core/__init__.py
index 388c063e32..b087d0b8a6 100644
--- a/src/oci/core/__init__.py
+++ b/src/oci/core/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/core/blockstorage_client.py b/src/oci/core/blockstorage_client.py
index 04d7a3449a..e53256b9fc 100644
--- a/src/oci/core/blockstorage_client.py
+++ b/src/oci/core/blockstorage_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/core/compute_client.py b/src/oci/core/compute_client.py
index 38fac01c3d..b76a90efa6 100644
--- a/src/oci/core/compute_client.py
+++ b/src/oci/core/compute_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
@@ -1261,6 +1261,8 @@ def launch_instance(self, launch_instance_details, **kwargs):
also retrieve a resource's OCID by using a List API operation
on that resource type, or by viewing the resource in the Console.
+ To launch an instance using an image or a boot volume use the `sourceDetails` parameter in :class:`LaunchInstanceDetails`.
+
When you launch an instance, it is automatically attached to a virtual
network interface card (VNIC), called the *primary VNIC*. The VNIC
has a private IP address from the subnet's CIDR. You can either assign a
diff --git a/src/oci/core/models/__init__.py b/src/oci/core/models/__init__.py
index 89471c3553..2f51de9f2b 100644
--- a/src/oci/core/models/__init__.py
+++ b/src/oci/core/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
@@ -72,6 +72,7 @@
from .instance_source_via_image_details import InstanceSourceViaImageDetails
from .internet_gateway import InternetGateway
from .launch_instance_details import LaunchInstanceDetails
+from .launch_options import LaunchOptions
from .letter_of_authority import LetterOfAuthority
from .local_peering_gateway import LocalPeeringGateway
from .port_range import PortRange
@@ -191,6 +192,7 @@
"InstanceSourceViaImageDetails": InstanceSourceViaImageDetails,
"InternetGateway": InternetGateway,
"LaunchInstanceDetails": LaunchInstanceDetails,
+ "LaunchOptions": LaunchOptions,
"LetterOfAuthority": LetterOfAuthority,
"LocalPeeringGateway": LocalPeeringGateway,
"PortRange": PortRange,
diff --git a/src/oci/core/models/attach_boot_volume_details.py b/src/oci/core/models/attach_boot_volume_details.py
index 4d9402efae..c7c1866080 100644
--- a/src/oci/core/models/attach_boot_volume_details.py
+++ b/src/oci/core/models/attach_boot_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def boot_volume_id(self):
"""
- Gets the boot_volume_id of this AttachBootVolumeDetails.
+ **[Required]** Gets the boot_volume_id of this AttachBootVolumeDetails.
The OCID of the boot volume.
@@ -94,7 +94,7 @@ def display_name(self, display_name):
@property
def instance_id(self):
"""
- Gets the instance_id of this AttachBootVolumeDetails.
+ **[Required]** Gets the instance_id of this AttachBootVolumeDetails.
The OCID of the instance.
diff --git a/src/oci/core/models/attach_i_scsi_volume_details.py b/src/oci/core/models/attach_i_scsi_volume_details.py
index 1195e9c828..c6ed735183 100644
--- a/src/oci/core/models/attach_i_scsi_volume_details.py
+++ b/src/oci/core/models/attach_i_scsi_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .attach_volume_details import AttachVolumeDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/attach_vnic_details.py b/src/oci/core/models/attach_vnic_details.py
index 0b59a932d4..638a8a7e39 100644
--- a/src/oci/core/models/attach_vnic_details.py
+++ b/src/oci/core/models/attach_vnic_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def create_vnic_details(self):
"""
- Gets the create_vnic_details of this AttachVnicDetails.
+ **[Required]** Gets the create_vnic_details of this AttachVnicDetails.
Details for creating a new VNIC.
@@ -101,7 +101,7 @@ def display_name(self, display_name):
@property
def instance_id(self):
"""
- Gets the instance_id of this AttachVnicDetails.
+ **[Required]** Gets the instance_id of this AttachVnicDetails.
The OCID of the instance.
diff --git a/src/oci/core/models/attach_volume_details.py b/src/oci/core/models/attach_volume_details.py
index 04dc790704..2054e5d10a 100644
--- a/src/oci/core/models/attach_volume_details.py
+++ b/src/oci/core/models/attach_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -94,7 +94,7 @@ def display_name(self, display_name):
@property
def instance_id(self):
"""
- Gets the instance_id of this AttachVolumeDetails.
+ **[Required]** Gets the instance_id of this AttachVolumeDetails.
The OCID of the instance.
@@ -118,7 +118,7 @@ def instance_id(self, instance_id):
@property
def type(self):
"""
- Gets the type of this AttachVolumeDetails.
+ **[Required]** Gets the type of this AttachVolumeDetails.
The type of volume. The only supported value is \"iscsi\".
@@ -142,7 +142,7 @@ def type(self, type):
@property
def volume_id(self):
"""
- Gets the volume_id of this AttachVolumeDetails.
+ **[Required]** Gets the volume_id of this AttachVolumeDetails.
The OCID of the volume.
diff --git a/src/oci/core/models/boot_volume.py b/src/oci/core/models/boot_volume.py
index 6f0c27c090..27a91eae9f 100644
--- a/src/oci/core/models/boot_volume.py
+++ b/src/oci/core/models/boot_volume.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -90,7 +90,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this BootVolume.
+ **[Required]** Gets the availability_domain of this BootVolume.
The Availability Domain of the boot volume.
Example: `Uocm:PHX-AD-1`
@@ -118,7 +118,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this BootVolume.
+ **[Required]** Gets the compartment_id of this BootVolume.
The OCID of the compartment that contains the boot volume.
@@ -168,7 +168,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this BootVolume.
+ **[Required]** Gets the id of this BootVolume.
The boot volume's Oracle ID (OCID).
@@ -216,7 +216,7 @@ def image_id(self, image_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this BootVolume.
+ **[Required]** Gets the lifecycle_state of this BootVolume.
The current state of a boot volume.
Allowed values for this property are: "PROVISIONING", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", 'UNKNOWN_ENUM_VALUE'.
@@ -270,7 +270,7 @@ def size_in_gbs(self, size_in_gbs):
@property
def size_in_mbs(self):
"""
- Gets the size_in_mbs of this BootVolume.
+ **[Required]** Gets the size_in_mbs of this BootVolume.
The size of the volume in MBs. The value must be a multiple of 1024.
This field is deprecated. Please use sizeInGBs.
@@ -296,7 +296,7 @@ def size_in_mbs(self, size_in_mbs):
@property
def time_created(self):
"""
- Gets the time_created of this BootVolume.
+ **[Required]** Gets the time_created of this BootVolume.
The date and time the boot volume was created. Format defined by RFC3339.
diff --git a/src/oci/core/models/boot_volume_attachment.py b/src/oci/core/models/boot_volume_attachment.py
index 488d2452e4..494ea5a80d 100644
--- a/src/oci/core/models/boot_volume_attachment.py
+++ b/src/oci/core/models/boot_volume_attachment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this BootVolumeAttachment.
+ **[Required]** Gets the availability_domain of this BootVolumeAttachment.
The Availability Domain of an instance.
Example: `Uocm:PHX-AD-1`
@@ -111,7 +111,7 @@ def availability_domain(self, availability_domain):
@property
def boot_volume_id(self):
"""
- Gets the boot_volume_id of this BootVolumeAttachment.
+ **[Required]** Gets the boot_volume_id of this BootVolumeAttachment.
The OCID of the boot volume.
@@ -135,7 +135,7 @@ def boot_volume_id(self, boot_volume_id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this BootVolumeAttachment.
+ **[Required]** Gets the compartment_id of this BootVolumeAttachment.
The OCID of the compartment.
@@ -189,7 +189,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this BootVolumeAttachment.
+ **[Required]** Gets the id of this BootVolumeAttachment.
The OCID of the boot volume attachment.
@@ -213,7 +213,7 @@ def id(self, id):
@property
def instance_id(self):
"""
- Gets the instance_id of this BootVolumeAttachment.
+ **[Required]** Gets the instance_id of this BootVolumeAttachment.
The OCID of the instance the boot volume is attached to.
@@ -237,7 +237,7 @@ def instance_id(self, instance_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this BootVolumeAttachment.
+ **[Required]** Gets the lifecycle_state of this BootVolumeAttachment.
The current state of the boot volume attachment.
Allowed values for this property are: "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
@@ -267,7 +267,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_created(self):
"""
- Gets the time_created of this BootVolumeAttachment.
+ **[Required]** Gets the time_created of this BootVolumeAttachment.
The date and time the boot volume was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py b/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py
index 9c202785ea..c7eaa785d8 100644
--- a/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py
+++ b/src/oci/core/models/bulk_add_virtual_circuit_public_prefixes_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def public_prefixes(self):
"""
- Gets the public_prefixes of this BulkAddVirtualCircuitPublicPrefixesDetails.
+ **[Required]** Gets the public_prefixes of this BulkAddVirtualCircuitPublicPrefixesDetails.
The public IP prefixes (CIDRs) to add to the public virtual circuit.
diff --git a/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py b/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py
index e146d7ebeb..972433dd98 100644
--- a/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py
+++ b/src/oci/core/models/bulk_delete_virtual_circuit_public_prefixes_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def public_prefixes(self):
"""
- Gets the public_prefixes of this BulkDeleteVirtualCircuitPublicPrefixesDetails.
+ **[Required]** Gets the public_prefixes of this BulkDeleteVirtualCircuitPublicPrefixesDetails.
The public IP prefixes (CIDRs) to remove from the public virtual circuit.
diff --git a/src/oci/core/models/capture_console_history_details.py b/src/oci/core/models/capture_console_history_details.py
index 99e2a81fe1..279414b466 100644
--- a/src/oci/core/models/capture_console_history_details.py
+++ b/src/oci/core/models/capture_console_history_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,28 +14,76 @@ def __init__(self, **kwargs):
Initializes a new CaptureConsoleHistoryDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CaptureConsoleHistoryDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CaptureConsoleHistoryDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CaptureConsoleHistoryDetails.
+ :type freeform_tags: dict(str, str)
+
:param instance_id:
The value to assign to the instance_id property of this CaptureConsoleHistoryDetails.
:type instance_id: str
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'instance_id': 'str'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'instance_id': 'instanceId'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._instance_id = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CaptureConsoleHistoryDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CaptureConsoleHistoryDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CaptureConsoleHistoryDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CaptureConsoleHistoryDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -60,10 +108,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CaptureConsoleHistoryDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CaptureConsoleHistoryDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CaptureConsoleHistoryDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CaptureConsoleHistoryDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def instance_id(self):
"""
- Gets the instance_id of this CaptureConsoleHistoryDetails.
+ **[Required]** Gets the instance_id of this CaptureConsoleHistoryDetails.
The OCID of the instance to get the console history from.
diff --git a/src/oci/core/models/connect_local_peering_gateways_details.py b/src/oci/core/models/connect_local_peering_gateways_details.py
index 22b3f8408d..9c5ea1e148 100644
--- a/src/oci/core/models/connect_local_peering_gateways_details.py
+++ b/src/oci/core/models/connect_local_peering_gateways_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def peer_id(self):
"""
- Gets the peer_id of this ConnectLocalPeeringGatewaysDetails.
+ **[Required]** Gets the peer_id of this ConnectLocalPeeringGatewaysDetails.
The OCID of the LPG you want to peer with.
diff --git a/src/oci/core/models/console_history.py b/src/oci/core/models/console_history.py
index 226924d03f..aa4ad606e2 100644
--- a/src/oci/core/models/console_history.py
+++ b/src/oci/core/models/console_history.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,10 +22,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this ConsoleHistory.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this ConsoleHistory.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this ConsoleHistory.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this ConsoleHistory.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this ConsoleHistory.
:type id: str
@@ -48,7 +56,9 @@ def __init__(self, **kwargs):
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'instance_id': 'str',
'lifecycle_state': 'str',
@@ -58,7 +68,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'instance_id': 'instanceId',
'lifecycle_state': 'lifecycleState',
@@ -67,7 +79,9 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
self._instance_id = None
self._lifecycle_state = None
@@ -76,7 +90,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this ConsoleHistory.
+ **[Required]** Gets the availability_domain of this ConsoleHistory.
The Availability Domain of an instance.
Example: `Uocm:PHX-AD-1`
@@ -104,7 +118,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this ConsoleHistory.
+ **[Required]** Gets the compartment_id of this ConsoleHistory.
The OCID of the compartment.
@@ -125,6 +139,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this ConsoleHistory.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this ConsoleHistory.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this ConsoleHistory.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this ConsoleHistory.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -155,10 +203,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this ConsoleHistory.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this ConsoleHistory.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this ConsoleHistory.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this ConsoleHistory.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this ConsoleHistory.
+ **[Required]** Gets the id of this ConsoleHistory.
The OCID of the console history metadata object.
@@ -182,7 +266,7 @@ def id(self, id):
@property
def instance_id(self):
"""
- Gets the instance_id of this ConsoleHistory.
+ **[Required]** Gets the instance_id of this ConsoleHistory.
The OCID of the instance this console history was fetched from.
@@ -206,7 +290,7 @@ def instance_id(self, instance_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this ConsoleHistory.
+ **[Required]** Gets the lifecycle_state of this ConsoleHistory.
The current state of the console history.
Allowed values for this property are: "REQUESTED", "GETTING-HISTORY", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -236,9 +320,8 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_created(self):
"""
- Gets the time_created of this ConsoleHistory.
+ **[Required]** Gets the time_created of this ConsoleHistory.
The date and time the history was created, in the format defined by RFC3339.
-
Example: `2016-08-25T21:10:29.600Z`
@@ -252,7 +335,6 @@ def time_created(self, time_created):
"""
Sets the time_created of this ConsoleHistory.
The date and time the history was created, in the format defined by RFC3339.
-
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/cpe.py b/src/oci/core/models/cpe.py
index 5149f040c8..ff00415ca5 100644
--- a/src/oci/core/models/cpe.py
+++ b/src/oci/core/models/cpe.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Cpe.
+ **[Required]** Gets the compartment_id of this Cpe.
The OCID of the compartment containing the CPE.
@@ -110,7 +110,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this Cpe.
+ **[Required]** Gets the id of this Cpe.
The CPE's Oracle ID (OCID).
@@ -134,7 +134,7 @@ def id(self, id):
@property
def ip_address(self):
"""
- Gets the ip_address of this Cpe.
+ **[Required]** Gets the ip_address of this Cpe.
The public IP address of the on-premises router.
diff --git a/src/oci/core/models/create_cpe_details.py b/src/oci/core/models/create_cpe_details.py
index b40fa90424..0ad34e5bfa 100644
--- a/src/oci/core/models/create_cpe_details.py
+++ b/src/oci/core/models/create_cpe_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateCpeDetails.
+ **[Required]** Gets the compartment_id of this CreateCpeDetails.
The OCID of the compartment to contain the CPE.
@@ -94,7 +94,7 @@ def display_name(self, display_name):
@property
def ip_address(self):
"""
- Gets the ip_address of this CreateCpeDetails.
+ **[Required]** Gets the ip_address of this CreateCpeDetails.
The public IP address of the on-premises router.
Example: `143.19.23.16`
diff --git a/src/oci/core/models/create_cross_connect_details.py b/src/oci/core/models/create_cross_connect_details.py
index af45bf348d..a75929224c 100644
--- a/src/oci/core/models/create_cross_connect_details.py
+++ b/src/oci/core/models/create_cross_connect_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -74,7 +74,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateCrossConnectDetails.
+ **[Required]** Gets the compartment_id of this CreateCrossConnectDetails.
The OCID of the compartment to contain the cross-connect.
@@ -178,7 +178,7 @@ def far_cross_connect_or_cross_connect_group_id(self, far_cross_connect_or_cross
@property
def location_name(self):
"""
- Gets the location_name of this CreateCrossConnectDetails.
+ **[Required]** Gets the location_name of this CreateCrossConnectDetails.
The name of the FastConnect location where this cross-connect will be installed.
To get a list of the available locations, see
:func:`list_cross_connect_locations`.
@@ -238,7 +238,7 @@ def near_cross_connect_or_cross_connect_group_id(self, near_cross_connect_or_cro
@property
def port_speed_shape_name(self):
"""
- Gets the port_speed_shape_name of this CreateCrossConnectDetails.
+ **[Required]** Gets the port_speed_shape_name of this CreateCrossConnectDetails.
The port speed for this cross-connect. To get a list of the available port speeds, see
:func:`list_crossconnect_port_speed_shapes`.
diff --git a/src/oci/core/models/create_cross_connect_group_details.py b/src/oci/core/models/create_cross_connect_group_details.py
index 9e3ad5e0e6..3181e59b5f 100644
--- a/src/oci/core/models/create_cross_connect_group_details.py
+++ b/src/oci/core/models/create_cross_connect_group_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateCrossConnectGroupDetails.
+ **[Required]** Gets the compartment_id of this CreateCrossConnectGroupDetails.
The OCID of the compartment to contain the cross-connect group.
diff --git a/src/oci/core/models/create_dhcp_details.py b/src/oci/core/models/create_dhcp_details.py
index 112cebb386..06c6718ace 100644
--- a/src/oci/core/models/create_dhcp_details.py
+++ b/src/oci/core/models/create_dhcp_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateDhcpDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateDhcpDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateDhcpDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateDhcpDetails.
+ :type freeform_tags: dict(str, str)
+
:param options:
The value to assign to the options property of this CreateDhcpDetails.
:type options: list[DhcpOption]
@@ -33,27 +41,33 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'options': 'list[DhcpOption]',
'vcn_id': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'options': 'options',
'vcn_id': 'vcnId'
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._options = None
self._vcn_id = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateDhcpDetails.
+ **[Required]** Gets the compartment_id of this CreateDhcpDetails.
The OCID of the compartment to contain the set of DHCP options.
@@ -74,6 +88,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateDhcpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateDhcpDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateDhcpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateDhcpDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -98,10 +146,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateDhcpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateDhcpDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateDhcpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateDhcpDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def options(self):
"""
- Gets the options of this CreateDhcpDetails.
+ **[Required]** Gets the options of this CreateDhcpDetails.
A set of DHCP options.
@@ -125,7 +209,7 @@ def options(self, options):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateDhcpDetails.
+ **[Required]** Gets the vcn_id of this CreateDhcpDetails.
The OCID of the VCN the set of DHCP options belongs to.
diff --git a/src/oci/core/models/create_drg_attachment_details.py b/src/oci/core/models/create_drg_attachment_details.py
index 2394e055b2..66ab989bdb 100644
--- a/src/oci/core/models/create_drg_attachment_details.py
+++ b/src/oci/core/models/create_drg_attachment_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -70,7 +70,7 @@ def display_name(self, display_name):
@property
def drg_id(self):
"""
- Gets the drg_id of this CreateDrgAttachmentDetails.
+ **[Required]** Gets the drg_id of this CreateDrgAttachmentDetails.
The OCID of the DRG.
@@ -94,7 +94,7 @@ def drg_id(self, drg_id):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateDrgAttachmentDetails.
+ **[Required]** Gets the vcn_id of this CreateDrgAttachmentDetails.
The OCID of the VCN.
diff --git a/src/oci/core/models/create_drg_details.py b/src/oci/core/models/create_drg_details.py
index 343c17f653..d2b8398765 100644
--- a/src/oci/core/models/create_drg_details.py
+++ b/src/oci/core/models/create_drg_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateDrgDetails.
+ **[Required]** Gets the compartment_id of this CreateDrgDetails.
The OCID of the compartment to contain the DRG.
diff --git a/src/oci/core/models/create_image_details.py b/src/oci/core/models/create_image_details.py
index 6602a9c5b1..8ea6b83d2e 100644
--- a/src/oci/core/models/create_image_details.py
+++ b/src/oci/core/models/create_image_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateImageDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateImageDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateImageDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateImageDetails.
+ :type freeform_tags: dict(str, str)
+
:param image_source_details:
The value to assign to the image_source_details property of this CreateImageDetails.
:type image_source_details: ImageSourceDetails
@@ -30,30 +38,44 @@ def __init__(self, **kwargs):
The value to assign to the instance_id property of this CreateImageDetails.
:type instance_id: str
+ :param launch_mode:
+ The value to assign to the launch_mode property of this CreateImageDetails.
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM"
+ :type launch_mode: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'image_source_details': 'ImageSourceDetails',
- 'instance_id': 'str'
+ 'instance_id': 'str',
+ 'launch_mode': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'image_source_details': 'imageSourceDetails',
- 'instance_id': 'instanceId'
+ 'instance_id': 'instanceId',
+ 'launch_mode': 'launchMode'
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._image_source_details = None
self._instance_id = None
+ self._launch_mode = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateImageDetails.
+ **[Required]** Gets the compartment_id of this CreateImageDetails.
The OCID of the compartment containing the instance you want to use as the basis for the image.
@@ -74,6 +96,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateImageDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateImageDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateImageDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateImageDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -108,6 +164,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateImageDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateImageDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateImageDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateImageDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def image_source_details(self):
"""
@@ -156,6 +248,44 @@ def instance_id(self, instance_id):
"""
self._instance_id = instance_id
+ @property
+ def launch_mode(self):
+ """
+ Gets the launch_mode of this CreateImageDetails.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM"
+
+
+ :return: The launch_mode of this CreateImageDetails.
+ :rtype: str
+ """
+ return self._launch_mode
+
+ @launch_mode.setter
+ def launch_mode(self, launch_mode):
+ """
+ Sets the launch_mode of this CreateImageDetails.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+
+ :param launch_mode: The launch_mode of this CreateImageDetails.
+ :type: str
+ """
+ allowed_values = ["NATIVE", "EMULATED", "CUSTOM"]
+ if not value_allowed_none_or_none_sentinel(launch_mode, allowed_values):
+ raise ValueError(
+ "Invalid value for `launch_mode`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._launch_mode = launch_mode
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_instance_console_connection_details.py b/src/oci/core/models/create_instance_console_connection_details.py
index 417abf8f91..bca71dbc71 100644
--- a/src/oci/core/models/create_instance_console_connection_details.py
+++ b/src/oci/core/models/create_instance_console_connection_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,6 +14,14 @@ def __init__(self, **kwargs):
Initializes a new CreateInstanceConsoleConnectionDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateInstanceConsoleConnectionDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateInstanceConsoleConnectionDetails.
+ :type freeform_tags: dict(str, str)
+
:param instance_id:
The value to assign to the instance_id property of this CreateInstanceConsoleConnectionDetails.
:type instance_id: str
@@ -24,22 +32,98 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'freeform_tags': 'dict(str, str)',
'instance_id': 'str',
'public_key': 'str'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
+ 'freeform_tags': 'freeformTags',
'instance_id': 'instanceId',
'public_key': 'publicKey'
}
+ self._defined_tags = None
+ self._freeform_tags = None
self._instance_id = None
self._public_key = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateInstanceConsoleConnectionDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateInstanceConsoleConnectionDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateInstanceConsoleConnectionDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateInstanceConsoleConnectionDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateInstanceConsoleConnectionDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateInstanceConsoleConnectionDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateInstanceConsoleConnectionDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateInstanceConsoleConnectionDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def instance_id(self):
"""
- Gets the instance_id of this CreateInstanceConsoleConnectionDetails.
+ **[Required]** Gets the instance_id of this CreateInstanceConsoleConnectionDetails.
The OCID of the instance to create the console connection to.
@@ -63,7 +147,7 @@ def instance_id(self, instance_id):
@property
def public_key(self):
"""
- Gets the public_key of this CreateInstanceConsoleConnectionDetails.
+ **[Required]** Gets the public_key of this CreateInstanceConsoleConnectionDetails.
The SSH public key used to authenticate the console connection.
diff --git a/src/oci/core/models/create_internet_gateway_details.py b/src/oci/core/models/create_internet_gateway_details.py
index ee3a98cf11..1dc458c2c2 100644
--- a/src/oci/core/models/create_internet_gateway_details.py
+++ b/src/oci/core/models/create_internet_gateway_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateInternetGatewayDetails.
+ **[Required]** Gets the compartment_id of this CreateInternetGatewayDetails.
The OCID of the compartment to contain the Internet Gateway.
@@ -101,7 +101,7 @@ def display_name(self, display_name):
@property
def is_enabled(self):
"""
- Gets the is_enabled of this CreateInternetGatewayDetails.
+ **[Required]** Gets the is_enabled of this CreateInternetGatewayDetails.
Whether the gateway is enabled upon creation.
@@ -125,7 +125,7 @@ def is_enabled(self, is_enabled):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateInternetGatewayDetails.
+ **[Required]** Gets the vcn_id of this CreateInternetGatewayDetails.
The OCID of the VCN the Internet Gateway is attached to.
diff --git a/src/oci/core/models/create_ip_sec_connection_details.py b/src/oci/core/models/create_ip_sec_connection_details.py
index 816d503e02..bae9c63df4 100644
--- a/src/oci/core/models/create_ip_sec_connection_details.py
+++ b/src/oci/core/models/create_ip_sec_connection_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateIPSecConnectionDetails.
+ **[Required]** Gets the compartment_id of this CreateIPSecConnectionDetails.
The OCID of the compartment to contain the IPSec connection.
@@ -84,7 +84,7 @@ def compartment_id(self, compartment_id):
@property
def cpe_id(self):
"""
- Gets the cpe_id of this CreateIPSecConnectionDetails.
+ **[Required]** Gets the cpe_id of this CreateIPSecConnectionDetails.
The OCID of the CPE.
@@ -132,7 +132,7 @@ def display_name(self, display_name):
@property
def drg_id(self):
"""
- Gets the drg_id of this CreateIPSecConnectionDetails.
+ **[Required]** Gets the drg_id of this CreateIPSecConnectionDetails.
The OCID of the DRG.
@@ -156,7 +156,7 @@ def drg_id(self, drg_id):
@property
def static_routes(self):
"""
- Gets the static_routes of this CreateIPSecConnectionDetails.
+ **[Required]** Gets the static_routes of this CreateIPSecConnectionDetails.
Static routes to the CPE. At least one route must be included. The CIDR must not be a
multicast address or class E address.
diff --git a/src/oci/core/models/create_local_peering_gateway_details.py b/src/oci/core/models/create_local_peering_gateway_details.py
index abb4698237..ebbb7b14e5 100644
--- a/src/oci/core/models/create_local_peering_gateway_details.py
+++ b/src/oci/core/models/create_local_peering_gateway_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateLocalPeeringGatewayDetails.
+ **[Required]** Gets the compartment_id of this CreateLocalPeeringGatewayDetails.
The OCID of the compartment containing the local peering gateway (LPG).
@@ -96,7 +96,7 @@ def display_name(self, display_name):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateLocalPeeringGatewayDetails.
+ **[Required]** Gets the vcn_id of this CreateLocalPeeringGatewayDetails.
The OCID of the VCN the LPG belongs to.
diff --git a/src/oci/core/models/create_private_ip_details.py b/src/oci/core/models/create_private_ip_details.py
index f141b98209..0e2782e199 100644
--- a/src/oci/core/models/create_private_ip_details.py
+++ b/src/oci/core/models/create_private_ip_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,10 +14,18 @@ def __init__(self, **kwargs):
Initializes a new CreatePrivateIpDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreatePrivateIpDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreatePrivateIpDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreatePrivateIpDetails.
+ :type freeform_tags: dict(str, str)
+
:param hostname_label:
The value to assign to the hostname_label property of this CreatePrivateIpDetails.
:type hostname_label: str
@@ -32,24 +40,64 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'hostname_label': 'str',
'ip_address': 'str',
'vnic_id': 'str'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'hostname_label': 'hostnameLabel',
'ip_address': 'ipAddress',
'vnic_id': 'vnicId'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._hostname_label = None
self._ip_address = None
self._vnic_id = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreatePrivateIpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreatePrivateIpDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreatePrivateIpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreatePrivateIpDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -76,6 +124,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreatePrivateIpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreatePrivateIpDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreatePrivateIpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreatePrivateIpDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def hostname_label(self):
"""
@@ -163,7 +247,7 @@ def ip_address(self, ip_address):
@property
def vnic_id(self):
"""
- Gets the vnic_id of this CreatePrivateIpDetails.
+ **[Required]** Gets the vnic_id of this CreatePrivateIpDetails.
The OCID of the VNIC to assign the private IP to. The VNIC and private IP
must be in the same subnet.
diff --git a/src/oci/core/models/create_route_table_details.py b/src/oci/core/models/create_route_table_details.py
index 30a8e22478..802269eeee 100644
--- a/src/oci/core/models/create_route_table_details.py
+++ b/src/oci/core/models/create_route_table_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateRouteTableDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateRouteTableDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateRouteTableDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateRouteTableDetails.
+ :type freeform_tags: dict(str, str)
+
:param route_rules:
The value to assign to the route_rules property of this CreateRouteTableDetails.
:type route_rules: list[RouteRule]
@@ -33,27 +41,33 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'route_rules': 'list[RouteRule]',
'vcn_id': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'route_rules': 'routeRules',
'vcn_id': 'vcnId'
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._route_rules = None
self._vcn_id = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateRouteTableDetails.
+ **[Required]** Gets the compartment_id of this CreateRouteTableDetails.
The OCID of the compartment to contain the route table.
@@ -74,6 +88,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateRouteTableDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateRouteTableDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateRouteTableDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateRouteTableDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -98,10 +146,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateRouteTableDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateRouteTableDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateRouteTableDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateRouteTableDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def route_rules(self):
"""
- Gets the route_rules of this CreateRouteTableDetails.
+ **[Required]** Gets the route_rules of this CreateRouteTableDetails.
The collection of rules used for routing destination IPs to network devices.
@@ -125,7 +209,7 @@ def route_rules(self, route_rules):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateRouteTableDetails.
+ **[Required]** Gets the vcn_id of this CreateRouteTableDetails.
The OCID of the VCN the route table belongs to.
diff --git a/src/oci/core/models/create_security_list_details.py b/src/oci/core/models/create_security_list_details.py
index e077c72e4f..66c34bdbcd 100644
--- a/src/oci/core/models/create_security_list_details.py
+++ b/src/oci/core/models/create_security_list_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,6 +18,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateSecurityListDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateSecurityListDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateSecurityListDetails.
:type display_name: str
@@ -26,6 +30,10 @@ def __init__(self, **kwargs):
The value to assign to the egress_security_rules property of this CreateSecurityListDetails.
:type egress_security_rules: list[EgressSecurityRule]
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateSecurityListDetails.
+ :type freeform_tags: dict(str, str)
+
:param ingress_security_rules:
The value to assign to the ingress_security_rules property of this CreateSecurityListDetails.
:type ingress_security_rules: list[IngressSecurityRule]
@@ -37,30 +45,36 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'egress_security_rules': 'list[EgressSecurityRule]',
+ 'freeform_tags': 'dict(str, str)',
'ingress_security_rules': 'list[IngressSecurityRule]',
'vcn_id': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'egress_security_rules': 'egressSecurityRules',
+ 'freeform_tags': 'freeformTags',
'ingress_security_rules': 'ingressSecurityRules',
'vcn_id': 'vcnId'
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
self._egress_security_rules = None
+ self._freeform_tags = None
self._ingress_security_rules = None
self._vcn_id = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateSecurityListDetails.
+ **[Required]** Gets the compartment_id of this CreateSecurityListDetails.
The OCID of the compartment to contain the security list.
@@ -81,6 +95,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateSecurityListDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateSecurityListDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateSecurityListDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateSecurityListDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -108,7 +156,7 @@ def display_name(self, display_name):
@property
def egress_security_rules(self):
"""
- Gets the egress_security_rules of this CreateSecurityListDetails.
+ **[Required]** Gets the egress_security_rules of this CreateSecurityListDetails.
Rules for allowing egress IP packets.
@@ -129,10 +177,46 @@ def egress_security_rules(self, egress_security_rules):
"""
self._egress_security_rules = egress_security_rules
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateSecurityListDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateSecurityListDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateSecurityListDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateSecurityListDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def ingress_security_rules(self):
"""
- Gets the ingress_security_rules of this CreateSecurityListDetails.
+ **[Required]** Gets the ingress_security_rules of this CreateSecurityListDetails.
Rules for allowing ingress IP packets.
@@ -156,7 +240,7 @@ def ingress_security_rules(self, ingress_security_rules):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateSecurityListDetails.
+ **[Required]** Gets the vcn_id of this CreateSecurityListDetails.
The OCID of the VCN the security list belongs to.
diff --git a/src/oci/core/models/create_subnet_details.py b/src/oci/core/models/create_subnet_details.py
index 608d07731b..21c4d733ee 100644
--- a/src/oci/core/models/create_subnet_details.py
+++ b/src/oci/core/models/create_subnet_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,6 +26,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateSubnetDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateSubnetDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param dhcp_options_id:
The value to assign to the dhcp_options_id property of this CreateSubnetDetails.
:type dhcp_options_id: str
@@ -38,6 +42,10 @@ def __init__(self, **kwargs):
The value to assign to the dns_label property of this CreateSubnetDetails.
:type dns_label: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateSubnetDetails.
+ :type freeform_tags: dict(str, str)
+
:param prohibit_public_ip_on_vnic:
The value to assign to the prohibit_public_ip_on_vnic property of this CreateSubnetDetails.
:type prohibit_public_ip_on_vnic: bool
@@ -59,9 +67,11 @@ def __init__(self, **kwargs):
'availability_domain': 'str',
'cidr_block': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'dhcp_options_id': 'str',
'display_name': 'str',
'dns_label': 'str',
+ 'freeform_tags': 'dict(str, str)',
'prohibit_public_ip_on_vnic': 'bool',
'route_table_id': 'str',
'security_list_ids': 'list[str]',
@@ -72,9 +82,11 @@ def __init__(self, **kwargs):
'availability_domain': 'availabilityDomain',
'cidr_block': 'cidrBlock',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'dhcp_options_id': 'dhcpOptionsId',
'display_name': 'displayName',
'dns_label': 'dnsLabel',
+ 'freeform_tags': 'freeformTags',
'prohibit_public_ip_on_vnic': 'prohibitPublicIpOnVnic',
'route_table_id': 'routeTableId',
'security_list_ids': 'securityListIds',
@@ -84,9 +96,11 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._cidr_block = None
self._compartment_id = None
+ self._defined_tags = None
self._dhcp_options_id = None
self._display_name = None
self._dns_label = None
+ self._freeform_tags = None
self._prohibit_public_ip_on_vnic = None
self._route_table_id = None
self._security_list_ids = None
@@ -95,7 +109,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this CreateSubnetDetails.
+ **[Required]** Gets the availability_domain of this CreateSubnetDetails.
The Availability Domain to contain the subnet.
Example: `Uocm:PHX-AD-1`
@@ -123,7 +137,7 @@ def availability_domain(self, availability_domain):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this CreateSubnetDetails.
+ **[Required]** Gets the cidr_block of this CreateSubnetDetails.
The CIDR IP address range of the subnet.
Example: `172.16.1.0/24`
@@ -151,7 +165,7 @@ def cidr_block(self, cidr_block):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateSubnetDetails.
+ **[Required]** Gets the compartment_id of this CreateSubnetDetails.
The OCID of the compartment to contain the subnet.
@@ -172,6 +186,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateSubnetDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateSubnetDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateSubnetDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateSubnetDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def dhcp_options_id(self):
"""
@@ -276,6 +324,42 @@ def dns_label(self, dns_label):
"""
self._dns_label = dns_label
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateSubnetDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateSubnetDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateSubnetDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateSubnetDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def prohibit_public_ip_on_vnic(self):
"""
@@ -377,7 +461,7 @@ def security_list_ids(self, security_list_ids):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this CreateSubnetDetails.
+ **[Required]** Gets the vcn_id of this CreateSubnetDetails.
The OCID of the VCN to contain the subnet.
diff --git a/src/oci/core/models/create_vcn_details.py b/src/oci/core/models/create_vcn_details.py
index 03453f1095..fec696dc57 100644
--- a/src/oci/core/models/create_vcn_details.py
+++ b/src/oci/core/models/create_vcn_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,6 +22,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateVcnDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateVcnDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateVcnDetails.
:type display_name: str
@@ -30,30 +34,40 @@ def __init__(self, **kwargs):
The value to assign to the dns_label property of this CreateVcnDetails.
:type dns_label: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateVcnDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
'cidr_block': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
- 'dns_label': 'str'
+ 'dns_label': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
'cidr_block': 'cidrBlock',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
- 'dns_label': 'dnsLabel'
+ 'dns_label': 'dnsLabel',
+ 'freeform_tags': 'freeformTags'
}
self._cidr_block = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
self._dns_label = None
+ self._freeform_tags = None
@property
def cidr_block(self):
"""
- Gets the cidr_block of this CreateVcnDetails.
+ **[Required]** Gets the cidr_block of this CreateVcnDetails.
The CIDR IP address block of the VCN.
Example: `172.16.0.0/16`
@@ -81,7 +95,7 @@ def cidr_block(self, cidr_block):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateVcnDetails.
+ **[Required]** Gets the compartment_id of this CreateVcnDetails.
The OCID of the compartment to contain the VCN.
@@ -102,6 +116,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateVcnDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateVcnDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateVcnDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateVcnDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -182,6 +230,42 @@ def dns_label(self, dns_label):
"""
self._dns_label = dns_label
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateVcnDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateVcnDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateVcnDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateVcnDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_virtual_circuit_details.py b/src/oci/core/models/create_virtual_circuit_details.py
index 9aee2fb0aa..cffe96fcda 100644
--- a/src/oci/core/models/create_virtual_circuit_details.py
+++ b/src/oci/core/models/create_virtual_circuit_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -142,7 +142,7 @@ def bandwidth_shape_name(self, bandwidth_shape_name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateVirtualCircuitDetails.
+ **[Required]** Gets the compartment_id of this CreateVirtualCircuitDetails.
The OCID of the compartment to contain the virtual circuit.
@@ -408,7 +408,7 @@ def region(self, region):
@property
def type(self):
"""
- Gets the type of this CreateVirtualCircuitDetails.
+ **[Required]** Gets the type of this CreateVirtualCircuitDetails.
The type of IP addresses used in this virtual circuit. PRIVATE
means `RFC 1918`__ addresses
(10.0.0.0/8, 172.16/12, and 192.168/16). Only PRIVATE is supported.
diff --git a/src/oci/core/models/create_virtual_circuit_public_prefix_details.py b/src/oci/core/models/create_virtual_circuit_public_prefix_details.py
index eb08be903d..b6fd37631c 100644
--- a/src/oci/core/models/create_virtual_circuit_public_prefix_details.py
+++ b/src/oci/core/models/create_virtual_circuit_public_prefix_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this CreateVirtualCircuitPublicPrefixDetails.
+ **[Required]** Gets the cidr_block of this CreateVirtualCircuitPublicPrefixDetails.
An individual public IP prefix (CIDR) to add to the public virtual circuit.
Must be /24 or less specific.
diff --git a/src/oci/core/models/create_vnic_details.py b/src/oci/core/models/create_vnic_details.py
index 61f3e1da77..cc23ca53e0 100644
--- a/src/oci/core/models/create_vnic_details.py
+++ b/src/oci/core/models/create_vnic_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -297,7 +297,7 @@ def skip_source_dest_check(self, skip_source_dest_check):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this CreateVnicDetails.
+ **[Required]** Gets the subnet_id of this CreateVnicDetails.
The OCID of the subnet to create the VNIC in. When launching an instance,
use this `subnetId` instead of the deprecated `subnetId` in
:func:`launch_instance_details`.
diff --git a/src/oci/core/models/create_volume_backup_details.py b/src/oci/core/models/create_volume_backup_details.py
index b2ed9a89f2..b3638edeab 100644
--- a/src/oci/core/models/create_volume_backup_details.py
+++ b/src/oci/core/models/create_volume_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,28 +14,76 @@ def __init__(self, **kwargs):
Initializes a new CreateVolumeBackupDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateVolumeBackupDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateVolumeBackupDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateVolumeBackupDetails.
+ :type freeform_tags: dict(str, str)
+
:param volume_id:
The value to assign to the volume_id property of this CreateVolumeBackupDetails.
:type volume_id: str
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'volume_id': 'str'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'volume_id': 'volumeId'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._volume_id = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateVolumeBackupDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateVolumeBackupDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateVolumeBackupDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateVolumeBackupDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -62,10 +110,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateVolumeBackupDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateVolumeBackupDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateVolumeBackupDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateVolumeBackupDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def volume_id(self):
"""
- Gets the volume_id of this CreateVolumeBackupDetails.
+ **[Required]** Gets the volume_id of this CreateVolumeBackupDetails.
The OCID of the volume that needs to be backed up.
diff --git a/src/oci/core/models/create_volume_details.py b/src/oci/core/models/create_volume_details.py
index c2d7490739..394e8a801b 100644
--- a/src/oci/core/models/create_volume_details.py
+++ b/src/oci/core/models/create_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,10 +22,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateVolumeDetails.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateVolumeDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this CreateVolumeDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateVolumeDetails.
+ :type freeform_tags: dict(str, str)
+
:param size_in_gbs:
The value to assign to the size_in_gbs property of this CreateVolumeDetails.
:type size_in_gbs: int
@@ -46,7 +54,9 @@ def __init__(self, **kwargs):
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'size_in_gbs': 'int',
'size_in_mbs': 'int',
'source_details': 'VolumeSourceDetails',
@@ -56,7 +66,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'size_in_gbs': 'sizeInGBs',
'size_in_mbs': 'sizeInMBs',
'source_details': 'sourceDetails',
@@ -65,7 +77,9 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._size_in_gbs = None
self._size_in_mbs = None
self._source_details = None
@@ -74,7 +88,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this CreateVolumeDetails.
+ **[Required]** Gets the availability_domain of this CreateVolumeDetails.
The Availability Domain of the volume.
Example: `Uocm:PHX-AD-1`
@@ -102,7 +116,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateVolumeDetails.
+ **[Required]** Gets the compartment_id of this CreateVolumeDetails.
The OCID of the compartment that contains the volume.
@@ -123,6 +137,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateVolumeDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateVolumeDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateVolumeDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateVolumeDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -149,6 +197,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateVolumeDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateVolumeDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateVolumeDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateVolumeDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def size_in_gbs(self):
"""
diff --git a/src/oci/core/models/cross_connect.py b/src/oci/core/models/cross_connect.py
index b538f69099..7d763f036b 100644
--- a/src/oci/core/models/cross_connect.py
+++ b/src/oci/core/models/cross_connect.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/cross_connect_group.py b/src/oci/core/models/cross_connect_group.py
index 5ba5081a43..b0f53323a2 100644
--- a/src/oci/core/models/cross_connect_group.py
+++ b/src/oci/core/models/cross_connect_group.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/cross_connect_location.py b/src/oci/core/models/cross_connect_location.py
index e1ef822d5f..d416414c9a 100644
--- a/src/oci/core/models/cross_connect_location.py
+++ b/src/oci/core/models/cross_connect_location.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def description(self):
"""
- Gets the description of this CrossConnectLocation.
+ **[Required]** Gets the description of this CrossConnectLocation.
A description of the location.
@@ -63,7 +63,7 @@ def description(self, description):
@property
def name(self):
"""
- Gets the name of this CrossConnectLocation.
+ **[Required]** Gets the name of this CrossConnectLocation.
The name of the location.
Example: `CyrusOne, Chandler, AZ`
diff --git a/src/oci/core/models/cross_connect_mapping.py b/src/oci/core/models/cross_connect_mapping.py
index 401d8388ce..0b4eeebec1 100644
--- a/src/oci/core/models/cross_connect_mapping.py
+++ b/src/oci/core/models/cross_connect_mapping.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/cross_connect_port_speed_shape.py b/src/oci/core/models/cross_connect_port_speed_shape.py
index 4673d91f9e..1ed878494d 100644
--- a/src/oci/core/models/cross_connect_port_speed_shape.py
+++ b/src/oci/core/models/cross_connect_port_speed_shape.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this CrossConnectPortSpeedShape.
+ **[Required]** Gets the name of this CrossConnectPortSpeedShape.
The name of the port speed shape.
Example: `10 Gbps`
@@ -67,7 +67,7 @@ def name(self, name):
@property
def port_speed_in_gbps(self):
"""
- Gets the port_speed_in_gbps of this CrossConnectPortSpeedShape.
+ **[Required]** Gets the port_speed_in_gbps of this CrossConnectPortSpeedShape.
The port speed in Gbps.
Example: `10`
diff --git a/src/oci/core/models/cross_connect_status.py b/src/oci/core/models/cross_connect_status.py
index a93fef3a3e..ae14d1cd5b 100644
--- a/src/oci/core/models/cross_connect_status.py
+++ b/src/oci/core/models/cross_connect_status.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -57,7 +57,7 @@ def __init__(self, **kwargs):
@property
def cross_connect_id(self):
"""
- Gets the cross_connect_id of this CrossConnectStatus.
+ **[Required]** Gets the cross_connect_id of this CrossConnectStatus.
The OCID of the cross-connect.
diff --git a/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py b/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py
index 44e1c15478..cdeee81c60 100644
--- a/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py
+++ b/src/oci/core/models/delete_virtual_circuit_public_prefix_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this DeleteVirtualCircuitPublicPrefixDetails.
+ **[Required]** Gets the cidr_block of this DeleteVirtualCircuitPublicPrefixDetails.
An individual public IP prefix (CIDR) to remove from the public virtual circuit.
diff --git a/src/oci/core/models/dhcp_dns_option.py b/src/oci/core/models/dhcp_dns_option.py
index ddf3416251..359d7057c8 100644
--- a/src/oci/core/models/dhcp_dns_option.py
+++ b/src/oci/core/models/dhcp_dns_option.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .dhcp_option import DhcpOption
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -76,7 +76,7 @@ def custom_dns_servers(self, custom_dns_servers):
@property
def server_type(self):
"""
- Gets the server_type of this DhcpDnsOption.
+ **[Required]** Gets the server_type of this DhcpDnsOption.
- **VcnLocal:** Reserved for future use.
- **VcnLocalPlusInternet:** Also referred to as \"Internet and VCN Resolver\".
diff --git a/src/oci/core/models/dhcp_option.py b/src/oci/core/models/dhcp_option.py
index 13afb45ad0..ea074736ac 100644
--- a/src/oci/core/models/dhcp_option.py
+++ b/src/oci/core/models/dhcp_option.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def get_subtype(object_dictionary):
@property
def type(self):
"""
- Gets the type of this DhcpOption.
+ **[Required]** Gets the type of this DhcpOption.
The specific DHCP option. Either `DomainNameServer`
(for :class:`DhcpDnsOption`) or
`SearchDomain` (for :class:`DhcpSearchDomainOption`).
diff --git a/src/oci/core/models/dhcp_options.py b/src/oci/core/models/dhcp_options.py
index dc6a5118b0..603f277e3d 100644
--- a/src/oci/core/models/dhcp_options.py
+++ b/src/oci/core/models/dhcp_options.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this DhcpOptions.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this DhcpOptions.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this DhcpOptions.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this DhcpOptions.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this DhcpOptions.
:type id: str
@@ -47,7 +55,9 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
'options': 'list[DhcpOption]',
@@ -57,7 +67,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
'options': 'options',
@@ -66,7 +78,9 @@ def __init__(self, **kwargs):
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
self._lifecycle_state = None
self._options = None
@@ -76,7 +90,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DhcpOptions.
+ **[Required]** Gets the compartment_id of this DhcpOptions.
The OCID of the compartment containing the set of DHCP options.
@@ -97,6 +111,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this DhcpOptions.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this DhcpOptions.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this DhcpOptions.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this DhcpOptions.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -123,10 +171,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this DhcpOptions.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this DhcpOptions.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this DhcpOptions.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this DhcpOptions.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this DhcpOptions.
+ **[Required]** Gets the id of this DhcpOptions.
Oracle ID (OCID) for the set of DHCP options.
@@ -150,7 +234,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DhcpOptions.
+ **[Required]** Gets the lifecycle_state of this DhcpOptions.
The current state of the set of DHCP options.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -180,7 +264,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def options(self):
"""
- Gets the options of this DhcpOptions.
+ **[Required]** Gets the options of this DhcpOptions.
The collection of individual DHCP options.
@@ -204,7 +288,7 @@ def options(self, options):
@property
def time_created(self):
"""
- Gets the time_created of this DhcpOptions.
+ **[Required]** Gets the time_created of this DhcpOptions.
Date and time the set of DHCP options was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -232,7 +316,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this DhcpOptions.
+ **[Required]** Gets the vcn_id of this DhcpOptions.
The OCID of the VCN the set of DHCP options belongs to.
diff --git a/src/oci/core/models/dhcp_search_domain_option.py b/src/oci/core/models/dhcp_search_domain_option.py
index 655c6e92da..72439ae851 100644
--- a/src/oci/core/models/dhcp_search_domain_option.py
+++ b/src/oci/core/models/dhcp_search_domain_option.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .dhcp_option import DhcpOption
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def search_domain_names(self):
"""
- Gets the search_domain_names of this DhcpSearchDomainOption.
+ **[Required]** Gets the search_domain_names of this DhcpSearchDomainOption.
A single search domain name according to `RFC 952`__
and `RFC 1123`__. During a DNS query,
the OS will append this search domain name to the value being queried.
diff --git a/src/oci/core/models/drg.py b/src/oci/core/models/drg.py
index d0e66982da..d04ec0c5f6 100644
--- a/src/oci/core/models/drg.py
+++ b/src/oci/core/models/drg.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -62,7 +62,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Drg.
+ **[Required]** Gets the compartment_id of this Drg.
The OCID of the compartment containing the DRG.
@@ -112,7 +112,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this Drg.
+ **[Required]** Gets the id of this Drg.
The DRG's Oracle ID (OCID).
@@ -136,7 +136,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Drg.
+ **[Required]** Gets the lifecycle_state of this Drg.
The DRG's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/core/models/drg_attachment.py b/src/oci/core/models/drg_attachment.py
index 987abfb0c5..54974b85e9 100644
--- a/src/oci/core/models/drg_attachment.py
+++ b/src/oci/core/models/drg_attachment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -76,7 +76,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DrgAttachment.
+ **[Required]** Gets the compartment_id of this DrgAttachment.
The OCID of the compartment containing the DRG attachment.
@@ -126,7 +126,7 @@ def display_name(self, display_name):
@property
def drg_id(self):
"""
- Gets the drg_id of this DrgAttachment.
+ **[Required]** Gets the drg_id of this DrgAttachment.
The OCID of the DRG.
@@ -150,7 +150,7 @@ def drg_id(self, drg_id):
@property
def id(self):
"""
- Gets the id of this DrgAttachment.
+ **[Required]** Gets the id of this DrgAttachment.
The DRG attachment's Oracle ID (OCID).
@@ -174,7 +174,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DrgAttachment.
+ **[Required]** Gets the lifecycle_state of this DrgAttachment.
The DRG attachment's current state.
Allowed values for this property are: "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
@@ -232,7 +232,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this DrgAttachment.
+ **[Required]** Gets the vcn_id of this DrgAttachment.
The OCID of the VCN.
diff --git a/src/oci/core/models/egress_security_rule.py b/src/oci/core/models/egress_security_rule.py
index 15cda76903..5ddcb95cd0 100644
--- a/src/oci/core/models/egress_security_rule.py
+++ b/src/oci/core/models/egress_security_rule.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -67,7 +67,7 @@ def __init__(self, **kwargs):
@property
def destination(self):
"""
- Gets the destination of this EgressSecurityRule.
+ **[Required]** Gets the destination of this EgressSecurityRule.
The destination CIDR block for the egress rule. This is the range of IP addresses that a
packet originating from the instance can go to.
@@ -167,7 +167,7 @@ def is_stateless(self, is_stateless):
@property
def protocol(self):
"""
- Gets the protocol of this EgressSecurityRule.
+ **[Required]** Gets the protocol of this EgressSecurityRule.
The transport protocol. Specify either `all` or an IPv4 protocol number as
defined in
`Protocol Numbers`__.
diff --git a/src/oci/core/models/export_image_details.py b/src/oci/core/models/export_image_details.py
index de32ac4181..8222f8904c 100644
--- a/src/oci/core/models/export_image_details.py
+++ b/src/oci/core/models/export_image_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def get_subtype(object_dictionary):
@property
def destination_type(self):
"""
- Gets the destination_type of this ExportImageDetails.
+ **[Required]** Gets the destination_type of this ExportImageDetails.
The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name.
Use `objectStorageUri` when specifying the Object Storage URL.
diff --git a/src/oci/core/models/export_image_via_object_storage_tuple_details.py b/src/oci/core/models/export_image_via_object_storage_tuple_details.py
index 7cca934195..e2215bfda6 100644
--- a/src/oci/core/models/export_image_via_object_storage_tuple_details.py
+++ b/src/oci/core/models/export_image_via_object_storage_tuple_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .export_image_details import ExportImageDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/export_image_via_object_storage_uri_details.py b/src/oci/core/models/export_image_via_object_storage_uri_details.py
index 8f3229de56..8cdd675c11 100644
--- a/src/oci/core/models/export_image_via_object_storage_uri_details.py
+++ b/src/oci/core/models/export_image_via_object_storage_uri_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .export_image_details import ExportImageDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def destination_uri(self):
"""
- Gets the destination_uri of this ExportImageViaObjectStorageUriDetails.
+ **[Required]** Gets the destination_uri of this ExportImageViaObjectStorageUriDetails.
The Object Storage URL to export the image to. See `Object Storage URLs`__
and `pre-authenticated requests`__ for constructing URLs for image import/export.
diff --git a/src/oci/core/models/fast_connect_provider_service.py b/src/oci/core/models/fast_connect_provider_service.py
index df50511a93..bd47d7fae9 100644
--- a/src/oci/core/models/fast_connect_provider_service.py
+++ b/src/oci/core/models/fast_connect_provider_service.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -113,7 +113,7 @@ def description(self, description):
@property
def id(self):
"""
- Gets the id of this FastConnectProviderService.
+ **[Required]** Gets the id of this FastConnectProviderService.
The OCID of the service offered by the provider.
@@ -137,7 +137,7 @@ def id(self, id):
@property
def private_peering_bgp_management(self):
"""
- Gets the private_peering_bgp_management of this FastConnectProviderService.
+ **[Required]** Gets the private_peering_bgp_management of this FastConnectProviderService.
Private peering BGP management.
Allowed values for this property are: "CUSTOMER_MANAGED", "PROVIDER_MANAGED", "ORACLE_MANAGED", 'UNKNOWN_ENUM_VALUE'.
@@ -167,7 +167,7 @@ def private_peering_bgp_management(self, private_peering_bgp_management):
@property
def provider_name(self):
"""
- Gets the provider_name of this FastConnectProviderService.
+ **[Required]** Gets the provider_name of this FastConnectProviderService.
The name of the provider.
@@ -191,7 +191,7 @@ def provider_name(self, provider_name):
@property
def provider_service_name(self):
"""
- Gets the provider_service_name of this FastConnectProviderService.
+ **[Required]** Gets the provider_service_name of this FastConnectProviderService.
The name of the service offered by the provider.
@@ -215,7 +215,7 @@ def provider_service_name(self, provider_service_name):
@property
def public_peering_bgp_management(self):
"""
- Gets the public_peering_bgp_management of this FastConnectProviderService.
+ **[Required]** Gets the public_peering_bgp_management of this FastConnectProviderService.
Public peering BGP management.
Allowed values for this property are: "CUSTOMER_MANAGED", "PROVIDER_MANAGED", "ORACLE_MANAGED", 'UNKNOWN_ENUM_VALUE'.
@@ -274,7 +274,7 @@ def supported_virtual_circuit_types(self, supported_virtual_circuit_types):
@property
def type(self):
"""
- Gets the type of this FastConnectProviderService.
+ **[Required]** Gets the type of this FastConnectProviderService.
Provider service type.
Allowed values for this property are: "LAYER2", "LAYER3", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/core/models/i_scsi_volume_attachment.py b/src/oci/core/models/i_scsi_volume_attachment.py
index 9f8748e2b9..cb078c69fa 100644
--- a/src/oci/core/models/i_scsi_volume_attachment.py
+++ b/src/oci/core/models/i_scsi_volume_attachment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .volume_attachment import VolumeAttachment
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -184,7 +184,7 @@ def chap_username(self, chap_username):
@property
def ipv4(self):
"""
- Gets the ipv4 of this IScsiVolumeAttachment.
+ **[Required]** Gets the ipv4 of this IScsiVolumeAttachment.
The volume's iSCSI IP address.
Example: `169.254.0.2`
@@ -212,7 +212,7 @@ def ipv4(self, ipv4):
@property
def iqn(self):
"""
- Gets the iqn of this IScsiVolumeAttachment.
+ **[Required]** Gets the iqn of this IScsiVolumeAttachment.
The target volume's iSCSI Qualified Name in the format defined by RFC 3720.
Example: `iqn.2015-12.us.oracle.com:456b0391-17b8-4122-bbf1-f85fc0bb97d9`
@@ -240,7 +240,7 @@ def iqn(self, iqn):
@property
def port(self):
"""
- Gets the port of this IScsiVolumeAttachment.
+ **[Required]** Gets the port of this IScsiVolumeAttachment.
The volume's iSCSI port.
Example: `3260`
diff --git a/src/oci/core/models/icmp_options.py b/src/oci/core/models/icmp_options.py
index 0772ced865..22f8aef94b 100644
--- a/src/oci/core/models/icmp_options.py
+++ b/src/oci/core/models/icmp_options.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -63,7 +63,7 @@ def code(self, code):
@property
def type(self):
"""
- Gets the type of this IcmpOptions.
+ **[Required]** Gets the type of this IcmpOptions.
The ICMP type.
diff --git a/src/oci/core/models/image.py b/src/oci/core/models/image.py
index cba10fbc8c..6eebe66993 100644
--- a/src/oci/core/models/image.py
+++ b/src/oci/core/models/image.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,14 +26,32 @@ def __init__(self, **kwargs):
The value to assign to the create_image_allowed property of this Image.
:type create_image_allowed: bool
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Image.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this Image.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Image.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this Image.
:type id: str
+ :param launch_mode:
+ The value to assign to the launch_mode property of this Image.
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type launch_mode: str
+
+ :param launch_options:
+ The value to assign to the launch_options property of this Image.
+ :type launch_options: LaunchOptions
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Image.
Allowed values for this property are: "PROVISIONING", "IMPORTING", "AVAILABLE", "EXPORTING", "DISABLED", "DELETED", 'UNKNOWN_ENUM_VALUE'.
@@ -57,8 +75,12 @@ def __init__(self, **kwargs):
'base_image_id': 'str',
'compartment_id': 'str',
'create_image_allowed': 'bool',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
+ 'launch_mode': 'str',
+ 'launch_options': 'LaunchOptions',
'lifecycle_state': 'str',
'operating_system': 'str',
'operating_system_version': 'str',
@@ -69,8 +91,12 @@ def __init__(self, **kwargs):
'base_image_id': 'baseImageId',
'compartment_id': 'compartmentId',
'create_image_allowed': 'createImageAllowed',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
+ 'launch_mode': 'launchMode',
+ 'launch_options': 'launchOptions',
'lifecycle_state': 'lifecycleState',
'operating_system': 'operatingSystem',
'operating_system_version': 'operatingSystemVersion',
@@ -80,8 +106,12 @@ def __init__(self, **kwargs):
self._base_image_id = None
self._compartment_id = None
self._create_image_allowed = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
+ self._launch_mode = None
+ self._launch_options = None
self._lifecycle_state = None
self._operating_system = None
self._operating_system_version = None
@@ -114,7 +144,7 @@ def base_image_id(self, base_image_id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Image.
+ **[Required]** Gets the compartment_id of this Image.
The OCID of the compartment containing the instance you want to use as the basis for the image.
@@ -138,10 +168,9 @@ def compartment_id(self, compartment_id):
@property
def create_image_allowed(self):
"""
- Gets the create_image_allowed of this Image.
+ **[Required]** Gets the create_image_allowed of this Image.
Whether instances launched with this image can be used to create new images.
For example, you cannot create an image of an Oracle Database instance.
-
Example: `true`
@@ -156,7 +185,6 @@ def create_image_allowed(self, create_image_allowed):
Sets the create_image_allowed of this Image.
Whether instances launched with this image can be used to create new images.
For example, you cannot create an image of an Oracle Database instance.
-
Example: `true`
@@ -165,6 +193,40 @@ def create_image_allowed(self, create_image_allowed):
"""
self._create_image_allowed = create_image_allowed
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Image.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Image.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Image.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Image.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -197,10 +259,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Image.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Image.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Image.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Image.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this Image.
+ **[Required]** Gets the id of this Image.
The OCID of the image.
@@ -221,10 +319,66 @@ def id(self, id):
"""
self._id = id
+ @property
+ def launch_mode(self):
+ """
+ Gets the launch_mode of this Image.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The launch_mode of this Image.
+ :rtype: str
+ """
+ return self._launch_mode
+
+ @launch_mode.setter
+ def launch_mode(self, launch_mode):
+ """
+ Sets the launch_mode of this Image.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+
+ :param launch_mode: The launch_mode of this Image.
+ :type: str
+ """
+ allowed_values = ["NATIVE", "EMULATED", "CUSTOM"]
+ if not value_allowed_none_or_none_sentinel(launch_mode, allowed_values):
+ launch_mode = 'UNKNOWN_ENUM_VALUE'
+ self._launch_mode = launch_mode
+
+ @property
+ def launch_options(self):
+ """
+ Gets the launch_options of this Image.
+
+ :return: The launch_options of this Image.
+ :rtype: LaunchOptions
+ """
+ return self._launch_options
+
+ @launch_options.setter
+ def launch_options(self, launch_options):
+ """
+ Sets the launch_options of this Image.
+
+ :param launch_options: The launch_options of this Image.
+ :type: LaunchOptions
+ """
+ self._launch_options = launch_options
+
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Image.
+ **[Required]** Gets the lifecycle_state of this Image.
Allowed values for this property are: "PROVISIONING", "IMPORTING", "AVAILABLE", "EXPORTING", "DISABLED", "DELETED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -250,7 +404,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def operating_system(self):
"""
- Gets the operating_system of this Image.
+ **[Required]** Gets the operating_system of this Image.
The image's operating system.
Example: `Oracle Linux`
@@ -278,7 +432,7 @@ def operating_system(self, operating_system):
@property
def operating_system_version(self):
"""
- Gets the operating_system_version of this Image.
+ **[Required]** Gets the operating_system_version of this Image.
The image's operating system version.
Example: `7.2`
@@ -306,7 +460,7 @@ def operating_system_version(self, operating_system_version):
@property
def time_created(self):
"""
- Gets the time_created of this Image.
+ **[Required]** Gets the time_created of this Image.
The date and time the image was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/image_source_details.py b/src/oci/core/models/image_source_details.py
index ab7519069e..ddb0e34a25 100644
--- a/src/oci/core/models/image_source_details.py
+++ b/src/oci/core/models/image_source_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -19,19 +19,27 @@ def __init__(self, **kwargs):
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param source_image_type:
+ The value to assign to the source_image_type property of this ImageSourceDetails.
+ Allowed values for this property are: "QCOW2", "VMDK"
+ :type source_image_type: str
+
:param source_type:
The value to assign to the source_type property of this ImageSourceDetails.
:type source_type: str
"""
self.swagger_types = {
+ 'source_image_type': 'str',
'source_type': 'str'
}
self.attribute_map = {
+ 'source_image_type': 'sourceImageType',
'source_type': 'sourceType'
}
+ self._source_image_type = None
self._source_type = None
@staticmethod
@@ -50,10 +58,44 @@ def get_subtype(object_dictionary):
else:
return 'ImageSourceDetails'
+ @property
+ def source_image_type(self):
+ """
+ Gets the source_image_type of this ImageSourceDetails.
+ The format of the image to be imported. Exported Oracle images are QCOW2. Only monolithic
+ images are supported.
+
+ Allowed values for this property are: "QCOW2", "VMDK"
+
+
+ :return: The source_image_type of this ImageSourceDetails.
+ :rtype: str
+ """
+ return self._source_image_type
+
+ @source_image_type.setter
+ def source_image_type(self, source_image_type):
+ """
+ Sets the source_image_type of this ImageSourceDetails.
+ The format of the image to be imported. Exported Oracle images are QCOW2. Only monolithic
+ images are supported.
+
+
+ :param source_image_type: The source_image_type of this ImageSourceDetails.
+ :type: str
+ """
+ allowed_values = ["QCOW2", "VMDK"]
+ if not value_allowed_none_or_none_sentinel(source_image_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `source_image_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._source_image_type = source_image_type
+
@property
def source_type(self):
"""
- Gets the source_type of this ImageSourceDetails.
+ **[Required]** Gets the source_type of this ImageSourceDetails.
The source type for the image. Use `objectStorageTuple` when specifying the namespace,
bucket name, and object name. Use `objectStorageUri` when specifying the Object Storage URL.
diff --git a/src/oci/core/models/image_source_via_object_storage_tuple_details.py b/src/oci/core/models/image_source_via_object_storage_tuple_details.py
index 68ccb00ccb..ad0b55366e 100644
--- a/src/oci/core/models/image_source_via_object_storage_tuple_details.py
+++ b/src/oci/core/models/image_source_via_object_storage_tuple_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .image_source_details import ImageSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -15,6 +15,11 @@ def __init__(self, **kwargs):
of this class is ``objectStorageTuple`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param source_image_type:
+ The value to assign to the source_image_type property of this ImageSourceViaObjectStorageTupleDetails.
+ Allowed values for this property are: "QCOW2", "VMDK"
+ :type source_image_type: str
+
:param source_type:
The value to assign to the source_type property of this ImageSourceViaObjectStorageTupleDetails.
:type source_type: str
@@ -33,6 +38,7 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'source_image_type': 'str',
'source_type': 'str',
'bucket_name': 'str',
'namespace_name': 'str',
@@ -40,12 +46,14 @@ def __init__(self, **kwargs):
}
self.attribute_map = {
+ 'source_image_type': 'sourceImageType',
'source_type': 'sourceType',
'bucket_name': 'bucketName',
'namespace_name': 'namespaceName',
'object_name': 'objectName'
}
+ self._source_image_type = None
self._source_type = None
self._bucket_name = None
self._namespace_name = None
@@ -55,7 +63,7 @@ def __init__(self, **kwargs):
@property
def bucket_name(self):
"""
- Gets the bucket_name of this ImageSourceViaObjectStorageTupleDetails.
+ **[Required]** Gets the bucket_name of this ImageSourceViaObjectStorageTupleDetails.
The Object Storage bucket for the image.
@@ -79,7 +87,7 @@ def bucket_name(self, bucket_name):
@property
def namespace_name(self):
"""
- Gets the namespace_name of this ImageSourceViaObjectStorageTupleDetails.
+ **[Required]** Gets the namespace_name of this ImageSourceViaObjectStorageTupleDetails.
The Object Storage namespace for the image.
@@ -103,7 +111,7 @@ def namespace_name(self, namespace_name):
@property
def object_name(self):
"""
- Gets the object_name of this ImageSourceViaObjectStorageTupleDetails.
+ **[Required]** Gets the object_name of this ImageSourceViaObjectStorageTupleDetails.
The Object Storage name for the image.
diff --git a/src/oci/core/models/image_source_via_object_storage_uri_details.py b/src/oci/core/models/image_source_via_object_storage_uri_details.py
index 76145ca1ba..87f504df4d 100644
--- a/src/oci/core/models/image_source_via_object_storage_uri_details.py
+++ b/src/oci/core/models/image_source_via_object_storage_uri_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .image_source_details import ImageSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -15,6 +15,11 @@ def __init__(self, **kwargs):
of this class is ``objectStorageUri`` and it should not be changed.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param source_image_type:
+ The value to assign to the source_image_type property of this ImageSourceViaObjectStorageUriDetails.
+ Allowed values for this property are: "QCOW2", "VMDK"
+ :type source_image_type: str
+
:param source_type:
The value to assign to the source_type property of this ImageSourceViaObjectStorageUriDetails.
:type source_type: str
@@ -25,15 +30,18 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'source_image_type': 'str',
'source_type': 'str',
'source_uri': 'str'
}
self.attribute_map = {
+ 'source_image_type': 'sourceImageType',
'source_type': 'sourceType',
'source_uri': 'sourceUri'
}
+ self._source_image_type = None
self._source_type = None
self._source_uri = None
self._source_type = 'objectStorageUri'
@@ -41,7 +49,7 @@ def __init__(self, **kwargs):
@property
def source_uri(self):
"""
- Gets the source_uri of this ImageSourceViaObjectStorageUriDetails.
+ **[Required]** Gets the source_uri of this ImageSourceViaObjectStorageUriDetails.
The Object Storage URL for the image.
diff --git a/src/oci/core/models/ingress_security_rule.py b/src/oci/core/models/ingress_security_rule.py
index 48613f1ef5..1662cba2de 100644
--- a/src/oci/core/models/ingress_security_rule.py
+++ b/src/oci/core/models/ingress_security_rule.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -141,7 +141,7 @@ def is_stateless(self, is_stateless):
@property
def protocol(self):
"""
- Gets the protocol of this IngressSecurityRule.
+ **[Required]** Gets the protocol of this IngressSecurityRule.
The transport protocol. Specify either `all` or an IPv4 protocol number as
defined in
`Protocol Numbers`__.
@@ -175,7 +175,7 @@ def protocol(self, protocol):
@property
def source(self):
"""
- Gets the source of this IngressSecurityRule.
+ **[Required]** Gets the source of this IngressSecurityRule.
The source CIDR block for the ingress rule. This is the range of IP addresses that a
packet coming into the instance can come from.
diff --git a/src/oci/core/models/instance.py b/src/oci/core/models/instance.py
index c8f55a1b2f..4e095697b2 100644
--- a/src/oci/core/models/instance.py
+++ b/src/oci/core/models/instance.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,6 +22,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this Instance.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Instance.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this Instance.
:type display_name: str
@@ -30,6 +34,10 @@ def __init__(self, **kwargs):
The value to assign to the extended_metadata property of this Instance.
:type extended_metadata: dict(str, object)
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Instance.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this Instance.
:type id: str
@@ -42,6 +50,16 @@ def __init__(self, **kwargs):
The value to assign to the ipxe_script property of this Instance.
:type ipxe_script: str
+ :param launch_mode:
+ The value to assign to the launch_mode property of this Instance.
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type launch_mode: str
+
+ :param launch_options:
+ The value to assign to the launch_options property of this Instance.
+ :type launch_options: LaunchOptions
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Instance.
Allowed values for this property are: "PROVISIONING", "RUNNING", "STARTING", "STOPPING", "STOPPED", "CREATING_IMAGE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -72,11 +90,15 @@ def __init__(self, **kwargs):
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'extended_metadata': 'dict(str, object)',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'image_id': 'str',
'ipxe_script': 'str',
+ 'launch_mode': 'str',
+ 'launch_options': 'LaunchOptions',
'lifecycle_state': 'str',
'metadata': 'dict(str, str)',
'region': 'str',
@@ -88,11 +110,15 @@ def __init__(self, **kwargs):
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'extended_metadata': 'extendedMetadata',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'image_id': 'imageId',
'ipxe_script': 'ipxeScript',
+ 'launch_mode': 'launchMode',
+ 'launch_options': 'launchOptions',
'lifecycle_state': 'lifecycleState',
'metadata': 'metadata',
'region': 'region',
@@ -103,11 +129,15 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
self._extended_metadata = None
+ self._freeform_tags = None
self._id = None
self._image_id = None
self._ipxe_script = None
+ self._launch_mode = None
+ self._launch_options = None
self._lifecycle_state = None
self._metadata = None
self._region = None
@@ -118,7 +148,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this Instance.
+ **[Required]** Gets the availability_domain of this Instance.
The Availability Domain the instance is running in.
Example: `Uocm:PHX-AD-1`
@@ -146,7 +176,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Instance.
+ **[Required]** Gets the compartment_id of this Instance.
The OCID of the compartment that contains the instance.
@@ -167,6 +197,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Instance.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Instance.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Instance.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Instance.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -229,10 +293,46 @@ def extended_metadata(self, extended_metadata):
"""
self._extended_metadata = extended_metadata
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Instance.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Instance.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Instance.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Instance.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this Instance.
+ **[Required]** Gets the id of this Instance.
The OCID of the instance.
@@ -347,10 +447,66 @@ def ipxe_script(self, ipxe_script):
"""
self._ipxe_script = ipxe_script
+ @property
+ def launch_mode(self):
+ """
+ Gets the launch_mode of this Instance.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+ Allowed values for this property are: "NATIVE", "EMULATED", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The launch_mode of this Instance.
+ :rtype: str
+ """
+ return self._launch_mode
+
+ @launch_mode.setter
+ def launch_mode(self, launch_mode):
+ """
+ Sets the launch_mode of this Instance.
+ Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are:
+ * `NATIVE` - VM instances launch with iSCSI boot and VFIO devices. The default value for Oracle-provided images.
+ * `EMULATED` - VM instances launch with emulated devices, such as the E1000 network driver and emulated SCSI disk controller.
+ * `CUSTOM` - VM instances launch with custom configuration settings specified in the `LaunchOptions` parameter.
+
+
+ :param launch_mode: The launch_mode of this Instance.
+ :type: str
+ """
+ allowed_values = ["NATIVE", "EMULATED", "CUSTOM"]
+ if not value_allowed_none_or_none_sentinel(launch_mode, allowed_values):
+ launch_mode = 'UNKNOWN_ENUM_VALUE'
+ self._launch_mode = launch_mode
+
+ @property
+ def launch_options(self):
+ """
+ Gets the launch_options of this Instance.
+
+ :return: The launch_options of this Instance.
+ :rtype: LaunchOptions
+ """
+ return self._launch_options
+
+ @launch_options.setter
+ def launch_options(self, launch_options):
+ """
+ Sets the launch_options of this Instance.
+
+ :param launch_options: The launch_options of this Instance.
+ :type: LaunchOptions
+ """
+ self._launch_options = launch_options
+
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Instance.
+ **[Required]** Gets the lifecycle_state of this Instance.
The current state of the instance.
Allowed values for this property are: "PROVISIONING", "RUNNING", "STARTING", "STOPPING", "STOPPED", "CREATING_IMAGE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -404,7 +560,7 @@ def metadata(self, metadata):
@property
def region(self):
"""
- Gets the region of this Instance.
+ **[Required]** Gets the region of this Instance.
The region that contains the Availability Domain the instance is running in.
Example: `phx`
@@ -432,7 +588,7 @@ def region(self, region):
@property
def shape(self):
"""
- Gets the shape of this Instance.
+ **[Required]** Gets the shape of this Instance.
The shape of the instance. The shape determines the number of CPUs and the amount of memory
allocated to the instance. You can enumerate all available shapes by calling
:func:`list_shapes`.
@@ -484,7 +640,7 @@ def source_details(self, source_details):
@property
def time_created(self):
"""
- Gets the time_created of this Instance.
+ **[Required]** Gets the time_created of this Instance.
The date and time the instance was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/instance_console_connection.py b/src/oci/core/models/instance_console_connection.py
index 57c55dc51a..081a57b2ba 100644
--- a/src/oci/core/models/instance_console_connection.py
+++ b/src/oci/core/models/instance_console_connection.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,10 +22,18 @@ def __init__(self, **kwargs):
The value to assign to the connection_string property of this InstanceConsoleConnection.
:type connection_string: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this InstanceConsoleConnection.
+ :type defined_tags: dict(str, dict(str, object))
+
:param fingerprint:
The value to assign to the fingerprint property of this InstanceConsoleConnection.
:type fingerprint: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this InstanceConsoleConnection.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this InstanceConsoleConnection.
:type id: str
@@ -40,31 +48,44 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param vnc_connection_string:
+ The value to assign to the vnc_connection_string property of this InstanceConsoleConnection.
+ :type vnc_connection_string: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
'connection_string': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'fingerprint': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'instance_id': 'str',
- 'lifecycle_state': 'str'
+ 'lifecycle_state': 'str',
+ 'vnc_connection_string': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
'connection_string': 'connectionString',
+ 'defined_tags': 'definedTags',
'fingerprint': 'fingerprint',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'instance_id': 'instanceId',
- 'lifecycle_state': 'lifecycleState'
+ 'lifecycle_state': 'lifecycleState',
+ 'vnc_connection_string': 'vncConnectionString'
}
self._compartment_id = None
self._connection_string = None
+ self._defined_tags = None
self._fingerprint = None
+ self._freeform_tags = None
self._id = None
self._instance_id = None
self._lifecycle_state = None
+ self._vnc_connection_string = None
@property
def compartment_id(self):
@@ -114,6 +135,40 @@ def connection_string(self, connection_string):
"""
self._connection_string = connection_string
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this InstanceConsoleConnection.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this InstanceConsoleConnection.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this InstanceConsoleConnection.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this InstanceConsoleConnection.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def fingerprint(self):
"""
@@ -138,6 +193,42 @@ def fingerprint(self, fingerprint):
"""
self._fingerprint = fingerprint
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this InstanceConsoleConnection.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this InstanceConsoleConnection.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this InstanceConsoleConnection.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this InstanceConsoleConnection.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
@@ -216,6 +307,32 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def vnc_connection_string(self):
+ """
+ Gets the vnc_connection_string of this InstanceConsoleConnection.
+ The SSH connection string for the SSH tunnel used to
+ connect to the console connection over VNC.
+
+
+ :return: The vnc_connection_string of this InstanceConsoleConnection.
+ :rtype: str
+ """
+ return self._vnc_connection_string
+
+ @vnc_connection_string.setter
+ def vnc_connection_string(self, vnc_connection_string):
+ """
+ Sets the vnc_connection_string of this InstanceConsoleConnection.
+ The SSH connection string for the SSH tunnel used to
+ connect to the console connection over VNC.
+
+
+ :param vnc_connection_string: The vnc_connection_string of this InstanceConsoleConnection.
+ :type: str
+ """
+ self._vnc_connection_string = vnc_connection_string
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/instance_credentials.py b/src/oci/core/models/instance_credentials.py
index 09427a908f..2be90057ec 100644
--- a/src/oci/core/models/instance_credentials.py
+++ b/src/oci/core/models/instance_credentials.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def password(self):
"""
- Gets the password of this InstanceCredentials.
+ **[Required]** Gets the password of this InstanceCredentials.
The password for the username.
@@ -63,7 +63,7 @@ def password(self, password):
@property
def username(self):
"""
- Gets the username of this InstanceCredentials.
+ **[Required]** Gets the username of this InstanceCredentials.
The username.
diff --git a/src/oci/core/models/instance_source_details.py b/src/oci/core/models/instance_source_details.py
index 977a5916a0..e19048ba99 100644
--- a/src/oci/core/models/instance_source_details.py
+++ b/src/oci/core/models/instance_source_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def get_subtype(object_dictionary):
@property
def source_type(self):
"""
- Gets the source_type of this InstanceSourceDetails.
+ **[Required]** Gets the source_type of this InstanceSourceDetails.
The source type for the instance.
Use `image` when specifying the image OCID. Use `bootVolume` when specifying
the boot volume OCID.
diff --git a/src/oci/core/models/instance_source_via_boot_volume_details.py b/src/oci/core/models/instance_source_via_boot_volume_details.py
index 90a2e72410..f208d0b557 100644
--- a/src/oci/core/models/instance_source_via_boot_volume_details.py
+++ b/src/oci/core/models/instance_source_via_boot_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .instance_source_details import InstanceSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def boot_volume_id(self):
"""
- Gets the boot_volume_id of this InstanceSourceViaBootVolumeDetails.
+ **[Required]** Gets the boot_volume_id of this InstanceSourceViaBootVolumeDetails.
The OCID of the boot volume used to boot the instance.
diff --git a/src/oci/core/models/instance_source_via_image_details.py b/src/oci/core/models/instance_source_via_image_details.py
index cfcc3a1604..3af530fc19 100644
--- a/src/oci/core/models/instance_source_via_image_details.py
+++ b/src/oci/core/models/instance_source_via_image_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .instance_source_details import InstanceSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def image_id(self):
"""
- Gets the image_id of this InstanceSourceViaImageDetails.
+ **[Required]** Gets the image_id of this InstanceSourceViaImageDetails.
The OCID of the image used to boot the instance.
diff --git a/src/oci/core/models/internet_gateway.py b/src/oci/core/models/internet_gateway.py
index d27ffff6e2..ee38cee46e 100644
--- a/src/oci/core/models/internet_gateway.py
+++ b/src/oci/core/models/internet_gateway.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -76,7 +76,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this InternetGateway.
+ **[Required]** Gets the compartment_id of this InternetGateway.
The OCID of the compartment containing the Internet Gateway.
@@ -126,7 +126,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this InternetGateway.
+ **[Required]** Gets the id of this InternetGateway.
The Internet Gateway's Oracle ID (OCID).
@@ -176,7 +176,7 @@ def is_enabled(self, is_enabled):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this InternetGateway.
+ **[Required]** Gets the lifecycle_state of this InternetGateway.
The Internet Gateway's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -234,7 +234,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this InternetGateway.
+ **[Required]** Gets the vcn_id of this InternetGateway.
The OCID of the VCN the Internet Gateway belongs to.
diff --git a/src/oci/core/models/ip_sec_connection.py b/src/oci/core/models/ip_sec_connection.py
index 3177125e95..d45d0f5ee0 100644
--- a/src/oci/core/models/ip_sec_connection.py
+++ b/src/oci/core/models/ip_sec_connection.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this IPSecConnection.
+ **[Required]** Gets the compartment_id of this IPSecConnection.
The OCID of the compartment containing the IPSec connection.
@@ -107,7 +107,7 @@ def compartment_id(self, compartment_id):
@property
def cpe_id(self):
"""
- Gets the cpe_id of this IPSecConnection.
+ **[Required]** Gets the cpe_id of this IPSecConnection.
The OCID of the CPE.
@@ -157,7 +157,7 @@ def display_name(self, display_name):
@property
def drg_id(self):
"""
- Gets the drg_id of this IPSecConnection.
+ **[Required]** Gets the drg_id of this IPSecConnection.
The OCID of the DRG.
@@ -181,7 +181,7 @@ def drg_id(self, drg_id):
@property
def id(self):
"""
- Gets the id of this IPSecConnection.
+ **[Required]** Gets the id of this IPSecConnection.
The IPSec connection's Oracle ID (OCID).
@@ -205,7 +205,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this IPSecConnection.
+ **[Required]** Gets the lifecycle_state of this IPSecConnection.
The IPSec connection's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -235,7 +235,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def static_routes(self):
"""
- Gets the static_routes of this IPSecConnection.
+ **[Required]** Gets the static_routes of this IPSecConnection.
Static routes to the CPE. At least one route must be included. The CIDR must not be a
multicast address or class E address.
diff --git a/src/oci/core/models/ip_sec_connection_device_config.py b/src/oci/core/models/ip_sec_connection_device_config.py
index 43326f5847..5f0b76e859 100644
--- a/src/oci/core/models/ip_sec_connection_device_config.py
+++ b/src/oci/core/models/ip_sec_connection_device_config.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this IPSecConnectionDeviceConfig.
+ **[Required]** Gets the compartment_id of this IPSecConnectionDeviceConfig.
The OCID of the compartment containing the IPSec connection.
@@ -77,7 +77,7 @@ def compartment_id(self, compartment_id):
@property
def id(self):
"""
- Gets the id of this IPSecConnectionDeviceConfig.
+ **[Required]** Gets the id of this IPSecConnectionDeviceConfig.
The IPSec connection's Oracle ID (OCID).
diff --git a/src/oci/core/models/ip_sec_connection_device_status.py b/src/oci/core/models/ip_sec_connection_device_status.py
index b8468aee4b..812d181430 100644
--- a/src/oci/core/models/ip_sec_connection_device_status.py
+++ b/src/oci/core/models/ip_sec_connection_device_status.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this IPSecConnectionDeviceStatus.
+ **[Required]** Gets the compartment_id of this IPSecConnectionDeviceStatus.
The OCID of the compartment containing the IPSec connection.
@@ -77,7 +77,7 @@ def compartment_id(self, compartment_id):
@property
def id(self):
"""
- Gets the id of this IPSecConnectionDeviceStatus.
+ **[Required]** Gets the id of this IPSecConnectionDeviceStatus.
The IPSec connection's Oracle ID (OCID).
diff --git a/src/oci/core/models/launch_instance_details.py b/src/oci/core/models/launch_instance_details.py
index 2eae39a80c..99193d81ba 100644
--- a/src/oci/core/models/launch_instance_details.py
+++ b/src/oci/core/models/launch_instance_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,6 +26,10 @@ def __init__(self, **kwargs):
The value to assign to the create_vnic_details property of this LaunchInstanceDetails.
:type create_vnic_details: CreateVnicDetails
+ :param defined_tags:
+ The value to assign to the defined_tags property of this LaunchInstanceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this LaunchInstanceDetails.
:type display_name: str
@@ -34,6 +38,10 @@ def __init__(self, **kwargs):
The value to assign to the extended_metadata property of this LaunchInstanceDetails.
:type extended_metadata: dict(str, object)
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this LaunchInstanceDetails.
+ :type freeform_tags: dict(str, str)
+
:param hostname_label:
The value to assign to the hostname_label property of this LaunchInstanceDetails.
:type hostname_label: str
@@ -67,8 +75,10 @@ def __init__(self, **kwargs):
'availability_domain': 'str',
'compartment_id': 'str',
'create_vnic_details': 'CreateVnicDetails',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'extended_metadata': 'dict(str, object)',
+ 'freeform_tags': 'dict(str, str)',
'hostname_label': 'str',
'image_id': 'str',
'ipxe_script': 'str',
@@ -82,8 +92,10 @@ def __init__(self, **kwargs):
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
'create_vnic_details': 'createVnicDetails',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'extended_metadata': 'extendedMetadata',
+ 'freeform_tags': 'freeformTags',
'hostname_label': 'hostnameLabel',
'image_id': 'imageId',
'ipxe_script': 'ipxeScript',
@@ -96,8 +108,10 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
self._create_vnic_details = None
+ self._defined_tags = None
self._display_name = None
self._extended_metadata = None
+ self._freeform_tags = None
self._hostname_label = None
self._image_id = None
self._ipxe_script = None
@@ -109,7 +123,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this LaunchInstanceDetails.
+ **[Required]** Gets the availability_domain of this LaunchInstanceDetails.
The Availability Domain of the instance.
Example: `Uocm:PHX-AD-1`
@@ -137,7 +151,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this LaunchInstanceDetails.
+ **[Required]** Gets the compartment_id of this LaunchInstanceDetails.
The OCID of the compartment.
@@ -184,6 +198,40 @@ def create_vnic_details(self, create_vnic_details):
"""
self._create_vnic_details = create_vnic_details
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this LaunchInstanceDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this LaunchInstanceDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this LaunchInstanceDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this LaunchInstanceDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -246,11 +294,47 @@ def extended_metadata(self, extended_metadata):
"""
self._extended_metadata = extended_metadata
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this LaunchInstanceDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this LaunchInstanceDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this LaunchInstanceDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this LaunchInstanceDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def hostname_label(self):
"""
Gets the hostname_label of this LaunchInstanceDetails.
- Deprecated. Instead Use `hostnameLabel` in
+ Deprecated. Instead use `hostnameLabel` in
:class:`CreateVnicDetails`.
If you provide both, the values must match.
@@ -264,7 +348,7 @@ def hostname_label(self):
def hostname_label(self, hostname_label):
"""
Sets the hostname_label of this LaunchInstanceDetails.
- Deprecated. Instead Use `hostnameLabel` in
+ Deprecated. Instead use `hostnameLabel` in
:class:`CreateVnicDetails`.
If you provide both, the values must match.
@@ -277,7 +361,7 @@ def hostname_label(self, hostname_label):
@property
def image_id(self):
"""
- Gets the image_id of this LaunchInstanceDetails.
+ **[Required]** Gets the image_id of this LaunchInstanceDetails.
Deprecated. Use `sourceDetails` with :func:`instance_source_via_image_details`
source type instead. If you specify values for both, the values must match.
@@ -521,7 +605,7 @@ def metadata(self, metadata):
@property
def shape(self):
"""
- Gets the shape of this LaunchInstanceDetails.
+ **[Required]** Gets the shape of this LaunchInstanceDetails.
The shape of an instance. The shape determines the number of CPUs, amount of memory,
and other resources allocated to the instance.
@@ -553,6 +637,7 @@ def source_details(self):
"""
Gets the source_details of this LaunchInstanceDetails.
Details for creating an instance.
+ Use this parameter to specify whether a boot volume or an image should be used to launch a new instance.
:return: The source_details of this LaunchInstanceDetails.
@@ -565,6 +650,7 @@ def source_details(self, source_details):
"""
Sets the source_details of this LaunchInstanceDetails.
Details for creating an instance.
+ Use this parameter to specify whether a boot volume or an image should be used to launch a new instance.
:param source_details: The source_details of this LaunchInstanceDetails.
diff --git a/src/oci/core/models/launch_options.py b/src/oci/core/models/launch_options.py
new file mode 100644
index 0000000000..3d14fdb486
--- /dev/null
+++ b/src/oci/core/models/launch_options.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class LaunchOptions(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new LaunchOptions object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param boot_volume_type:
+ The value to assign to the boot_volume_type property of this LaunchOptions.
+ Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type boot_volume_type: str
+
+ :param firmware:
+ The value to assign to the firmware property of this LaunchOptions.
+ Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type firmware: str
+
+ :param network_type:
+ The value to assign to the network_type property of this LaunchOptions.
+ Allowed values for this property are: "E1000", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type network_type: str
+
+ :param remote_data_volume_type:
+ The value to assign to the remote_data_volume_type property of this LaunchOptions.
+ Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type remote_data_volume_type: str
+
+ """
+ self.swagger_types = {
+ 'boot_volume_type': 'str',
+ 'firmware': 'str',
+ 'network_type': 'str',
+ 'remote_data_volume_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'boot_volume_type': 'bootVolumeType',
+ 'firmware': 'firmware',
+ 'network_type': 'networkType',
+ 'remote_data_volume_type': 'remoteDataVolumeType'
+ }
+
+ self._boot_volume_type = None
+ self._firmware = None
+ self._network_type = None
+ self._remote_data_volume_type = None
+
+ @property
+ def boot_volume_type(self):
+ """
+ **[Required]** Gets the boot_volume_type of this LaunchOptions.
+ Emulation type for volume.
+ * `ISCSI` - ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block
+ Storage volumes on Oracle provided images.
+ * `SCSI` - Emulated SCSI disk.
+ * `IDE` - Emulated IDE disk.
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for Local data
+ volumes on Oracle provided images.
+
+ Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The boot_volume_type of this LaunchOptions.
+ :rtype: str
+ """
+ return self._boot_volume_type
+
+ @boot_volume_type.setter
+ def boot_volume_type(self, boot_volume_type):
+ """
+ Sets the boot_volume_type of this LaunchOptions.
+ Emulation type for volume.
+ * `ISCSI` - ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block
+ Storage volumes on Oracle provided images.
+ * `SCSI` - Emulated SCSI disk.
+ * `IDE` - Emulated IDE disk.
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for Local data
+ volumes on Oracle provided images.
+
+
+ :param boot_volume_type: The boot_volume_type of this LaunchOptions.
+ :type: str
+ """
+ allowed_values = ["ISCSI", "SCSI", "IDE", "VFIO"]
+ if not value_allowed_none_or_none_sentinel(boot_volume_type, allowed_values):
+ boot_volume_type = 'UNKNOWN_ENUM_VALUE'
+ self._boot_volume_type = boot_volume_type
+
+ @property
+ def firmware(self):
+ """
+ **[Required]** Gets the firmware of this LaunchOptions.
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ systems that boot using MBR style bootloaders.
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ default for Oracle provided images.
+
+ Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The firmware of this LaunchOptions.
+ :rtype: str
+ """
+ return self._firmware
+
+ @firmware.setter
+ def firmware(self, firmware):
+ """
+ Sets the firmware of this LaunchOptions.
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ systems that boot using MBR style bootloaders.
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ default for Oracle provided images.
+
+
+ :param firmware: The firmware of this LaunchOptions.
+ :type: str
+ """
+ allowed_values = ["BIOS", "UEFI_64"]
+ if not value_allowed_none_or_none_sentinel(firmware, allowed_values):
+ firmware = 'UNKNOWN_ENUM_VALUE'
+ self._firmware = firmware
+
+ @property
+ def network_type(self):
+ """
+ **[Required]** Gets the network_type of this LaunchOptions.
+ Emulation type for NIC.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `VFIO` - Direct attached Virtual Function network controller. Default for Oracle provided images.
+
+ Allowed values for this property are: "E1000", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The network_type of this LaunchOptions.
+ :rtype: str
+ """
+ return self._network_type
+
+ @network_type.setter
+ def network_type(self, network_type):
+ """
+ Sets the network_type of this LaunchOptions.
+ Emulation type for NIC.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `VFIO` - Direct attached Virtual Function network controller. Default for Oracle provided images.
+
+
+ :param network_type: The network_type of this LaunchOptions.
+ :type: str
+ """
+ allowed_values = ["E1000", "VFIO"]
+ if not value_allowed_none_or_none_sentinel(network_type, allowed_values):
+ network_type = 'UNKNOWN_ENUM_VALUE'
+ self._network_type = network_type
+
+ @property
+ def remote_data_volume_type(self):
+ """
+ **[Required]** Gets the remote_data_volume_type of this LaunchOptions.
+ Emulation type for volume.
+ * `ISCSI` - ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block
+ Storage volumes on Oracle provided images.
+ * `SCSI` - Emulated SCSI disk.
+ * `IDE` - Emulated IDE disk.
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for Local data
+ volumes on Oracle provided images.
+
+ Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The remote_data_volume_type of this LaunchOptions.
+ :rtype: str
+ """
+ return self._remote_data_volume_type
+
+ @remote_data_volume_type.setter
+ def remote_data_volume_type(self, remote_data_volume_type):
+ """
+ Sets the remote_data_volume_type of this LaunchOptions.
+ Emulation type for volume.
+ * `ISCSI` - ISCSI attached block storage device. This is the default for Boot Volumes and Remote Block
+ Storage volumes on Oracle provided images.
+ * `SCSI` - Emulated SCSI disk.
+ * `IDE` - Emulated IDE disk.
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for Local data
+ volumes on Oracle provided images.
+
+
+ :param remote_data_volume_type: The remote_data_volume_type of this LaunchOptions.
+ :type: str
+ """
+ allowed_values = ["ISCSI", "SCSI", "IDE", "VFIO"]
+ if not value_allowed_none_or_none_sentinel(remote_data_volume_type, allowed_values):
+ remote_data_volume_type = 'UNKNOWN_ENUM_VALUE'
+ self._remote_data_volume_type = remote_data_volume_type
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/letter_of_authority.py b/src/oci/core/models/letter_of_authority.py
index 47743d9666..feb4acde53 100644
--- a/src/oci/core/models/letter_of_authority.py
+++ b/src/oci/core/models/letter_of_authority.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/local_peering_gateway.py b/src/oci/core/models/local_peering_gateway.py
index 624ed75e12..80247503e0 100644
--- a/src/oci/core/models/local_peering_gateway.py
+++ b/src/oci/core/models/local_peering_gateway.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -99,7 +99,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this LocalPeeringGateway.
+ **[Required]** Gets the compartment_id of this LocalPeeringGateway.
The OCID of the compartment containing the LPG.
@@ -123,7 +123,7 @@ def compartment_id(self, compartment_id):
@property
def display_name(self):
"""
- Gets the display_name of this LocalPeeringGateway.
+ **[Required]** Gets the display_name of this LocalPeeringGateway.
A user-friendly name. Does not have to be unique, and it's changeable. Avoid
entering confidential information.
@@ -149,7 +149,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this LocalPeeringGateway.
+ **[Required]** Gets the id of this LocalPeeringGateway.
The LPG's Oracle ID (OCID).
@@ -173,7 +173,7 @@ def id(self, id):
@property
def is_cross_tenancy_peering(self):
"""
- Gets the is_cross_tenancy_peering of this LocalPeeringGateway.
+ **[Required]** Gets the is_cross_tenancy_peering of this LocalPeeringGateway.
Whether the VCN at the other end of the peering is in a different tenancy.
Example: `false`
@@ -201,7 +201,7 @@ def is_cross_tenancy_peering(self, is_cross_tenancy_peering):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this LocalPeeringGateway.
+ **[Required]** Gets the lifecycle_state of this LocalPeeringGateway.
The LPG's current lifecycle state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -265,7 +265,7 @@ def peer_advertised_cidr(self, peer_advertised_cidr):
@property
def peering_status(self):
"""
- Gets the peering_status of this LocalPeeringGateway.
+ **[Required]** Gets the peering_status of this LocalPeeringGateway.
Whether the LPG is peered with another LPG. `NEW` means the LPG has not yet been
peered. `PENDING` means the peering is being established. `REVOKED` means the
LPG at the other end of the peering has been deleted.
@@ -323,7 +323,7 @@ def peering_status_details(self, peering_status_details):
@property
def time_created(self):
"""
- Gets the time_created of this LocalPeeringGateway.
+ **[Required]** Gets the time_created of this LocalPeeringGateway.
The date and time the LPG was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -351,7 +351,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this LocalPeeringGateway.
+ **[Required]** Gets the vcn_id of this LocalPeeringGateway.
The OCID of the VCN the LPG belongs to.
diff --git a/src/oci/core/models/port_range.py b/src/oci/core/models/port_range.py
index 5ebd1aa6d0..89bda9028a 100644
--- a/src/oci/core/models/port_range.py
+++ b/src/oci/core/models/port_range.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def max(self):
"""
- Gets the max of this PortRange.
+ **[Required]** Gets the max of this PortRange.
The maximum port number. Must not be lower than the minimum port number. To specify
a single port number, set both the min and max to the same value.
@@ -65,7 +65,7 @@ def max(self, max):
@property
def min(self):
"""
- Gets the min of this PortRange.
+ **[Required]** Gets the min of this PortRange.
The minimum port number. Must not be greater than the maximum port number.
diff --git a/src/oci/core/models/private_ip.py b/src/oci/core/models/private_ip.py
index a6205b6b9d..729ceaa00b 100644
--- a/src/oci/core/models/private_ip.py
+++ b/src/oci/core/models/private_ip.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,10 +22,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this PrivateIp.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this PrivateIp.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this PrivateIp.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this PrivateIp.
+ :type freeform_tags: dict(str, str)
+
:param hostname_label:
The value to assign to the hostname_label property of this PrivateIp.
:type hostname_label: str
@@ -58,7 +66,9 @@ def __init__(self, **kwargs):
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'hostname_label': 'str',
'id': 'str',
'ip_address': 'str',
@@ -71,7 +81,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'hostname_label': 'hostnameLabel',
'id': 'id',
'ip_address': 'ipAddress',
@@ -83,7 +95,9 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._hostname_label = None
self._id = None
self._ip_address = None
@@ -144,6 +158,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this PrivateIp.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this PrivateIp.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this PrivateIp.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this PrivateIp.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -170,6 +218,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this PrivateIp.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this PrivateIp.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this PrivateIp.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this PrivateIp.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def hostname_label(self):
"""
diff --git a/src/oci/core/models/route_rule.py b/src/oci/core/models/route_rule.py
index 316b745696..9cc646c0a5 100644
--- a/src/oci/core/models/route_rule.py
+++ b/src/oci/core/models/route_rule.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this RouteRule.
+ **[Required]** Gets the cidr_block of this RouteRule.
A destination IP address range in CIDR notation. Matching packets will
be routed to the indicated network entity (the target).
@@ -69,7 +69,7 @@ def cidr_block(self, cidr_block):
@property
def network_entity_id(self):
"""
- Gets the network_entity_id of this RouteRule.
+ **[Required]** Gets the network_entity_id of this RouteRule.
The OCID for the route rule's target. For information about the type of
targets you can specify, see
`Route Tables`__.
diff --git a/src/oci/core/models/route_table.py b/src/oci/core/models/route_table.py
index 5134b4c57a..a97c9fd119 100644
--- a/src/oci/core/models/route_table.py
+++ b/src/oci/core/models/route_table.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this RouteTable.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this RouteTable.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this RouteTable.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this RouteTable.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this RouteTable.
:type id: str
@@ -47,7 +55,9 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
'route_rules': 'list[RouteRule]',
@@ -57,7 +67,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
'route_rules': 'routeRules',
@@ -66,7 +78,9 @@ def __init__(self, **kwargs):
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
self._lifecycle_state = None
self._route_rules = None
@@ -76,7 +90,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this RouteTable.
+ **[Required]** Gets the compartment_id of this RouteTable.
The OCID of the compartment containing the route table.
@@ -97,6 +111,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this RouteTable.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this RouteTable.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this RouteTable.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this RouteTable.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -123,10 +171,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this RouteTable.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this RouteTable.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this RouteTable.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this RouteTable.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this RouteTable.
+ **[Required]** Gets the id of this RouteTable.
The route table's Oracle ID (OCID).
@@ -150,7 +234,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this RouteTable.
+ **[Required]** Gets the lifecycle_state of this RouteTable.
The route table's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -180,7 +264,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def route_rules(self):
"""
- Gets the route_rules of this RouteTable.
+ **[Required]** Gets the route_rules of this RouteTable.
The collection of rules for routing destination IPs to network devices.
@@ -232,7 +316,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this RouteTable.
+ **[Required]** Gets the vcn_id of this RouteTable.
The OCID of the VCN the route table list belongs to.
diff --git a/src/oci/core/models/security_list.py b/src/oci/core/models/security_list.py
index 5f164216fc..9cf8007537 100644
--- a/src/oci/core/models/security_list.py
+++ b/src/oci/core/models/security_list.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,6 +18,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this SecurityList.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this SecurityList.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this SecurityList.
:type display_name: str
@@ -26,6 +30,10 @@ def __init__(self, **kwargs):
The value to assign to the egress_security_rules property of this SecurityList.
:type egress_security_rules: list[EgressSecurityRule]
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this SecurityList.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this SecurityList.
:type id: str
@@ -51,8 +59,10 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'egress_security_rules': 'list[EgressSecurityRule]',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'ingress_security_rules': 'list[IngressSecurityRule]',
'lifecycle_state': 'str',
@@ -62,8 +72,10 @@ def __init__(self, **kwargs):
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'egress_security_rules': 'egressSecurityRules',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'ingress_security_rules': 'ingressSecurityRules',
'lifecycle_state': 'lifecycleState',
@@ -72,8 +84,10 @@ def __init__(self, **kwargs):
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
self._egress_security_rules = None
+ self._freeform_tags = None
self._id = None
self._ingress_security_rules = None
self._lifecycle_state = None
@@ -83,7 +97,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this SecurityList.
+ **[Required]** Gets the compartment_id of this SecurityList.
The OCID of the compartment containing the security list.
@@ -104,10 +118,44 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this SecurityList.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this SecurityList.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this SecurityList.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this SecurityList.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
- Gets the display_name of this SecurityList.
+ **[Required]** Gets the display_name of this SecurityList.
A user-friendly name. Does not have to be unique, and it's changeable.
Avoid entering confidential information.
@@ -133,7 +181,7 @@ def display_name(self, display_name):
@property
def egress_security_rules(self):
"""
- Gets the egress_security_rules of this SecurityList.
+ **[Required]** Gets the egress_security_rules of this SecurityList.
Rules for allowing egress IP packets.
@@ -154,10 +202,46 @@ def egress_security_rules(self, egress_security_rules):
"""
self._egress_security_rules = egress_security_rules
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this SecurityList.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this SecurityList.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this SecurityList.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this SecurityList.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this SecurityList.
+ **[Required]** Gets the id of this SecurityList.
The security list's Oracle Cloud ID (OCID).
@@ -181,7 +265,7 @@ def id(self, id):
@property
def ingress_security_rules(self):
"""
- Gets the ingress_security_rules of this SecurityList.
+ **[Required]** Gets the ingress_security_rules of this SecurityList.
Rules for allowing ingress IP packets.
@@ -205,7 +289,7 @@ def ingress_security_rules(self, ingress_security_rules):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this SecurityList.
+ **[Required]** Gets the lifecycle_state of this SecurityList.
The security list's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -235,7 +319,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_created(self):
"""
- Gets the time_created of this SecurityList.
+ **[Required]** Gets the time_created of this SecurityList.
The date and time the security list was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -263,7 +347,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this SecurityList.
+ **[Required]** Gets the vcn_id of this SecurityList.
The OCID of the VCN the security list belongs to.
diff --git a/src/oci/core/models/shape.py b/src/oci/core/models/shape.py
index 8bfd353149..a666a401aa 100644
--- a/src/oci/core/models/shape.py
+++ b/src/oci/core/models/shape.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def shape(self):
"""
- Gets the shape of this Shape.
+ **[Required]** Gets the shape of this Shape.
The name of the shape. You can enumerate all available shapes by calling
:func:`list_shapes`.
diff --git a/src/oci/core/models/subnet.py b/src/oci/core/models/subnet.py
index bf7d007264..3f284dfb98 100644
--- a/src/oci/core/models/subnet.py
+++ b/src/oci/core/models/subnet.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,6 +26,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this Subnet.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Subnet.
+ :type defined_tags: dict(str, dict(str, object))
+
:param dhcp_options_id:
The value to assign to the dhcp_options_id property of this Subnet.
:type dhcp_options_id: str
@@ -38,6 +42,10 @@ def __init__(self, **kwargs):
The value to assign to the dns_label property of this Subnet.
:type dns_label: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Subnet.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this Subnet.
:type id: str
@@ -85,9 +93,11 @@ def __init__(self, **kwargs):
'availability_domain': 'str',
'cidr_block': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'dhcp_options_id': 'str',
'display_name': 'str',
'dns_label': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
'prohibit_public_ip_on_vnic': 'bool',
@@ -104,9 +114,11 @@ def __init__(self, **kwargs):
'availability_domain': 'availabilityDomain',
'cidr_block': 'cidrBlock',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'dhcp_options_id': 'dhcpOptionsId',
'display_name': 'displayName',
'dns_label': 'dnsLabel',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
'prohibit_public_ip_on_vnic': 'prohibitPublicIpOnVnic',
@@ -122,9 +134,11 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._cidr_block = None
self._compartment_id = None
+ self._defined_tags = None
self._dhcp_options_id = None
self._display_name = None
self._dns_label = None
+ self._freeform_tags = None
self._id = None
self._lifecycle_state = None
self._prohibit_public_ip_on_vnic = None
@@ -139,7 +153,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this Subnet.
+ **[Required]** Gets the availability_domain of this Subnet.
The subnet's Availability Domain.
Example: `Uocm:PHX-AD-1`
@@ -167,7 +181,7 @@ def availability_domain(self, availability_domain):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this Subnet.
+ **[Required]** Gets the cidr_block of this Subnet.
The subnet's CIDR block.
Example: `172.16.1.0/24`
@@ -195,7 +209,7 @@ def cidr_block(self, cidr_block):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Subnet.
+ **[Required]** Gets the compartment_id of this Subnet.
The OCID of the compartment containing the subnet.
@@ -216,6 +230,40 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Subnet.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Subnet.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Subnet.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Subnet.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def dhcp_options_id(self):
"""
@@ -318,10 +366,46 @@ def dns_label(self, dns_label):
"""
self._dns_label = dns_label
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Subnet.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Subnet.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Subnet.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Subnet.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this Subnet.
+ **[Required]** Gets the id of this Subnet.
The subnet's Oracle ID (OCID).
@@ -345,7 +429,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Subnet.
+ **[Required]** Gets the lifecycle_state of this Subnet.
The subnet's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -419,7 +503,7 @@ def prohibit_public_ip_on_vnic(self, prohibit_public_ip_on_vnic):
@property
def route_table_id(self):
"""
- Gets the route_table_id of this Subnet.
+ **[Required]** Gets the route_table_id of this Subnet.
The OCID of the route table the subnet is using.
@@ -535,7 +619,7 @@ def time_created(self, time_created):
@property
def vcn_id(self):
"""
- Gets the vcn_id of this Subnet.
+ **[Required]** Gets the vcn_id of this Subnet.
The OCID of the VCN the subnet is in.
@@ -559,7 +643,7 @@ def vcn_id(self, vcn_id):
@property
def virtual_router_ip(self):
"""
- Gets the virtual_router_ip of this Subnet.
+ **[Required]** Gets the virtual_router_ip of this Subnet.
The IP address of the virtual router.
Example: `10.0.14.1`
@@ -587,7 +671,7 @@ def virtual_router_ip(self, virtual_router_ip):
@property
def virtual_router_mac(self):
"""
- Gets the virtual_router_mac of this Subnet.
+ **[Required]** Gets the virtual_router_mac of this Subnet.
The MAC address of the virtual router.
Example: `00:00:17:B6:4D:DD`
diff --git a/src/oci/core/models/tcp_options.py b/src/oci/core/models/tcp_options.py
index 4d29525c8a..ce8ee20353 100644
--- a/src/oci/core/models/tcp_options.py
+++ b/src/oci/core/models/tcp_options.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/tunnel_config.py b/src/oci/core/models/tunnel_config.py
index 65da176be1..a2cfba4144 100644
--- a/src/oci/core/models/tunnel_config.py
+++ b/src/oci/core/models/tunnel_config.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def ip_address(self):
"""
- Gets the ip_address of this TunnelConfig.
+ **[Required]** Gets the ip_address of this TunnelConfig.
The IP address of Oracle's VPN headend.
Example: `129.146.17.50`
@@ -74,7 +74,7 @@ def ip_address(self, ip_address):
@property
def shared_secret(self):
"""
- Gets the shared_secret of this TunnelConfig.
+ **[Required]** Gets the shared_secret of this TunnelConfig.
The shared secret of the IPSec tunnel.
Example: `vFG2IF6TWq4UToUiLSRDoJEUs6j1c.p8G.dVQxiMfMO0yXMLi.lZTbYIWhGu4V8o`
diff --git a/src/oci/core/models/tunnel_status.py b/src/oci/core/models/tunnel_status.py
index 59ba160189..c06a84a800 100644
--- a/src/oci/core/models/tunnel_status.py
+++ b/src/oci/core/models/tunnel_status.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -55,7 +55,7 @@ def __init__(self, **kwargs):
@property
def ip_address(self):
"""
- Gets the ip_address of this TunnelStatus.
+ **[Required]** Gets the ip_address of this TunnelStatus.
The IP address of Oracle's VPN headend.
Example: `129.146.17.50`
diff --git a/src/oci/core/models/udp_options.py b/src/oci/core/models/udp_options.py
index c421bfdf22..c8ee24695a 100644
--- a/src/oci/core/models/udp_options.py
+++ b/src/oci/core/models/udp_options.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_boot_volume_details.py b/src/oci/core/models/update_boot_volume_details.py
index 6f663f936e..95e1b2d699 100644
--- a/src/oci/core/models/update_boot_volume_details.py
+++ b/src/oci/core/models/update_boot_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_console_history_details.py b/src/oci/core/models/update_console_history_details.py
index 2d81c07c68..d2f3016e7a 100644
--- a/src/oci/core/models/update_console_history_details.py
+++ b/src/oci/core/models/update_console_history_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateConsoleHistoryDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateConsoleHistoryDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateConsoleHistoryDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateConsoleHistoryDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateConsoleHistoryDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateConsoleHistoryDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateConsoleHistoryDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateConsoleHistoryDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -53,6 +101,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateConsoleHistoryDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateConsoleHistoryDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateConsoleHistoryDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateConsoleHistoryDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_cpe_details.py b/src/oci/core/models/update_cpe_details.py
index 49386230b6..81fe9ef614 100644
--- a/src/oci/core/models/update_cpe_details.py
+++ b/src/oci/core/models/update_cpe_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_cross_connect_details.py b/src/oci/core/models/update_cross_connect_details.py
index 0779deb7a1..75f4662335 100644
--- a/src/oci/core/models/update_cross_connect_details.py
+++ b/src/oci/core/models/update_cross_connect_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_cross_connect_group_details.py b/src/oci/core/models/update_cross_connect_group_details.py
index a553fb6527..ab947eed45 100644
--- a/src/oci/core/models/update_cross_connect_group_details.py
+++ b/src/oci/core/models/update_cross_connect_group_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_dhcp_details.py b/src/oci/core/models/update_dhcp_details.py
index ee527e9bc9..273f8b94b0 100644
--- a/src/oci/core/models/update_dhcp_details.py
+++ b/src/oci/core/models/update_dhcp_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,28 +14,76 @@ def __init__(self, **kwargs):
Initializes a new UpdateDhcpDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateDhcpDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateDhcpDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateDhcpDetails.
+ :type freeform_tags: dict(str, str)
+
:param options:
The value to assign to the options property of this UpdateDhcpDetails.
:type options: list[DhcpOption]
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'options': 'list[DhcpOption]'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'options': 'options'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._options = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateDhcpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateDhcpDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateDhcpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateDhcpDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -62,6 +110,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateDhcpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateDhcpDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateDhcpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateDhcpDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def options(self):
"""
diff --git a/src/oci/core/models/update_drg_attachment_details.py b/src/oci/core/models/update_drg_attachment_details.py
index 618a3067c0..e2883077e4 100644
--- a/src/oci/core/models/update_drg_attachment_details.py
+++ b/src/oci/core/models/update_drg_attachment_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_drg_details.py b/src/oci/core/models/update_drg_details.py
index 8ee45b7c67..c83dcb0b72 100644
--- a/src/oci/core/models/update_drg_details.py
+++ b/src/oci/core/models/update_drg_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_image_details.py b/src/oci/core/models/update_image_details.py
index 2766f5ce50..4e13ebf9db 100644
--- a/src/oci/core/models/update_image_details.py
+++ b/src/oci/core/models/update_image_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateImageDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateImageDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateImageDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateImageDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateImageDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateImageDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateImageDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateImageDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -59,6 +107,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateImageDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateImageDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateImageDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateImageDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_instance_details.py b/src/oci/core/models/update_instance_details.py
index 7d28d279ab..e61b307f68 100644
--- a/src/oci/core/models/update_instance_details.py
+++ b/src/oci/core/models/update_instance_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateInstanceDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateInstanceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateInstanceDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateInstanceDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateInstanceDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateInstanceDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateInstanceDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateInstanceDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -59,6 +107,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateInstanceDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateInstanceDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateInstanceDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateInstanceDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_internet_gateway_details.py b/src/oci/core/models/update_internet_gateway_details.py
index f780646c33..0c52d9b1b5 100644
--- a/src/oci/core/models/update_internet_gateway_details.py
+++ b/src/oci/core/models/update_internet_gateway_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_ip_sec_connection_details.py b/src/oci/core/models/update_ip_sec_connection_details.py
index b8af16b1c7..0ff3c8c2d8 100644
--- a/src/oci/core/models/update_ip_sec_connection_details.py
+++ b/src/oci/core/models/update_ip_sec_connection_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_local_peering_gateway_details.py b/src/oci/core/models/update_local_peering_gateway_details.py
index d61e31f3aa..052e101685 100644
--- a/src/oci/core/models/update_local_peering_gateway_details.py
+++ b/src/oci/core/models/update_local_peering_gateway_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_private_ip_details.py b/src/oci/core/models/update_private_ip_details.py
index c355a36024..da42100c77 100644
--- a/src/oci/core/models/update_private_ip_details.py
+++ b/src/oci/core/models/update_private_ip_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,10 +14,18 @@ def __init__(self, **kwargs):
Initializes a new UpdatePrivateIpDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdatePrivateIpDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdatePrivateIpDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdatePrivateIpDetails.
+ :type freeform_tags: dict(str, str)
+
:param hostname_label:
The value to assign to the hostname_label property of this UpdatePrivateIpDetails.
:type hostname_label: str
@@ -28,21 +36,61 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'hostname_label': 'str',
'vnic_id': 'str'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'hostname_label': 'hostnameLabel',
'vnic_id': 'vnicId'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._hostname_label = None
self._vnic_id = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdatePrivateIpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdatePrivateIpDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdatePrivateIpDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdatePrivateIpDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -69,6 +117,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdatePrivateIpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdatePrivateIpDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdatePrivateIpDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdatePrivateIpDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def hostname_label(self):
"""
diff --git a/src/oci/core/models/update_route_table_details.py b/src/oci/core/models/update_route_table_details.py
index ec389e7ee6..879ac07073 100644
--- a/src/oci/core/models/update_route_table_details.py
+++ b/src/oci/core/models/update_route_table_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,28 +14,76 @@ def __init__(self, **kwargs):
Initializes a new UpdateRouteTableDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateRouteTableDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateRouteTableDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateRouteTableDetails.
+ :type freeform_tags: dict(str, str)
+
:param route_rules:
The value to assign to the route_rules property of this UpdateRouteTableDetails.
:type route_rules: list[RouteRule]
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'route_rules': 'list[RouteRule]'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'route_rules': 'routeRules'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._route_rules = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateRouteTableDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateRouteTableDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateRouteTableDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateRouteTableDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -62,6 +110,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateRouteTableDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateRouteTableDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateRouteTableDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateRouteTableDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def route_rules(self):
"""
diff --git a/src/oci/core/models/update_security_list_details.py b/src/oci/core/models/update_security_list_details.py
index 813b21b206..e57be04725 100644
--- a/src/oci/core/models/update_security_list_details.py
+++ b/src/oci/core/models/update_security_list_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,6 +14,10 @@ def __init__(self, **kwargs):
Initializes a new UpdateSecurityListDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateSecurityListDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateSecurityListDetails.
:type display_name: str
@@ -22,27 +26,71 @@ def __init__(self, **kwargs):
The value to assign to the egress_security_rules property of this UpdateSecurityListDetails.
:type egress_security_rules: list[EgressSecurityRule]
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateSecurityListDetails.
+ :type freeform_tags: dict(str, str)
+
:param ingress_security_rules:
The value to assign to the ingress_security_rules property of this UpdateSecurityListDetails.
:type ingress_security_rules: list[IngressSecurityRule]
"""
self.swagger_types = {
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'egress_security_rules': 'list[EgressSecurityRule]',
+ 'freeform_tags': 'dict(str, str)',
'ingress_security_rules': 'list[IngressSecurityRule]'
}
self.attribute_map = {
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'egress_security_rules': 'egressSecurityRules',
+ 'freeform_tags': 'freeformTags',
'ingress_security_rules': 'ingressSecurityRules'
}
+ self._defined_tags = None
self._display_name = None
self._egress_security_rules = None
+ self._freeform_tags = None
self._ingress_security_rules = None
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateSecurityListDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateSecurityListDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateSecurityListDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateSecurityListDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -93,6 +141,42 @@ def egress_security_rules(self, egress_security_rules):
"""
self._egress_security_rules = egress_security_rules
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateSecurityListDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateSecurityListDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateSecurityListDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateSecurityListDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def ingress_security_rules(self):
"""
diff --git a/src/oci/core/models/update_subnet_details.py b/src/oci/core/models/update_subnet_details.py
index 3f5343dd6c..22a74c27ac 100644
--- a/src/oci/core/models/update_subnet_details.py
+++ b/src/oci/core/models/update_subnet_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateSubnetDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateSubnetDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateSubnetDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateSubnetDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateSubnetDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateSubnetDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateSubnetDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateSubnetDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -55,6 +103,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateSubnetDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateSubnetDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateSubnetDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateSubnetDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_vcn_details.py b/src/oci/core/models/update_vcn_details.py
index 86665950bc..fb66952d29 100644
--- a/src/oci/core/models/update_vcn_details.py
+++ b/src/oci/core/models/update_vcn_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateVcnDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateVcnDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateVcnDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateVcnDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateVcnDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateVcnDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateVcnDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateVcnDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -55,6 +103,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateVcnDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateVcnDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateVcnDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateVcnDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_virtual_circuit_details.py b/src/oci/core/models/update_virtual_circuit_details.py
index cbb8ac4b5b..b32408653a 100644
--- a/src/oci/core/models/update_virtual_circuit_details.py
+++ b/src/oci/core/models/update_virtual_circuit_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_vnic_details.py b/src/oci/core/models/update_vnic_details.py
index f109bd4d7f..9317f6813e 100644
--- a/src/oci/core/models/update_vnic_details.py
+++ b/src/oci/core/models/update_vnic_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/update_volume_backup_details.py b/src/oci/core/models/update_volume_backup_details.py
index 6976817477..443d416f7f 100644
--- a/src/oci/core/models/update_volume_backup_details.py
+++ b/src/oci/core/models/update_volume_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateVolumeBackupDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateVolumeBackupDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateVolumeBackupDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateVolumeBackupDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateVolumeBackupDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateVolumeBackupDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateVolumeBackupDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateVolumeBackupDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -55,6 +103,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateVolumeBackupDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateVolumeBackupDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateVolumeBackupDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateVolumeBackupDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_volume_details.py b/src/oci/core/models/update_volume_details.py
index a41eb9dc7a..bb623e8a23 100644
--- a/src/oci/core/models/update_volume_details.py
+++ b/src/oci/core/models/update_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -14,20 +14,68 @@ def __init__(self, **kwargs):
Initializes a new UpdateVolumeDetails object with values from values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateVolumeDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this UpdateVolumeDetails.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateVolumeDetails.
+ :type freeform_tags: dict(str, str)
+
"""
self.swagger_types = {
- 'display_name': 'str'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)'
}
self.attribute_map = {
- 'display_name': 'displayName'
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags'
}
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateVolumeDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateVolumeDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateVolumeDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateVolumeDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
@property
def display_name(self):
@@ -55,6 +103,42 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateVolumeDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateVolumeDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateVolumeDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateVolumeDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/vcn.py b/src/oci/core/models/vcn.py
index 770b88f7d6..ca96e3fb62 100644
--- a/src/oci/core/models/vcn.py
+++ b/src/oci/core/models/vcn.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -34,6 +34,10 @@ def __init__(self, **kwargs):
The value to assign to the default_security_list_id property of this Vcn.
:type default_security_list_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Vcn.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this Vcn.
:type display_name: str
@@ -42,6 +46,10 @@ def __init__(self, **kwargs):
The value to assign to the dns_label property of this Vcn.
:type dns_label: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Vcn.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this Vcn.
:type id: str
@@ -67,8 +75,10 @@ def __init__(self, **kwargs):
'default_dhcp_options_id': 'str',
'default_route_table_id': 'str',
'default_security_list_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'dns_label': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
'time_created': 'datetime',
@@ -81,8 +91,10 @@ def __init__(self, **kwargs):
'default_dhcp_options_id': 'defaultDhcpOptionsId',
'default_route_table_id': 'defaultRouteTableId',
'default_security_list_id': 'defaultSecurityListId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
'dns_label': 'dnsLabel',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
@@ -94,8 +106,10 @@ def __init__(self, **kwargs):
self._default_dhcp_options_id = None
self._default_route_table_id = None
self._default_security_list_id = None
+ self._defined_tags = None
self._display_name = None
self._dns_label = None
+ self._freeform_tags = None
self._id = None
self._lifecycle_state = None
self._time_created = None
@@ -104,7 +118,7 @@ def __init__(self, **kwargs):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this Vcn.
+ **[Required]** Gets the cidr_block of this Vcn.
The CIDR IP address block of the VCN.
Example: `172.16.0.0/16`
@@ -132,7 +146,7 @@ def cidr_block(self, cidr_block):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Vcn.
+ **[Required]** Gets the compartment_id of this Vcn.
The OCID of the compartment containing the VCN.
@@ -225,6 +239,40 @@ def default_security_list_id(self, default_security_list_id):
"""
self._default_security_list_id = default_security_list_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Vcn.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Vcn.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Vcn.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Vcn.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
@@ -303,10 +351,46 @@ def dns_label(self, dns_label):
"""
self._dns_label = dns_label
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Vcn.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Vcn.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Vcn.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Vcn.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this Vcn.
+ **[Required]** Gets the id of this Vcn.
The VCN's Oracle ID (OCID).
@@ -330,7 +414,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Vcn.
+ **[Required]** Gets the lifecycle_state of this Vcn.
The VCN's current state.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/core/models/virtual_circuit.py b/src/oci/core/models/virtual_circuit.py
index 55377dfc7e..d2e0897d8d 100644
--- a/src/oci/core/models/virtual_circuit.py
+++ b/src/oci/core/models/virtual_circuit.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/core/models/virtual_circuit_bandwidth_shape.py b/src/oci/core/models/virtual_circuit_bandwidth_shape.py
index a61a32c76b..ff089dc473 100644
--- a/src/oci/core/models/virtual_circuit_bandwidth_shape.py
+++ b/src/oci/core/models/virtual_circuit_bandwidth_shape.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -67,7 +67,7 @@ def bandwidth_in_mbps(self, bandwidth_in_mbps):
@property
def name(self):
"""
- Gets the name of this VirtualCircuitBandwidthShape.
+ **[Required]** Gets the name of this VirtualCircuitBandwidthShape.
The name of the bandwidth shape.
Example: `10 Gbps`
diff --git a/src/oci/core/models/virtual_circuit_public_prefix.py b/src/oci/core/models/virtual_circuit_public_prefix.py
index 4069d45a92..0cf2bf6e5c 100644
--- a/src/oci/core/models/virtual_circuit_public_prefix.py
+++ b/src/oci/core/models/virtual_circuit_public_prefix.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def cidr_block(self):
"""
- Gets the cidr_block of this VirtualCircuitPublicPrefix.
+ **[Required]** Gets the cidr_block of this VirtualCircuitPublicPrefix.
Publix IP prefix (CIDR) that the customer specified.
@@ -65,7 +65,7 @@ def cidr_block(self, cidr_block):
@property
def verification_state(self):
"""
- Gets the verification_state of this VirtualCircuitPublicPrefix.
+ **[Required]** Gets the verification_state of this VirtualCircuitPublicPrefix.
Oracle must verify that the customer owns the public IP prefix before traffic
for that prefix can flow across the virtual circuit. Verification can take a
few business days. `IN_PROGRESS` means Oracle is verifying the prefix. `COMPLETED`
diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py
index db6a84d91e..d1ae3d30c3 100644
--- a/src/oci/core/models/vnic.py
+++ b/src/oci/core/models/vnic.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -118,7 +118,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this Vnic.
+ **[Required]** Gets the availability_domain of this Vnic.
The VNIC's Availability Domain.
Example: `Uocm:PHX-AD-1`
@@ -146,7 +146,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Vnic.
+ **[Required]** Gets the compartment_id of this Vnic.
The OCID of the compartment containing the VNIC.
@@ -248,7 +248,7 @@ def hostname_label(self, hostname_label):
@property
def id(self):
"""
- Gets the id of this Vnic.
+ **[Required]** Gets the id of this Vnic.
The OCID of the VNIC.
@@ -298,7 +298,7 @@ def is_primary(self, is_primary):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Vnic.
+ **[Required]** Gets the lifecycle_state of this Vnic.
The current state of the VNIC.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'.
@@ -356,7 +356,7 @@ def mac_address(self, mac_address):
@property
def private_ip(self):
"""
- Gets the private_ip of this Vnic.
+ **[Required]** Gets the private_ip of this Vnic.
The private IP address of the primary `privateIp` object on the VNIC.
The address is within the CIDR of the VNIC's subnet.
@@ -448,7 +448,7 @@ def skip_source_dest_check(self, skip_source_dest_check):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this Vnic.
+ **[Required]** Gets the subnet_id of this Vnic.
The OCID of the subnet the VNIC is in.
@@ -472,7 +472,7 @@ def subnet_id(self, subnet_id):
@property
def time_created(self):
"""
- Gets the time_created of this Vnic.
+ **[Required]** Gets the time_created of this Vnic.
The date and time the VNIC was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/vnic_attachment.py b/src/oci/core/models/vnic_attachment.py
index 86c5c32eab..fef883048e 100644
--- a/src/oci/core/models/vnic_attachment.py
+++ b/src/oci/core/models/vnic_attachment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -104,7 +104,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this VnicAttachment.
+ **[Required]** Gets the availability_domain of this VnicAttachment.
The Availability Domain of the instance.
Example: `Uocm:PHX-AD-1`
@@ -132,7 +132,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this VnicAttachment.
+ **[Required]** Gets the compartment_id of this VnicAttachment.
The OCID of the compartment the VNIC attachment is in, which is the same
compartment the instance is in.
@@ -184,7 +184,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this VnicAttachment.
+ **[Required]** Gets the id of this VnicAttachment.
The OCID of the VNIC attachment.
@@ -208,7 +208,7 @@ def id(self, id):
@property
def instance_id(self):
"""
- Gets the instance_id of this VnicAttachment.
+ **[Required]** Gets the instance_id of this VnicAttachment.
The OCID of the instance.
@@ -232,7 +232,7 @@ def instance_id(self, instance_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this VnicAttachment.
+ **[Required]** Gets the lifecycle_state of this VnicAttachment.
The current state of the VNIC attachment.
Allowed values for this property are: "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
@@ -298,7 +298,7 @@ def nic_index(self, nic_index):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this VnicAttachment.
+ **[Required]** Gets the subnet_id of this VnicAttachment.
The OCID of the VNIC's subnet.
@@ -322,7 +322,7 @@ def subnet_id(self, subnet_id):
@property
def time_created(self):
"""
- Gets the time_created of this VnicAttachment.
+ **[Required]** Gets the time_created of this VnicAttachment.
The date and time the VNIC attachment was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/core/models/volume.py b/src/oci/core/models/volume.py
index 50bfcc412d..4e1f2de293 100644
--- a/src/oci/core/models/volume.py
+++ b/src/oci/core/models/volume.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,10 +22,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this Volume.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Volume.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this Volume.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Volume.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this Volume.
:type id: str
@@ -60,7 +68,9 @@ def __init__(self, **kwargs):
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'is_hydrated': 'bool',
'lifecycle_state': 'str',
@@ -73,7 +83,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'is_hydrated': 'isHydrated',
'lifecycle_state': 'lifecycleState',
@@ -85,7 +97,9 @@ def __init__(self, **kwargs):
self._availability_domain = None
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
self._is_hydrated = None
self._lifecycle_state = None
@@ -97,7 +111,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this Volume.
+ **[Required]** Gets the availability_domain of this Volume.
The Availability Domain of the volume.
Example: `Uocm:PHX-AD-1`
@@ -125,7 +139,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Volume.
+ **[Required]** Gets the compartment_id of this Volume.
The OCID of the compartment that contains the volume.
@@ -146,10 +160,44 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Volume.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Volume.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Volume.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Volume.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
- Gets the display_name of this Volume.
+ **[Required]** Gets the display_name of this Volume.
A user-friendly name. Does not have to be unique, and it's changeable.
Avoid entering confidential information.
@@ -172,10 +220,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Volume.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Volume.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Volume.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Volume.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this Volume.
+ **[Required]** Gets the id of this Volume.
The OCID of the volume.
@@ -223,7 +307,7 @@ def is_hydrated(self, is_hydrated):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Volume.
+ **[Required]** Gets the lifecycle_state of this Volume.
The current state of a volume.
Allowed values for this property are: "PROVISIONING", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", 'UNKNOWN_ENUM_VALUE'.
@@ -277,7 +361,7 @@ def size_in_gbs(self, size_in_gbs):
@property
def size_in_mbs(self):
"""
- Gets the size_in_mbs of this Volume.
+ **[Required]** Gets the size_in_mbs of this Volume.
The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
@@ -327,7 +411,7 @@ def source_details(self, source_details):
@property
def time_created(self):
"""
- Gets the time_created of this Volume.
+ **[Required]** Gets the time_created of this Volume.
The date and time the volume was created. Format defined by RFC3339.
diff --git a/src/oci/core/models/volume_attachment.py b/src/oci/core/models/volume_attachment.py
index 59a5ad8204..2554d53df3 100644
--- a/src/oci/core/models/volume_attachment.py
+++ b/src/oci/core/models/volume_attachment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -107,7 +107,7 @@ def get_subtype(object_dictionary):
@property
def attachment_type(self):
"""
- Gets the attachment_type of this VolumeAttachment.
+ **[Required]** Gets the attachment_type of this VolumeAttachment.
The type of volume attachment.
@@ -131,7 +131,7 @@ def attachment_type(self, attachment_type):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this VolumeAttachment.
+ **[Required]** Gets the availability_domain of this VolumeAttachment.
The Availability Domain of an instance.
Example: `Uocm:PHX-AD-1`
@@ -159,7 +159,7 @@ def availability_domain(self, availability_domain):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this VolumeAttachment.
+ **[Required]** Gets the compartment_id of this VolumeAttachment.
The OCID of the compartment.
@@ -213,7 +213,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this VolumeAttachment.
+ **[Required]** Gets the id of this VolumeAttachment.
The OCID of the volume attachment.
@@ -237,7 +237,7 @@ def id(self, id):
@property
def instance_id(self):
"""
- Gets the instance_id of this VolumeAttachment.
+ **[Required]** Gets the instance_id of this VolumeAttachment.
The OCID of the instance the volume is attached to.
@@ -261,7 +261,7 @@ def instance_id(self, instance_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this VolumeAttachment.
+ **[Required]** Gets the lifecycle_state of this VolumeAttachment.
The current state of the volume attachment.
Allowed values for this property are: "ATTACHING", "ATTACHED", "DETACHING", "DETACHED", 'UNKNOWN_ENUM_VALUE'.
@@ -291,7 +291,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_created(self):
"""
- Gets the time_created of this VolumeAttachment.
+ **[Required]** Gets the time_created of this VolumeAttachment.
The date and time the volume was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -319,7 +319,7 @@ def time_created(self, time_created):
@property
def volume_id(self):
"""
- Gets the volume_id of this VolumeAttachment.
+ **[Required]** Gets the volume_id of this VolumeAttachment.
The OCID of the volume.
diff --git a/src/oci/core/models/volume_backup.py b/src/oci/core/models/volume_backup.py
index a121c2707f..6f96e40ca2 100644
--- a/src/oci/core/models/volume_backup.py
+++ b/src/oci/core/models/volume_backup.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,10 +18,18 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this VolumeBackup.
:type compartment_id: str
+ :param defined_tags:
+ The value to assign to the defined_tags property of this VolumeBackup.
+ :type defined_tags: dict(str, dict(str, object))
+
:param display_name:
The value to assign to the display_name property of this VolumeBackup.
:type display_name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this VolumeBackup.
+ :type freeform_tags: dict(str, str)
+
:param id:
The value to assign to the id property of this VolumeBackup.
:type id: str
@@ -63,7 +71,9 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
'size_in_gbs': 'int',
@@ -77,7 +87,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
'size_in_gbs': 'sizeInGBs',
@@ -90,7 +102,9 @@ def __init__(self, **kwargs):
}
self._compartment_id = None
+ self._defined_tags = None
self._display_name = None
+ self._freeform_tags = None
self._id = None
self._lifecycle_state = None
self._size_in_gbs = None
@@ -104,7 +118,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this VolumeBackup.
+ **[Required]** Gets the compartment_id of this VolumeBackup.
The OCID of the compartment that contains the volume backup.
@@ -125,10 +139,44 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this VolumeBackup.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this VolumeBackup.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this VolumeBackup.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this VolumeBackup.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
@property
def display_name(self):
"""
- Gets the display_name of this VolumeBackup.
+ **[Required]** Gets the display_name of this VolumeBackup.
A user-friendly name for the volume backup. Does not have to be unique and it's changeable.
Avoid entering confidential information.
@@ -151,10 +199,46 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this VolumeBackup.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this VolumeBackup.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this VolumeBackup.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no
+ predefined name, type, or namespace. For more information, see
+ `Resource Tags`__.
+
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this VolumeBackup.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
@property
def id(self):
"""
- Gets the id of this VolumeBackup.
+ **[Required]** Gets the id of this VolumeBackup.
The OCID of the volume backup.
@@ -178,7 +262,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this VolumeBackup.
+ **[Required]** Gets the lifecycle_state of this VolumeBackup.
The current state of a volume backup.
Allowed values for this property are: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED", 'UNKNOWN_ENUM_VALUE'.
@@ -258,7 +342,7 @@ def size_in_mbs(self, size_in_mbs):
@property
def time_created(self):
"""
- Gets the time_created of this VolumeBackup.
+ **[Required]** Gets the time_created of this VolumeBackup.
The date and time the volume backup was created. This is the time the actual point-in-time image
of the volume data was taken. Format defined by RFC3339.
diff --git a/src/oci/core/models/volume_source_details.py b/src/oci/core/models/volume_source_details.py
index 2f1c6ba6e4..cac9bdde56 100644
--- a/src/oci/core/models/volume_source_details.py
+++ b/src/oci/core/models/volume_source_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def get_subtype(object_dictionary):
@property
def type(self):
"""
- Gets the type of this VolumeSourceDetails.
+ **[Required]** Gets the type of this VolumeSourceDetails.
:return: The type of this VolumeSourceDetails.
:rtype: str
diff --git a/src/oci/core/models/volume_source_from_volume_backup_details.py b/src/oci/core/models/volume_source_from_volume_backup_details.py
index 0cf6076033..2dc86a37dd 100644
--- a/src/oci/core/models/volume_source_from_volume_backup_details.py
+++ b/src/oci/core/models/volume_source_from_volume_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .volume_source_details import VolumeSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this VolumeSourceFromVolumeBackupDetails.
+ **[Required]** Gets the id of this VolumeSourceFromVolumeBackupDetails.
The OCID of the volume backup.
diff --git a/src/oci/core/models/volume_source_from_volume_details.py b/src/oci/core/models/volume_source_from_volume_details.py
index efffcf3b18..ce817d4d37 100644
--- a/src/oci/core/models/volume_source_from_volume_details.py
+++ b/src/oci/core/models/volume_source_from_volume_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .volume_source_details import VolumeSourceDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this VolumeSourceFromVolumeDetails.
+ **[Required]** Gets the id of this VolumeSourceFromVolumeDetails.
The OCID of the volume.
diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py
index 8a8dd2857e..ab9992b434 100644
--- a/src/oci/core/virtual_network_client.py
+++ b/src/oci/core/virtual_network_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/database/__init__.py b/src/oci/database/__init__.py
index 636d1fbdf6..4f2535aec4 100644
--- a/src/oci/database/__init__.py
+++ b/src/oci/database/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/database/database_client.py b/src/oci/database/database_client.py
index e7641cba62..4b45d0d651 100644
--- a/src/oci/database/database_client.py
+++ b/src/oci/database/database_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/database/models/__init__.py b/src/oci/database/models/__init__.py
index 3c3e13cd17..1af9e1ed4d 100644
--- a/src/oci/database/models/__init__.py
+++ b/src/oci/database/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/database/models/backup.py b/src/oci/database/models/backup.py
index 92889a703e..d76d8ab93d 100644
--- a/src/oci/database/models/backup.py
+++ b/src/oci/database/models/backup.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/backup_summary.py b/src/oci/database/models/backup_summary.py
index 2991b89f22..b2351007e8 100644
--- a/src/oci/database/models/backup_summary.py
+++ b/src/oci/database/models/backup_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/create_backup_details.py b/src/oci/database/models/create_backup_details.py
index 800381d3ac..30449fe66c 100644
--- a/src/oci/database/models/create_backup_details.py
+++ b/src/oci/database/models/create_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def database_id(self):
"""
- Gets the database_id of this CreateBackupDetails.
+ **[Required]** Gets the database_id of this CreateBackupDetails.
The OCID of the database.
@@ -63,7 +63,7 @@ def database_id(self, database_id):
@property
def display_name(self):
"""
- Gets the display_name of this CreateBackupDetails.
+ **[Required]** Gets the display_name of this CreateBackupDetails.
The user-friendly name for the backup. It does not have to be unique.
diff --git a/src/oci/database/models/create_data_guard_association_details.py b/src/oci/database/models/create_data_guard_association_details.py
index bf321fb12c..5cad2a599a 100644
--- a/src/oci/database/models/create_data_guard_association_details.py
+++ b/src/oci/database/models/create_data_guard_association_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -72,7 +72,7 @@ def get_subtype(object_dictionary):
@property
def creation_type(self):
"""
- Gets the creation_type of this CreateDataGuardAssociationDetails.
+ **[Required]** Gets the creation_type of this CreateDataGuardAssociationDetails.
Specifies where to create the associated database.
\"ExistingDbSystem\" is the only supported `creationType` value.
@@ -98,7 +98,7 @@ def creation_type(self, creation_type):
@property
def database_admin_password(self):
"""
- Gets the database_admin_password of this CreateDataGuardAssociationDetails.
+ **[Required]** Gets the database_admin_password of this CreateDataGuardAssociationDetails.
A strong password for the `SYS`, `SYSTEM`, and `PDB Admin` users to apply during standby creation.
The password must contain no fewer than nine characters and include:
@@ -146,7 +146,7 @@ def database_admin_password(self, database_admin_password):
@property
def protection_mode(self):
"""
- Gets the protection_mode of this CreateDataGuardAssociationDetails.
+ **[Required]** Gets the protection_mode of this CreateDataGuardAssociationDetails.
The protection mode to set up between the primary and standby databases. For more information, see
`Oracle Data Guard Protection Modes`__
in the Oracle Data Guard documentation.
@@ -190,7 +190,7 @@ def protection_mode(self, protection_mode):
@property
def transport_type(self):
"""
- Gets the transport_type of this CreateDataGuardAssociationDetails.
+ **[Required]** Gets the transport_type of this CreateDataGuardAssociationDetails.
The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
* MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
diff --git a/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py b/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py
index 260dc4a7c6..244e426f63 100644
--- a/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py
+++ b/src/oci/database/models/create_data_guard_association_to_existing_db_system_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .create_data_guard_association_details import CreateDataGuardAssociationDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/create_database_details.py b/src/oci/database/models/create_database_details.py
index cf870c25e9..a85212bb71 100644
--- a/src/oci/database/models/create_database_details.py
+++ b/src/oci/database/models/create_database_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -75,7 +75,7 @@ def __init__(self, **kwargs):
@property
def admin_password(self):
"""
- Gets the admin_password of this CreateDatabaseDetails.
+ **[Required]** Gets the admin_password of this CreateDatabaseDetails.
A strong password for SYS, SYSTEM, and PDB Admin. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
@@ -147,7 +147,7 @@ def db_backup_config(self, db_backup_config):
@property
def db_name(self):
"""
- Gets the db_name of this CreateDatabaseDetails.
+ **[Required]** Gets the db_name of this CreateDatabaseDetails.
The database name. It must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
diff --git a/src/oci/database/models/create_database_from_backup_details.py b/src/oci/database/models/create_database_from_backup_details.py
index 935e5128b8..aa058c1e95 100644
--- a/src/oci/database/models/create_database_from_backup_details.py
+++ b/src/oci/database/models/create_database_from_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def admin_password(self):
"""
- Gets the admin_password of this CreateDatabaseFromBackupDetails.
+ **[Required]** Gets the admin_password of this CreateDatabaseFromBackupDetails.
A strong password for SYS, SYSTEM, PDB Admin and TDE Wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numbers, and two special characters. The special characters must be _, \\#, or -.
@@ -70,7 +70,7 @@ def admin_password(self, admin_password):
@property
def backup_id(self):
"""
- Gets the backup_id of this CreateDatabaseFromBackupDetails.
+ **[Required]** Gets the backup_id of this CreateDatabaseFromBackupDetails.
The backup OCID.
@@ -94,7 +94,7 @@ def backup_id(self, backup_id):
@property
def backup_tde_password(self):
"""
- Gets the backup_tde_password of this CreateDatabaseFromBackupDetails.
+ **[Required]** Gets the backup_tde_password of this CreateDatabaseFromBackupDetails.
The password to open the TDE wallet.
diff --git a/src/oci/database/models/create_db_home_details.py b/src/oci/database/models/create_db_home_details.py
index 31d7a72db7..2fae6980aa 100644
--- a/src/oci/database/models/create_db_home_details.py
+++ b/src/oci/database/models/create_db_home_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def database(self):
"""
- Gets the database of this CreateDbHomeDetails.
+ **[Required]** Gets the database of this CreateDbHomeDetails.
:return: The database of this CreateDbHomeDetails.
:rtype: CreateDatabaseDetails
@@ -66,7 +66,7 @@ def database(self, database):
@property
def db_version(self):
"""
- Gets the db_version of this CreateDbHomeDetails.
+ **[Required]** Gets the db_version of this CreateDbHomeDetails.
A valid Oracle database version. To get a list of supported versions, use the :func:`list_db_versions` operation.
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_base.py b/src/oci/database/models/create_db_home_with_db_system_id_base.py
index 717b118807..a859bfe136 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_base.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_base.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -68,7 +68,7 @@ def get_subtype(object_dictionary):
@property
def db_system_id(self):
"""
- Gets the db_system_id of this CreateDbHomeWithDbSystemIdBase.
+ **[Required]** Gets the db_system_id of this CreateDbHomeWithDbSystemIdBase.
The OCID of the DB System.
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_details.py b/src/oci/database/models/create_db_home_with_db_system_id_details.py
index 20212022ff..8d3fbd61a8 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_details.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .create_db_home_with_db_system_id_base import CreateDbHomeWithDbSystemIdBase
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -63,7 +63,7 @@ def __init__(self, **kwargs):
@property
def database(self):
"""
- Gets the database of this CreateDbHomeWithDbSystemIdDetails.
+ **[Required]** Gets the database of this CreateDbHomeWithDbSystemIdDetails.
:return: The database of this CreateDbHomeWithDbSystemIdDetails.
:rtype: CreateDatabaseDetails
@@ -83,7 +83,7 @@ def database(self, database):
@property
def db_version(self):
"""
- Gets the db_version of this CreateDbHomeWithDbSystemIdDetails.
+ **[Required]** Gets the db_version of this CreateDbHomeWithDbSystemIdDetails.
A valid Oracle database version. To get a list of supported versions, use the :func:`list_db_versions` operation.
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
index 66a1388205..ea787a9101 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .create_db_home_with_db_system_id_base import CreateDbHomeWithDbSystemIdBase
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -56,7 +56,7 @@ def __init__(self, **kwargs):
@property
def database(self):
"""
- Gets the database of this CreateDbHomeWithDbSystemIdFromBackupDetails.
+ **[Required]** Gets the database of this CreateDbHomeWithDbSystemIdFromBackupDetails.
:return: The database of this CreateDbHomeWithDbSystemIdFromBackupDetails.
:rtype: CreateDatabaseFromBackupDetails
diff --git a/src/oci/database/models/data_guard_association.py b/src/oci/database/models/data_guard_association.py
index 3851f526b3..be8a01623b 100644
--- a/src/oci/database/models/data_guard_association.py
+++ b/src/oci/database/models/data_guard_association.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -198,7 +198,7 @@ def apply_rate(self, apply_rate):
@property
def database_id(self):
"""
- Gets the database_id of this DataGuardAssociation.
+ **[Required]** Gets the database_id of this DataGuardAssociation.
The `OCID`__ of the reporting database.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -226,7 +226,7 @@ def database_id(self, database_id):
@property
def id(self):
"""
- Gets the id of this DataGuardAssociation.
+ **[Required]** Gets the id of this DataGuardAssociation.
The `OCID`__ of the Data Guard association.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -278,7 +278,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DataGuardAssociation.
+ **[Required]** Gets the lifecycle_state of this DataGuardAssociation.
The current state of the Data Guard association.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -392,7 +392,7 @@ def peer_db_home_id(self, peer_db_home_id):
@property
def peer_db_system_id(self):
"""
- Gets the peer_db_system_id of this DataGuardAssociation.
+ **[Required]** Gets the peer_db_system_id of this DataGuardAssociation.
The `OCID`__ of the DB System containing the associated
peer database.
@@ -422,7 +422,7 @@ def peer_db_system_id(self, peer_db_system_id):
@property
def peer_role(self):
"""
- Gets the peer_role of this DataGuardAssociation.
+ **[Required]** Gets the peer_role of this DataGuardAssociation.
The role of the peer database in this Data Guard association.
Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'.
@@ -452,7 +452,7 @@ def peer_role(self, peer_role):
@property
def protection_mode(self):
"""
- Gets the protection_mode of this DataGuardAssociation.
+ **[Required]** Gets the protection_mode of this DataGuardAssociation.
The protection mode of this Data Guard association. For more information, see
`Oracle Data Guard Protection Modes`__
in the Oracle Data Guard documentation.
@@ -490,7 +490,7 @@ def protection_mode(self, protection_mode):
@property
def role(self):
"""
- Gets the role of this DataGuardAssociation.
+ **[Required]** Gets the role of this DataGuardAssociation.
The role of the reporting database in this Data Guard association.
Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/data_guard_association_summary.py b/src/oci/database/models/data_guard_association_summary.py
index abea97e0f5..4dc89a48b1 100644
--- a/src/oci/database/models/data_guard_association_summary.py
+++ b/src/oci/database/models/data_guard_association_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -198,7 +198,7 @@ def apply_rate(self, apply_rate):
@property
def database_id(self):
"""
- Gets the database_id of this DataGuardAssociationSummary.
+ **[Required]** Gets the database_id of this DataGuardAssociationSummary.
The `OCID`__ of the reporting database.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -226,7 +226,7 @@ def database_id(self, database_id):
@property
def id(self):
"""
- Gets the id of this DataGuardAssociationSummary.
+ **[Required]** Gets the id of this DataGuardAssociationSummary.
The `OCID`__ of the Data Guard association.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -278,7 +278,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DataGuardAssociationSummary.
+ **[Required]** Gets the lifecycle_state of this DataGuardAssociationSummary.
The current state of the Data Guard association.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -392,7 +392,7 @@ def peer_db_home_id(self, peer_db_home_id):
@property
def peer_db_system_id(self):
"""
- Gets the peer_db_system_id of this DataGuardAssociationSummary.
+ **[Required]** Gets the peer_db_system_id of this DataGuardAssociationSummary.
The `OCID`__ of the DB System containing the associated
peer database.
@@ -422,7 +422,7 @@ def peer_db_system_id(self, peer_db_system_id):
@property
def peer_role(self):
"""
- Gets the peer_role of this DataGuardAssociationSummary.
+ **[Required]** Gets the peer_role of this DataGuardAssociationSummary.
The role of the peer database in this Data Guard association.
Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'.
@@ -452,7 +452,7 @@ def peer_role(self, peer_role):
@property
def protection_mode(self):
"""
- Gets the protection_mode of this DataGuardAssociationSummary.
+ **[Required]** Gets the protection_mode of this DataGuardAssociationSummary.
The protection mode of this Data Guard association. For more information, see
`Oracle Data Guard Protection Modes`__
in the Oracle Data Guard documentation.
@@ -490,7 +490,7 @@ def protection_mode(self, protection_mode):
@property
def role(self):
"""
- Gets the role of this DataGuardAssociationSummary.
+ **[Required]** Gets the role of this DataGuardAssociationSummary.
The role of the reporting database in this Data Guard association.
Allowed values for this property are: "PRIMARY", "STANDBY", "DISABLED_STANDBY", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/database.py b/src/oci/database/models/database.py
index 8f467f2cce..c10a862b2d 100644
--- a/src/oci/database/models/database.py
+++ b/src/oci/database/models/database.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -142,7 +142,7 @@ def character_set(self, character_set):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Database.
+ **[Required]** Gets the compartment_id of this Database.
The OCID of the compartment.
@@ -210,7 +210,7 @@ def db_home_id(self, db_home_id):
@property
def db_name(self):
"""
- Gets the db_name of this Database.
+ **[Required]** Gets the db_name of this Database.
The database name.
@@ -234,7 +234,7 @@ def db_name(self, db_name):
@property
def db_unique_name(self):
"""
- Gets the db_unique_name of this Database.
+ **[Required]** Gets the db_unique_name of this Database.
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
@@ -282,7 +282,7 @@ def db_workload(self, db_workload):
@property
def id(self):
"""
- Gets the id of this Database.
+ **[Required]** Gets the id of this Database.
The OCID of the database.
@@ -330,7 +330,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Database.
+ **[Required]** Gets the lifecycle_state of this Database.
The current state of the database.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/database_summary.py b/src/oci/database/models/database_summary.py
index a540059196..39c0c6c2c1 100644
--- a/src/oci/database/models/database_summary.py
+++ b/src/oci/database/models/database_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -142,7 +142,7 @@ def character_set(self, character_set):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DatabaseSummary.
+ **[Required]** Gets the compartment_id of this DatabaseSummary.
The OCID of the compartment.
@@ -210,7 +210,7 @@ def db_home_id(self, db_home_id):
@property
def db_name(self):
"""
- Gets the db_name of this DatabaseSummary.
+ **[Required]** Gets the db_name of this DatabaseSummary.
The database name.
@@ -234,7 +234,7 @@ def db_name(self, db_name):
@property
def db_unique_name(self):
"""
- Gets the db_unique_name of this DatabaseSummary.
+ **[Required]** Gets the db_unique_name of this DatabaseSummary.
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
@@ -282,7 +282,7 @@ def db_workload(self, db_workload):
@property
def id(self):
"""
- Gets the id of this DatabaseSummary.
+ **[Required]** Gets the id of this DatabaseSummary.
The OCID of the database.
@@ -330,7 +330,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DatabaseSummary.
+ **[Required]** Gets the lifecycle_state of this DatabaseSummary.
The current state of the database.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/db_backup_config.py b/src/oci/database/models/db_backup_config.py
index e2232b92b0..b20629e1e7 100644
--- a/src/oci/database/models/db_backup_config.py
+++ b/src/oci/database/models/db_backup_config.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/db_home.py b/src/oci/database/models/db_home.py
index 405f03f5eb..cf2cae431f 100644
--- a/src/oci/database/models/db_home.py
+++ b/src/oci/database/models/db_home.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DbHome.
+ **[Required]** Gets the compartment_id of this DbHome.
The OCID of the compartment.
@@ -131,7 +131,7 @@ def db_system_id(self, db_system_id):
@property
def db_version(self):
"""
- Gets the db_version of this DbHome.
+ **[Required]** Gets the db_version of this DbHome.
The Oracle database version.
@@ -155,7 +155,7 @@ def db_version(self, db_version):
@property
def display_name(self):
"""
- Gets the display_name of this DbHome.
+ **[Required]** Gets the display_name of this DbHome.
The user-provided name for the database home. It does not need to be unique.
@@ -179,7 +179,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this DbHome.
+ **[Required]** Gets the id of this DbHome.
The OCID of the database home.
@@ -227,7 +227,7 @@ def last_patch_history_entry_id(self, last_patch_history_entry_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbHome.
+ **[Required]** Gets the lifecycle_state of this DbHome.
The current state of the database home.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/db_home_summary.py b/src/oci/database/models/db_home_summary.py
index 0c7fcccba6..03ac7202f2 100644
--- a/src/oci/database/models/db_home_summary.py
+++ b/src/oci/database/models/db_home_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DbHomeSummary.
+ **[Required]** Gets the compartment_id of this DbHomeSummary.
The OCID of the compartment.
@@ -131,7 +131,7 @@ def db_system_id(self, db_system_id):
@property
def db_version(self):
"""
- Gets the db_version of this DbHomeSummary.
+ **[Required]** Gets the db_version of this DbHomeSummary.
The Oracle database version.
@@ -155,7 +155,7 @@ def db_version(self, db_version):
@property
def display_name(self):
"""
- Gets the display_name of this DbHomeSummary.
+ **[Required]** Gets the display_name of this DbHomeSummary.
The user-provided name for the database home. It does not need to be unique.
@@ -179,7 +179,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this DbHomeSummary.
+ **[Required]** Gets the id of this DbHomeSummary.
The OCID of the database home.
@@ -227,7 +227,7 @@ def last_patch_history_entry_id(self, last_patch_history_entry_id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbHomeSummary.
+ **[Required]** Gets the lifecycle_state of this DbHomeSummary.
The current state of the database home.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
diff --git a/src/oci/database/models/db_node.py b/src/oci/database/models/db_node.py
index bc4f94e2aa..bf2cca12d1 100644
--- a/src/oci/database/models/db_node.py
+++ b/src/oci/database/models/db_node.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -107,7 +107,7 @@ def backup_vnic_id(self, backup_vnic_id):
@property
def db_system_id(self):
"""
- Gets the db_system_id of this DbNode.
+ **[Required]** Gets the db_system_id of this DbNode.
The OCID of the DB System.
@@ -155,7 +155,7 @@ def hostname(self, hostname):
@property
def id(self):
"""
- Gets the id of this DbNode.
+ **[Required]** Gets the id of this DbNode.
The OCID of the DB Node.
@@ -179,7 +179,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbNode.
+ **[Required]** Gets the lifecycle_state of this DbNode.
The current state of the database node.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -233,7 +233,7 @@ def software_storage_size_in_gb(self, software_storage_size_in_gb):
@property
def time_created(self):
"""
- Gets the time_created of this DbNode.
+ **[Required]** Gets the time_created of this DbNode.
The date and time that the DB Node was created.
@@ -257,7 +257,7 @@ def time_created(self, time_created):
@property
def vnic_id(self):
"""
- Gets the vnic_id of this DbNode.
+ **[Required]** Gets the vnic_id of this DbNode.
The OCID of the VNIC.
diff --git a/src/oci/database/models/db_node_summary.py b/src/oci/database/models/db_node_summary.py
index 6b3c170a37..9c4cb7412e 100644
--- a/src/oci/database/models/db_node_summary.py
+++ b/src/oci/database/models/db_node_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -107,7 +107,7 @@ def backup_vnic_id(self, backup_vnic_id):
@property
def db_system_id(self):
"""
- Gets the db_system_id of this DbNodeSummary.
+ **[Required]** Gets the db_system_id of this DbNodeSummary.
The OCID of the DB System.
@@ -155,7 +155,7 @@ def hostname(self, hostname):
@property
def id(self):
"""
- Gets the id of this DbNodeSummary.
+ **[Required]** Gets the id of this DbNodeSummary.
The OCID of the DB Node.
@@ -179,7 +179,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbNodeSummary.
+ **[Required]** Gets the lifecycle_state of this DbNodeSummary.
The current state of the database node.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -233,7 +233,7 @@ def software_storage_size_in_gb(self, software_storage_size_in_gb):
@property
def time_created(self):
"""
- Gets the time_created of this DbNodeSummary.
+ **[Required]** Gets the time_created of this DbNodeSummary.
The date and time that the DB Node was created.
@@ -257,7 +257,7 @@ def time_created(self, time_created):
@property
def vnic_id(self):
"""
- Gets the vnic_id of this DbNodeSummary.
+ **[Required]** Gets the vnic_id of this DbNodeSummary.
The OCID of the VNIC.
diff --git a/src/oci/database/models/db_system.py b/src/oci/database/models/db_system.py
index c2f00dc1ab..09f067b40a 100644
--- a/src/oci/database/models/db_system.py
+++ b/src/oci/database/models/db_system.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -229,7 +229,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this DbSystem.
+ **[Required]** Gets the availability_domain of this DbSystem.
The name of the Availability Domain that the DB System is located in.
@@ -307,7 +307,7 @@ def cluster_name(self, cluster_name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DbSystem.
+ **[Required]** Gets the compartment_id of this DbSystem.
The OCID of the compartment.
@@ -331,7 +331,7 @@ def compartment_id(self, compartment_id):
@property
def cpu_core_count(self):
"""
- Gets the cpu_core_count of this DbSystem.
+ **[Required]** Gets the cpu_core_count of this DbSystem.
The number of CPU cores enabled on the DB System.
@@ -405,7 +405,7 @@ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
@property
def database_edition(self):
"""
- Gets the database_edition of this DbSystem.
+ **[Required]** Gets the database_edition of this DbSystem.
The Oracle Database Edition that applies to all the databases on the DB System.
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
@@ -469,7 +469,7 @@ def disk_redundancy(self, disk_redundancy):
@property
def display_name(self):
"""
- Gets the display_name of this DbSystem.
+ **[Required]** Gets the display_name of this DbSystem.
The user-friendly name for the DB System. It does not have to be unique.
@@ -493,7 +493,7 @@ def display_name(self, display_name):
@property
def domain(self):
"""
- Gets the domain of this DbSystem.
+ **[Required]** Gets the domain of this DbSystem.
The domain name for the DB System.
@@ -517,7 +517,7 @@ def domain(self, domain):
@property
def hostname(self):
"""
- Gets the hostname of this DbSystem.
+ **[Required]** Gets the hostname of this DbSystem.
The host name for the DB Node.
@@ -541,7 +541,7 @@ def hostname(self, hostname):
@property
def id(self):
"""
- Gets the id of this DbSystem.
+ **[Required]** Gets the id of this DbSystem.
The OCID of the DB System.
@@ -643,7 +643,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbSystem.
+ **[Required]** Gets the lifecycle_state of this DbSystem.
The current state of the DB System.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -801,7 +801,7 @@ def scan_ip_ids(self, scan_ip_ids):
@property
def shape(self):
"""
- Gets the shape of this DbSystem.
+ **[Required]** Gets the shape of this DbSystem.
The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
@@ -825,7 +825,7 @@ def shape(self, shape):
@property
def ssh_public_keys(self):
"""
- Gets the ssh_public_keys of this DbSystem.
+ **[Required]** Gets the ssh_public_keys of this DbSystem.
The public key portion of one or more key pairs used for SSH access to the DB System.
@@ -849,7 +849,7 @@ def ssh_public_keys(self, ssh_public_keys):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this DbSystem.
+ **[Required]** Gets the subnet_id of this DbSystem.
The OCID of the subnet the DB System is associated with.
**Subnet Restrictions:**
diff --git a/src/oci/database/models/db_system_shape_summary.py b/src/oci/database/models/db_system_shape_summary.py
index e5506ebb38..8abba971da 100644
--- a/src/oci/database/models/db_system_shape_summary.py
+++ b/src/oci/database/models/db_system_shape_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def available_core_count(self):
"""
- Gets the available_core_count of this DbSystemShapeSummary.
+ **[Required]** Gets the available_core_count of this DbSystemShapeSummary.
The maximum number of CPU cores that can be enabled on the DB System.
@@ -70,7 +70,7 @@ def available_core_count(self, available_core_count):
@property
def name(self):
"""
- Gets the name of this DbSystemShapeSummary.
+ **[Required]** Gets the name of this DbSystemShapeSummary.
The name of the shape used for the DB System.
diff --git a/src/oci/database/models/db_system_summary.py b/src/oci/database/models/db_system_summary.py
index 354d6bbd8b..b6a4713d98 100644
--- a/src/oci/database/models/db_system_summary.py
+++ b/src/oci/database/models/db_system_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -229,7 +229,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this DbSystemSummary.
+ **[Required]** Gets the availability_domain of this DbSystemSummary.
The name of the Availability Domain that the DB System is located in.
@@ -307,7 +307,7 @@ def cluster_name(self, cluster_name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this DbSystemSummary.
+ **[Required]** Gets the compartment_id of this DbSystemSummary.
The OCID of the compartment.
@@ -331,7 +331,7 @@ def compartment_id(self, compartment_id):
@property
def cpu_core_count(self):
"""
- Gets the cpu_core_count of this DbSystemSummary.
+ **[Required]** Gets the cpu_core_count of this DbSystemSummary.
The number of CPU cores enabled on the DB System.
@@ -405,7 +405,7 @@ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
@property
def database_edition(self):
"""
- Gets the database_edition of this DbSystemSummary.
+ **[Required]** Gets the database_edition of this DbSystemSummary.
The Oracle Database Edition that applies to all the databases on the DB System.
Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", 'UNKNOWN_ENUM_VALUE'.
@@ -469,7 +469,7 @@ def disk_redundancy(self, disk_redundancy):
@property
def display_name(self):
"""
- Gets the display_name of this DbSystemSummary.
+ **[Required]** Gets the display_name of this DbSystemSummary.
The user-friendly name for the DB System. It does not have to be unique.
@@ -493,7 +493,7 @@ def display_name(self, display_name):
@property
def domain(self):
"""
- Gets the domain of this DbSystemSummary.
+ **[Required]** Gets the domain of this DbSystemSummary.
The domain name for the DB System.
@@ -517,7 +517,7 @@ def domain(self, domain):
@property
def hostname(self):
"""
- Gets the hostname of this DbSystemSummary.
+ **[Required]** Gets the hostname of this DbSystemSummary.
The host name for the DB Node.
@@ -541,7 +541,7 @@ def hostname(self, hostname):
@property
def id(self):
"""
- Gets the id of this DbSystemSummary.
+ **[Required]** Gets the id of this DbSystemSummary.
The OCID of the DB System.
@@ -643,7 +643,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this DbSystemSummary.
+ **[Required]** Gets the lifecycle_state of this DbSystemSummary.
The current state of the DB System.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -801,7 +801,7 @@ def scan_ip_ids(self, scan_ip_ids):
@property
def shape(self):
"""
- Gets the shape of this DbSystemSummary.
+ **[Required]** Gets the shape of this DbSystemSummary.
The shape of the DB System. The shape determines resources to allocate to the DB system - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.
@@ -825,7 +825,7 @@ def shape(self, shape):
@property
def ssh_public_keys(self):
"""
- Gets the ssh_public_keys of this DbSystemSummary.
+ **[Required]** Gets the ssh_public_keys of this DbSystemSummary.
The public key portion of one or more key pairs used for SSH access to the DB System.
@@ -849,7 +849,7 @@ def ssh_public_keys(self, ssh_public_keys):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this DbSystemSummary.
+ **[Required]** Gets the subnet_id of this DbSystemSummary.
The OCID of the subnet the DB System is associated with.
**Subnet Restrictions:**
diff --git a/src/oci/database/models/db_version_summary.py b/src/oci/database/models/db_version_summary.py
index 8d4004b60b..0cd9cbbd46 100644
--- a/src/oci/database/models/db_version_summary.py
+++ b/src/oci/database/models/db_version_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -63,7 +63,7 @@ def supports_pdb(self, supports_pdb):
@property
def version(self):
"""
- Gets the version of this DbVersionSummary.
+ **[Required]** Gets the version of this DbVersionSummary.
A valid Oracle database version.
diff --git a/src/oci/database/models/failover_data_guard_association_details.py b/src/oci/database/models/failover_data_guard_association_details.py
index 37ef531ecd..586d86c457 100644
--- a/src/oci/database/models/failover_data_guard_association_details.py
+++ b/src/oci/database/models/failover_data_guard_association_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def database_admin_password(self):
"""
- Gets the database_admin_password of this FailoverDataGuardAssociationDetails.
+ **[Required]** Gets the database_admin_password of this FailoverDataGuardAssociationDetails.
The DB System administrator password.
diff --git a/src/oci/database/models/launch_db_system_details.py b/src/oci/database/models/launch_db_system_details.py
index 573dbe6491..eff12791ff 100644
--- a/src/oci/database/models/launch_db_system_details.py
+++ b/src/oci/database/models/launch_db_system_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -154,7 +154,7 @@ def __init__(self, **kwargs):
@property
def availability_domain(self):
"""
- Gets the availability_domain of this LaunchDbSystemDetails.
+ **[Required]** Gets the availability_domain of this LaunchDbSystemDetails.
The Availability Domain where the DB System is located.
@@ -230,7 +230,7 @@ def cluster_name(self, cluster_name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this LaunchDbSystemDetails.
+ **[Required]** Gets the compartment_id of this LaunchDbSystemDetails.
The Oracle Cloud ID (OCID) of the compartment the DB System belongs in.
@@ -254,7 +254,7 @@ def compartment_id(self, compartment_id):
@property
def cpu_core_count(self):
"""
- Gets the cpu_core_count of this LaunchDbSystemDetails.
+ **[Required]** Gets the cpu_core_count of this LaunchDbSystemDetails.
The number of CPU cores to enable. The valid values depend on the specified shape:
- BM.DenseIO1.36 and BM.HighIO1.36 - Specify a multiple of 2, from 2 to 36.
@@ -322,7 +322,7 @@ def data_storage_percentage(self, data_storage_percentage):
@property
def database_edition(self):
"""
- Gets the database_edition of this LaunchDbSystemDetails.
+ **[Required]** Gets the database_edition of this LaunchDbSystemDetails.
The Oracle Database Edition that applies to all the databases on the DB System.
Exadata DB Systems and 2-node RAC DB Systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
@@ -358,7 +358,7 @@ def database_edition(self, database_edition):
@property
def db_home(self):
"""
- Gets the db_home of this LaunchDbSystemDetails.
+ **[Required]** Gets the db_home of this LaunchDbSystemDetails.
:return: The db_home of this LaunchDbSystemDetails.
:rtype: CreateDbHomeDetails
@@ -466,7 +466,7 @@ def domain(self, domain):
@property
def hostname(self):
"""
- Gets the hostname of this LaunchDbSystemDetails.
+ **[Required]** Gets the hostname of this LaunchDbSystemDetails.
The host name for the DB System. The host name must begin with an alphabetic character and
can contain a maximum of 30 alphanumeric characters, including hyphens (-).
@@ -582,7 +582,7 @@ def node_count(self, node_count):
@property
def shape(self):
"""
- Gets the shape of this LaunchDbSystemDetails.
+ **[Required]** Gets the shape of this LaunchDbSystemDetails.
The shape of the DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the :func:`list_db_system_shapes` operation.
@@ -606,7 +606,7 @@ def shape(self, shape):
@property
def ssh_public_keys(self):
"""
- Gets the ssh_public_keys of this LaunchDbSystemDetails.
+ **[Required]** Gets the ssh_public_keys of this LaunchDbSystemDetails.
The public key portion of the key pair to use for SSH access to the DB System. Multiple public keys can be provided. The length of the combined keys cannot exceed 10,000 characters.
@@ -630,7 +630,7 @@ def ssh_public_keys(self, ssh_public_keys):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this LaunchDbSystemDetails.
+ **[Required]** Gets the subnet_id of this LaunchDbSystemDetails.
The OCID of the subnet the DB System is associated with.
**Subnet Restrictions:**
diff --git a/src/oci/database/models/patch.py b/src/oci/database/models/patch.py
index 78af28eecf..e8b5599593 100644
--- a/src/oci/database/models/patch.py
+++ b/src/oci/database/models/patch.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -116,7 +116,7 @@ def available_actions(self, available_actions):
@property
def description(self):
"""
- Gets the description of this Patch.
+ **[Required]** Gets the description of this Patch.
The text describing this patch package.
@@ -140,7 +140,7 @@ def description(self, description):
@property
def id(self):
"""
- Gets the id of this Patch.
+ **[Required]** Gets the id of this Patch.
The OCID of the patch.
@@ -250,7 +250,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_released(self):
"""
- Gets the time_released of this Patch.
+ **[Required]** Gets the time_released of this Patch.
The date and time that the patch was released.
@@ -274,7 +274,7 @@ def time_released(self, time_released):
@property
def version(self):
"""
- Gets the version of this Patch.
+ **[Required]** Gets the version of this Patch.
The version of this patch package.
diff --git a/src/oci/database/models/patch_details.py b/src/oci/database/models/patch_details.py
index e0505d28a6..271e6c8d77 100644
--- a/src/oci/database/models/patch_details.py
+++ b/src/oci/database/models/patch_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/patch_history_entry.py b/src/oci/database/models/patch_history_entry.py
index 3b50a12de6..7f52324ed6 100644
--- a/src/oci/database/models/patch_history_entry.py
+++ b/src/oci/database/models/patch_history_entry.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -108,7 +108,7 @@ def action(self, action):
@property
def id(self):
"""
- Gets the id of this PatchHistoryEntry.
+ **[Required]** Gets the id of this PatchHistoryEntry.
The OCID of the patch history entry.
@@ -158,7 +158,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this PatchHistoryEntry.
+ **[Required]** Gets the lifecycle_state of this PatchHistoryEntry.
The current state of the action.
Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -188,7 +188,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def patch_id(self):
"""
- Gets the patch_id of this PatchHistoryEntry.
+ **[Required]** Gets the patch_id of this PatchHistoryEntry.
The OCID of the patch.
@@ -236,7 +236,7 @@ def time_ended(self, time_ended):
@property
def time_started(self):
"""
- Gets the time_started of this PatchHistoryEntry.
+ **[Required]** Gets the time_started of this PatchHistoryEntry.
The date and time when the patch action started.
diff --git a/src/oci/database/models/patch_history_entry_summary.py b/src/oci/database/models/patch_history_entry_summary.py
index 6dc90ed772..825a0dfbfc 100644
--- a/src/oci/database/models/patch_history_entry_summary.py
+++ b/src/oci/database/models/patch_history_entry_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -108,7 +108,7 @@ def action(self, action):
@property
def id(self):
"""
- Gets the id of this PatchHistoryEntrySummary.
+ **[Required]** Gets the id of this PatchHistoryEntrySummary.
The OCID of the patch history entry.
@@ -158,7 +158,7 @@ def lifecycle_details(self, lifecycle_details):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this PatchHistoryEntrySummary.
+ **[Required]** Gets the lifecycle_state of this PatchHistoryEntrySummary.
The current state of the action.
Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -188,7 +188,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def patch_id(self):
"""
- Gets the patch_id of this PatchHistoryEntrySummary.
+ **[Required]** Gets the patch_id of this PatchHistoryEntrySummary.
The OCID of the patch.
@@ -236,7 +236,7 @@ def time_ended(self, time_ended):
@property
def time_started(self):
"""
- Gets the time_started of this PatchHistoryEntrySummary.
+ **[Required]** Gets the time_started of this PatchHistoryEntrySummary.
The date and time when the patch action started.
diff --git a/src/oci/database/models/patch_summary.py b/src/oci/database/models/patch_summary.py
index 4c08c3a07f..3bcc2a5864 100644
--- a/src/oci/database/models/patch_summary.py
+++ b/src/oci/database/models/patch_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -116,7 +116,7 @@ def available_actions(self, available_actions):
@property
def description(self):
"""
- Gets the description of this PatchSummary.
+ **[Required]** Gets the description of this PatchSummary.
The text describing this patch package.
@@ -140,7 +140,7 @@ def description(self, description):
@property
def id(self):
"""
- Gets the id of this PatchSummary.
+ **[Required]** Gets the id of this PatchSummary.
The OCID of the patch.
@@ -250,7 +250,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def time_released(self):
"""
- Gets the time_released of this PatchSummary.
+ **[Required]** Gets the time_released of this PatchSummary.
The date and time that the patch was released.
@@ -274,7 +274,7 @@ def time_released(self, time_released):
@property
def version(self):
"""
- Gets the version of this PatchSummary.
+ **[Required]** Gets the version of this PatchSummary.
The version of this patch package.
diff --git a/src/oci/database/models/reinstate_data_guard_association_details.py b/src/oci/database/models/reinstate_data_guard_association_details.py
index 5c5e3e57f3..5962d6b823 100644
--- a/src/oci/database/models/reinstate_data_guard_association_details.py
+++ b/src/oci/database/models/reinstate_data_guard_association_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def database_admin_password(self):
"""
- Gets the database_admin_password of this ReinstateDataGuardAssociationDetails.
+ **[Required]** Gets the database_admin_password of this ReinstateDataGuardAssociationDetails.
The DB System administrator password.
diff --git a/src/oci/database/models/restore_database_details.py b/src/oci/database/models/restore_database_details.py
index 462c3a93be..458869898a 100644
--- a/src/oci/database/models/restore_database_details.py
+++ b/src/oci/database/models/restore_database_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/switchover_data_guard_association_details.py b/src/oci/database/models/switchover_data_guard_association_details.py
index 2643ee0ce3..0f77b0fb0e 100644
--- a/src/oci/database/models/switchover_data_guard_association_details.py
+++ b/src/oci/database/models/switchover_data_guard_association_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def database_admin_password(self):
"""
- Gets the database_admin_password of this SwitchoverDataGuardAssociationDetails.
+ **[Required]** Gets the database_admin_password of this SwitchoverDataGuardAssociationDetails.
The DB System administrator password.
diff --git a/src/oci/database/models/update_database_details.py b/src/oci/database/models/update_database_details.py
index de1155c34a..76b487525f 100644
--- a/src/oci/database/models/update_database_details.py
+++ b/src/oci/database/models/update_database_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/update_db_home_details.py b/src/oci/database/models/update_db_home_details.py
index 597ffe8e76..b64e180d87 100644
--- a/src/oci/database/models/update_db_home_details.py
+++ b/src/oci/database/models/update_db_home_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/database/models/update_db_system_details.py b/src/oci/database/models/update_db_system_details.py
index 6e65bfa479..aef2ebe3e9 100644
--- a/src/oci/database/models/update_db_system_details.py
+++ b/src/oci/database/models/update_db_system_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/decorators.py b/src/oci/decorators.py
index b2c647bd41..b5af5ce091 100644
--- a/src/oci/decorators.py
+++ b/src/oci/decorators.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .util import Sentinel
diff --git a/src/oci/exceptions.py b/src/oci/exceptions.py
index f1686eff10..f41a98a0d2 100644
--- a/src/oci/exceptions.py
+++ b/src/oci/exceptions.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
class ServiceError(Exception):
diff --git a/src/oci/identity/__init__.py b/src/oci/identity/__init__.py
index 3b557a54d1..140c788d18 100644
--- a/src/oci/identity/__init__.py
+++ b/src/oci/identity/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/identity/identity_client.py b/src/oci/identity/identity_client.py
index 4b9da3faaa..6d8e7f71dc 100644
--- a/src/oci/identity/identity_client.py
+++ b/src/oci/identity/identity_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
@@ -666,6 +666,136 @@ def create_swift_password(self, create_swift_password_details, user_id, **kwargs
body=create_swift_password_details,
response_type="SwiftPassword")
+ def create_tag(self, tag_namespace_id, create_tag_details, **kwargs):
+ """
+ CreateTag
+ Creates a new tag in a given tagNamespace.
+
+ You have to specify either the id or the name of the tagNamespace that will contain this tag definition.
+
+ You must also specify a *name* for the tag, which must be unique across all tags in the tagNamespace
+ and cannot be changed. All ascii characters are allowed except spaces and dots. Note that names are case
+ insenstive, that means you can not have two different tags with same name but with different casing in
+ one tagNamespace.
+ If you specify a name that's already in use in the tagNamespace, you'll get a 409 error.
+
+ You must also specify a *description* for the tag.
+ It does not have to be unique, and you can change it anytime with
+ :func:`update_tag`.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :param CreateTagDetails create_tag_details: (required)
+ Request object for creating a new tag in a given tagNamespace.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.Tag`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}/tags"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "opc_retry_token"
+ ]
+ extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "create_tag got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing}
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_tag_details,
+ response_type="Tag")
+
+ def create_tag_namespace(self, create_tag_namespace_details, **kwargs):
+ """
+ CreateTagNamespace
+ Creates a new tagNamespace in a given compartment.
+
+ You must specify the compartment ID in the request object (remember that the tenancy is simply the root
+ compartment).
+
+ You must also specify a *name* for the namespace, which must be unique across all namespaces in your tenancy
+ and cannot be changed. All ascii characters are allowed except spaces and dots.
+ Note that names are case insenstive, that means you can not have two different namespaces with same name
+ but with different casing in one tenancy.
+ Once you created a namespace, you can not change the name
+ If you specify a name that's already in use in the tennacy, you'll get a 409 error.
+
+ You must also specify a *description* for the namespace.
+ It does not have to be unique, and you can change it anytime with
+ :func:`update_tag_namespace`.
+
+
+ :param CreateTagNamespaceDetails create_tag_namespace_details: (required)
+ Request object for creating a new tagNamespace.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.TagNamespace`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "opc_retry_token"
+ ]
+ extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "create_tag_namespace got unknown kwargs: {!r}".format(extra_kwargs))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing}
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_tag_namespace_details,
+ response_type="TagNamespace")
+
def create_user(self, create_user_details, **kwargs):
"""
CreateUser
@@ -1407,6 +1537,92 @@ def get_policy(self, policy_id, **kwargs):
header_params=header_params,
response_type="Policy")
+ def get_tag(self, tag_namespace_id, tag_name, **kwargs):
+ """
+ GetTag
+ Gets the specified tag's information.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :param str tag_name: (required)
+ The name of the tag
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.Tag`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}/tags/{tagName}"
+ method = "GET"
+
+ if kwargs:
+ raise ValueError(
+ "get_tag got unknown kwargs: {!r}".format(kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id,
+ "tagName": tag_name
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Tag")
+
+ def get_tag_namespace(self, tag_namespace_id, **kwargs):
+ """
+ GetTagNamespace
+ Gets the specified tagNamespace's information.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.TagNamespace`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}"
+ method = "GET"
+
+ if kwargs:
+ raise ValueError(
+ "get_tag_namespace got unknown kwargs: {!r}".format(kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="TagNamespace")
+
def get_tenancy(self, tenancy_id, **kwargs):
"""
GetTenancy
@@ -2051,6 +2267,122 @@ def list_swift_passwords(self, user_id, **kwargs):
header_params=header_params,
response_type="list[SwiftPassword]")
+ def list_tag_namespaces(self, compartment_id, **kwargs):
+ """
+ ListTagNamespaces
+ List the tagNamespaces in a given compartment.
+
+
+ :param str compartment_id: (required)
+ The OCID of the compartment (remember that the tenancy is simply the root compartment).
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header from the previous \"List\" call.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param bool include_subcompartments: (optional)
+ An optional boolean parameter for whether or not to retrieve all tagNamespaces in sub compartments. In case
+ of absence of this parameter, only tagNamespaces that exist directly in this compartment will be retrieved.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.identity.models.TagNamespaceSummary`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "page",
+ "limit",
+ "include_subcompartments"
+ ]
+ extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_tag_namespaces got unknown kwargs: {!r}".format(extra_kwargs))
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "includeSubcompartments": kwargs.get("include_subcompartments", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[TagNamespaceSummary]")
+
+ def list_tags(self, tag_namespace_id, **kwargs):
+ """
+ ListTags
+ List the tags that are defined in a given tagNamespace.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header from the previous \"List\" call.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.identity.models.TagSummary`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}/tags"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "page",
+ "limit"
+ ]
+ extra_kwargs = [key for key in six.iterkeys(kwargs) if key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_tags got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ query_params = {
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[TagSummary]")
+
def list_user_group_memberships(self, compartment_id, **kwargs):
"""
ListUserGroupMemberships
@@ -2640,6 +2972,107 @@ def update_swift_password(self, user_id, swift_password_id, update_swift_passwor
body=update_swift_password_details,
response_type="SwiftPassword")
+ def update_tag(self, tag_namespace_id, tag_name, update_tag_details, **kwargs):
+ """
+ UpdateTag
+ Updates the the specified tag. Only description and isRetired can be updated. Retiring a tag will also retire
+ the related rules. You can not a tag with the same name as a retired tag. Tags must be unique within their tag
+ namespace but can be repeated across namespaces. You cannot add a tag with the same name as a retired tag in
+ the same tag namespace.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :param str tag_name: (required)
+ The name of the tag
+
+ :param UpdateTagDetails update_tag_details: (required)
+ Request object for updating a tag.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.Tag`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}/tags/{tagName}"
+ method = "PUT"
+
+ if kwargs:
+ raise ValueError(
+ "update_tag got unknown kwargs: {!r}".format(kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id,
+ "tagName": tag_name
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_tag_details,
+ response_type="Tag")
+
+ def update_tag_namespace(self, tag_namespace_id, update_tag_namespace_details, **kwargs):
+ """
+ UpdateTagNamespace
+ Updates the the specified tagNamespace. Only description, isRetired and assigned tags can be updated. Updating
+ isRetired to be true will retire the namespace, all the contained tags and the related rules. Reactivating a
+ namespace will not reactivate any tag definition that was retired when the namespace was retired. They will
+ have to be individually reactivated *after* the namespace is reactivated. You can't add a namespace with the
+ same name as a retired namespace in the same tenant.
+
+
+ :param str tag_namespace_id: (required)
+ The OCID of the tagNamespace
+
+ :param UpdateTagNamespaceDetails update_tag_namespace_details: (required)
+ Request object for updating a namespace.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.identity.models.TagNamespace`
+ :rtype: :class:`~oci.response.Response`
+ """
+ resource_path = "/tagNamespaces/{tagNamespaceId}"
+ method = "PUT"
+
+ if kwargs:
+ raise ValueError(
+ "update_tag_namespace got unknown kwargs: {!r}".format(kwargs))
+
+ path_params = {
+ "tagNamespaceId": tag_namespace_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_tag_namespace_details,
+ response_type="TagNamespace")
+
def update_user(self, user_id, update_user_details, **kwargs):
"""
UpdateUser
diff --git a/src/oci/identity/models/__init__.py b/src/oci/identity/models/__init__.py
index 982e1c7a8e..51c599c56c 100644
--- a/src/oci/identity/models/__init__.py
+++ b/src/oci/identity/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
@@ -17,6 +17,8 @@
from .create_region_subscription_details import CreateRegionSubscriptionDetails
from .create_saml2_identity_provider_details import CreateSaml2IdentityProviderDetails
from .create_swift_password_details import CreateSwiftPasswordDetails
+from .create_tag_details import CreateTagDetails
+from .create_tag_namespace_details import CreateTagNamespaceDetails
from .create_user_details import CreateUserDetails
from .customer_secret_key import CustomerSecretKey
from .customer_secret_key_summary import CustomerSecretKeySummary
@@ -28,6 +30,10 @@
from .region_subscription import RegionSubscription
from .saml2_identity_provider import Saml2IdentityProvider
from .swift_password import SwiftPassword
+from .tag import Tag
+from .tag_namespace import TagNamespace
+from .tag_namespace_summary import TagNamespaceSummary
+from .tag_summary import TagSummary
from .tenancy import Tenancy
from .ui_password import UIPassword
from .update_compartment_details import UpdateCompartmentDetails
@@ -39,6 +45,8 @@
from .update_saml2_identity_provider_details import UpdateSaml2IdentityProviderDetails
from .update_state_details import UpdateStateDetails
from .update_swift_password_details import UpdateSwiftPasswordDetails
+from .update_tag_details import UpdateTagDetails
+from .update_tag_namespace_details import UpdateTagNamespaceDetails
from .update_user_details import UpdateUserDetails
from .user import User
from .user_group_membership import UserGroupMembership
@@ -59,6 +67,8 @@
"CreateRegionSubscriptionDetails": CreateRegionSubscriptionDetails,
"CreateSaml2IdentityProviderDetails": CreateSaml2IdentityProviderDetails,
"CreateSwiftPasswordDetails": CreateSwiftPasswordDetails,
+ "CreateTagDetails": CreateTagDetails,
+ "CreateTagNamespaceDetails": CreateTagNamespaceDetails,
"CreateUserDetails": CreateUserDetails,
"CustomerSecretKey": CustomerSecretKey,
"CustomerSecretKeySummary": CustomerSecretKeySummary,
@@ -70,6 +80,10 @@
"RegionSubscription": RegionSubscription,
"Saml2IdentityProvider": Saml2IdentityProvider,
"SwiftPassword": SwiftPassword,
+ "Tag": Tag,
+ "TagNamespace": TagNamespace,
+ "TagNamespaceSummary": TagNamespaceSummary,
+ "TagSummary": TagSummary,
"Tenancy": Tenancy,
"UIPassword": UIPassword,
"UpdateCompartmentDetails": UpdateCompartmentDetails,
@@ -81,6 +95,8 @@
"UpdateSaml2IdentityProviderDetails": UpdateSaml2IdentityProviderDetails,
"UpdateStateDetails": UpdateStateDetails,
"UpdateSwiftPasswordDetails": UpdateSwiftPasswordDetails,
+ "UpdateTagDetails": UpdateTagDetails,
+ "UpdateTagNamespaceDetails": UpdateTagNamespaceDetails,
"UpdateUserDetails": UpdateUserDetails,
"User": User,
"UserGroupMembership": UserGroupMembership
diff --git a/src/oci/identity/models/add_user_to_group_details.py b/src/oci/identity/models/add_user_to_group_details.py
index 6f4557f980..9c0a4a9e9b 100644
--- a/src/oci/identity/models/add_user_to_group_details.py
+++ b/src/oci/identity/models/add_user_to_group_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def user_id(self):
"""
- Gets the user_id of this AddUserToGroupDetails.
+ **[Required]** Gets the user_id of this AddUserToGroupDetails.
The OCID of the user.
@@ -63,7 +63,7 @@ def user_id(self, user_id):
@property
def group_id(self):
"""
- Gets the group_id of this AddUserToGroupDetails.
+ **[Required]** Gets the group_id of this AddUserToGroupDetails.
The OCID of the group.
diff --git a/src/oci/identity/models/api_key.py b/src/oci/identity/models/api_key.py
index a0e11d32a4..bf5f8d3ef6 100644
--- a/src/oci/identity/models/api_key.py
+++ b/src/oci/identity/models/api_key.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/availability_domain.py b/src/oci/identity/models/availability_domain.py
index 0fabb92b98..6391106081 100644
--- a/src/oci/identity/models/availability_domain.py
+++ b/src/oci/identity/models/availability_domain.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/compartment.py b/src/oci/identity/models/compartment.py
index a953b20385..3d27fd83f2 100644
--- a/src/oci/identity/models/compartment.py
+++ b/src/oci/identity/models/compartment.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -44,6 +44,14 @@ def __init__(self, **kwargs):
The value to assign to the inactive_status property of this Compartment.
:type inactive_status: int
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Compartment.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Compartment.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -52,7 +60,9 @@ def __init__(self, **kwargs):
'description': 'str',
'time_created': 'datetime',
'lifecycle_state': 'str',
- 'inactive_status': 'int'
+ 'inactive_status': 'int',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -62,7 +72,9 @@ def __init__(self, **kwargs):
'description': 'description',
'time_created': 'timeCreated',
'lifecycle_state': 'lifecycleState',
- 'inactive_status': 'inactiveStatus'
+ 'inactive_status': 'inactiveStatus',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
@@ -72,11 +84,13 @@ def __init__(self, **kwargs):
self._time_created = None
self._lifecycle_state = None
self._inactive_status = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def id(self):
"""
- Gets the id of this Compartment.
+ **[Required]** Gets the id of this Compartment.
The OCID of the compartment.
@@ -100,7 +114,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Compartment.
+ **[Required]** Gets the compartment_id of this Compartment.
The OCID of the tenancy containing the compartment.
@@ -124,7 +138,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this Compartment.
+ **[Required]** Gets the name of this Compartment.
The name you assign to the compartment during creation. The name must be unique across all
compartments in the tenancy.
@@ -150,7 +164,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this Compartment.
+ **[Required]** Gets the description of this Compartment.
The description you assign to the compartment. Does not have to be unique, and it's changeable.
@@ -174,7 +188,7 @@ def description(self, description):
@property
def time_created(self):
"""
- Gets the time_created of this Compartment.
+ **[Required]** Gets the time_created of this Compartment.
Date and time the compartment was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -202,7 +216,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Compartment.
+ **[Required]** Gets the lifecycle_state of this Compartment.
The compartment's current state. After creating a compartment, make sure its `lifecycleState` changes from
CREATING to ACTIVE before using it.
@@ -255,6 +269,58 @@ def inactive_status(self, inactive_status):
"""
self._inactive_status = inactive_status
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Compartment.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this Compartment.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Compartment.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this Compartment.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Compartment.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this Compartment.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Compartment.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this Compartment.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/create_api_key_details.py b/src/oci/identity/models/create_api_key_details.py
index 7a86e65cf7..f97a92de53 100644
--- a/src/oci/identity/models/create_api_key_details.py
+++ b/src/oci/identity/models/create_api_key_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def key(self):
"""
- Gets the key of this CreateApiKeyDetails.
+ **[Required]** Gets the key of this CreateApiKeyDetails.
The public key. Must be an RSA key in PEM format.
diff --git a/src/oci/identity/models/create_compartment_details.py b/src/oci/identity/models/create_compartment_details.py
index bf9e780ef4..1b690c6a8d 100644
--- a/src/oci/identity/models/create_compartment_details.py
+++ b/src/oci/identity/models/create_compartment_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,27 +26,41 @@ def __init__(self, **kwargs):
The value to assign to the description property of this CreateCompartmentDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateCompartmentDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateCompartmentDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'compartment_id': 'str',
'name': 'str',
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
'name': 'name',
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._compartment_id = None
self._name = None
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateCompartmentDetails.
+ **[Required]** Gets the compartment_id of this CreateCompartmentDetails.
The OCID of the tenancy containing the compartment.
@@ -70,7 +84,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this CreateCompartmentDetails.
+ **[Required]** Gets the name of this CreateCompartmentDetails.
The name you assign to the compartment during creation. The name must be unique across all compartments
in the tenancy.
@@ -96,7 +110,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this CreateCompartmentDetails.
+ **[Required]** Gets the description of this CreateCompartmentDetails.
The description you assign to the compartment during creation. Does not have to be unique, and it's changeable.
@@ -117,6 +131,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateCompartmentDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateCompartmentDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateCompartmentDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateCompartmentDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateCompartmentDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateCompartmentDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateCompartmentDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateCompartmentDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/create_customer_secret_key_details.py b/src/oci/identity/models/create_customer_secret_key_details.py
index 23fedd8759..dbb03f1fae 100644
--- a/src/oci/identity/models/create_customer_secret_key_details.py
+++ b/src/oci/identity/models/create_customer_secret_key_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def display_name(self):
"""
- Gets the display_name of this CreateCustomerSecretKeyDetails.
+ **[Required]** Gets the display_name of this CreateCustomerSecretKeyDetails.
The name you assign to the secret key during creation. Does not have to be unique, and it's changeable.
diff --git a/src/oci/identity/models/create_group_details.py b/src/oci/identity/models/create_group_details.py
index 2dbf29ffda..bdef020234 100644
--- a/src/oci/identity/models/create_group_details.py
+++ b/src/oci/identity/models/create_group_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,27 +26,41 @@ def __init__(self, **kwargs):
The value to assign to the description property of this CreateGroupDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateGroupDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateGroupDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'compartment_id': 'str',
'name': 'str',
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
'name': 'name',
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._compartment_id = None
self._name = None
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateGroupDetails.
+ **[Required]** Gets the compartment_id of this CreateGroupDetails.
The OCID of the tenancy containing the group.
@@ -70,7 +84,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this CreateGroupDetails.
+ **[Required]** Gets the name of this CreateGroupDetails.
The name you assign to the group during creation. The name must be unique across all groups
in the tenancy and cannot be changed.
@@ -96,7 +110,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this CreateGroupDetails.
+ **[Required]** Gets the description of this CreateGroupDetails.
The description you assign to the group during creation. Does not have to be unique, and it's changeable.
@@ -117,6 +131,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateGroupDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateGroupDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateGroupDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateGroupDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateGroupDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateGroupDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateGroupDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateGroupDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/create_identity_provider_details.py b/src/oci/identity/models/create_identity_provider_details.py
index a582d9de78..11d69704c9 100644
--- a/src/oci/identity/models/create_identity_provider_details.py
+++ b/src/oci/identity/models/create_identity_provider_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -40,13 +40,23 @@ def __init__(self, **kwargs):
Allowed values for this property are: "SAML2"
:type protocol: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateIdentityProviderDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateIdentityProviderDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'compartment_id': 'str',
'name': 'str',
'description': 'str',
'product_type': 'str',
- 'protocol': 'str'
+ 'protocol': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -54,7 +64,9 @@ def __init__(self, **kwargs):
'name': 'name',
'description': 'description',
'product_type': 'productType',
- 'protocol': 'protocol'
+ 'protocol': 'protocol',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._compartment_id = None
@@ -62,6 +74,8 @@ def __init__(self, **kwargs):
self._description = None
self._product_type = None
self._protocol = None
+ self._freeform_tags = None
+ self._defined_tags = None
@staticmethod
def get_subtype(object_dictionary):
@@ -79,7 +93,7 @@ def get_subtype(object_dictionary):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateIdentityProviderDetails.
+ **[Required]** Gets the compartment_id of this CreateIdentityProviderDetails.
The OCID of your tenancy.
@@ -103,7 +117,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this CreateIdentityProviderDetails.
+ **[Required]** Gets the name of this CreateIdentityProviderDetails.
The name you assign to the `IdentityProvider` during creation.
The name must be unique across all `IdentityProvider` objects in the
tenancy and cannot be changed.
@@ -131,7 +145,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this CreateIdentityProviderDetails.
+ **[Required]** Gets the description of this CreateIdentityProviderDetails.
The description you assign to the `IdentityProvider` during creation.
Does not have to be unique, and it's changeable.
@@ -157,7 +171,7 @@ def description(self, description):
@property
def product_type(self):
"""
- Gets the product_type of this CreateIdentityProviderDetails.
+ **[Required]** Gets the product_type of this CreateIdentityProviderDetails.
The identity provider service or product.
Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft
Active Directory Federation Services (ADFS).
@@ -197,7 +211,7 @@ def product_type(self, product_type):
@property
def protocol(self):
"""
- Gets the protocol of this CreateIdentityProviderDetails.
+ **[Required]** Gets the protocol of this CreateIdentityProviderDetails.
The protocol used for federation.
Example: `SAML2`
@@ -230,6 +244,58 @@ def protocol(self, protocol):
)
self._protocol = protocol
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateIdentityProviderDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateIdentityProviderDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateIdentityProviderDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateIdentityProviderDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateIdentityProviderDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateIdentityProviderDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateIdentityProviderDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateIdentityProviderDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/create_idp_group_mapping_details.py b/src/oci/identity/models/create_idp_group_mapping_details.py
index a75832892b..44aa9b52a6 100644
--- a/src/oci/identity/models/create_idp_group_mapping_details.py
+++ b/src/oci/identity/models/create_idp_group_mapping_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def idp_group_name(self):
"""
- Gets the idp_group_name of this CreateIdpGroupMappingDetails.
+ **[Required]** Gets the idp_group_name of this CreateIdpGroupMappingDetails.
The name of the IdP group you want to map.
@@ -63,7 +63,7 @@ def idp_group_name(self, idp_group_name):
@property
def group_id(self):
"""
- Gets the group_id of this CreateIdpGroupMappingDetails.
+ **[Required]** Gets the group_id of this CreateIdpGroupMappingDetails.
The OCID of the IAM Service :class:`Group`
you want to map to the IdP group.
diff --git a/src/oci/identity/models/create_policy_details.py b/src/oci/identity/models/create_policy_details.py
index e74befa6da..16ea098dec 100644
--- a/src/oci/identity/models/create_policy_details.py
+++ b/src/oci/identity/models/create_policy_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -34,13 +34,23 @@ def __init__(self, **kwargs):
The value to assign to the version_date property of this CreatePolicyDetails.
:type version_date: datetime
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreatePolicyDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreatePolicyDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'compartment_id': 'str',
'name': 'str',
'statements': 'list[str]',
'description': 'str',
- 'version_date': 'datetime'
+ 'version_date': 'datetime',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -48,7 +58,9 @@ def __init__(self, **kwargs):
'name': 'name',
'statements': 'statements',
'description': 'description',
- 'version_date': 'versionDate'
+ 'version_date': 'versionDate',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._compartment_id = None
@@ -56,11 +68,13 @@ def __init__(self, **kwargs):
self._statements = None
self._description = None
self._version_date = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreatePolicyDetails.
+ **[Required]** Gets the compartment_id of this CreatePolicyDetails.
The OCID of the compartment containing the policy (either the tenancy or another compartment).
@@ -84,7 +98,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this CreatePolicyDetails.
+ **[Required]** Gets the name of this CreatePolicyDetails.
The name you assign to the policy during creation. The name must be unique across all policies
in the tenancy and cannot be changed.
@@ -110,7 +124,7 @@ def name(self, name):
@property
def statements(self):
"""
- Gets the statements of this CreatePolicyDetails.
+ **[Required]** Gets the statements of this CreatePolicyDetails.
An array of policy statements written in the policy language. See
`How Policies Work`__ and
`Common Policies`__.
@@ -144,7 +158,7 @@ def statements(self, statements):
@property
def description(self):
"""
- Gets the description of this CreatePolicyDetails.
+ **[Required]** Gets the description of this CreatePolicyDetails.
The description you assign to the policy during creation. Does not have to be unique, and it's changeable.
@@ -193,6 +207,58 @@ def version_date(self, version_date):
"""
self._version_date = version_date
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreatePolicyDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreatePolicyDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreatePolicyDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreatePolicyDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreatePolicyDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreatePolicyDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreatePolicyDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreatePolicyDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/create_region_subscription_details.py b/src/oci/identity/models/create_region_subscription_details.py
index efce83a739..4f849dee9a 100644
--- a/src/oci/identity/models/create_region_subscription_details.py
+++ b/src/oci/identity/models/create_region_subscription_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def region_key(self):
"""
- Gets the region_key of this CreateRegionSubscriptionDetails.
+ **[Required]** Gets the region_key of this CreateRegionSubscriptionDetails.
The regions's key.
Allowed values are:
diff --git a/src/oci/identity/models/create_saml2_identity_provider_details.py b/src/oci/identity/models/create_saml2_identity_provider_details.py
index de7972fa20..8b9a85b96f 100644
--- a/src/oci/identity/models/create_saml2_identity_provider_details.py
+++ b/src/oci/identity/models/create_saml2_identity_provider_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .create_identity_provider_details import CreateIdentityProviderDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -37,6 +37,14 @@ def __init__(self, **kwargs):
Allowed values for this property are: "SAML2"
:type protocol: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateSaml2IdentityProviderDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateSaml2IdentityProviderDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param metadata_url:
The value to assign to the metadata_url property of this CreateSaml2IdentityProviderDetails.
:type metadata_url: str
@@ -52,6 +60,8 @@ def __init__(self, **kwargs):
'description': 'str',
'product_type': 'str',
'protocol': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
'metadata_url': 'str',
'metadata': 'str'
}
@@ -62,6 +72,8 @@ def __init__(self, **kwargs):
'description': 'description',
'product_type': 'productType',
'protocol': 'protocol',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
'metadata_url': 'metadataUrl',
'metadata': 'metadata'
}
@@ -71,6 +83,8 @@ def __init__(self, **kwargs):
self._description = None
self._product_type = None
self._protocol = None
+ self._freeform_tags = None
+ self._defined_tags = None
self._metadata_url = None
self._metadata = None
self._protocol = 'SAML2'
@@ -78,7 +92,7 @@ def __init__(self, **kwargs):
@property
def metadata_url(self):
"""
- Gets the metadata_url of this CreateSaml2IdentityProviderDetails.
+ **[Required]** Gets the metadata_url of this CreateSaml2IdentityProviderDetails.
The URL for retrieving the identity provider's metadata,
which contains information required for federating.
@@ -104,7 +118,7 @@ def metadata_url(self, metadata_url):
@property
def metadata(self):
"""
- Gets the metadata of this CreateSaml2IdentityProviderDetails.
+ **[Required]** Gets the metadata of this CreateSaml2IdentityProviderDetails.
The XML that contains the information required for federating.
diff --git a/src/oci/identity/models/create_swift_password_details.py b/src/oci/identity/models/create_swift_password_details.py
index cb6c81a1e5..f6fa1608c7 100644
--- a/src/oci/identity/models/create_swift_password_details.py
+++ b/src/oci/identity/models/create_swift_password_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def description(self):
"""
- Gets the description of this CreateSwiftPasswordDetails.
+ **[Required]** Gets the description of this CreateSwiftPasswordDetails.
The description you assign to the Swift password during creation. Does not have to be unique, and it's changeable.
diff --git a/src/oci/identity/models/create_tag_details.py b/src/oci/identity/models/create_tag_details.py
new file mode 100644
index 0000000000..392c1e619a
--- /dev/null
+++ b/src/oci/identity/models/create_tag_details.py
@@ -0,0 +1,163 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateTagDetails(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateTagDetails object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param name:
+ The value to assign to the name property of this CreateTagDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateTagDetails.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateTagDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateTagDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateTagDetails.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :return: The name of this CreateTagDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateTagDetails.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :param name: The name of this CreateTagDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this CreateTagDetails.
+ The description of the tag.
+
+
+ :return: The description of this CreateTagDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateTagDetails.
+ The description of the tag.
+
+
+ :param description: The description of this CreateTagDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateTagDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateTagDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateTagDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateTagDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateTagDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateTagDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateTagDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateTagDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/create_tag_namespace_details.py b/src/oci/identity/models/create_tag_namespace_details.py
new file mode 100644
index 0000000000..e78b0bd37b
--- /dev/null
+++ b/src/oci/identity/models/create_tag_namespace_details.py
@@ -0,0 +1,194 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateTagNamespaceDetails(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateTagNamespaceDetails object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateTagNamespaceDetails.
+ :type compartment_id: str
+
+ :param name:
+ The value to assign to the name property of this CreateTagNamespaceDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateTagNamespaceDetails.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateTagNamespaceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateTagNamespaceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._compartment_id = None
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateTagNamespaceDetails.
+ The OCID of the tenancy containing the user.
+
+
+ :return: The compartment_id of this CreateTagNamespaceDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateTagNamespaceDetails.
+ The OCID of the tenancy containing the user.
+
+
+ :param compartment_id: The compartment_id of this CreateTagNamespaceDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateTagNamespaceDetails.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :return: The name of this CreateTagNamespaceDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateTagNamespaceDetails.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :param name: The name of this CreateTagNamespaceDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this CreateTagNamespaceDetails.
+ The description of the tagNamespace.
+
+
+ :return: The description of this CreateTagNamespaceDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateTagNamespaceDetails.
+ The description of the tagNamespace.
+
+
+ :param description: The description of this CreateTagNamespaceDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateTagNamespaceDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateTagNamespaceDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateTagNamespaceDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateTagNamespaceDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateTagNamespaceDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateTagNamespaceDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateTagNamespaceDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateTagNamespaceDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/create_user_details.py b/src/oci/identity/models/create_user_details.py
index a0c5695edb..c55a4d5600 100644
--- a/src/oci/identity/models/create_user_details.py
+++ b/src/oci/identity/models/create_user_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,27 +26,41 @@ def __init__(self, **kwargs):
The value to assign to the description property of this CreateUserDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateUserDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateUserDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'compartment_id': 'str',
'name': 'str',
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
'name': 'name',
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._compartment_id = None
self._name = None
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateUserDetails.
+ **[Required]** Gets the compartment_id of this CreateUserDetails.
The OCID of the tenancy containing the user.
@@ -70,7 +84,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this CreateUserDetails.
+ **[Required]** Gets the name of this CreateUserDetails.
The name you assign to the user during creation. This is the user's login for the Console.
The name must be unique across all users in the tenancy and cannot be changed.
@@ -96,7 +110,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this CreateUserDetails.
+ **[Required]** Gets the description of this CreateUserDetails.
The description you assign to the user during creation. Does not have to be unique, and it's changeable.
@@ -117,6 +131,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateUserDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateUserDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateUserDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateUserDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateUserDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this CreateUserDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateUserDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateUserDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/customer_secret_key.py b/src/oci/identity/models/customer_secret_key.py
index 44ec529e9f..7990b206fc 100644
--- a/src/oci/identity/models/customer_secret_key.py
+++ b/src/oci/identity/models/customer_secret_key.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/customer_secret_key_summary.py b/src/oci/identity/models/customer_secret_key_summary.py
index 5ae3afb122..fb8d6f5172 100644
--- a/src/oci/identity/models/customer_secret_key_summary.py
+++ b/src/oci/identity/models/customer_secret_key_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/group.py b/src/oci/identity/models/group.py
index a2057d2da6..51d164ad49 100644
--- a/src/oci/identity/models/group.py
+++ b/src/oci/identity/models/group.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -44,6 +44,14 @@ def __init__(self, **kwargs):
The value to assign to the inactive_status property of this Group.
:type inactive_status: int
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Group.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Group.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -52,7 +60,9 @@ def __init__(self, **kwargs):
'description': 'str',
'time_created': 'datetime',
'lifecycle_state': 'str',
- 'inactive_status': 'int'
+ 'inactive_status': 'int',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -62,7 +72,9 @@ def __init__(self, **kwargs):
'description': 'description',
'time_created': 'timeCreated',
'lifecycle_state': 'lifecycleState',
- 'inactive_status': 'inactiveStatus'
+ 'inactive_status': 'inactiveStatus',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
@@ -72,11 +84,13 @@ def __init__(self, **kwargs):
self._time_created = None
self._lifecycle_state = None
self._inactive_status = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def id(self):
"""
- Gets the id of this Group.
+ **[Required]** Gets the id of this Group.
The OCID of the group.
@@ -100,7 +114,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Group.
+ **[Required]** Gets the compartment_id of this Group.
The OCID of the tenancy containing the group.
@@ -124,7 +138,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this Group.
+ **[Required]** Gets the name of this Group.
The name you assign to the group during creation. The name must be unique across all groups in
the tenancy and cannot be changed.
@@ -150,7 +164,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this Group.
+ **[Required]** Gets the description of this Group.
The description you assign to the group. Does not have to be unique, and it's changeable.
@@ -174,7 +188,7 @@ def description(self, description):
@property
def time_created(self):
"""
- Gets the time_created of this Group.
+ **[Required]** Gets the time_created of this Group.
Date and time the group was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -202,7 +216,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Group.
+ **[Required]** Gets the lifecycle_state of this Group.
The group's current state. After creating a group, make sure its `lifecycleState` changes from CREATING to
ACTIVE before using it.
@@ -255,6 +269,60 @@ def inactive_status(self, inactive_status):
"""
self._inactive_status = inactive_status
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Group.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists solely for
+ compatibility with other cloud provider tagging schemes.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this Group.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Group.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists solely for
+ compatibility with other cloud provider tagging schemes.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this Group.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Group.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this Group.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Group.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this Group.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/identity_provider.py b/src/oci/identity/models/identity_provider.py
index caaa47ad88..4e66d2d193 100644
--- a/src/oci/identity/models/identity_provider.py
+++ b/src/oci/identity/models/identity_provider.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -56,6 +56,14 @@ def __init__(self, **kwargs):
The value to assign to the protocol property of this IdentityProvider.
:type protocol: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this IdentityProvider.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this IdentityProvider.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -66,7 +74,9 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'lifecycle_state': 'str',
'inactive_status': 'int',
- 'protocol': 'str'
+ 'protocol': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -78,7 +88,9 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'lifecycle_state': 'lifecycleState',
'inactive_status': 'inactiveStatus',
- 'protocol': 'protocol'
+ 'protocol': 'protocol',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
@@ -90,6 +102,8 @@ def __init__(self, **kwargs):
self._lifecycle_state = None
self._inactive_status = None
self._protocol = None
+ self._freeform_tags = None
+ self._defined_tags = None
@staticmethod
def get_subtype(object_dictionary):
@@ -107,7 +121,7 @@ def get_subtype(object_dictionary):
@property
def id(self):
"""
- Gets the id of this IdentityProvider.
+ **[Required]** Gets the id of this IdentityProvider.
The OCID of the `IdentityProvider`.
@@ -131,7 +145,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this IdentityProvider.
+ **[Required]** Gets the compartment_id of this IdentityProvider.
The OCID of the tenancy containing the `IdentityProvider`.
@@ -155,7 +169,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this IdentityProvider.
+ **[Required]** Gets the name of this IdentityProvider.
The name you assign to the `IdentityProvider` during creation. The name
must be unique across all `IdentityProvider` objects in the tenancy and
cannot be changed. This is the name federated users see when choosing
@@ -187,7 +201,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this IdentityProvider.
+ **[Required]** Gets the description of this IdentityProvider.
The description you assign to the `IdentityProvider` during creation. Does
not have to be unique, and it's changeable.
@@ -213,7 +227,7 @@ def description(self, description):
@property
def product_type(self):
"""
- Gets the product_type of this IdentityProvider.
+ **[Required]** Gets the product_type of this IdentityProvider.
The identity provider service or product.
Supported identity providers are Oracle Identity Cloud Service (IDCS) and Microsoft
Active Directory Federation Services (ADFS).
@@ -253,7 +267,7 @@ def product_type(self, product_type):
@property
def time_created(self):
"""
- Gets the time_created of this IdentityProvider.
+ **[Required]** Gets the time_created of this IdentityProvider.
Date and time the `IdentityProvider` was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -281,7 +295,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this IdentityProvider.
+ **[Required]** Gets the lifecycle_state of this IdentityProvider.
The current state. After creating an `IdentityProvider`, make sure its
`lifecycleState` changes from CREATING to ACTIVE before using it.
@@ -337,7 +351,7 @@ def inactive_status(self, inactive_status):
@property
def protocol(self):
"""
- Gets the protocol of this IdentityProvider.
+ **[Required]** Gets the protocol of this IdentityProvider.
The protocol used for federation. Allowed value: `SAML2`.
Example: `SAML2`
@@ -362,6 +376,58 @@ def protocol(self, protocol):
"""
self._protocol = protocol
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this IdentityProvider.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this IdentityProvider.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this IdentityProvider.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this IdentityProvider.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this IdentityProvider.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this IdentityProvider.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this IdentityProvider.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this IdentityProvider.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/idp_group_mapping.py b/src/oci/identity/models/idp_group_mapping.py
index 7599d74a64..76297793fe 100644
--- a/src/oci/identity/models/idp_group_mapping.py
+++ b/src/oci/identity/models/idp_group_mapping.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this IdpGroupMapping.
+ **[Required]** Gets the id of this IdpGroupMapping.
The OCID of the `IdpGroupMapping`.
@@ -107,7 +107,7 @@ def id(self, id):
@property
def idp_id(self):
"""
- Gets the idp_id of this IdpGroupMapping.
+ **[Required]** Gets the idp_id of this IdpGroupMapping.
The OCID of the `IdentityProvider` this mapping belongs to.
@@ -131,7 +131,7 @@ def idp_id(self, idp_id):
@property
def idp_group_name(self):
"""
- Gets the idp_group_name of this IdpGroupMapping.
+ **[Required]** Gets the idp_group_name of this IdpGroupMapping.
The name of the IdP group that is mapped to the IAM Service group.
@@ -155,7 +155,7 @@ def idp_group_name(self, idp_group_name):
@property
def group_id(self):
"""
- Gets the group_id of this IdpGroupMapping.
+ **[Required]** Gets the group_id of this IdpGroupMapping.
The OCID of the IAM Service group that is mapped to the IdP group.
@@ -179,7 +179,7 @@ def group_id(self, group_id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this IdpGroupMapping.
+ **[Required]** Gets the compartment_id of this IdpGroupMapping.
The OCID of the tenancy containing the `IdentityProvider`.
@@ -203,7 +203,7 @@ def compartment_id(self, compartment_id):
@property
def time_created(self):
"""
- Gets the time_created of this IdpGroupMapping.
+ **[Required]** Gets the time_created of this IdpGroupMapping.
Date and time the mapping was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -231,7 +231,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this IdpGroupMapping.
+ **[Required]** Gets the lifecycle_state of this IdpGroupMapping.
The mapping's current state. After creating a mapping object, make sure its `lifecycleState` changes
from CREATING to ACTIVE before using it.
diff --git a/src/oci/identity/models/policy.py b/src/oci/identity/models/policy.py
index 5cfa326fc7..ce9afef500 100644
--- a/src/oci/identity/models/policy.py
+++ b/src/oci/identity/models/policy.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -52,6 +52,14 @@ def __init__(self, **kwargs):
The value to assign to the version_date property of this Policy.
:type version_date: datetime
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Policy.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Policy.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -62,7 +70,9 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'lifecycle_state': 'str',
'inactive_status': 'int',
- 'version_date': 'datetime'
+ 'version_date': 'datetime',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -74,7 +84,9 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'lifecycle_state': 'lifecycleState',
'inactive_status': 'inactiveStatus',
- 'version_date': 'versionDate'
+ 'version_date': 'versionDate',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
@@ -86,11 +98,13 @@ def __init__(self, **kwargs):
self._lifecycle_state = None
self._inactive_status = None
self._version_date = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def id(self):
"""
- Gets the id of this Policy.
+ **[Required]** Gets the id of this Policy.
The OCID of the policy.
@@ -114,7 +128,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Policy.
+ **[Required]** Gets the compartment_id of this Policy.
The OCID of the compartment containing the policy (either the tenancy or another compartment).
@@ -138,7 +152,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this Policy.
+ **[Required]** Gets the name of this Policy.
The name you assign to the policy during creation. The name must be unique across all policies
in the tenancy and cannot be changed.
@@ -164,7 +178,7 @@ def name(self, name):
@property
def statements(self):
"""
- Gets the statements of this Policy.
+ **[Required]** Gets the statements of this Policy.
An array of one or more policy statements written in the policy language.
@@ -188,7 +202,7 @@ def statements(self, statements):
@property
def description(self):
"""
- Gets the description of this Policy.
+ **[Required]** Gets the description of this Policy.
The description you assign to the policy. Does not have to be unique, and it's changeable.
@@ -212,7 +226,7 @@ def description(self, description):
@property
def time_created(self):
"""
- Gets the time_created of this Policy.
+ **[Required]** Gets the time_created of this Policy.
Date and time the policy was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -240,7 +254,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this Policy.
+ **[Required]** Gets the lifecycle_state of this Policy.
The policy's current state. After creating a policy, make sure its `lifecycleState` changes from CREATING to
ACTIVE before using it.
@@ -321,6 +335,58 @@ def version_date(self, version_date):
"""
self._version_date = version_date
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Policy.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this Policy.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Policy.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this Policy.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Policy.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this Policy.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Policy.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this Policy.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/region.py b/src/oci/identity/models/region.py
index 507fa4d950..30801eefae 100644
--- a/src/oci/identity/models/region.py
+++ b/src/oci/identity/models/region.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/region_subscription.py b/src/oci/identity/models/region_subscription.py
index d95a0bf45a..3d6fd28b0c 100644
--- a/src/oci/identity/models/region_subscription.py
+++ b/src/oci/identity/models/region_subscription.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -55,7 +55,7 @@ def __init__(self, **kwargs):
@property
def region_key(self):
"""
- Gets the region_key of this RegionSubscription.
+ **[Required]** Gets the region_key of this RegionSubscription.
The region's key.
Allowed values are:
@@ -89,7 +89,7 @@ def region_key(self, region_key):
@property
def region_name(self):
"""
- Gets the region_name of this RegionSubscription.
+ **[Required]** Gets the region_name of this RegionSubscription.
The region's name.
Allowed values are:
@@ -123,7 +123,7 @@ def region_name(self, region_name):
@property
def status(self):
"""
- Gets the status of this RegionSubscription.
+ **[Required]** Gets the status of this RegionSubscription.
The region subscription status.
Allowed values for this property are: "READY", "IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
@@ -153,7 +153,7 @@ def status(self, status):
@property
def is_home_region(self):
"""
- Gets the is_home_region of this RegionSubscription.
+ **[Required]** Gets the is_home_region of this RegionSubscription.
Indicates if the region is the home region or not.
diff --git a/src/oci/identity/models/saml2_identity_provider.py b/src/oci/identity/models/saml2_identity_provider.py
index ce2516c700..644e3afb0b 100644
--- a/src/oci/identity/models/saml2_identity_provider.py
+++ b/src/oci/identity/models/saml2_identity_provider.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .identity_provider import IdentityProvider
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -52,6 +52,14 @@ def __init__(self, **kwargs):
The value to assign to the protocol property of this Saml2IdentityProvider.
:type protocol: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Saml2IdentityProvider.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Saml2IdentityProvider.
+ :type defined_tags: dict(str, dict(str, object))
+
:param metadata_url:
The value to assign to the metadata_url property of this Saml2IdentityProvider.
:type metadata_url: str
@@ -75,6 +83,8 @@ def __init__(self, **kwargs):
'lifecycle_state': 'str',
'inactive_status': 'int',
'protocol': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
'metadata_url': 'str',
'signing_certificate': 'str',
'redirect_url': 'str'
@@ -90,6 +100,8 @@ def __init__(self, **kwargs):
'lifecycle_state': 'lifecycleState',
'inactive_status': 'inactiveStatus',
'protocol': 'protocol',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
'metadata_url': 'metadataUrl',
'signing_certificate': 'signingCertificate',
'redirect_url': 'redirectUrl'
@@ -104,6 +116,8 @@ def __init__(self, **kwargs):
self._lifecycle_state = None
self._inactive_status = None
self._protocol = None
+ self._freeform_tags = None
+ self._defined_tags = None
self._metadata_url = None
self._signing_certificate = None
self._redirect_url = None
@@ -112,7 +126,7 @@ def __init__(self, **kwargs):
@property
def metadata_url(self):
"""
- Gets the metadata_url of this Saml2IdentityProvider.
+ **[Required]** Gets the metadata_url of this Saml2IdentityProvider.
The URL for retrieving the identity provider's metadata, which
contains information required for federating.
@@ -138,7 +152,7 @@ def metadata_url(self, metadata_url):
@property
def signing_certificate(self):
"""
- Gets the signing_certificate of this Saml2IdentityProvider.
+ **[Required]** Gets the signing_certificate of this Saml2IdentityProvider.
The identity provider's signing certificate used by the IAM Service
to validate the SAML2 token.
@@ -164,7 +178,7 @@ def signing_certificate(self, signing_certificate):
@property
def redirect_url(self):
"""
- Gets the redirect_url of this Saml2IdentityProvider.
+ **[Required]** Gets the redirect_url of this Saml2IdentityProvider.
The URL to redirect federated users to for authentication with the
identity provider.
diff --git a/src/oci/identity/models/swift_password.py b/src/oci/identity/models/swift_password.py
index 48469b10c1..19c8098ac5 100644
--- a/src/oci/identity/models/swift_password.py
+++ b/src/oci/identity/models/swift_password.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/tag.py b/src/oci/identity/models/tag.py
new file mode 100644
index 0000000000..620116d52f
--- /dev/null
+++ b/src/oci/identity/models/tag.py
@@ -0,0 +1,351 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class Tag(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Tag object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this Tag.
+ :type compartment_id: str
+
+ :param tag_namespace_id:
+ The value to assign to the tag_namespace_id property of this Tag.
+ :type tag_namespace_id: str
+
+ :param tag_namespace_name:
+ The value to assign to the tag_namespace_name property of this Tag.
+ :type tag_namespace_name: str
+
+ :param id:
+ The value to assign to the id property of this Tag.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this Tag.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this Tag.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Tag.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Tag.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param is_retired:
+ The value to assign to the is_retired property of this Tag.
+ :type is_retired: bool
+
+ :param time_created:
+ The value to assign to the time_created property of this Tag.
+ :type time_created: datetime
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'tag_namespace_id': 'str',
+ 'tag_namespace_name': 'str',
+ 'id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'is_retired': 'bool',
+ 'time_created': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'tag_namespace_id': 'tagNamespaceId',
+ 'tag_namespace_name': 'tagNamespaceName',
+ 'id': 'id',
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'is_retired': 'isRetired',
+ 'time_created': 'timeCreated'
+ }
+
+ self._compartment_id = None
+ self._tag_namespace_id = None
+ self._tag_namespace_name = None
+ self._id = None
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._is_retired = None
+ self._time_created = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this Tag.
+ The OCID of the compartment which the tagRule belongs to.
+
+
+ :return: The compartment_id of this Tag.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this Tag.
+ The OCID of the compartment which the tagRule belongs to.
+
+
+ :param compartment_id: The compartment_id of this Tag.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def tag_namespace_id(self):
+ """
+ **[Required]** Gets the tag_namespace_id of this Tag.
+ The OCID of the containing tagNamespace.
+
+
+ :return: The tag_namespace_id of this Tag.
+ :rtype: str
+ """
+ return self._tag_namespace_id
+
+ @tag_namespace_id.setter
+ def tag_namespace_id(self, tag_namespace_id):
+ """
+ Sets the tag_namespace_id of this Tag.
+ The OCID of the containing tagNamespace.
+
+
+ :param tag_namespace_id: The tag_namespace_id of this Tag.
+ :type: str
+ """
+ self._tag_namespace_id = tag_namespace_id
+
+ @property
+ def tag_namespace_name(self):
+ """
+ **[Required]** Gets the tag_namespace_name of this Tag.
+ The name of the tag namespace to which this tag belongs.
+
+
+ :return: The tag_namespace_name of this Tag.
+ :rtype: str
+ """
+ return self._tag_namespace_name
+
+ @tag_namespace_name.setter
+ def tag_namespace_name(self, tag_namespace_name):
+ """
+ Sets the tag_namespace_name of this Tag.
+ The name of the tag namespace to which this tag belongs.
+
+
+ :param tag_namespace_name: The tag_namespace_name of this Tag.
+ :type: str
+ """
+ self._tag_namespace_name = tag_namespace_name
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this Tag.
+ The OCID of the tag definition.
+
+
+ :return: The id of this Tag.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this Tag.
+ The OCID of the tag definition.
+
+
+ :param id: The id of this Tag.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this Tag.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :return: The name of this Tag.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this Tag.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :param name: The name of this Tag.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this Tag.
+ The description you assign to the tag.
+
+
+ :return: The description of this Tag.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this Tag.
+ The description you assign to the tag.
+
+
+ :param description: The description of this Tag.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Tag.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this Tag.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Tag.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this Tag.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Tag.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this Tag.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Tag.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this Tag.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def is_retired(self):
+ """
+ **[Required]** Gets the is_retired of this Tag.
+ Indicated whether the tagNamespace is retired or not
+
+
+ :return: The is_retired of this Tag.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this Tag.
+ Indicated whether the tagNamespace is retired or not
+
+
+ :param is_retired: The is_retired of this Tag.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this Tag.
+ Date and time the tag was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :return: The time_created of this Tag.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this Tag.
+ Date and time the tag was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :param time_created: The time_created of this Tag.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/tag_namespace.py b/src/oci/identity/models/tag_namespace.py
new file mode 100644
index 0000000000..f7f008035b
--- /dev/null
+++ b/src/oci/identity/models/tag_namespace.py
@@ -0,0 +1,289 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class TagNamespace(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TagNamespace object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this TagNamespace.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this TagNamespace.
+ :type compartment_id: str
+
+ :param name:
+ The value to assign to the name property of this TagNamespace.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this TagNamespace.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this TagNamespace.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this TagNamespace.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param is_retired:
+ The value to assign to the is_retired property of this TagNamespace.
+ :type is_retired: bool
+
+ :param time_created:
+ The value to assign to the time_created property of this TagNamespace.
+ :type time_created: datetime
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'is_retired': 'bool',
+ 'time_created': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'is_retired': 'isRetired',
+ 'time_created': 'timeCreated'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._is_retired = None
+ self._time_created = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this TagNamespace.
+ The OCID of the tagNamespace.
+
+
+ :return: The id of this TagNamespace.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this TagNamespace.
+ The OCID of the tagNamespace.
+
+
+ :param id: The id of this TagNamespace.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this TagNamespace.
+ The OCID of the compartment which the namespace is attached to.
+
+
+ :return: The compartment_id of this TagNamespace.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this TagNamespace.
+ The OCID of the compartment which the namespace is attached to.
+
+
+ :param compartment_id: The compartment_id of this TagNamespace.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this TagNamespace.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :return: The name of this TagNamespace.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this TagNamespace.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :param name: The name of this TagNamespace.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this TagNamespace.
+ The description you assign to the tagNamespace.
+
+
+ :return: The description of this TagNamespace.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this TagNamespace.
+ The description you assign to the tagNamespace.
+
+
+ :param description: The description of this TagNamespace.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this TagNamespace.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this TagNamespace.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this TagNamespace.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this TagNamespace.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this TagNamespace.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this TagNamespace.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this TagNamespace.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this TagNamespace.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def is_retired(self):
+ """
+ **[Required]** Gets the is_retired of this TagNamespace.
+ Indicated whether or not the tagNamespace is retired
+
+
+ :return: The is_retired of this TagNamespace.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this TagNamespace.
+ Indicated whether or not the tagNamespace is retired
+
+
+ :param is_retired: The is_retired of this TagNamespace.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this TagNamespace.
+ Date and time the tagNamespace was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :return: The time_created of this TagNamespace.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this TagNamespace.
+ Date and time the tagNamespace was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :param time_created: The time_created of this TagNamespace.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/tag_namespace_summary.py b/src/oci/identity/models/tag_namespace_summary.py
new file mode 100644
index 0000000000..b4e9941402
--- /dev/null
+++ b/src/oci/identity/models/tag_namespace_summary.py
@@ -0,0 +1,289 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class TagNamespaceSummary(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TagNamespaceSummary object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this TagNamespaceSummary.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this TagNamespaceSummary.
+ :type compartment_id: str
+
+ :param name:
+ The value to assign to the name property of this TagNamespaceSummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this TagNamespaceSummary.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this TagNamespaceSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this TagNamespaceSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param is_retired:
+ The value to assign to the is_retired property of this TagNamespaceSummary.
+ :type is_retired: bool
+
+ :param time_created:
+ The value to assign to the time_created property of this TagNamespaceSummary.
+ :type time_created: datetime
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'is_retired': 'bool',
+ 'time_created': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'is_retired': 'isRetired',
+ 'time_created': 'timeCreated'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._is_retired = None
+ self._time_created = None
+
+ @property
+ def id(self):
+ """
+ Gets the id of this TagNamespaceSummary.
+ The OCID of the tagNamespace.
+
+
+ :return: The id of this TagNamespaceSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this TagNamespaceSummary.
+ The OCID of the tagNamespace.
+
+
+ :param id: The id of this TagNamespaceSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def compartment_id(self):
+ """
+ Gets the compartment_id of this TagNamespaceSummary.
+ The OCID of the compartment to which the namespace is attached.
+
+
+ :return: The compartment_id of this TagNamespaceSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this TagNamespaceSummary.
+ The OCID of the compartment to which the namespace is attached.
+
+
+ :param compartment_id: The compartment_id of this TagNamespaceSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def name(self):
+ """
+ Gets the name of this TagNamespaceSummary.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :return: The name of this TagNamespaceSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this TagNamespaceSummary.
+ The name of the tagNamespace. It must be unique across all tagNamespaces in the tenancy and cannot be changed.
+
+
+ :param name: The name of this TagNamespaceSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this TagNamespaceSummary.
+ The description you assign to the tagNamespace.
+
+
+ :return: The description of this TagNamespaceSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this TagNamespaceSummary.
+ The description you assign to the tagNamespace.
+
+
+ :param description: The description of this TagNamespaceSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this TagNamespaceSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this TagNamespaceSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this TagNamespaceSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this TagNamespaceSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this TagNamespaceSummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this TagNamespaceSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this TagNamespaceSummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this TagNamespaceSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def is_retired(self):
+ """
+ Gets the is_retired of this TagNamespaceSummary.
+ Indicated whether or not the tagNamespace is retired
+
+
+ :return: The is_retired of this TagNamespaceSummary.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this TagNamespaceSummary.
+ Indicated whether or not the tagNamespace is retired
+
+
+ :param is_retired: The is_retired of this TagNamespaceSummary.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def time_created(self):
+ """
+ Gets the time_created of this TagNamespaceSummary.
+ Date and time the tagNamespace was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :return: The time_created of this TagNamespaceSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this TagNamespaceSummary.
+ Date and time the tagNamespace was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :param time_created: The time_created of this TagNamespaceSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/tag_summary.py b/src/oci/identity/models/tag_summary.py
new file mode 100644
index 0000000000..76ce75b486
--- /dev/null
+++ b/src/oci/identity/models/tag_summary.py
@@ -0,0 +1,289 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class TagSummary(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TagSummary object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this TagSummary.
+ :type compartment_id: str
+
+ :param id:
+ The value to assign to the id property of this TagSummary.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this TagSummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this TagSummary.
+ :type description: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this TagSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this TagSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param is_retired:
+ The value to assign to the is_retired property of this TagSummary.
+ :type is_retired: bool
+
+ :param time_created:
+ The value to assign to the time_created property of this TagSummary.
+ :type time_created: datetime
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'is_retired': 'bool',
+ 'time_created': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'id': 'id',
+ 'name': 'name',
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'is_retired': 'isRetired',
+ 'time_created': 'timeCreated'
+ }
+
+ self._compartment_id = None
+ self._id = None
+ self._name = None
+ self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._is_retired = None
+ self._time_created = None
+
+ @property
+ def compartment_id(self):
+ """
+ Gets the compartment_id of this TagSummary.
+ The OCID of the compartment which the tag definition is attached to.
+
+
+ :return: The compartment_id of this TagSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this TagSummary.
+ The OCID of the compartment which the tag definition is attached to.
+
+
+ :param compartment_id: The compartment_id of this TagSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def id(self):
+ """
+ Gets the id of this TagSummary.
+ The OCID of the tag definition.
+
+
+ :return: The id of this TagSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this TagSummary.
+ The OCID of the tag definition.
+
+
+ :param id: The id of this TagSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ Gets the name of this TagSummary.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :return: The name of this TagSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this TagSummary.
+ The name of the tag which must be unique across all tags in the tagNamespace and cannot be changed.
+
+
+ :param name: The name of this TagSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this TagSummary.
+ The description you assign to the tag.
+
+
+ :return: The description of this TagSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this TagSummary.
+ The description you assign to the tag.
+
+
+ :param description: The description of this TagSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this TagSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this TagSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this TagSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this TagSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this TagSummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this TagSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this TagSummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this TagSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def is_retired(self):
+ """
+ Gets the is_retired of this TagSummary.
+ Indicated whether or not the tag is retired
+
+
+ :return: The is_retired of this TagSummary.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this TagSummary.
+ Indicated whether or not the tag is retired
+
+
+ :param is_retired: The is_retired of this TagSummary.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def time_created(self):
+ """
+ Gets the time_created of this TagSummary.
+ Date and time the tag was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :return: The time_created of this TagSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this TagSummary.
+ Date and time the tag was created, in the format defined by RFC3339.
+ Example: `2016-08-25T21:10:29.600Z`
+
+
+ :param time_created: The time_created of this TagSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/tenancy.py b/src/oci/identity/models/tenancy.py
index 7b0ef5be09..3c1219a8f0 100644
--- a/src/oci/identity/models/tenancy.py
+++ b/src/oci/identity/models/tenancy.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -30,25 +30,39 @@ def __init__(self, **kwargs):
The value to assign to the home_region_key property of this Tenancy.
:type home_region_key: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Tenancy.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Tenancy.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
'name': 'str',
'description': 'str',
- 'home_region_key': 'str'
+ 'home_region_key': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
'name': 'name',
'description': 'description',
- 'home_region_key': 'homeRegionKey'
+ 'home_region_key': 'homeRegionKey',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
self._name = None
self._description = None
self._home_region_key = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def id(self):
@@ -156,6 +170,58 @@ def home_region_key(self, home_region_key):
"""
self._home_region_key = home_region_key
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Tenancy.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this Tenancy.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Tenancy.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this Tenancy.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Tenancy.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this Tenancy.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Tenancy.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this Tenancy.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/ui_password.py b/src/oci/identity/models/ui_password.py
index 0ab09bb091..e9bc38ec91 100644
--- a/src/oci/identity/models/ui_password.py
+++ b/src/oci/identity/models/ui_password.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/update_compartment_details.py b/src/oci/identity/models/update_compartment_details.py
index 1a21d0b2ec..d63693faa8 100644
--- a/src/oci/identity/models/update_compartment_details.py
+++ b/src/oci/identity/models/update_compartment_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -22,19 +22,33 @@ def __init__(self, **kwargs):
The value to assign to the name property of this UpdateCompartmentDetails.
:type name: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateCompartmentDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateCompartmentDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'description': 'str',
- 'name': 'str'
+ 'name': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'description': 'description',
- 'name': 'name'
+ 'name': 'name',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._description = None
self._name = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def description(self):
@@ -84,6 +98,58 @@ def name(self, name):
"""
self._name = name
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateCompartmentDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateCompartmentDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateCompartmentDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateCompartmentDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateCompartmentDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateCompartmentDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateCompartmentDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateCompartmentDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/update_customer_secret_key_details.py b/src/oci/identity/models/update_customer_secret_key_details.py
index 5f4560f04a..10551d4163 100644
--- a/src/oci/identity/models/update_customer_secret_key_details.py
+++ b/src/oci/identity/models/update_customer_secret_key_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/update_group_details.py b/src/oci/identity/models/update_group_details.py
index b17116862a..0e0dc2e3d7 100644
--- a/src/oci/identity/models/update_group_details.py
+++ b/src/oci/identity/models/update_group_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,16 +18,30 @@ def __init__(self, **kwargs):
The value to assign to the description property of this UpdateGroupDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateGroupDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateGroupDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def description(self):
@@ -53,6 +67,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateGroupDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateGroupDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateGroupDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateGroupDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateGroupDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateGroupDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateGroupDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateGroupDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/update_identity_provider_details.py b/src/oci/identity/models/update_identity_provider_details.py
index 6f490b59a1..93d0b7789b 100644
--- a/src/oci/identity/models/update_identity_provider_details.py
+++ b/src/oci/identity/models/update_identity_provider_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -27,19 +27,33 @@ def __init__(self, **kwargs):
The value to assign to the description property of this UpdateIdentityProviderDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateIdentityProviderDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateIdentityProviderDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'protocol': 'str',
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'protocol': 'protocol',
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._protocol = None
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@staticmethod
def get_subtype(object_dictionary):
@@ -57,7 +71,7 @@ def get_subtype(object_dictionary):
@property
def protocol(self):
"""
- Gets the protocol of this UpdateIdentityProviderDetails.
+ **[Required]** Gets the protocol of this UpdateIdentityProviderDetails.
The protocol used for federation.
Example: `SAML2`
@@ -116,6 +130,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateIdentityProviderDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateIdentityProviderDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateIdentityProviderDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateIdentityProviderDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateIdentityProviderDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateIdentityProviderDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateIdentityProviderDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateIdentityProviderDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/update_idp_group_mapping_details.py b/src/oci/identity/models/update_idp_group_mapping_details.py
index 20071089aa..edf43f2c40 100644
--- a/src/oci/identity/models/update_idp_group_mapping_details.py
+++ b/src/oci/identity/models/update_idp_group_mapping_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/update_policy_details.py b/src/oci/identity/models/update_policy_details.py
index 43b02fdd0e..4962e9b5dc 100644
--- a/src/oci/identity/models/update_policy_details.py
+++ b/src/oci/identity/models/update_policy_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -26,22 +26,36 @@ def __init__(self, **kwargs):
The value to assign to the version_date property of this UpdatePolicyDetails.
:type version_date: datetime
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdatePolicyDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdatePolicyDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'description': 'str',
'statements': 'list[str]',
- 'version_date': 'datetime'
+ 'version_date': 'datetime',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'description': 'description',
'statements': 'statements',
- 'version_date': 'versionDate'
+ 'version_date': 'versionDate',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._description = None
self._statements = None
self._version_date = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def description(self):
@@ -129,6 +143,58 @@ def version_date(self, version_date):
"""
self._version_date = version_date
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdatePolicyDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdatePolicyDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdatePolicyDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdatePolicyDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdatePolicyDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdatePolicyDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdatePolicyDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdatePolicyDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/update_saml2_identity_provider_details.py b/src/oci/identity/models/update_saml2_identity_provider_details.py
index f52d42d350..aeedf33d75 100644
--- a/src/oci/identity/models/update_saml2_identity_provider_details.py
+++ b/src/oci/identity/models/update_saml2_identity_provider_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .update_identity_provider_details import UpdateIdentityProviderDetails
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -24,6 +24,14 @@ def __init__(self, **kwargs):
The value to assign to the description property of this UpdateSaml2IdentityProviderDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateSaml2IdentityProviderDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateSaml2IdentityProviderDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
:param metadata_url:
The value to assign to the metadata_url property of this UpdateSaml2IdentityProviderDetails.
:type metadata_url: str
@@ -36,6 +44,8 @@ def __init__(self, **kwargs):
self.swagger_types = {
'protocol': 'str',
'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
'metadata_url': 'str',
'metadata': 'str'
}
@@ -43,12 +53,16 @@ def __init__(self, **kwargs):
self.attribute_map = {
'protocol': 'protocol',
'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
'metadata_url': 'metadataUrl',
'metadata': 'metadata'
}
self._protocol = None
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
self._metadata_url = None
self._metadata = None
self._protocol = 'SAML2'
diff --git a/src/oci/identity/models/update_state_details.py b/src/oci/identity/models/update_state_details.py
index 7cf45b9f1d..1d73bba3df 100644
--- a/src/oci/identity/models/update_state_details.py
+++ b/src/oci/identity/models/update_state_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/update_swift_password_details.py b/src/oci/identity/models/update_swift_password_details.py
index d8362d371e..97ccd3d557 100644
--- a/src/oci/identity/models/update_swift_password_details.py
+++ b/src/oci/identity/models/update_swift_password_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/identity/models/update_tag_details.py b/src/oci/identity/models/update_tag_details.py
new file mode 100644
index 0000000000..fa5e58702c
--- /dev/null
+++ b/src/oci/identity/models/update_tag_details.py
@@ -0,0 +1,163 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class UpdateTagDetails(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateTagDetails object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param description:
+ The value to assign to the description property of this UpdateTagDetails.
+ :type description: str
+
+ :param is_retired:
+ The value to assign to the is_retired property of this UpdateTagDetails.
+ :type is_retired: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateTagDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateTagDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'description': 'str',
+ 'is_retired': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'description': 'description',
+ 'is_retired': 'isRetired',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._description = None
+ self._is_retired = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateTagDetails.
+ The description of the tag.
+
+
+ :return: The description of this UpdateTagDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateTagDetails.
+ The description of the tag.
+
+
+ :param description: The description of this UpdateTagDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def is_retired(self):
+ """
+ Gets the is_retired of this UpdateTagDetails.
+ whether or not the tag is retired
+
+
+ :return: The is_retired of this UpdateTagDetails.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this UpdateTagDetails.
+ whether or not the tag is retired
+
+
+ :param is_retired: The is_retired of this UpdateTagDetails.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateTagDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateTagDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateTagDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateTagDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateTagDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateTagDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateTagDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateTagDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/update_tag_namespace_details.py b/src/oci/identity/models/update_tag_namespace_details.py
new file mode 100644
index 0000000000..0ccee94ed6
--- /dev/null
+++ b/src/oci/identity/models/update_tag_namespace_details.py
@@ -0,0 +1,163 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+
+from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from ...decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class UpdateTagNamespaceDetails(object):
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateTagNamespaceDetails object with values from values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param description:
+ The value to assign to the description property of this UpdateTagNamespaceDetails.
+ :type description: str
+
+ :param is_retired:
+ The value to assign to the is_retired property of this UpdateTagNamespaceDetails.
+ :type is_retired: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateTagNamespaceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateTagNamespaceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'description': 'str',
+ 'is_retired': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'description': 'description',
+ 'is_retired': 'isRetired',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._description = None
+ self._is_retired = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateTagNamespaceDetails.
+ The description of the tagNamespace.
+
+
+ :return: The description of this UpdateTagNamespaceDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateTagNamespaceDetails.
+ The description of the tagNamespace.
+
+
+ :param description: The description of this UpdateTagNamespaceDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def is_retired(self):
+ """
+ Gets the is_retired of this UpdateTagNamespaceDetails.
+ whether or not the tagNamespace is retired
+
+
+ :return: The is_retired of this UpdateTagNamespaceDetails.
+ :rtype: bool
+ """
+ return self._is_retired
+
+ @is_retired.setter
+ def is_retired(self, is_retired):
+ """
+ Sets the is_retired of this UpdateTagNamespaceDetails.
+ whether or not the tagNamespace is retired
+
+
+ :param is_retired: The is_retired of this UpdateTagNamespaceDetails.
+ :type: bool
+ """
+ self._is_retired = is_retired
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateTagNamespaceDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateTagNamespaceDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateTagNamespaceDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateTagNamespaceDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateTagNamespaceDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateTagNamespaceDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateTagNamespaceDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateTagNamespaceDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/identity/models/update_user_details.py b/src/oci/identity/models/update_user_details.py
index f5fadc63f6..e2613b5d11 100644
--- a/src/oci/identity/models/update_user_details.py
+++ b/src/oci/identity/models/update_user_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -18,16 +18,30 @@ def __init__(self, **kwargs):
The value to assign to the description property of this UpdateUserDetails.
:type description: str
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateUserDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateUserDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
- 'description': 'str'
+ 'description': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
- 'description': 'description'
+ 'description': 'description',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._description = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def description(self):
@@ -53,6 +67,58 @@ def description(self, description):
"""
self._description = description
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateUserDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateUserDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateUserDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateUserDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateUserDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this UpdateUserDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateUserDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateUserDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/user.py b/src/oci/identity/models/user.py
index 1ccc5057d6..434923fa21 100644
--- a/src/oci/identity/models/user.py
+++ b/src/oci/identity/models/user.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -44,6 +44,14 @@ def __init__(self, **kwargs):
The value to assign to the inactive_status property of this User.
:type inactive_status: int
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this User.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this User.
+ :type defined_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -52,7 +60,9 @@ def __init__(self, **kwargs):
'description': 'str',
'time_created': 'datetime',
'lifecycle_state': 'str',
- 'inactive_status': 'int'
+ 'inactive_status': 'int',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -62,7 +72,9 @@ def __init__(self, **kwargs):
'description': 'description',
'time_created': 'timeCreated',
'lifecycle_state': 'lifecycleState',
- 'inactive_status': 'inactiveStatus'
+ 'inactive_status': 'inactiveStatus',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
}
self._id = None
@@ -72,11 +84,13 @@ def __init__(self, **kwargs):
self._time_created = None
self._lifecycle_state = None
self._inactive_status = None
+ self._freeform_tags = None
+ self._defined_tags = None
@property
def id(self):
"""
- Gets the id of this User.
+ **[Required]** Gets the id of this User.
The OCID of the user.
@@ -100,7 +114,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this User.
+ **[Required]** Gets the compartment_id of this User.
The OCID of the tenancy containing the user.
@@ -124,7 +138,7 @@ def compartment_id(self, compartment_id):
@property
def name(self):
"""
- Gets the name of this User.
+ **[Required]** Gets the name of this User.
The name you assign to the user during creation. This is the user's login for the Console.
The name must be unique across all users in the tenancy and cannot be changed.
@@ -150,7 +164,7 @@ def name(self, name):
@property
def description(self):
"""
- Gets the description of this User.
+ **[Required]** Gets the description of this User.
The description you assign to the user. Does not have to be unique, and it's changeable.
@@ -174,7 +188,7 @@ def description(self, description):
@property
def time_created(self):
"""
- Gets the time_created of this User.
+ **[Required]** Gets the time_created of this User.
Date and time the user was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -202,7 +216,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this User.
+ **[Required]** Gets the lifecycle_state of this User.
The user's current state. After creating a user, make sure its `lifecycleState` changes from CREATING to
ACTIVE before using it.
@@ -265,6 +279,60 @@ def inactive_status(self, inactive_status):
"""
self._inactive_status = inactive_status
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this User.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists solely for
+ compatibility with other cloud provider tagging schemes.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this User.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this User.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists solely for
+ compatibility with other cloud provider tagging schemes.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this User.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this User.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :return: The defined_tags of this User.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this User.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"foo-value\"}}`
+
+
+ :param defined_tags: The defined_tags of this User.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/identity/models/user_group_membership.py b/src/oci/identity/models/user_group_membership.py
index f01e29245e..d83e3503f6 100644
--- a/src/oci/identity/models/user_group_membership.py
+++ b/src/oci/identity/models/user_group_membership.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -76,7 +76,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this UserGroupMembership.
+ **[Required]** Gets the id of this UserGroupMembership.
The OCID of the membership.
@@ -100,7 +100,7 @@ def id(self, id):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this UserGroupMembership.
+ **[Required]** Gets the compartment_id of this UserGroupMembership.
The OCID of the tenancy containing the user, group, and membership object.
@@ -124,7 +124,7 @@ def compartment_id(self, compartment_id):
@property
def group_id(self):
"""
- Gets the group_id of this UserGroupMembership.
+ **[Required]** Gets the group_id of this UserGroupMembership.
The OCID of the group.
@@ -148,7 +148,7 @@ def group_id(self, group_id):
@property
def user_id(self):
"""
- Gets the user_id of this UserGroupMembership.
+ **[Required]** Gets the user_id of this UserGroupMembership.
The OCID of the user.
@@ -172,7 +172,7 @@ def user_id(self, user_id):
@property
def time_created(self):
"""
- Gets the time_created of this UserGroupMembership.
+ **[Required]** Gets the time_created of this UserGroupMembership.
Date and time the membership was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -200,7 +200,7 @@ def time_created(self, time_created):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this UserGroupMembership.
+ **[Required]** Gets the lifecycle_state of this UserGroupMembership.
The membership's current state. After creating a membership object, make sure its `lifecycleState` changes
from CREATING to ACTIVE before using it.
diff --git a/src/oci/load_balancer/__init__.py b/src/oci/load_balancer/__init__.py
index 998e26060a..812d36457c 100644
--- a/src/oci/load_balancer/__init__.py
+++ b/src/oci/load_balancer/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/load_balancer/load_balancer_client.py b/src/oci/load_balancer/load_balancer_client.py
index 7c83956009..98a364355a 100644
--- a/src/oci/load_balancer/load_balancer_client.py
+++ b/src/oci/load_balancer/load_balancer_client.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/load_balancer/models/__init__.py b/src/oci/load_balancer/models/__init__.py
index c63c89a677..74d76ca412 100644
--- a/src/oci/load_balancer/models/__init__.py
+++ b/src/oci/load_balancer/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/load_balancer/models/backend.py b/src/oci/load_balancer/models/backend.py
index 2a02b2aa0c..a23603c258 100644
--- a/src/oci/load_balancer/models/backend.py
+++ b/src/oci/load_balancer/models/backend.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -74,7 +74,7 @@ def __init__(self, **kwargs):
@property
def backup(self):
"""
- Gets the backup of this Backend.
+ **[Required]** Gets the backup of this Backend.
Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
@@ -104,7 +104,7 @@ def backup(self, backup):
@property
def drain(self):
"""
- Gets the drain of this Backend.
+ **[Required]** Gets the drain of this Backend.
Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
incoming traffic.
@@ -134,7 +134,7 @@ def drain(self, drain):
@property
def ip_address(self):
"""
- Gets the ip_address of this Backend.
+ **[Required]** Gets the ip_address of this Backend.
The IP address of the backend server.
Example: `10.10.10.4`
@@ -162,7 +162,7 @@ def ip_address(self, ip_address):
@property
def name(self):
"""
- Gets the name of this Backend.
+ **[Required]** Gets the name of this Backend.
A read-only field showing the IP address and port that uniquely identify this backend server in the backend set.
Example: `10.10.10.4:8080`
@@ -190,7 +190,7 @@ def name(self, name):
@property
def offline(self):
"""
- Gets the offline of this Backend.
+ **[Required]** Gets the offline of this Backend.
Whether the load balancer should treat this server as offline. Offline servers receive no incoming
traffic.
@@ -220,7 +220,7 @@ def offline(self, offline):
@property
def port(self):
"""
- Gets the port of this Backend.
+ **[Required]** Gets the port of this Backend.
The communication port for the backend server.
Example: `8080`
@@ -248,7 +248,7 @@ def port(self, port):
@property
def weight(self):
"""
- Gets the weight of this Backend.
+ **[Required]** Gets the weight of this Backend.
The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections
as a server weighted '1'.
diff --git a/src/oci/load_balancer/models/backend_details.py b/src/oci/load_balancer/models/backend_details.py
index 3d4f5dee55..5f243300e0 100644
--- a/src/oci/load_balancer/models/backend_details.py
+++ b/src/oci/load_balancer/models/backend_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -127,7 +127,7 @@ def drain(self, drain):
@property
def ip_address(self):
"""
- Gets the ip_address of this BackendDetails.
+ **[Required]** Gets the ip_address of this BackendDetails.
The IP address of the backend server.
Example: `10.10.10.4`
@@ -185,7 +185,7 @@ def offline(self, offline):
@property
def port(self):
"""
- Gets the port of this BackendDetails.
+ **[Required]** Gets the port of this BackendDetails.
The communication port for the backend server.
Example: `8080`
diff --git a/src/oci/load_balancer/models/backend_health.py b/src/oci/load_balancer/models/backend_health.py
index d0b9c05179..18e1ab4ff7 100644
--- a/src/oci/load_balancer/models/backend_health.py
+++ b/src/oci/load_balancer/models/backend_health.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def health_check_results(self):
"""
- Gets the health_check_results of this BackendHealth.
+ **[Required]** Gets the health_check_results of this BackendHealth.
A list of the most recent health check results returned for the specified backend server.
@@ -65,7 +65,7 @@ def health_check_results(self, health_check_results):
@property
def status(self):
"""
- Gets the status of this BackendHealth.
+ **[Required]** Gets the status of this BackendHealth.
The general health status of the specified backend server as reported by the primary and standby load balancers.
* **OK:** Both health checks returned `OK`.
diff --git a/src/oci/load_balancer/models/backend_set.py b/src/oci/load_balancer/models/backend_set.py
index c169769d45..81ea184306 100644
--- a/src/oci/load_balancer/models/backend_set.py
+++ b/src/oci/load_balancer/models/backend_set.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -67,7 +67,7 @@ def __init__(self, **kwargs):
@property
def backends(self):
"""
- Gets the backends of this BackendSet.
+ **[Required]** Gets the backends of this BackendSet.
:return: The backends of this BackendSet.
:rtype: list[Backend]
@@ -87,7 +87,7 @@ def backends(self, backends):
@property
def health_checker(self):
"""
- Gets the health_checker of this BackendSet.
+ **[Required]** Gets the health_checker of this BackendSet.
:return: The health_checker of this BackendSet.
:rtype: HealthChecker
@@ -107,7 +107,7 @@ def health_checker(self, health_checker):
@property
def name(self):
"""
- Gets the name of this BackendSet.
+ **[Required]** Gets the name of this BackendSet.
A friendly name for the backend set. It must be unique and it cannot be changed.
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
@@ -141,7 +141,7 @@ def name(self, name):
@property
def policy(self):
"""
- Gets the policy of this BackendSet.
+ **[Required]** Gets the policy of this BackendSet.
The load balancer policy for the backend set. To get a list of available policies, use the
:func:`list_policies` operation.
diff --git a/src/oci/load_balancer/models/backend_set_details.py b/src/oci/load_balancer/models/backend_set_details.py
index 25167e46f7..52e68f5451 100644
--- a/src/oci/load_balancer/models/backend_set_details.py
+++ b/src/oci/load_balancer/models/backend_set_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -80,7 +80,7 @@ def backends(self, backends):
@property
def health_checker(self):
"""
- Gets the health_checker of this BackendSetDetails.
+ **[Required]** Gets the health_checker of this BackendSetDetails.
:return: The health_checker of this BackendSetDetails.
:rtype: HealthCheckerDetails
@@ -100,7 +100,7 @@ def health_checker(self, health_checker):
@property
def policy(self):
"""
- Gets the policy of this BackendSetDetails.
+ **[Required]** Gets the policy of this BackendSetDetails.
The load balancer policy for the backend set. To get a list of available policies, use the
:func:`list_policies` operation.
diff --git a/src/oci/load_balancer/models/backend_set_health.py b/src/oci/load_balancer/models/backend_set_health.py
index 1ab1f82a38..dbd9f81e19 100644
--- a/src/oci/load_balancer/models/backend_set_health.py
+++ b/src/oci/load_balancer/models/backend_set_health.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -62,7 +62,7 @@ def __init__(self, **kwargs):
@property
def critical_state_backend_names(self):
"""
- Gets the critical_state_backend_names of this BackendSetHealth.
+ **[Required]** Gets the critical_state_backend_names of this BackendSetHealth.
A list of backend servers that are currently in the `CRITICAL` health state. The list identifies each backend server by
IP address and port.
@@ -92,7 +92,7 @@ def critical_state_backend_names(self, critical_state_backend_names):
@property
def status(self):
"""
- Gets the status of this BackendSetHealth.
+ **[Required]** Gets the status of this BackendSetHealth.
Overall health status of the backend set.
* **OK:** All backend servers in the backend set return a status of `OK`.
@@ -142,7 +142,7 @@ def status(self, status):
@property
def total_backend_count(self):
"""
- Gets the total_backend_count of this BackendSetHealth.
+ **[Required]** Gets the total_backend_count of this BackendSetHealth.
The total number of backend servers in this backend set.
Example: `5`
@@ -170,7 +170,7 @@ def total_backend_count(self, total_backend_count):
@property
def unknown_state_backend_names(self):
"""
- Gets the unknown_state_backend_names of this BackendSetHealth.
+ **[Required]** Gets the unknown_state_backend_names of this BackendSetHealth.
A list of backend servers that are currently in the `UNKNOWN` health state. The list identifies each backend server by
IP address and port.
@@ -200,7 +200,7 @@ def unknown_state_backend_names(self, unknown_state_backend_names):
@property
def warning_state_backend_names(self):
"""
- Gets the warning_state_backend_names of this BackendSetHealth.
+ **[Required]** Gets the warning_state_backend_names of this BackendSetHealth.
A list of backend servers that are currently in the `WARNING` health state. The list identifies each backend server by
IP address and port.
diff --git a/src/oci/load_balancer/models/certificate.py b/src/oci/load_balancer/models/certificate.py
index 8010852291..9013e138db 100644
--- a/src/oci/load_balancer/models/certificate.py
+++ b/src/oci/load_balancer/models/certificate.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def ca_certificate(self):
"""
- Gets the ca_certificate of this Certificate.
+ **[Required]** Gets the ca_certificate of this Certificate.
The Certificate Authority certificate, or any interim certificate, that you received from your SSL certificate provider.
Example:
@@ -90,7 +90,7 @@ def ca_certificate(self, ca_certificate):
@property
def certificate_name(self):
"""
- Gets the certificate_name of this Certificate.
+ **[Required]** Gets the certificate_name of this Certificate.
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
@@ -122,7 +122,7 @@ def certificate_name(self, certificate_name):
@property
def public_certificate(self):
"""
- Gets the public_certificate of this Certificate.
+ **[Required]** Gets the public_certificate of this Certificate.
The public certificate, in PEM format, that you received from your SSL certificate provider.
Example:
diff --git a/src/oci/load_balancer/models/certificate_details.py b/src/oci/load_balancer/models/certificate_details.py
index 60cc71f354..20510285a9 100644
--- a/src/oci/load_balancer/models/certificate_details.py
+++ b/src/oci/load_balancer/models/certificate_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -104,7 +104,7 @@ def ca_certificate(self, ca_certificate):
@property
def certificate_name(self):
"""
- Gets the certificate_name of this CertificateDetails.
+ **[Required]** Gets the certificate_name of this CertificateDetails.
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
diff --git a/src/oci/load_balancer/models/create_backend_details.py b/src/oci/load_balancer/models/create_backend_details.py
index bfa326c545..96a1e70839 100644
--- a/src/oci/load_balancer/models/create_backend_details.py
+++ b/src/oci/load_balancer/models/create_backend_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -127,7 +127,7 @@ def drain(self, drain):
@property
def ip_address(self):
"""
- Gets the ip_address of this CreateBackendDetails.
+ **[Required]** Gets the ip_address of this CreateBackendDetails.
The IP address of the backend server.
Example: `10.10.10.4`
@@ -185,7 +185,7 @@ def offline(self, offline):
@property
def port(self):
"""
- Gets the port of this CreateBackendDetails.
+ **[Required]** Gets the port of this CreateBackendDetails.
The communication port for the backend server.
Example: `8080`
diff --git a/src/oci/load_balancer/models/create_backend_set_details.py b/src/oci/load_balancer/models/create_backend_set_details.py
index 3764289c0f..ff40e71c70 100644
--- a/src/oci/load_balancer/models/create_backend_set_details.py
+++ b/src/oci/load_balancer/models/create_backend_set_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -87,7 +87,7 @@ def backends(self, backends):
@property
def health_checker(self):
"""
- Gets the health_checker of this CreateBackendSetDetails.
+ **[Required]** Gets the health_checker of this CreateBackendSetDetails.
:return: The health_checker of this CreateBackendSetDetails.
:rtype: HealthCheckerDetails
@@ -107,7 +107,7 @@ def health_checker(self, health_checker):
@property
def name(self):
"""
- Gets the name of this CreateBackendSetDetails.
+ **[Required]** Gets the name of this CreateBackendSetDetails.
A friendly name for the backend set. It must be unique and it cannot be changed.
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
@@ -141,7 +141,7 @@ def name(self, name):
@property
def policy(self):
"""
- Gets the policy of this CreateBackendSetDetails.
+ **[Required]** Gets the policy of this CreateBackendSetDetails.
The load balancer policy for the backend set. To get a list of available policies, use the
:func:`list_policies` operation.
diff --git a/src/oci/load_balancer/models/create_certificate_details.py b/src/oci/load_balancer/models/create_certificate_details.py
index 855dc0e4a7..cd912580bd 100644
--- a/src/oci/load_balancer/models/create_certificate_details.py
+++ b/src/oci/load_balancer/models/create_certificate_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -104,7 +104,7 @@ def ca_certificate(self, ca_certificate):
@property
def certificate_name(self):
"""
- Gets the certificate_name of this CreateCertificateDetails.
+ **[Required]** Gets the certificate_name of this CreateCertificateDetails.
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
diff --git a/src/oci/load_balancer/models/create_listener_details.py b/src/oci/load_balancer/models/create_listener_details.py
index 3219b12037..48af7a98cb 100644
--- a/src/oci/load_balancer/models/create_listener_details.py
+++ b/src/oci/load_balancer/models/create_listener_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def default_backend_set_name(self):
"""
- Gets the default_backend_set_name of this CreateListenerDetails.
+ **[Required]** Gets the default_backend_set_name of this CreateListenerDetails.
The name of the associated backend set.
@@ -84,7 +84,7 @@ def default_backend_set_name(self, default_backend_set_name):
@property
def name(self):
"""
- Gets the name of this CreateListenerDetails.
+ **[Required]** Gets the name of this CreateListenerDetails.
A friendly name for the listener. It must be unique and it cannot be changed.
Avoid entering confidential information.
@@ -114,7 +114,7 @@ def name(self, name):
@property
def port(self):
"""
- Gets the port of this CreateListenerDetails.
+ **[Required]** Gets the port of this CreateListenerDetails.
The communication port for the listener.
Example: `80`
@@ -142,7 +142,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this CreateListenerDetails.
+ **[Required]** Gets the protocol of this CreateListenerDetails.
The protocol on which the listener accepts connection requests.
To get a list of valid protocols, use the :func:`list_protocols`
operation.
diff --git a/src/oci/load_balancer/models/create_load_balancer_details.py b/src/oci/load_balancer/models/create_load_balancer_details.py
index 5778a7499a..0c0cfc35ac 100644
--- a/src/oci/load_balancer/models/create_load_balancer_details.py
+++ b/src/oci/load_balancer/models/create_load_balancer_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -121,7 +121,7 @@ def certificates(self, certificates):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateLoadBalancerDetails.
+ **[Required]** Gets the compartment_id of this CreateLoadBalancerDetails.
The `OCID`__ of the compartment in which to create the load balancer.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -149,7 +149,7 @@ def compartment_id(self, compartment_id):
@property
def display_name(self):
"""
- Gets the display_name of this CreateLoadBalancerDetails.
+ **[Required]** Gets the display_name of this CreateLoadBalancerDetails.
A user-friendly name. It does not have to be unique, and it is changeable.
Avoid entering confidential information.
@@ -255,7 +255,7 @@ def listeners(self, listeners):
@property
def shape_name(self):
"""
- Gets the shape_name of this CreateLoadBalancerDetails.
+ **[Required]** Gets the shape_name of this CreateLoadBalancerDetails.
A template that determines the total pre-provisioned bandwidth (ingress plus egress).
To get a list of available shapes, use the :func:`list_shapes`
operation.
@@ -287,7 +287,7 @@ def shape_name(self, shape_name):
@property
def subnet_ids(self):
"""
- Gets the subnet_ids of this CreateLoadBalancerDetails.
+ **[Required]** Gets the subnet_ids of this CreateLoadBalancerDetails.
An array of subnet `OCIDs`__.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/load_balancer/models/health_check_result.py b/src/oci/load_balancer/models/health_check_result.py
index adad7c6310..86d395faf3 100644
--- a/src/oci/load_balancer/models/health_check_result.py
+++ b/src/oci/load_balancer/models/health_check_result.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -55,7 +55,7 @@ def __init__(self, **kwargs):
@property
def health_check_status(self):
"""
- Gets the health_check_status of this HealthCheckResult.
+ **[Required]** Gets the health_check_status of this HealthCheckResult.
The result of the most recent health check.
Allowed values for this property are: "OK", "INVALID_STATUS_CODE", "TIMED_OUT", "REGEX_MISMATCH", "CONNECT_FAILED", "IO_ERROR", "OFFLINE", "UNKNOWN", 'UNKNOWN_ENUM_VALUE'.
@@ -85,7 +85,7 @@ def health_check_status(self, health_check_status):
@property
def source_ip_address(self):
"""
- Gets the source_ip_address of this HealthCheckResult.
+ **[Required]** Gets the source_ip_address of this HealthCheckResult.
The IP address of the health check status report provider. This identifier helps you differentiate same-subnet
(private) load balancers that report health check status.
@@ -115,7 +115,7 @@ def source_ip_address(self, source_ip_address):
@property
def subnet_id(self):
"""
- Gets the subnet_id of this HealthCheckResult.
+ **[Required]** Gets the subnet_id of this HealthCheckResult.
The OCID of the subnet hosting the load balancer that reported this health check status.
@@ -139,7 +139,7 @@ def subnet_id(self, subnet_id):
@property
def timestamp(self):
"""
- Gets the timestamp of this HealthCheckResult.
+ **[Required]** Gets the timestamp of this HealthCheckResult.
The date and time the data was retrieved, in the format defined by RFC3339.
Example: `2017-06-02T18:28:11+00:00`
diff --git a/src/oci/load_balancer/models/health_checker.py b/src/oci/load_balancer/models/health_checker.py
index 024cd3b0a9..8a9e53a646 100644
--- a/src/oci/load_balancer/models/health_checker.py
+++ b/src/oci/load_balancer/models/health_checker.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -109,7 +109,7 @@ def interval_in_millis(self, interval_in_millis):
@property
def port(self):
"""
- Gets the port of this HealthChecker.
+ **[Required]** Gets the port of this HealthChecker.
The backend server port against which to run the health check. If the port is not specified, the load balancer uses the
port information from the `Backend` object.
@@ -139,7 +139,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this HealthChecker.
+ **[Required]** Gets the protocol of this HealthChecker.
The protocol the health check must use; either HTTP or TCP.
Example: `HTTP`
@@ -167,7 +167,7 @@ def protocol(self, protocol):
@property
def response_body_regex(self):
"""
- Gets the response_body_regex of this HealthChecker.
+ **[Required]** Gets the response_body_regex of this HealthChecker.
A regular expression for parsing the response body from the backend server.
Example: `^(500|40[1348])$`
@@ -223,7 +223,7 @@ def retries(self, retries):
@property
def return_code(self):
"""
- Gets the return_code of this HealthChecker.
+ **[Required]** Gets the return_code of this HealthChecker.
The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
you can use common HTTP status codes such as \"200\".
diff --git a/src/oci/load_balancer/models/health_checker_details.py b/src/oci/load_balancer/models/health_checker_details.py
index 9566285c56..a85d29cbe4 100644
--- a/src/oci/load_balancer/models/health_checker_details.py
+++ b/src/oci/load_balancer/models/health_checker_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -139,7 +139,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this HealthCheckerDetails.
+ **[Required]** Gets the protocol of this HealthCheckerDetails.
The protocol the health check must use; either HTTP or TCP.
Example: `HTTP`
diff --git a/src/oci/load_balancer/models/ip_address.py b/src/oci/load_balancer/models/ip_address.py
index de0b3e5bc8..63ebf596b6 100644
--- a/src/oci/load_balancer/models/ip_address.py
+++ b/src/oci/load_balancer/models/ip_address.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def ip_address(self):
"""
- Gets the ip_address of this IpAddress.
+ **[Required]** Gets the ip_address of this IpAddress.
An IP address.
Example: `128.148.10.20`
diff --git a/src/oci/load_balancer/models/listener.py b/src/oci/load_balancer/models/listener.py
index 952ce13022..e0e2be3c7e 100644
--- a/src/oci/load_balancer/models/listener.py
+++ b/src/oci/load_balancer/models/listener.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def default_backend_set_name(self):
"""
- Gets the default_backend_set_name of this Listener.
+ **[Required]** Gets the default_backend_set_name of this Listener.
The name of the associated backend set.
@@ -84,7 +84,7 @@ def default_backend_set_name(self, default_backend_set_name):
@property
def name(self):
"""
- Gets the name of this Listener.
+ **[Required]** Gets the name of this Listener.
A friendly name for the listener. It must be unique and it cannot be changed.
Example: `My listener`
@@ -112,7 +112,7 @@ def name(self, name):
@property
def port(self):
"""
- Gets the port of this Listener.
+ **[Required]** Gets the port of this Listener.
The communication port for the listener.
Example: `80`
@@ -140,7 +140,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this Listener.
+ **[Required]** Gets the protocol of this Listener.
The protocol on which the listener accepts connection requests.
To get a list of valid protocols, use the :func:`list_protocols`
operation.
diff --git a/src/oci/load_balancer/models/listener_details.py b/src/oci/load_balancer/models/listener_details.py
index 4db06ec9ea..605e6e47b7 100644
--- a/src/oci/load_balancer/models/listener_details.py
+++ b/src/oci/load_balancer/models/listener_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def default_backend_set_name(self):
"""
- Gets the default_backend_set_name of this ListenerDetails.
+ **[Required]** Gets the default_backend_set_name of this ListenerDetails.
The name of the associated backend set.
@@ -77,7 +77,7 @@ def default_backend_set_name(self, default_backend_set_name):
@property
def port(self):
"""
- Gets the port of this ListenerDetails.
+ **[Required]** Gets the port of this ListenerDetails.
The communication port for the listener.
Example: `80`
@@ -105,7 +105,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this ListenerDetails.
+ **[Required]** Gets the protocol of this ListenerDetails.
The protocol on which the listener accepts connection requests.
To get a list of valid protocols, use the :func:`list_protocols`
operation.
diff --git a/src/oci/load_balancer/models/load_balancer.py b/src/oci/load_balancer/models/load_balancer.py
index f25c73b369..d2c725f290 100644
--- a/src/oci/load_balancer/models/load_balancer.py
+++ b/src/oci/load_balancer/models/load_balancer.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -151,7 +151,7 @@ def certificates(self, certificates):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this LoadBalancer.
+ **[Required]** Gets the compartment_id of this LoadBalancer.
The `OCID`__ of the compartment containing the load balancer.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -179,7 +179,7 @@ def compartment_id(self, compartment_id):
@property
def display_name(self):
"""
- Gets the display_name of this LoadBalancer.
+ **[Required]** Gets the display_name of this LoadBalancer.
A user-friendly name. It does not have to be unique, and it is changeable.
Example: `My load balancer`
@@ -207,7 +207,7 @@ def display_name(self, display_name):
@property
def id(self):
"""
- Gets the id of this LoadBalancer.
+ **[Required]** Gets the id of this LoadBalancer.
The `OCID`__ of the load balancer.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -311,7 +311,7 @@ def is_private(self, is_private):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this LoadBalancer.
+ **[Required]** Gets the lifecycle_state of this LoadBalancer.
The current state of the load balancer.
Allowed values for this property are: "CREATING", "FAILED", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
@@ -361,7 +361,7 @@ def listeners(self, listeners):
@property
def shape_name(self):
"""
- Gets the shape_name of this LoadBalancer.
+ **[Required]** Gets the shape_name of this LoadBalancer.
A template that determines the total pre-provisioned bandwidth (ingress plus egress).
To get a list of available shapes, use the :func:`list_shapes`
operation.
@@ -421,7 +421,7 @@ def subnet_ids(self, subnet_ids):
@property
def time_created(self):
"""
- Gets the time_created of this LoadBalancer.
+ **[Required]** Gets the time_created of this LoadBalancer.
The date and time the load balancer was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/load_balancer/models/load_balancer_health.py b/src/oci/load_balancer/models/load_balancer_health.py
index f9c678ae74..085c08344d 100644
--- a/src/oci/load_balancer/models/load_balancer_health.py
+++ b/src/oci/load_balancer/models/load_balancer_health.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -62,7 +62,7 @@ def __init__(self, **kwargs):
@property
def critical_state_backend_set_names(self):
"""
- Gets the critical_state_backend_set_names of this LoadBalancerHealth.
+ **[Required]** Gets the critical_state_backend_set_names of this LoadBalancerHealth.
A list of backend sets that are currently in the `CRITICAL` health state. The list identifies each backend set by the
friendly name you assigned when you created it.
@@ -92,7 +92,7 @@ def critical_state_backend_set_names(self, critical_state_backend_set_names):
@property
def status(self):
"""
- Gets the status of this LoadBalancerHealth.
+ **[Required]** Gets the status of this LoadBalancerHealth.
The overall health status of the load balancer.
* **OK:** All backend sets associated with the load balancer return a status of `OK`.
@@ -158,7 +158,7 @@ def status(self, status):
@property
def total_backend_set_count(self):
"""
- Gets the total_backend_set_count of this LoadBalancerHealth.
+ **[Required]** Gets the total_backend_set_count of this LoadBalancerHealth.
The total number of backend sets associated with this load balancer.
Example: `4`
@@ -186,7 +186,7 @@ def total_backend_set_count(self, total_backend_set_count):
@property
def unknown_state_backend_set_names(self):
"""
- Gets the unknown_state_backend_set_names of this LoadBalancerHealth.
+ **[Required]** Gets the unknown_state_backend_set_names of this LoadBalancerHealth.
A list of backend sets that are currently in the `UNKNOWN` health state. The list identifies each backend set by the
friendly name you assigned when you created it.
@@ -216,7 +216,7 @@ def unknown_state_backend_set_names(self, unknown_state_backend_set_names):
@property
def warning_state_backend_set_names(self):
"""
- Gets the warning_state_backend_set_names of this LoadBalancerHealth.
+ **[Required]** Gets the warning_state_backend_set_names of this LoadBalancerHealth.
A list of backend sets that are currently in the `WARNING` health state. The list identifies each backend set by the
friendly name you assigned when you created it.
diff --git a/src/oci/load_balancer/models/load_balancer_health_summary.py b/src/oci/load_balancer/models/load_balancer_health_summary.py
index f9e71d4a81..356bb9ae77 100644
--- a/src/oci/load_balancer/models/load_balancer_health_summary.py
+++ b/src/oci/load_balancer/models/load_balancer_health_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def load_balancer_id(self):
"""
- Gets the load_balancer_id of this LoadBalancerHealthSummary.
+ **[Required]** Gets the load_balancer_id of this LoadBalancerHealthSummary.
The `OCID`__ of the load balancer the health status is associated with.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -69,7 +69,7 @@ def load_balancer_id(self, load_balancer_id):
@property
def status(self):
"""
- Gets the status of this LoadBalancerHealthSummary.
+ **[Required]** Gets the status of this LoadBalancerHealthSummary.
The overall health status of the load balancer.
* **OK:** All backend sets associated with the load balancer return a status of `OK`.
diff --git a/src/oci/load_balancer/models/load_balancer_policy.py b/src/oci/load_balancer/models/load_balancer_policy.py
index f7baef3507..3ff8d644f3 100644
--- a/src/oci/load_balancer/models/load_balancer_policy.py
+++ b/src/oci/load_balancer/models/load_balancer_policy.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this LoadBalancerPolicy.
+ **[Required]** Gets the name of this LoadBalancerPolicy.
The name of the load balancing policy.
diff --git a/src/oci/load_balancer/models/load_balancer_protocol.py b/src/oci/load_balancer/models/load_balancer_protocol.py
index 43a4f66ddd..2ba0c3e482 100644
--- a/src/oci/load_balancer/models/load_balancer_protocol.py
+++ b/src/oci/load_balancer/models/load_balancer_protocol.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this LoadBalancerProtocol.
+ **[Required]** Gets the name of this LoadBalancerProtocol.
The name of the protocol.
diff --git a/src/oci/load_balancer/models/load_balancer_shape.py b/src/oci/load_balancer/models/load_balancer_shape.py
index c96b6fbc0a..8e708d2660 100644
--- a/src/oci/load_balancer/models/load_balancer_shape.py
+++ b/src/oci/load_balancer/models/load_balancer_shape.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this LoadBalancerShape.
+ **[Required]** Gets the name of this LoadBalancerShape.
The name of the shape.
diff --git a/src/oci/load_balancer/models/session_persistence_configuration_details.py b/src/oci/load_balancer/models/session_persistence_configuration_details.py
index 3df3f4c9de..c7b844762b 100644
--- a/src/oci/load_balancer/models/session_persistence_configuration_details.py
+++ b/src/oci/load_balancer/models/session_persistence_configuration_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def cookie_name(self):
"""
- Gets the cookie_name of this SessionPersistenceConfigurationDetails.
+ **[Required]** Gets the cookie_name of this SessionPersistenceConfigurationDetails.
The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify
that any cookie set by the backend causes the session to persist.
diff --git a/src/oci/load_balancer/models/ssl_configuration.py b/src/oci/load_balancer/models/ssl_configuration.py
index 301ef5f067..844db10274 100644
--- a/src/oci/load_balancer/models/ssl_configuration.py
+++ b/src/oci/load_balancer/models/ssl_configuration.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def certificate_name(self):
"""
- Gets the certificate_name of this SSLConfiguration.
+ **[Required]** Gets the certificate_name of this SSLConfiguration.
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
@@ -78,7 +78,7 @@ def certificate_name(self, certificate_name):
@property
def verify_depth(self):
"""
- Gets the verify_depth of this SSLConfiguration.
+ **[Required]** Gets the verify_depth of this SSLConfiguration.
The maximum depth for peer certificate chain verification.
Example: `3`
@@ -106,7 +106,7 @@ def verify_depth(self, verify_depth):
@property
def verify_peer_certificate(self):
"""
- Gets the verify_peer_certificate of this SSLConfiguration.
+ **[Required]** Gets the verify_peer_certificate of this SSLConfiguration.
Whether the load balancer listener should verify peer certificates.
Example: `true`
diff --git a/src/oci/load_balancer/models/ssl_configuration_details.py b/src/oci/load_balancer/models/ssl_configuration_details.py
index fd22a9540a..e889461524 100644
--- a/src/oci/load_balancer/models/ssl_configuration_details.py
+++ b/src/oci/load_balancer/models/ssl_configuration_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def certificate_name(self):
"""
- Gets the certificate_name of this SSLConfigurationDetails.
+ **[Required]** Gets the certificate_name of this SSLConfigurationDetails.
A friendly name for the certificate bundle. It must be unique and it cannot be changed.
Valid certificate bundle names include only alphanumeric characters, dashes, and underscores.
Certificate bundle names cannot contain spaces. Avoid entering confidential information.
diff --git a/src/oci/load_balancer/models/update_backend_details.py b/src/oci/load_balancer/models/update_backend_details.py
index 4f30874971..1edecb683b 100644
--- a/src/oci/load_balancer/models/update_backend_details.py
+++ b/src/oci/load_balancer/models/update_backend_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def backup(self):
"""
- Gets the backup of this UpdateBackendDetails.
+ **[Required]** Gets the backup of this UpdateBackendDetails.
Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress
traffic to this backend server unless all other backend servers not marked as \"backup\" fail the health check policy.
@@ -83,7 +83,7 @@ def backup(self, backup):
@property
def drain(self):
"""
- Gets the drain of this UpdateBackendDetails.
+ **[Required]** Gets the drain of this UpdateBackendDetails.
Whether the load balancer should drain this server. Servers marked \"drain\" receive no new
incoming traffic.
@@ -113,7 +113,7 @@ def drain(self, drain):
@property
def offline(self):
"""
- Gets the offline of this UpdateBackendDetails.
+ **[Required]** Gets the offline of this UpdateBackendDetails.
Whether the load balancer should treat this server as offline. Offline servers receive no incoming
traffic.
@@ -143,7 +143,7 @@ def offline(self, offline):
@property
def weight(self):
"""
- Gets the weight of this UpdateBackendDetails.
+ **[Required]** Gets the weight of this UpdateBackendDetails.
The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger
proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections
as a server weighted '1'.
diff --git a/src/oci/load_balancer/models/update_backend_set_details.py b/src/oci/load_balancer/models/update_backend_set_details.py
index 16fdc13b5d..9e7569b4d8 100644
--- a/src/oci/load_balancer/models/update_backend_set_details.py
+++ b/src/oci/load_balancer/models/update_backend_set_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def backends(self):
"""
- Gets the backends of this UpdateBackendSetDetails.
+ **[Required]** Gets the backends of this UpdateBackendSetDetails.
:return: The backends of this UpdateBackendSetDetails.
:rtype: list[BackendDetails]
@@ -80,7 +80,7 @@ def backends(self, backends):
@property
def health_checker(self):
"""
- Gets the health_checker of this UpdateBackendSetDetails.
+ **[Required]** Gets the health_checker of this UpdateBackendSetDetails.
:return: The health_checker of this UpdateBackendSetDetails.
:rtype: HealthCheckerDetails
@@ -100,7 +100,7 @@ def health_checker(self, health_checker):
@property
def policy(self):
"""
- Gets the policy of this UpdateBackendSetDetails.
+ **[Required]** Gets the policy of this UpdateBackendSetDetails.
The load balancer policy for the backend set. To get a list of available policies, use the
:func:`list_policies` operation.
diff --git a/src/oci/load_balancer/models/update_health_checker_details.py b/src/oci/load_balancer/models/update_health_checker_details.py
index 866b94e0e2..ab220289c2 100644
--- a/src/oci/load_balancer/models/update_health_checker_details.py
+++ b/src/oci/load_balancer/models/update_health_checker_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -81,7 +81,7 @@ def __init__(self, **kwargs):
@property
def interval_in_millis(self):
"""
- Gets the interval_in_millis of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the interval_in_millis of this UpdateHealthCheckerDetails.
The interval between health checks, in milliseconds.
Example: `30000`
@@ -109,7 +109,7 @@ def interval_in_millis(self, interval_in_millis):
@property
def port(self):
"""
- Gets the port of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the port of this UpdateHealthCheckerDetails.
The backend server port against which to run the health check.
Example: `8080`
@@ -137,7 +137,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the protocol of this UpdateHealthCheckerDetails.
The protocol the health check must use; either HTTP or TCP.
Example: `HTTP`
@@ -165,7 +165,7 @@ def protocol(self, protocol):
@property
def response_body_regex(self):
"""
- Gets the response_body_regex of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the response_body_regex of this UpdateHealthCheckerDetails.
A regular expression for parsing the response body from the backend server.
Example: `^(500|40[1348])$`
@@ -193,7 +193,7 @@ def response_body_regex(self, response_body_regex):
@property
def retries(self):
"""
- Gets the retries of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the retries of this UpdateHealthCheckerDetails.
The number of retries to attempt before a backend server is considered \"unhealthy\".
Example: `3`
@@ -221,7 +221,7 @@ def retries(self, retries):
@property
def return_code(self):
"""
- Gets the return_code of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the return_code of this UpdateHealthCheckerDetails.
The status code a healthy backend server should return.
Example: `200`
@@ -249,7 +249,7 @@ def return_code(self, return_code):
@property
def timeout_in_millis(self):
"""
- Gets the timeout_in_millis of this UpdateHealthCheckerDetails.
+ **[Required]** Gets the timeout_in_millis of this UpdateHealthCheckerDetails.
The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
returns within this timeout period.
diff --git a/src/oci/load_balancer/models/update_listener_details.py b/src/oci/load_balancer/models/update_listener_details.py
index a69ea89308..32a7ce7842 100644
--- a/src/oci/load_balancer/models/update_listener_details.py
+++ b/src/oci/load_balancer/models/update_listener_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def default_backend_set_name(self):
"""
- Gets the default_backend_set_name of this UpdateListenerDetails.
+ **[Required]** Gets the default_backend_set_name of this UpdateListenerDetails.
The name of the associated backend set.
@@ -77,7 +77,7 @@ def default_backend_set_name(self, default_backend_set_name):
@property
def port(self):
"""
- Gets the port of this UpdateListenerDetails.
+ **[Required]** Gets the port of this UpdateListenerDetails.
The communication port for the listener.
Example: `80`
@@ -105,7 +105,7 @@ def port(self, port):
@property
def protocol(self):
"""
- Gets the protocol of this UpdateListenerDetails.
+ **[Required]** Gets the protocol of this UpdateListenerDetails.
The protocol on which the listener accepts connection requests.
To get a list of valid protocols, use the :func:`list_protocols`
operation.
diff --git a/src/oci/load_balancer/models/update_load_balancer_details.py b/src/oci/load_balancer/models/update_load_balancer_details.py
index b7594ab5f4..7b4d8d016d 100644
--- a/src/oci/load_balancer/models/update_load_balancer_details.py
+++ b/src/oci/load_balancer/models/update_load_balancer_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def display_name(self):
"""
- Gets the display_name of this UpdateLoadBalancerDetails.
+ **[Required]** Gets the display_name of this UpdateLoadBalancerDetails.
The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable.
Avoid entering confidential information.
diff --git a/src/oci/load_balancer/models/work_request.py b/src/oci/load_balancer/models/work_request.py
index f3205349a2..26f9fb3df9 100644
--- a/src/oci/load_balancer/models/work_request.py
+++ b/src/oci/load_balancer/models/work_request.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -83,7 +83,7 @@ def __init__(self, **kwargs):
@property
def error_details(self):
"""
- Gets the error_details of this WorkRequest.
+ **[Required]** Gets the error_details of this WorkRequest.
:return: The error_details of this WorkRequest.
:rtype: list[WorkRequestError]
@@ -103,7 +103,7 @@ def error_details(self, error_details):
@property
def id(self):
"""
- Gets the id of this WorkRequest.
+ **[Required]** Gets the id of this WorkRequest.
The `OCID`__ of the work request.
__ https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/identifiers.htm
@@ -131,7 +131,7 @@ def id(self, id):
@property
def lifecycle_state(self):
"""
- Gets the lifecycle_state of this WorkRequest.
+ **[Required]** Gets the lifecycle_state of this WorkRequest.
The current state of the work request.
Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", 'UNKNOWN_ENUM_VALUE'.
@@ -161,7 +161,7 @@ def lifecycle_state(self, lifecycle_state):
@property
def load_balancer_id(self):
"""
- Gets the load_balancer_id of this WorkRequest.
+ **[Required]** Gets the load_balancer_id of this WorkRequest.
The `OCID`__ of the load balancer with which the work request
is associated.
@@ -191,7 +191,7 @@ def load_balancer_id(self, load_balancer_id):
@property
def message(self):
"""
- Gets the message of this WorkRequest.
+ **[Required]** Gets the message of this WorkRequest.
A collection of data, related to the load balancer provisioning process, that helps with debugging in the event of failure.
Possible data elements include:
@@ -229,7 +229,7 @@ def message(self, message):
@property
def time_accepted(self):
"""
- Gets the time_accepted of this WorkRequest.
+ **[Required]** Gets the time_accepted of this WorkRequest.
The date and time the work request was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -285,7 +285,7 @@ def time_finished(self, time_finished):
@property
def type(self):
"""
- Gets the type of this WorkRequest.
+ **[Required]** Gets the type of this WorkRequest.
The type of action the work request represents.
diff --git a/src/oci/load_balancer/models/work_request_error.py b/src/oci/load_balancer/models/work_request_error.py
index 0cf2558cf0..234e5f963b 100644
--- a/src/oci/load_balancer/models/work_request_error.py
+++ b/src/oci/load_balancer/models/work_request_error.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -41,7 +41,7 @@ def __init__(self, **kwargs):
@property
def error_code(self):
"""
- Gets the error_code of this WorkRequestError.
+ **[Required]** Gets the error_code of this WorkRequestError.
Allowed values for this property are: "BAD_INPUT", "INTERNAL_ERROR", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -67,7 +67,7 @@ def error_code(self, error_code):
@property
def message(self):
"""
- Gets the message of this WorkRequestError.
+ **[Required]** Gets the message of this WorkRequestError.
A human-readable error string.
diff --git a/src/oci/object_storage/__init__.py b/src/oci/object_storage/__init__.py
index f24161356c..b300c4cb61 100644
--- a/src/oci/object_storage/__init__.py
+++ b/src/oci/object_storage/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/object_storage/models/__init__.py b/src/oci/object_storage/models/__init__.py
index d130db0a1a..ab7c187e95 100644
--- a/src/oci/object_storage/models/__init__.py
+++ b/src/oci/object_storage/models/__init__.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
diff --git a/src/oci/object_storage/models/bucket.py b/src/oci/object_storage/models/bucket.py
index 86f7d7dbb0..521b9e57e5 100644
--- a/src/oci/object_storage/models/bucket.py
+++ b/src/oci/object_storage/models/bucket.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -92,7 +92,7 @@ def __init__(self, **kwargs):
@property
def namespace(self):
"""
- Gets the namespace of this Bucket.
+ **[Required]** Gets the namespace of this Bucket.
The namespace in which the bucket lives.
@@ -116,7 +116,7 @@ def namespace(self, namespace):
@property
def name(self):
"""
- Gets the name of this Bucket.
+ **[Required]** Gets the name of this Bucket.
The name of the bucket. Avoid entering confidential information.
Example: my-new-bucket1
@@ -142,7 +142,7 @@ def name(self, name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this Bucket.
+ **[Required]** Gets the compartment_id of this Bucket.
The compartment ID in which the bucket is authorized.
@@ -166,7 +166,7 @@ def compartment_id(self, compartment_id):
@property
def metadata(self):
"""
- Gets the metadata of this Bucket.
+ **[Required]** Gets the metadata of this Bucket.
Arbitrary string keys and values for user-defined metadata.
@@ -190,7 +190,7 @@ def metadata(self, metadata):
@property
def created_by(self):
"""
- Gets the created_by of this Bucket.
+ **[Required]** Gets the created_by of this Bucket.
The OCID of the user who created the bucket.
@@ -214,7 +214,7 @@ def created_by(self, created_by):
@property
def time_created(self):
"""
- Gets the time_created of this Bucket.
+ **[Required]** Gets the time_created of this Bucket.
The date and time the bucket was created, as described in `RFC 2616`__, section 14.29.
__ https://tools.ietf.org/rfc/rfc2616
@@ -242,7 +242,7 @@ def time_created(self, time_created):
@property
def etag(self):
"""
- Gets the etag of this Bucket.
+ **[Required]** Gets the etag of this Bucket.
The entity tag for the bucket.
diff --git a/src/oci/object_storage/models/bucket_summary.py b/src/oci/object_storage/models/bucket_summary.py
index 028f1a25e0..9308cc5a62 100644
--- a/src/oci/object_storage/models/bucket_summary.py
+++ b/src/oci/object_storage/models/bucket_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -67,7 +67,7 @@ def __init__(self, **kwargs):
@property
def namespace(self):
"""
- Gets the namespace of this BucketSummary.
+ **[Required]** Gets the namespace of this BucketSummary.
The namespace in which the bucket lives.
@@ -91,7 +91,7 @@ def namespace(self, namespace):
@property
def name(self):
"""
- Gets the name of this BucketSummary.
+ **[Required]** Gets the name of this BucketSummary.
The name of the bucket. Avoid entering confidential information.
Example: my-new-bucket1
@@ -117,7 +117,7 @@ def name(self, name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this BucketSummary.
+ **[Required]** Gets the compartment_id of this BucketSummary.
The compartment ID in which the bucket is authorized.
@@ -141,7 +141,7 @@ def compartment_id(self, compartment_id):
@property
def created_by(self):
"""
- Gets the created_by of this BucketSummary.
+ **[Required]** Gets the created_by of this BucketSummary.
The OCID of the user who created the bucket.
@@ -165,7 +165,7 @@ def created_by(self, created_by):
@property
def time_created(self):
"""
- Gets the time_created of this BucketSummary.
+ **[Required]** Gets the time_created of this BucketSummary.
The date and time the bucket was created, as described in `RFC 2616`__, section 14.29.
__ https://tools.ietf.org/rfc/rfc2616
@@ -193,7 +193,7 @@ def time_created(self, time_created):
@property
def etag(self):
"""
- Gets the etag of this BucketSummary.
+ **[Required]** Gets the etag of this BucketSummary.
The entity tag for the bucket.
diff --git a/src/oci/object_storage/models/commit_multipart_upload_details.py b/src/oci/object_storage/models/commit_multipart_upload_details.py
index 8a989343f6..0d13a06678 100644
--- a/src/oci/object_storage/models/commit_multipart_upload_details.py
+++ b/src/oci/object_storage/models/commit_multipart_upload_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def parts_to_commit(self):
"""
- Gets the parts_to_commit of this CommitMultipartUploadDetails.
+ **[Required]** Gets the parts_to_commit of this CommitMultipartUploadDetails.
The part numbers and ETags for the parts to be committed.
diff --git a/src/oci/object_storage/models/commit_multipart_upload_part_details.py b/src/oci/object_storage/models/commit_multipart_upload_part_details.py
index 6940e693d8..3f9b54db08 100644
--- a/src/oci/object_storage/models/commit_multipart_upload_part_details.py
+++ b/src/oci/object_storage/models/commit_multipart_upload_part_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
@property
def part_num(self):
"""
- Gets the part_num of this CommitMultipartUploadPartDetails.
+ **[Required]** Gets the part_num of this CommitMultipartUploadPartDetails.
The part number for this part.
@@ -63,7 +63,7 @@ def part_num(self, part_num):
@property
def etag(self):
"""
- Gets the etag of this CommitMultipartUploadPartDetails.
+ **[Required]** Gets the etag of this CommitMultipartUploadPartDetails.
The ETag returned when this part was uploaded.
diff --git a/src/oci/object_storage/models/create_bucket_details.py b/src/oci/object_storage/models/create_bucket_details.py
index cae833a2be..1d270fb666 100644
--- a/src/oci/object_storage/models/create_bucket_details.py
+++ b/src/oci/object_storage/models/create_bucket_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -62,7 +62,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this CreateBucketDetails.
+ **[Required]** Gets the name of this CreateBucketDetails.
The name of the bucket. Valid characters are uppercase or lowercase letters,
numbers, and dashes. Bucket names must be unique within the namespace. Avoid entering confidential information.
example: Example: my-new-bucket1
@@ -90,7 +90,7 @@ def name(self, name):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreateBucketDetails.
+ **[Required]** Gets the compartment_id of this CreateBucketDetails.
The ID of the compartment in which to create the bucket.
diff --git a/src/oci/object_storage/models/create_multipart_upload_details.py b/src/oci/object_storage/models/create_multipart_upload_details.py
index a1784ced8b..81629bfd13 100644
--- a/src/oci/object_storage/models/create_multipart_upload_details.py
+++ b/src/oci/object_storage/models/create_multipart_upload_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def object(self):
"""
- Gets the object of this CreateMultipartUploadDetails.
+ **[Required]** Gets the object of this CreateMultipartUploadDetails.
The name of the object to which this multi-part upload is targeted. Avoid entering confidential information.
Example: test/object1.log
diff --git a/src/oci/object_storage/models/create_preauthenticated_request_details.py b/src/oci/object_storage/models/create_preauthenticated_request_details.py
index f119eff7a9..0f95bcd5cd 100644
--- a/src/oci/object_storage/models/create_preauthenticated_request_details.py
+++ b/src/oci/object_storage/models/create_preauthenticated_request_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -54,7 +54,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this CreatePreauthenticatedRequestDetails.
+ **[Required]** Gets the name of this CreatePreauthenticatedRequestDetails.
A user-specified name for the pre-authenticated request. Helpful for management purposes.
@@ -102,7 +102,7 @@ def object_name(self, object_name):
@property
def access_type(self):
"""
- Gets the access_type of this CreatePreauthenticatedRequestDetails.
+ **[Required]** Gets the access_type of this CreatePreauthenticatedRequestDetails.
The operation that can be performed on this resource.
Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite"
@@ -134,7 +134,7 @@ def access_type(self, access_type):
@property
def time_expires(self):
"""
- Gets the time_expires of this CreatePreauthenticatedRequestDetails.
+ **[Required]** Gets the time_expires of this CreatePreauthenticatedRequestDetails.
The expiration date for the pre-authenticated request as per `RFC 3339`__. After this date the pre-authenticated request will no longer be valid.
__ https://tools.ietf.org/rfc/rfc3339
diff --git a/src/oci/object_storage/models/list_objects.py b/src/oci/object_storage/models/list_objects.py
index 5d12030038..63491e0084 100644
--- a/src/oci/object_storage/models/list_objects.py
+++ b/src/oci/object_storage/models/list_objects.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def objects(self):
"""
- Gets the objects of this ListObjects.
+ **[Required]** Gets the objects of this ListObjects.
An array of object summaries.
diff --git a/src/oci/object_storage/models/multipart_upload.py b/src/oci/object_storage/models/multipart_upload.py
index 1de6681ed3..2accc992a8 100644
--- a/src/oci/object_storage/models/multipart_upload.py
+++ b/src/oci/object_storage/models/multipart_upload.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def namespace(self):
"""
- Gets the namespace of this MultipartUpload.
+ **[Required]** Gets the namespace of this MultipartUpload.
The namespace in which the in-progress multipart upload is stored.
@@ -84,7 +84,7 @@ def namespace(self, namespace):
@property
def bucket(self):
"""
- Gets the bucket of this MultipartUpload.
+ **[Required]** Gets the bucket of this MultipartUpload.
The bucket in which the in-progress multipart upload is stored.
@@ -108,7 +108,7 @@ def bucket(self, bucket):
@property
def object(self):
"""
- Gets the object of this MultipartUpload.
+ **[Required]** Gets the object of this MultipartUpload.
The object name of the in-progress multipart upload.
@@ -132,7 +132,7 @@ def object(self, object):
@property
def upload_id(self):
"""
- Gets the upload_id of this MultipartUpload.
+ **[Required]** Gets the upload_id of this MultipartUpload.
The unique identifier for the in-progress multipart upload.
@@ -156,7 +156,7 @@ def upload_id(self, upload_id):
@property
def time_created(self):
"""
- Gets the time_created of this MultipartUpload.
+ **[Required]** Gets the time_created of this MultipartUpload.
The date and time the upload was created, as described in `RFC 2616`__, section 14.29.
__ https://tools.ietf.org/rfc/rfc2616
diff --git a/src/oci/object_storage/models/multipart_upload_part_summary.py b/src/oci/object_storage/models/multipart_upload_part_summary.py
index 1e39ed5274..3425c456ea 100644
--- a/src/oci/object_storage/models/multipart_upload_part_summary.py
+++ b/src/oci/object_storage/models/multipart_upload_part_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def etag(self):
"""
- Gets the etag of this MultipartUploadPartSummary.
+ **[Required]** Gets the etag of this MultipartUploadPartSummary.
The current entity tag for the part.
@@ -77,7 +77,7 @@ def etag(self, etag):
@property
def md5(self):
"""
- Gets the md5 of this MultipartUploadPartSummary.
+ **[Required]** Gets the md5 of this MultipartUploadPartSummary.
The MD5 hash of the bytes of the part.
@@ -101,7 +101,7 @@ def md5(self, md5):
@property
def size(self):
"""
- Gets the size of this MultipartUploadPartSummary.
+ **[Required]** Gets the size of this MultipartUploadPartSummary.
The size of the part in bytes.
@@ -125,7 +125,7 @@ def size(self, size):
@property
def part_number(self):
"""
- Gets the part_number of this MultipartUploadPartSummary.
+ **[Required]** Gets the part_number of this MultipartUploadPartSummary.
The part number for this part.
diff --git a/src/oci/object_storage/models/namespace_metadata.py b/src/oci/object_storage/models/namespace_metadata.py
index b2bc69bfef..b5adb72d97 100644
--- a/src/oci/object_storage/models/namespace_metadata.py
+++ b/src/oci/object_storage/models/namespace_metadata.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -46,7 +46,7 @@ def __init__(self, **kwargs):
@property
def namespace(self):
"""
- Gets the namespace of this NamespaceMetadata.
+ **[Required]** Gets the namespace of this NamespaceMetadata.
The namespace to which the metadata belongs.
@@ -70,7 +70,7 @@ def namespace(self, namespace):
@property
def default_s3_compartment_id(self):
"""
- Gets the default_s3_compartment_id of this NamespaceMetadata.
+ **[Required]** Gets the default_s3_compartment_id of this NamespaceMetadata.
The default compartment ID for an S3 client.
@@ -94,7 +94,7 @@ def default_s3_compartment_id(self, default_s3_compartment_id):
@property
def default_swift_compartment_id(self):
"""
- Gets the default_swift_compartment_id of this NamespaceMetadata.
+ **[Required]** Gets the default_swift_compartment_id of this NamespaceMetadata.
The default compartment ID for a Swift client.
diff --git a/src/oci/object_storage/models/object_summary.py b/src/oci/object_storage/models/object_summary.py
index bf222d180d..795668e570 100644
--- a/src/oci/object_storage/models/object_summary.py
+++ b/src/oci/object_storage/models/object_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
@property
def name(self):
"""
- Gets the name of this ObjectSummary.
+ **[Required]** Gets the name of this ObjectSummary.
The name of the object. Avoid entering confidential information.
Example: test/object1.log
diff --git a/src/oci/object_storage/models/preauthenticated_request.py b/src/oci/object_storage/models/preauthenticated_request.py
index f2e1d59a12..864708eb78 100644
--- a/src/oci/object_storage/models/preauthenticated_request.py
+++ b/src/oci/object_storage/models/preauthenticated_request.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -76,7 +76,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this PreauthenticatedRequest.
+ **[Required]** Gets the id of this PreauthenticatedRequest.
The unique identifier to use when directly addressing the pre-authenticated request.
@@ -100,7 +100,7 @@ def id(self, id):
@property
def name(self):
"""
- Gets the name of this PreauthenticatedRequest.
+ **[Required]** Gets the name of this PreauthenticatedRequest.
The user-provided name of the pre-authenticated request.
@@ -124,7 +124,7 @@ def name(self, name):
@property
def access_uri(self):
"""
- Gets the access_uri of this PreauthenticatedRequest.
+ **[Required]** Gets the access_uri of this PreauthenticatedRequest.
The URI to embed in the URL when using the pre-authenticated request.
@@ -176,7 +176,7 @@ def object_name(self, object_name):
@property
def access_type(self):
"""
- Gets the access_type of this PreauthenticatedRequest.
+ **[Required]** Gets the access_type of this PreauthenticatedRequest.
The operation that can be performed on this resource.
Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite", 'UNKNOWN_ENUM_VALUE'.
@@ -206,7 +206,7 @@ def access_type(self, access_type):
@property
def time_expires(self):
"""
- Gets the time_expires of this PreauthenticatedRequest.
+ **[Required]** Gets the time_expires of this PreauthenticatedRequest.
The expiration date for the pre-authenticated request as per `RFC 3339`__. After this date the pre-authenticated request will no longer be valid.
__ https://tools.ietf.org/rfc/rfc3339
@@ -234,7 +234,7 @@ def time_expires(self, time_expires):
@property
def time_created(self):
"""
- Gets the time_created of this PreauthenticatedRequest.
+ **[Required]** Gets the time_created of this PreauthenticatedRequest.
The date when the pre-authenticated request was created as per specification
`RFC 3339`__.
diff --git a/src/oci/object_storage/models/preauthenticated_request_summary.py b/src/oci/object_storage/models/preauthenticated_request_summary.py
index 5aa5000303..432f9d39d1 100644
--- a/src/oci/object_storage/models/preauthenticated_request_summary.py
+++ b/src/oci/object_storage/models/preauthenticated_request_summary.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -69,7 +69,7 @@ def __init__(self, **kwargs):
@property
def id(self):
"""
- Gets the id of this PreauthenticatedRequestSummary.
+ **[Required]** Gets the id of this PreauthenticatedRequestSummary.
The unique identifier to use when directly addressing the pre-authenticated request.
@@ -93,7 +93,7 @@ def id(self, id):
@property
def name(self):
"""
- Gets the name of this PreauthenticatedRequestSummary.
+ **[Required]** Gets the name of this PreauthenticatedRequestSummary.
The user-provided name of the pre-authenticated request.
@@ -141,7 +141,7 @@ def object_name(self, object_name):
@property
def access_type(self):
"""
- Gets the access_type of this PreauthenticatedRequestSummary.
+ **[Required]** Gets the access_type of this PreauthenticatedRequestSummary.
The operation that can be performed on this resource.
Allowed values for this property are: "ObjectRead", "ObjectWrite", "ObjectReadWrite", "AnyObjectWrite", 'UNKNOWN_ENUM_VALUE'.
@@ -171,7 +171,7 @@ def access_type(self, access_type):
@property
def time_expires(self):
"""
- Gets the time_expires of this PreauthenticatedRequestSummary.
+ **[Required]** Gets the time_expires of this PreauthenticatedRequestSummary.
The expiration date for the pre-authenticated request as per `RFC 3339`__. After this date the pre-authenticated request will no longer be valid.
__ https://tools.ietf.org/rfc/rfc3339
@@ -199,7 +199,7 @@ def time_expires(self, time_expires):
@property
def time_created(self):
"""
- Gets the time_created of this PreauthenticatedRequestSummary.
+ **[Required]** Gets the time_created of this PreauthenticatedRequestSummary.
The date when the pre-authenticated request was created as per `RFC 3339`__.
__ https://tools.ietf.org/rfc/rfc3339
diff --git a/src/oci/object_storage/models/rename_object_details.py b/src/oci/object_storage/models/rename_object_details.py
index 3c53963972..66ec5a3ff4 100644
--- a/src/oci/object_storage/models/rename_object_details.py
+++ b/src/oci/object_storage/models/rename_object_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -60,7 +60,7 @@ def __init__(self, **kwargs):
@property
def source_name(self):
"""
- Gets the source_name of this RenameObjectDetails.
+ **[Required]** Gets the source_name of this RenameObjectDetails.
The name of the source object to be renamed.
@@ -84,7 +84,7 @@ def source_name(self, source_name):
@property
def new_name(self):
"""
- Gets the new_name of this RenameObjectDetails.
+ **[Required]** Gets the new_name of this RenameObjectDetails.
The new name of the source object.
diff --git a/src/oci/object_storage/models/restore_objects_details.py b/src/oci/object_storage/models/restore_objects_details.py
index 4f389c4b50..755bab5727 100644
--- a/src/oci/object_storage/models/restore_objects_details.py
+++ b/src/oci/object_storage/models/restore_objects_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
@@ -32,7 +32,7 @@ def __init__(self, **kwargs):
@property
def object_name(self):
"""
- Gets the object_name of this RestoreObjectsDetails.
+ **[Required]** Gets the object_name of this RestoreObjectsDetails.
A object which was in an archived state and need to be restored.
diff --git a/src/oci/object_storage/models/update_bucket_details.py b/src/oci/object_storage/models/update_bucket_details.py
index b08d5b9b97..3e1013cfba 100644
--- a/src/oci/object_storage/models/update_bucket_details.py
+++ b/src/oci/object_storage/models/update_bucket_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/object_storage/models/update_namespace_metadata_details.py b/src/oci/object_storage/models/update_namespace_metadata_details.py
index 8069911df5..1c045cc71b 100644
--- a/src/oci/object_storage/models/update_namespace_metadata_details.py
+++ b/src/oci/object_storage/models/update_namespace_metadata_details.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from ...util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
diff --git a/src/oci/object_storage/object_storage_client.py b/src/oci/object_storage/object_storage_client.py
index bd4610af07..0c8eba44b5 100644
--- a/src/oci/object_storage/object_storage_client.py
+++ b/src/oci/object_storage/object_storage_client.py
@@ -1,8 +1,9 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import absolute_import
+import requests
import six
from ..base_client import BaseClient
@@ -1517,6 +1518,10 @@ def put_object(self, namespace_name, bucket_name, object_name, put_object_body,
not hasattr(put_object_body, "read")):
raise TypeError('The body must be a string, bytes, or provide a read() method.')
+ if hasattr(put_object_body, 'fileno') and hasattr(put_object_body, 'name') and put_object_body.name != '':
+ if requests.utils.super_len(put_object_body) == 0:
+ header_params['Content-Length'] = '0'
+
return self.base_client.call_api(
resource_path=resource_path,
method=method,
@@ -1866,6 +1871,10 @@ def upload_part(self, namespace_name, bucket_name, object_name, upload_id, uploa
not hasattr(upload_part_body, "read")):
raise TypeError('The body must be a string, bytes, or provide a read() method.')
+ if hasattr(upload_part_body, 'fileno') and hasattr(upload_part_body, 'name') and upload_part_body.name != '':
+ if requests.utils.super_len(upload_part_body) == 0:
+ header_params['Content-Length'] = '0'
+
return self.base_client.call_api(
resource_path=resource_path,
method=method,
diff --git a/src/oci/object_storage/transfer/__init__.py b/src/oci/object_storage/transfer/__init__.py
index e69de29bb2..959b3b1364 100644
--- a/src/oci/object_storage/transfer/__init__.py
+++ b/src/oci/object_storage/transfer/__init__.py
@@ -0,0 +1,4 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# noqa: W391, W292
\ No newline at end of file
diff --git a/src/oci/object_storage/transfer/constants.py b/src/oci/object_storage/transfer/constants.py
index 9ba331c1c7..3f10ec37b2 100644
--- a/src/oci/object_storage/transfer/constants.py
+++ b/src/oci/object_storage/transfer/constants.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
MEBIBYTE = 1024 * 1024
STREAMING_DEFAULT_PART_SIZE = 10 * MEBIBYTE
diff --git a/src/oci/object_storage/transfer/internal/__init__.py b/src/oci/object_storage/transfer/internal/__init__.py
index e69de29bb2..959b3b1364 100644
--- a/src/oci/object_storage/transfer/internal/__init__.py
+++ b/src/oci/object_storage/transfer/internal/__init__.py
@@ -0,0 +1,4 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# noqa: W391, W292
\ No newline at end of file
diff --git a/src/oci/object_storage/transfer/internal/buffered_part_reader.py b/src/oci/object_storage/transfer/internal/buffered_part_reader.py
index 8d658e8bb2..c432738eda 100644
--- a/src/oci/object_storage/transfer/internal/buffered_part_reader.py
+++ b/src/oci/object_storage/transfer/internal/buffered_part_reader.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import io
@@ -28,7 +28,7 @@ def __init__(self, file_object, start, size):
# Reset the pointer to the start of the part.
self.file.seek(start, io.SEEK_SET)
- def seek(self, offset, whence):
+ def seek(self, offset, whence=io.SEEK_SET):
"""
Seek within the part. This is similar to the standard seek, except
that io.SEEK_SET is the start of the part and io.SEEK_END is the
diff --git a/src/oci/object_storage/transfer/internal/file_read_callback_stream.py b/src/oci/object_storage/transfer/internal/file_read_callback_stream.py
index c416294899..48ece40ef6 100644
--- a/src/oci/object_storage/transfer/internal/file_read_callback_stream.py
+++ b/src/oci/object_storage/transfer/internal/file_read_callback_stream.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
class FileReadCallbackStream:
diff --git a/src/oci/object_storage/transfer/internal/multipart_object_assembler.py b/src/oci/object_storage/transfer/internal/multipart_object_assembler.py
index 300940bd71..287d08ca30 100644
--- a/src/oci/object_storage/transfer/internal/multipart_object_assembler.py
+++ b/src/oci/object_storage/transfer/internal/multipart_object_assembler.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import io
import hashlib
diff --git a/src/oci/object_storage/transfer/upload_manager.py b/src/oci/object_storage/transfer/upload_manager.py
index 8fc18389f1..7001404e5e 100644
--- a/src/oci/object_storage/transfer/upload_manager.py
+++ b/src/oci/object_storage/transfer/upload_manager.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import os
diff --git a/src/oci/regions.py b/src/oci/regions.py
index 00437f67af..a221bf4c70 100644
--- a/src/oci/regions.py
+++ b/src/oci/regions.py
@@ -1,21 +1,14 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+from . import service_endpoints
REGIONS = [
"us-phoenix-1",
"us-ashburn-1",
"eu-frankfurt-1"
]
-SERVICE_ENDPOINTS = {
- "audit": "https://audit.{domain}/20160918",
- "blockstorage": "https://iaas.{domain}/20160918",
- "compute": "https://iaas.{domain}/20160918",
- "database": "https://database.{domain}/20160918",
- "identity": "https://identity.{domain}/20160918",
- "load_balancer": "https://iaas.{domain}/20170115",
- "object_storage": "https://objectstorage.{domain}",
- "virtual_network": "https://iaas.{domain}/20160918"
-}
+SERVICE_ENDPOINTS = service_endpoints.SERVICE_ENDPOINTS
DOMAIN_FORMAT = "{region}.oraclecloud.com"
diff --git a/src/oci/request.py b/src/oci/request.py
index 98353a8fe2..3d5f8a724c 100644
--- a/src/oci/request.py
+++ b/src/oci/request.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
class Request(object):
diff --git a/src/oci/response.py b/src/oci/response.py
index cd90e00d9c..154a53d71f 100644
--- a/src/oci/response.py
+++ b/src/oci/response.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from .constants import HEADER_NEXT_PAGE, HEADER_REQUEST_ID
diff --git a/src/oci/service_endpoints.py b/src/oci/service_endpoints.py
new file mode 100644
index 0000000000..6fc50b0e3f
--- /dev/null
+++ b/src/oci/service_endpoints.py
@@ -0,0 +1,13 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+SERVICE_ENDPOINTS = {
+ "audit": "https://audit.{domain}/20160918",
+ "blockstorage": "https://iaas.{domain}/20160918",
+ "compute": "https://iaas.{domain}/20160918",
+ "virtual_network": "https://iaas.{domain}/20160918",
+ "database": "https://database.{domain}/20160918",
+ "identity": "https://identity.{domain}/20160918",
+ "load_balancer": "https://iaas.{domain}/20170115",
+ "object_storage": "https://objectstorage.{domain}"
+}
diff --git a/src/oci/signer.py b/src/oci/signer.py
index c32e6587bc..0166cda856 100644
--- a/src/oci/signer.py
+++ b/src/oci/signer.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import base64
import email.utils
diff --git a/src/oci/util.py b/src/oci/util.py
index 9c154dc199..d4980a4694 100644
--- a/src/oci/util.py
+++ b/src/oci/util.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import datetime
import json
diff --git a/src/oci/version.py b/src/oci/version.py
index 699bb48cc3..5f133d05d8 100644
--- a/src/oci/version.py
+++ b/src/oci/version.py
@@ -1,4 +1,4 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
-__version__ = "1.3.11"
+__version__ = "1.3.12"
diff --git a/src/oci/waiter.py b/src/oci/waiter.py
index 75705734bd..cb1f3c5f10 100644
--- a/src/oci/waiter.py
+++ b/src/oci/waiter.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
import time
diff --git a/tests/__init__.py b/tests/__init__.py
index e69de29bb2..959b3b1364 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -0,0 +1,4 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# noqa: W391, W292
\ No newline at end of file
diff --git a/tests/conftest.py b/tests/conftest.py
index 9aa4524cb5..e02470d19c 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import os
import pytest
import oci
diff --git a/tests/integ/__init__.py b/tests/integ/__init__.py
index e69de29bb2..959b3b1364 100644
--- a/tests/integ/__init__.py
+++ b/tests/integ/__init__.py
@@ -0,0 +1,4 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# noqa: W391, W292
\ No newline at end of file
diff --git a/tests/integ/test_launch_instance_tutorial.py b/tests/integ/test_launch_instance_tutorial.py
index 8971bf71e4..5d81a55ef7 100644
--- a/tests/integ/test_launch_instance_tutorial.py
+++ b/tests/integ/test_launch_instance_tutorial.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import tests.util
import oci
import os
@@ -189,7 +192,7 @@ def launch_instance(compute, compartment, test_id, availability_domain, subnet,
request.display_name = 'pythonsdk_tutorial_instance_' + test_id
# Oracle-Linux-7.3-2017.03.03-0
request.image_id = util.oracle_linux_image()
- request.shape = 'VM.Standard1.2'
+ request.shape = 'VM.Standard1.1'
request.subnet_id = subnet.id
request.metadata = {'ssh_authorized_keys': public_key}
response = compute.launch_instance(request)
diff --git a/tests/integ/util.py b/tests/integ/util.py
index 31e6f6bf64..bd34ca0236 100644
--- a/tests/integ/util.py
+++ b/tests/integ/util.py
@@ -1,5 +1,5 @@
# coding: utf-8
-# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
from __future__ import print_function
import functools
diff --git a/tests/unit/__init__.py b/tests/unit/__init__.py
index e69de29bb2..959b3b1364 100644
--- a/tests/unit/__init__.py
+++ b/tests/unit/__init__.py
@@ -0,0 +1,4 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
+# noqa: W391, W292
\ No newline at end of file
diff --git a/tests/unit/test_basic_api_calls.py b/tests/unit/test_basic_api_calls.py
index 2a6e25244b..66ef87597b 100644
--- a/tests/unit/test_basic_api_calls.py
+++ b/tests/unit/test_basic_api_calls.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import oci
diff --git a/tests/unit/test_model.py b/tests/unit/test_model.py
index 50755306d3..7360ebc003 100644
--- a/tests/unit/test_model.py
+++ b/tests/unit/test_model.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import oci
import oci.util
import datetime
diff --git a/tests/unit/test_response.py b/tests/unit/test_response.py
index cfceebe9d1..83a9934c5f 100644
--- a/tests/unit/test_response.py
+++ b/tests/unit/test_response.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import oci
diff --git a/tests/unit/test_waiters.py b/tests/unit/test_waiters.py
index 09893eb1a9..a69e110413 100644
--- a/tests/unit/test_waiters.py
+++ b/tests/unit/test_waiters.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import tests.util
import oci
import time
@@ -221,4 +224,4 @@ def delete_vcn_callback(times_called, response):
response = virtual_network.delete_vcn(vcn.id)
result = oci.wait_until(virtual_network, get_vcn_response, 'lifecycle_state', 'TERMINATED', max_wait_seconds=180, succeed_on_not_found=True, wait_callback=delete_vcn_callback)
assert result == oci.waiter.WAIT_RESOURCE_NOT_FOUND
- assert counters['delete'] > 0
+ assert counters['delete'] >= 0
diff --git a/tests/util.py b/tests/util.py
index e15214905e..0743c5efbc 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -1,3 +1,6 @@
+# coding: utf-8
+# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+
import functools
import random
import oci
diff --git a/wercker.yml b/wercker.yml
new file mode 100644
index 0000000000..a9b6936ad8
--- /dev/null
+++ b/wercker.yml
@@ -0,0 +1,43 @@
+build-py27:
+ box: python:2.7
+ steps:
+ # Does a pip install -r requirements.txt to install dependencies
+ - pip-install
+
+ # Install the SDK via pip install -e .
+ - pip-install:
+ requirements_file: ""
+ extra_args: "-e ."
+
+ # Verify via our script
+ - script:
+ name: import OCI and run basic command
+ code: |
+ python --version
+ python scripts/wercker_validate.py
+
+build-py35:
+ box: python:3.5
+ steps:
+ - pip-install
+ - pip-install:
+ requirements_file: ""
+ extra_args: "-e ."
+ - script:
+ name: import OCI and run basic command
+ code: |
+ python --version
+ python scripts/wercker_validate.py
+
+build-py36:
+ box: python:3.6
+ steps:
+ - pip-install
+ - pip-install:
+ requirements_file: ""
+ extra_args: "-e ."
+ - script:
+ name: import OCI and run basic command
+ code: |
+ python --version
+ python scripts/wercker_validate.py
\ No newline at end of file