Exemplo 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.ai_anomaly_detection import AnomalyDetectionClient

MODULE_TO_TYPE_MAPPINGS[
    "ai_anomaly_detection"] = oci.ai_anomaly_detection.models.ai_anomaly_detection_type_mapping
if CLIENT_MAP.get("ai_anomaly_detection") is None:
    CLIENT_MAP["ai_anomaly_detection"] = {}
CLIENT_MAP["ai_anomaly_detection"][
    "anomaly_detection"] = AnomalyDetectionClient
Exemplo 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.key_management import KmsVaultClient

MODULE_TO_TYPE_MAPPINGS[
    "key_management"] = oci.key_management.models.key_management_type_mapping
if CLIENT_MAP.get("key_management") is None:
    CLIENT_MAP["key_management"] = {}
CLIENT_MAP["key_management"]["kms_vault"] = KmsVaultClient
Exemplo n.º 3
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.database_tools import DatabaseToolsClient

MODULE_TO_TYPE_MAPPINGS[
    "database_tools"] = oci.database_tools.models.database_tools_type_mapping
if CLIENT_MAP.get("database_tools") is None:
    CLIENT_MAP["database_tools"] = {}
CLIENT_MAP["database_tools"]["database_tools"] = DatabaseToolsClient
Exemplo n.º 4
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_safe import DataSafeClient

MODULE_TO_TYPE_MAPPINGS[
    "data_safe"] = oci.data_safe.models.data_safe_type_mapping
if CLIENT_MAP.get("data_safe") is None:
    CLIENT_MAP["data_safe"] = {}
CLIENT_MAP["data_safe"]["data_safe"] = DataSafeClient
Exemplo n.º 5
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.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
Exemplo n.º 6
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.ai_language import AIServiceLanguageClient

MODULE_TO_TYPE_MAPPINGS[
    "ai_language"] = oci.ai_language.models.ai_language_type_mapping
if CLIENT_MAP.get("ai_language") is None:
    CLIENT_MAP["ai_language"] = {}
CLIENT_MAP["ai_language"]["ai_service_language"] = AIServiceLanguageClient
Exemplo n.º 7
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.application_migration import ApplicationMigrationClient

MODULE_TO_TYPE_MAPPINGS[
    "application_migration"] = oci.application_migration.models.application_migration_type_mapping
if CLIENT_MAP.get("application_migration") is None:
    CLIENT_MAP["application_migration"] = {}
CLIENT_MAP["application_migration"][
    "application_migration"] = ApplicationMigrationClient
Exemplo 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.service_manager_proxy import ServiceManagerProxyClient

MODULE_TO_TYPE_MAPPINGS[
    "service_manager_proxy"] = oci.service_manager_proxy.models.service_manager_proxy_type_mapping
if CLIENT_MAP.get("service_manager_proxy") is None:
    CLIENT_MAP["service_manager_proxy"] = {}
CLIENT_MAP["service_manager_proxy"][
    "service_manager_proxy"] = ServiceManagerProxyClient
Exemplo 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.os_management import EventClient

MODULE_TO_TYPE_MAPPINGS[
    "os_management"] = oci.os_management.models.os_management_type_mapping
if CLIENT_MAP.get("os_management") is None:
    CLIENT_MAP["os_management"] = {}
CLIENT_MAP["os_management"]["event"] = EventClient
Exemplo 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.database_management import DbManagementClient

MODULE_TO_TYPE_MAPPINGS[
    "database_management"] = oci.database_management.models.database_management_type_mapping
if CLIENT_MAP.get("database_management") is None:
    CLIENT_MAP["database_management"] = {}
CLIENT_MAP["database_management"]["db_management"] = DbManagementClient
Exemplo 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.vault import VaultsClient

MODULE_TO_TYPE_MAPPINGS["vault"] = oci.vault.models.vault_type_mapping
if CLIENT_MAP.get("vault") is None:
    CLIENT_MAP["vault"] = {}
CLIENT_MAP["vault"]["vaults"] = VaultsClient
Exemplo n.º 12
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.dts import TransferApplianceEntitlementClient

MODULE_TO_TYPE_MAPPINGS["dts"] = oci.dts.models.dts_type_mapping
if CLIENT_MAP.get("dts") is None:
    CLIENT_MAP["dts"] = {}
CLIENT_MAP["dts"][
    "transfer_appliance_entitlement"] = TransferApplianceEntitlementClient
Exemplo n.º 13
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.ai_speech import AIServiceSpeechClient

MODULE_TO_TYPE_MAPPINGS[
    "ai_speech"] = oci.ai_speech.models.ai_speech_type_mapping
if CLIENT_MAP.get("ai_speech") is None:
    CLIENT_MAP["ai_speech"] = {}
CLIENT_MAP["ai_speech"]["ai_service_speech"] = AIServiceSpeechClient
Exemplo n.º 14
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.optimizer import OptimizerClient

MODULE_TO_TYPE_MAPPINGS[
    "optimizer"] = oci.optimizer.models.optimizer_type_mapping
if CLIENT_MAP.get("optimizer") is None:
    CLIENT_MAP["optimizer"] = {}
CLIENT_MAP["optimizer"]["optimizer"] = OptimizerClient
Exemplo n.º 15
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.secrets import SecretsClient

