Skip to content

Commit

Permalink
Releasing version 2.31.1
Browse files Browse the repository at this point in the history
Releasing version 2.31.1
  • Loading branch information
bhagwatvyas authored Feb 16, 2021
2 parents fbbbf0a + 195df75 commit d3e2cc6
Show file tree
Hide file tree
Showing 42 changed files with 1,645 additions and 30 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ Change Log
All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
====================
2.31.1 - 2021-02-16
====================

Added
-----
* Support for scan DNS names and zone ids on database system, cloud VM cluster, and autonomous Exadata infrastructure responses in the Database service
* Support for specifying ACL rules to limit ingress into public load balancers in the Integration service
* Support for Cloud at Customer as a source type in the Application Migration service
* Support for selective migration of specific resources in the Application Migration service

====================
2.31.0 - 2021-02-09
====================
Expand Down
3 changes: 3 additions & 0 deletions docs/api/application_migration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ Application Migration
oci.application_migration.models.Migration
oci.application_migration.models.MigrationSummary
oci.application_migration.models.OacDiscoveryDetails
oci.application_migration.models.OccAuthorizationDetails
oci.application_migration.models.OccSourceDetails
oci.application_migration.models.OcicAuthorizationDetails
oci.application_migration.models.OcicSourceDetails
oci.application_migration.models.OicDiscoveryDetails
oci.application_migration.models.PcsDiscoveryDetails
oci.application_migration.models.ResourceField
oci.application_migration.models.SoacsDiscoveryDetails
oci.application_migration.models.Source
oci.application_migration.models.SourceApplication
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
OccAuthorizationDetails
=======================

.. currentmodule:: oci.application_migration.models

.. autoclass:: OccAuthorizationDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
OccSourceDetails
================

.. currentmodule:: oci.application_migration.models

.. autoclass:: OccSourceDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ResourceField
=============

.. currentmodule:: oci.application_migration.models

.. autoclass:: ResourceField
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
4 changes: 4 additions & 0 deletions docs/api/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,17 @@ Integration
:template: autosummary/model_class.rst

oci.integration.models.ChangeIntegrationInstanceCompartmentDetails
oci.integration.models.ChangeIntegrationInstanceNetworkEndpointDetails
oci.integration.models.CreateCustomEndpointDetails
oci.integration.models.CreateIntegrationInstanceDetails
oci.integration.models.CustomEndpointDetails
oci.integration.models.IntegrationInstance
oci.integration.models.IntegrationInstanceSummary
oci.integration.models.NetworkEndpointDetails
oci.integration.models.PublicEndpointDetails
oci.integration.models.UpdateCustomEndpointDetails
oci.integration.models.UpdateIntegrationInstanceDetails
oci.integration.models.VirtualCloudNetwork
oci.integration.models.WorkRequest
oci.integration.models.WorkRequestError
oci.integration.models.WorkRequestLogEntry
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ChangeIntegrationInstanceNetworkEndpointDetails
===============================================

.. currentmodule:: oci.integration.models

.. autoclass:: ChangeIntegrationInstanceNetworkEndpointDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NetworkEndpointDetails
======================

.. currentmodule:: oci.integration.models

.. autoclass:: NetworkEndpointDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
PublicEndpointDetails
=====================

.. currentmodule:: oci.integration.models

.. autoclass:: PublicEndpointDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
VirtualCloudNetwork
===================

.. currentmodule:: oci.integration.models

.. autoclass:: VirtualCloudNetwork
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
6 changes: 6 additions & 0 deletions src/oci/application_migration/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
from .migration import Migration
from .migration_summary import MigrationSummary
from .oac_discovery_details import OacDiscoveryDetails
from .occ_authorization_details import OccAuthorizationDetails
from .occ_source_details import OccSourceDetails
from .ocic_authorization_details import OcicAuthorizationDetails
from .ocic_source_details import OcicSourceDetails
from .oic_discovery_details import OicDiscoveryDetails
from .pcs_discovery_details import PcsDiscoveryDetails
from .resource_field import ResourceField
from .soacs_discovery_details import SoacsDiscoveryDetails
from .source import Source
from .source_application import SourceApplication
Expand Down Expand Up @@ -50,10 +53,13 @@
"Migration": Migration,
"MigrationSummary": MigrationSummary,
"OacDiscoveryDetails": OacDiscoveryDetails,
"OccAuthorizationDetails": OccAuthorizationDetails,
"OccSourceDetails": OccSourceDetails,
"OcicAuthorizationDetails": OcicAuthorizationDetails,
"OcicSourceDetails": OcicSourceDetails,
"OicDiscoveryDetails": OicDiscoveryDetails,
"PcsDiscoveryDetails": PcsDiscoveryDetails,
"ResourceField": ResourceField,
"SoacsDiscoveryDetails": SoacsDiscoveryDetails,
"Source": Source,
"SourceApplication": SourceApplication,
Expand Down
14 changes: 11 additions & 3 deletions src/oci/application_migration/models/authorization_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,24 @@ class AuthorizationDetails(object):
#: This constant has a value of "INTERNAL_COMPUTE"
TYPE_INTERNAL_COMPUTE = "INTERNAL_COMPUTE"

#: A constant which can be used with the type property of a AuthorizationDetails.
#: This constant has a value of "OCC"
TYPE_OCC = "OCC"

def __init__(self, **kwargs):
"""
Initializes a new AuthorizationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.application_migration.models.OccAuthorizationDetails`
* :class:`~oci.application_migration.models.InternalAuthorizationDetails`
* :class:`~oci.application_migration.models.OcicAuthorizationDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param type:
The value to assign to the type property of this AuthorizationDetails.
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE"
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC"
:type type: str
"""
Expand All @@ -56,6 +61,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['type']

