Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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
Ejemplo n.º 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