예제 #1
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.autoscaling import AutoScalingClient

MODULE_TO_TYPE_MAPPINGS[
    "autoscaling"] = oci.autoscaling.models.autoscaling_type_mapping
if CLIENT_MAP.get("autoscaling") is None:
    CLIENT_MAP["autoscaling"] = {}
CLIENT_MAP["autoscaling"]["auto_scaling"] = AutoScalingClient
예제 #2
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.integration import IntegrationInstanceClient

MODULE_TO_TYPE_MAPPINGS["integration"] = oci.integration.models.integration_type_mapping
if CLIENT_MAP.get("integration") is None:
    CLIENT_MAP["integration"] = {}
CLIENT_MAP["integration"]["integration_instance"] = IntegrationInstanceClient
예제 #3
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.artifacts import ArtifactsClient

MODULE_TO_TYPE_MAPPINGS["artifacts"] = oci.artifacts.models.artifacts_type_mapping
if CLIENT_MAP.get("artifacts") is None:
    CLIENT_MAP["artifacts"] = {}
CLIENT_MAP["artifacts"]["artifacts"] = ArtifactsClient
예제 #4
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.budget import BudgetClient

MODULE_TO_TYPE_MAPPINGS["budget"] = oci.budget.models.budget_type_mapping
if CLIENT_MAP.get("budget") is None:
    CLIENT_MAP["budget"] = {}
CLIENT_MAP["budget"]["budget"] = BudgetClient
예제 #5
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.usage import RewardsClient

MODULE_TO_TYPE_MAPPINGS["usage"] = oci.usage.models.usage_type_mapping
if CLIENT_MAP.get("usage") is None:
    CLIENT_MAP["usage"] = {}
CLIENT_MAP["usage"]["rewards"] = RewardsClient
예제 #6
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.service_mesh import ServiceMeshClient

MODULE_TO_TYPE_MAPPINGS["service_mesh"] = oci.service_mesh.models.service_mesh_type_mapping
if CLIENT_MAP.get("service_mesh") is None:
    CLIENT_MAP["service_mesh"] = {}
CLIENT_MAP["service_mesh"]["service_mesh"] = ServiceMeshClient
예제 #7
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.rover import RoverNodeClient

MODULE_TO_TYPE_MAPPINGS["rover"] = oci.rover.models.rover_type_mapping
if CLIENT_MAP.get("rover") is None:
    CLIENT_MAP["rover"] = {}
CLIENT_MAP["rover"]["rover_node"] = RoverNodeClient
예제 #8
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.cims import IncidentClient

MODULE_TO_TYPE_MAPPINGS["cims"] = oci.cims.models.cims_type_mapping
if CLIENT_MAP.get("cims") is None:
    CLIENT_MAP["cims"] = {}
CLIENT_MAP["cims"]["incident"] = IncidentClient
예제 #9
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.oda import ManagementClient

MODULE_TO_TYPE_MAPPINGS["oda"] = oci.oda.models.oda_type_mapping
if CLIENT_MAP.get("oda") is None:
    CLIENT_MAP["oda"] = {}
CLIENT_MAP["oda"]["management"] = ManagementClient
예제 #10
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.limits import LimitsClient

MODULE_TO_TYPE_MAPPINGS["limits"] = oci.limits.models.limits_type_mapping
if CLIENT_MAP.get("limits") is None:
    CLIENT_MAP["limits"] = {}
CLIENT_MAP["limits"]["limits"] = LimitsClient
예제 #11
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.load_balancer import LoadBalancerClient

MODULE_TO_TYPE_MAPPINGS[
    "load_balancer"] = oci.load_balancer.models.load_balancer_type_mapping
if CLIENT_MAP.get("load_balancer") is None:
    CLIENT_MAP["load_balancer"] = {}
CLIENT_MAP["load_balancer"]["load_balancer"] = LoadBalancerClient
예제 #12
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.announcements_service import AnnouncementClient

MODULE_TO_TYPE_MAPPINGS[
    "announcements_service"] = oci.announcements_service.models.announcements_service_type_mapping
if CLIENT_MAP.get("announcements_service") is None:
    CLIENT_MAP["announcements_service"] = {}
CLIENT_MAP["announcements_service"]["announcement"] = AnnouncementClient
예제 #13
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.events import EventsClient

MODULE_TO_TYPE_MAPPINGS["events"] = oci.events.models.events_type_mapping
if CLIENT_MAP.get("events") is None:
    CLIENT_MAP["events"] = {}
CLIENT_MAP["events"]["events"] = EventsClient
예제 #14
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.mysql import WorkRequestsClient

MODULE_TO_TYPE_MAPPINGS["mysql"] = oci.mysql.models.mysql_type_mapping
if CLIENT_MAP.get("mysql") is None:
    CLIENT_MAP["mysql"] = {}
CLIENT_MAP["mysql"]["work_requests"] = WorkRequestsClient
예제 #15
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.ocvp import WorkRequestClient

MODULE_TO_TYPE_MAPPINGS["ocvp"] = oci.ocvp.models.ocvp_type_mapping
if CLIENT_MAP.get("ocvp") is None:
    CLIENT_MAP["ocvp"] = {}
CLIENT_MAP["ocvp"]["work_request"] = WorkRequestClient
예제 #16
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.onesubscription import SubscriptionClient

MODULE_TO_TYPE_MAPPINGS["onesubscription"] = oci.onesubscription.models.onesubscription_type_mapping
if CLIENT_MAP.get("onesubscription") is None:
    CLIENT_MAP["onesubscription"] = {}