if type == 'OCC':
return 'OccAuthorizationDetails'

if type == 'INTERNAL_COMPUTE':
return 'InternalAuthorizationDetails'

Expand All @@ -70,7 +78,7 @@ def type(self):
**[Required]** Gets the type of this AuthorizationDetails.
Type of the source environment from which you are migrating applications to Oracle Cloud Infrastructure.
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE"
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC"
:return: The type of this AuthorizationDetails.
Expand All @@ -88,7 +96,7 @@ def type(self, type):
:param type: The type of this AuthorizationDetails.
:type: str
"""
allowed_values = ["OCIC", "INTERNAL_COMPUTE"]
allowed_values = ["OCIC", "INTERNAL_COMPUTE", "OCC"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
raise ValueError(
"Invalid value for `type`, must be None or one of {0}"
Expand Down
31 changes: 31 additions & 0 deletions src/oci/application_migration/models/configuration_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ def __init__(self, **kwargs):
The value to assign to the description property of this ConfigurationField.
:type description: str
:param resource_list:
The value to assign to the resource_list property of this ConfigurationField.
:type resource_list: list[oci.application_migration.models.ResourceField]
:param is_required:
The value to assign to the is_required property of this ConfigurationField.
:type is_required: bool
Expand All @@ -55,6 +59,7 @@ def __init__(self, **kwargs):
'type': 'str',
'value': 'str',
'description': 'str',
'resource_list': 'list[ResourceField]',
'is_required': 'bool',
'is_mutable': 'bool'
}
Expand All @@ -65,6 +70,7 @@ def __init__(self, **kwargs):
'type': 'type',
'value': 'value',
'description': 'description',
'resource_list': 'resourceList',
'is_required': 'isRequired',
'is_mutable': 'isMutable'
}
Expand All @@ -74,6 +80,7 @@ def __init__(self, **kwargs):
self._type = None
self._value = None
self._description = None
self._resource_list = None
self._is_required = None
self._is_mutable = None

Expand Down Expand Up @@ -197,6 +204,30 @@ def description(self, description):
"""
self._description = description

@property
def resource_list(self):
"""
Gets the resource_list of this ConfigurationField.
A list of resources associated with a specific configuration object.
:return: The resource_list of this ConfigurationField.
:rtype: list[oci.application_migration.models.ResourceField]
"""
return self._resource_list

@resource_list.setter
def resource_list(self, resource_list):
"""
Sets the resource_list of this ConfigurationField.
A list of resources associated with a specific configuration object.
:param resource_list: The resource_list of this ConfigurationField.
:type: list[oci.application_migration.models.ResourceField]
"""
self._resource_list = resource_list

@property
def is_required(self):
"""
Expand Down
31 changes: 31 additions & 0 deletions src/oci/application_migration/models/create_migration_details.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def __init__(self, **kwargs):
Allowed values for this property are: "DATABASE_SYSTEM", "NOT_SET"
:type pre_created_target_database_type: str
:param is_selective_migration:
The value to assign to the is_selective_migration property of this CreateMigrationDetails.
:type is_selective_migration: bool
:param service_config:
The value to assign to the service_config property of this CreateMigrationDetails.
:type service_config: dict(str, ConfigurationField)
Expand All @@ -89,6 +93,7 @@ def __init__(self, **kwargs):
'application_name': 'str',
'discovery_details': 'DiscoveryDetails',
'pre_created_target_database_type': 'str',
'is_selective_migration': 'bool',
'service_config': 'dict(str, ConfigurationField)',
'application_config': 'dict(str, ConfigurationField)',
'freeform_tags': 'dict(str, str)',
Expand All @@ -103,6 +108,7 @@ def __init__(self, **kwargs):
'application_name': 'applicationName',
'discovery_details': 'discoveryDetails',
'pre_created_target_database_type': 'preCreatedTargetDatabaseType',
'is_selective_migration': 'isSelectiveMigration',
'service_config': 'serviceConfig',
'application_config': 'applicationConfig',
'freeform_tags': 'freeformTags',
Expand All @@ -116,6 +122,7 @@ def __init__(self, **kwargs):
self._application_name = None
self._discovery_details = None
self._pre_created_target_database_type = None
self._is_selective_migration = None
self._service_config = None
self._application_config = None
self._freeform_tags = None
Expand Down Expand Up @@ -303,6 +310,30 @@ def pre_created_target_database_type(self, pre_created_target_database_type):
)
self._pre_created_target_database_type = pre_created_target_database_type

@property
def is_selective_migration(self):
"""
Gets the is_selective_migration of this CreateMigrationDetails.
If set to `true`, Application Migration migrates the application resources selectively depending on the source.
:return: The is_selective_migration of this CreateMigrationDetails.
:rtype: bool
"""
return self._is_selective_migration

@is_selective_migration.setter
def is_selective_migration(self, is_selective_migration):
"""
Sets the is_selective_migration of this CreateMigrationDetails.
If set to `true`, Application Migration migrates the application resources selectively depending on the source.
:param is_selective_migration: The is_selective_migration of this CreateMigrationDetails.
:type: bool
"""
self._is_selective_migration = is_selective_migration

@property
def service_config(self):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this InternalAuthorizationDetails.
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE"
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC"
:type type: str
:param username:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this InternalSourceDetails.
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE"
Allowed values for this property are: "OCIC", "INTERNAL_COMPUTE", "OCC"
:type type: str
:param account_name:
Expand Down
Loading

0 comments on commit d3e2cc6

Please sign in to comment.