MODULE_TO_TYPE_MAPPINGS["secrets"] = oci.secrets.models.secrets_type_mapping
if CLIENT_MAP.get("secrets") is None:
    CLIENT_MAP["secrets"] = {}
CLIENT_MAP["secrets"]["secrets"] = SecretsClient
Exemplo n.º 16
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.certificates_management import CertificatesManagementClient

MODULE_TO_TYPE_MAPPINGS[
    "certificates_management"] = oci.certificates_management.models.certificates_management_type_mapping
if CLIENT_MAP.get("certificates_management") is None:
    CLIENT_MAP["certificates_management"] = {}
CLIENT_MAP["certificates_management"][
    "certificates_management"] = CertificatesManagementClient
Exemplo n.º 17
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.resource_search import ResourceSearchClient

MODULE_TO_TYPE_MAPPINGS[
    "resource_search"] = oci.resource_search.models.resource_search_type_mapping
if CLIENT_MAP.get("resource_search") is None:
    CLIENT_MAP["resource_search"] = {}
CLIENT_MAP["resource_search"]["resource_search"] = ResourceSearchClient
Exemplo 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.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
Exemplo n.º 19
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.sch import ServiceConnectorClient

MODULE_TO_TYPE_MAPPINGS["sch"] = oci.sch.models.sch_type_mapping
if CLIENT_MAP.get("sch") is None:
    CLIENT_MAP["sch"] = {}
CLIENT_MAP["sch"]["service_connector"] = ServiceConnectorClient
Exemplo 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.onesubscription import CommitmentClient

MODULE_TO_TYPE_MAPPINGS[
    "onesubscription"] = oci.onesubscription.models.onesubscription_type_mapping
if CLIENT_MAP.get("onesubscription") is None:
    CLIENT_MAP["onesubscription"] = {}
CLIENT_MAP["onesubscription"]["commitment"] = CommitmentClient
Exemplo n.º 21
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.waa import WaaClient

MODULE_TO_TYPE_MAPPINGS["waa"] = oci.waa.models.waa_type_mapping
if CLIENT_MAP.get("waa") is None:
    CLIENT_MAP["waa"] = {}
CLIENT_MAP["waa"]["waa"] = WaaClient
Exemplo 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.operator_access_control import OperatorControlAssignmentClient

MODULE_TO_TYPE_MAPPINGS["operator_access_control"] = oci.operator_access_control.models.operator_access_control_type_mapping
if CLIENT_MAP.get("operator_access_control") is None:
    CLIENT_MAP["operator_access_control"] = {}
CLIENT_MAP["operator_access_control"]["operator_control_assignment"] = OperatorControlAssignmentClient
Exemplo n.º 23
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.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
Exemplo n.º 24
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.ons import NotificationDataPlaneClient

MODULE_TO_TYPE_MAPPINGS["ons"] = oci.ons.models.ons_type_mapping
if CLIENT_MAP.get("ons") is None:
    CLIENT_MAP["ons"] = {}
CLIENT_MAP["ons"]["notification_data_plane"] = NotificationDataPlaneClient
Exemplo n.º 25
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 DbBackupsClient

MODULE_TO_TYPE_MAPPINGS["mysql"] = oci.mysql.models.mysql_type_mapping
if CLIENT_MAP.get("mysql") is None:
    CLIENT_MAP["mysql"] = {}
CLIENT_MAP["mysql"]["db_backups"] = DbBackupsClient
Exemplo n.º 26
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.database_migration import DatabaseMigrationClient

MODULE_TO_TYPE_MAPPINGS["database_migration"] = oci.database_migration.models.database_migration_type_mapping
if CLIENT_MAP.get("database_migration") is None:
    CLIENT_MAP["database_migration"] = {}
CLIENT_MAP["database_migration"]["database_migration"] = DatabaseMigrationClient
Exemplo n.º 27
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.marketplace import AccountClient

MODULE_TO_TYPE_MAPPINGS[
    "marketplace"] = oci.marketplace.models.marketplace_type_mapping
if CLIENT_MAP.get("marketplace") is None:
    CLIENT_MAP["marketplace"] = {}
CLIENT_MAP["marketplace"]["account"] = AccountClient
Exemplo n.º 28
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.management_agent import ManagementAgentClient

MODULE_TO_TYPE_MAPPINGS[
    "management_agent"] = oci.management_agent.models.management_agent_type_mapping
if CLIENT_MAP.get("management_agent") is None:
    CLIENT_MAP["management_agent"] = {}
CLIENT_MAP["management_agent"]["management_agent"] = ManagementAgentClient
Exemplo n.º 29
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_labeling_service import DataLabelingManagementClient

MODULE_TO_TYPE_MAPPINGS[
    "data_labeling_service"] = oci.data_labeling_service.models.data_labeling_service_type_mapping
if CLIENT_MAP.get("data_labeling_service") is None:
    CLIENT_MAP["data_labeling_service"] = {}
CLIENT_MAP["data_labeling_service"][
    "data_labeling_management"] = DataLabelingManagementClient
Exemplo n.º 30
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.golden_gate import GoldenGateClient

MODULE_TO_TYPE_MAPPINGS[
    "golden_gate"] = oci.golden_gate.models.golden_gate_type_mapping
if CLIENT_MAP.get("golden_gate") is None:
    CLIENT_MAP["golden_gate"] = {}
CLIENT_MAP["golden_gate"]["golden_gate"] = GoldenGateClient