CLIENT_MAP["onesubscription"]["subscription"] = SubscriptionClient
예제 #17
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.apigateway import GatewayClient

MODULE_TO_TYPE_MAPPINGS[
    "apigateway"] = oci.apigateway.models.apigateway_type_mapping
if CLIENT_MAP.get("apigateway") is None:
    CLIENT_MAP["apigateway"] = {}
CLIENT_MAP["apigateway"]["gateway"] = GatewayClient
예제 #18
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.tenant_manager_control_plane import SubscriptionClient

MODULE_TO_TYPE_MAPPINGS["tenant_manager_control_plane"] = oci.tenant_manager_control_plane.models.tenant_manager_control_plane_type_mapping
if CLIENT_MAP.get("tenant_manager_control_plane") is None:
    CLIENT_MAP["tenant_manager_control_plane"] = {}
CLIENT_MAP["tenant_manager_control_plane"]["subscription"] = SubscriptionClient
예제 #19
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.nosql import NosqlClient

MODULE_TO_TYPE_MAPPINGS["nosql"] = oci.nosql.models.nosql_type_mapping
if CLIENT_MAP.get("nosql") is None:
    CLIENT_MAP["nosql"] = {}
CLIENT_MAP["nosql"]["nosql"] = NosqlClient
예제 #20
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.loggingingestion import LoggingClient

MODULE_TO_TYPE_MAPPINGS[
    "loggingingestion"] = oci.loggingingestion.models.loggingingestion_type_mapping
if CLIENT_MAP.get("loggingingestion") is None:
    CLIENT_MAP["loggingingestion"] = {}
CLIENT_MAP["loggingingestion"]["logging"] = LoggingClient
예제 #21
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.oce import OceInstanceClient

MODULE_TO_TYPE_MAPPINGS["oce"] = oci.oce.models.oce_type_mapping
if CLIENT_MAP.get("oce") is None:
    CLIENT_MAP["oce"] = {}
CLIENT_MAP["oce"]["oce_instance"] = OceInstanceClient
예제 #22
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.license_manager import LicenseManagerClient

MODULE_TO_TYPE_MAPPINGS[
    "license_manager"] = oci.license_manager.models.license_manager_type_mapping
if CLIENT_MAP.get("license_manager") is None:
    CLIENT_MAP["license_manager"] = {}
CLIENT_MAP["license_manager"]["license_manager"] = LicenseManagerClient
예제 #23
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.object_storage import ObjectStorageClient

MODULE_TO_TYPE_MAPPINGS["object_storage"] = oci.object_storage.models.object_storage_type_mapping
if CLIENT_MAP.get("object_storage") is None:
    CLIENT_MAP["object_storage"] = {}
CLIENT_MAP["object_storage"]["object_storage"] = ObjectStorageClient
예제 #24
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.email import EmailClient

MODULE_TO_TYPE_MAPPINGS["email"] = oci.email.models.email_type_mapping
if CLIENT_MAP.get("email") is None:
    CLIENT_MAP["email"] = {}
CLIENT_MAP["email"]["email"] = EmailClient
예제 #25
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.jms import JavaManagementServiceClient

MODULE_TO_TYPE_MAPPINGS["jms"] = oci.jms.models.jms_type_mapping
if CLIENT_MAP.get("jms") is None:
    CLIENT_MAP["jms"] = {}
CLIENT_MAP["jms"]["java_management_service"] = JavaManagementServiceClient
예제 #26
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.data_catalog import DataCatalogClient

MODULE_TO_TYPE_MAPPINGS[
    "data_catalog"] = oci.data_catalog.models.data_catalog_type_mapping
if CLIENT_MAP.get("data_catalog") is None:
    CLIENT_MAP["data_catalog"] = {}
CLIENT_MAP["data_catalog"]["data_catalog"] = DataCatalogClient
예제 #27
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.opsi import OperationsInsightsClient

MODULE_TO_TYPE_MAPPINGS["opsi"] = oci.opsi.models.opsi_type_mapping
if CLIENT_MAP.get("opsi") is None:
    CLIENT_MAP["opsi"] = {}
CLIENT_MAP["opsi"]["operations_insights"] = OperationsInsightsClient
예제 #28
0
# coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.core import ComputeClient

MODULE_TO_TYPE_MAPPINGS["core"] = oci.core.models.core_type_mapping
if CLIENT_MAP.get("core") is None:
    CLIENT_MAP["core"] = {}
CLIENT_MAP["core"]["compute"] = ComputeClient
예제 #29
0
# coding: utf-8
# Copyright (c) 2016, 2022, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.file_storage import FileStorageClient

MODULE_TO_TYPE_MAPPINGS["file_storage"] = oci.file_storage.models.file_storage_type_mapping
if CLIENT_MAP.get("file_storage") is None:
    CLIENT_MAP["file_storage"] = {}
CLIENT_MAP["file_storage"]["file_storage"] = FileStorageClient
예제 #30
0
# coding: utf-8
# Copyright (c) 2016, 2020, Oracle and/or its affiliates.  All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.

import oci
from oci_cli.cli_clients import CLIENT_MAP
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
from oci.audit import AuditClient

MODULE_TO_TYPE_MAPPINGS["audit"] = oci.audit.models.audit_type_mapping
if CLIENT_MAP.get("audit") is None:
    CLIENT_MAP["audit"] = {}
CLIENT_MAP["audit"]["audit"] = AuditClient