oci-cli 3.63.2__py3-none-any.whl → 3.63.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/bin/multicloud.psm1 +53 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/database/create-standby-database.txt +114 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/{organizations/work-request-log.txt → delegate-access-control/work-request/work-request-log-entry.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/email-data-plane/email-raw-submitted-response/submit-raw-email.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email-data-plane/email-raw-submitted-response.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email-data-plane.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-mapping-metadatum-summary-collection/list-external-location-mapping-metadata.txt +167 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-mapping-metadatum-summary-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection/list-external-location-summaries-metadata.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-locations-metadatum-collection/list-external-location-details-metadata.txt +216 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-locations-metadatum-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata-collection/list-multi-cloud-metadata.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor/get.txt +111 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor-collection/list-network-anchors.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor.txt +19 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor/get.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor-collection/list-resource-anchors.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor.txt +19 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud.txt +58 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log → work-request-log-entry}/list.txt +1 -19
- oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request/work-request-log.txt → organizations/work-request-log-entry.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/METADATA +2 -2
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/RECORD +85 -37
- services/database/src/oci_cli_database/database_cli_extended.py +16 -1
- services/email_data_plane/src/oci_cli_email_dp/generated/emaildp_cli.py +41 -0
- services/multicloud/__init__.py +4 -0
- services/multicloud/src/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_metadata/generated/metadata_cli.py +239 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/__init__.py +4 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/multicloudsmetadata_cli.py +117 -0
- services/multicloud/src/oci_cli_multicloud/__init__.py +4 -0
- services/multicloud/src/oci_cli_multicloud/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_multicloud/generated/multicloud_service_cli.py +14 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/omhubnetworkanchor_cli.py +150 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/omhubresourceanchor_cli.py +143 -0
- services/multicloud/tests/__init__.py +4 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.63.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# 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.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.multicloud import OmhubResourceAnchorClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["multicloud"] = oci.multicloud.models.multicloud_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("multicloud") is None:
|
|
13
|
+
CLIENT_MAP["multicloud"] = {}
|
|
14
|
+
CLIENT_MAP["multicloud"]["omhub_resource_anchor"] = OmhubResourceAnchorClient
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# 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.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
from __future__ import print_function
|
|
7
|
+
import click
|
|
8
|
+
import oci # noqa: F401
|
|
9
|
+
import six # noqa: F401
|
|
10
|
+
import sys # noqa: F401
|
|
11
|
+
from oci_cli import cli_constants # noqa: F401
|
|
12
|
+
from oci_cli import cli_util
|
|
13
|
+
from oci_cli import json_skeleton_utils
|
|
14
|
+
from oci_cli import custom_types # noqa: F401
|
|
15
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
16
|
+
from services.multicloud.src.oci_cli_multicloud.generated import multicloud_service_cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@click.command(cli_util.override('omhub_resource_anchor.omhub_resource_anchor_root_group.command_name', 'omhub-resource-anchor'), cls=CommandGroupWithAlias, help=cli_util.override('omhub_resource_anchor.omhub_resource_anchor_root_group.help', """Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>."""), short_help=cli_util.override('omhub_resource_anchor.omhub_resource_anchor_root_group.short_help', """Oracle Multicloud API"""))
|
|
20
|
+
@cli_util.help_option_group
|
|
21
|
+
def omhub_resource_anchor_root_group():
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@click.command(cli_util.override('omhub_resource_anchor.resource_anchor_collection_group.command_name', 'resource-anchor-collection'), cls=CommandGroupWithAlias, help="""Results of a resourceAnchor search. Contains both ResourceAnchorSummary items and other information, such as metadata.""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def resource_anchor_collection_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@click.command(cli_util.override('omhub_resource_anchor.resource_anchor_group.command_name', 'resource-anchor'), cls=CommandGroupWithAlias, help="""A ResourceAnchor is a description of a ResourceAnchor.
|
|
32
|
+
|
|
33
|
+
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies].""")
|
|
34
|
+
@cli_util.help_option_group
|
|
35
|
+
def resource_anchor_group():
|
|
36
|
+
pass
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
multicloud_service_cli.multicloud_service_group.add_command(omhub_resource_anchor_root_group)
|
|
40
|
+
omhub_resource_anchor_root_group.add_command(resource_anchor_collection_group)
|
|
41
|
+
omhub_resource_anchor_root_group.add_command(resource_anchor_group)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@resource_anchor_group.command(name=cli_util.override('omhub_resource_anchor.get_resource_anchor.command_name', 'get'), help=u"""Gets information about a ResourceAnchor. \n[Command Reference](getResourceAnchor)""")
|
|
45
|
+
@cli_util.option('--resource-anchor-id', required=True, help=u"""The [OCID] of the ResourceAnchor.""")
|
|
46
|
+
@cli_util.option('--subscription-service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["ORACLEDBATAZURE", "ORACLEDBATGOOGLE", "ORACLEDBATAWS"]), help=u"""The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]""")
|
|
47
|
+
@cli_util.option('--subscription-id', required=True, help=u"""The [OCID] of the subscription in which to list resources.""")
|
|
48
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
49
|
+
@cli_util.help_option
|
|
50
|
+
@click.pass_context
|
|
51
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'ResourceAnchor'})
|
|
52
|
+
@cli_util.wrap_exceptions
|
|
53
|
+
def get_resource_anchor(ctx, from_json, resource_anchor_id, subscription_service_name, subscription_id):
|
|
54
|
+
|
|
55
|
+
if isinstance(resource_anchor_id, six.string_types) and len(resource_anchor_id.strip()) == 0:
|
|
56
|
+
raise click.UsageError('Parameter --resource-anchor-id cannot be whitespace or empty string')
|
|
57
|
+
|
|
58
|
+
kwargs = {}
|
|
59
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
60
|
+
client = cli_util.build_client('multicloud', 'omhub_resource_anchor', ctx)
|
|
61
|
+
result = client.get_resource_anchor(
|
|
62
|
+
resource_anchor_id=resource_anchor_id,
|
|
63
|
+
subscription_service_name=subscription_service_name,
|
|
64
|
+
subscription_id=subscription_id,
|
|
65
|
+
**kwargs
|
|
66
|
+
)
|
|
67
|
+
cli_util.render_response(result, ctx)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
@resource_anchor_collection_group.command(name=cli_util.override('omhub_resource_anchor.list_resource_anchors.command_name', 'list-resource-anchors'), help=u"""Gets a list of ResourceAnchors. \n[Command Reference](listResourceAnchors)""")
|
|
71
|
+
@cli_util.option('--subscription-service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["ORACLEDBATAZURE", "ORACLEDBATGOOGLE", "ORACLEDBATAWS"]), help=u"""The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]""")
|
|
72
|
+
@cli_util.option('--subscription-id', required=True, help=u"""The [OCID] of the subscription in which to list resources.""")
|
|
73
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
74
|
+
@cli_util.option('--linked-compartment-id', help=u"""The [OCID] of the compartment in which linked to Resource.""")
|
|
75
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.""")
|
|
76
|
+
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the given display name exactly.""")
|
|
77
|
+
@cli_util.option('--id', help=u"""The [OCID] of the ResourceAnchor.""")
|
|
78
|
+
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
79
|
+
@cli_util.option('--page', help=u"""For list pagination. The value of the opc-next-page response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
80
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
81
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.""")
|
|
82
|
+
@cli_util.option('--is-compartment-id-in-subtree', type=click.BOOL, help=u"""Check the sub-compartments of a given compartmentId""")
|
|
83
|
+
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
|
|
84
|
+
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
|
|
85
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
86
|
+
@cli_util.help_option
|
|
87
|
+
@click.pass_context
|
|
88
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'ResourceAnchorCollection'})
|
|
89
|
+
@cli_util.wrap_exceptions
|
|
90
|
+
def list_resource_anchors(ctx, from_json, all_pages, page_size, subscription_service_name, subscription_id, compartment_id, linked_compartment_id, lifecycle_state, display_name, id, limit, page, sort_order, sort_by, is_compartment_id_in_subtree):
|
|
91
|
+
|
|
92
|
+
if all_pages and limit:
|
|
93
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
94
|
+
|
|
95
|
+
kwargs = {}
|
|
96
|
+
if compartment_id is not None:
|
|
97
|
+
kwargs['compartment_id'] = compartment_id
|
|
98
|
+
if linked_compartment_id is not None:
|
|
99
|
+
kwargs['linked_compartment_id'] = linked_compartment_id
|
|
100
|
+
if lifecycle_state is not None:
|
|
101
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
102
|
+
if display_name is not None:
|
|
103
|
+
kwargs['display_name'] = display_name
|
|
104
|
+
if id is not None:
|
|
105
|
+
kwargs['id'] = id
|
|
106
|
+
if limit is not None:
|
|
107
|
+
kwargs['limit'] = limit
|
|
108
|
+
if page is not None:
|
|
109
|
+
kwargs['page'] = page
|
|
110
|
+
if sort_order is not None:
|
|
111
|
+
kwargs['sort_order'] = sort_order
|
|
112
|
+
if sort_by is not None:
|
|
113
|
+
kwargs['sort_by'] = sort_by
|
|
114
|
+
if is_compartment_id_in_subtree is not None:
|
|
115
|
+
kwargs['is_compartment_id_in_subtree'] = is_compartment_id_in_subtree
|
|
116
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
117
|
+
client = cli_util.build_client('multicloud', 'omhub_resource_anchor', ctx)
|
|
118
|
+
if all_pages:
|
|
119
|
+
if page_size:
|
|
120
|
+
kwargs['limit'] = page_size
|
|
121
|
+
|
|
122
|
+
result = cli_util.list_call_get_all_results(
|
|
123
|
+
client.list_resource_anchors,
|
|
124
|
+
subscription_service_name=subscription_service_name,
|
|
125
|
+
subscription_id=subscription_id,
|
|
126
|
+
**kwargs
|
|
127
|
+
)
|
|
128
|
+
elif limit is not None:
|
|
129
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
130
|
+
client.list_resource_anchors,
|
|
131
|
+
limit,
|
|
132
|
+
page_size,
|
|
133
|
+
subscription_service_name=subscription_service_name,
|
|
134
|
+
subscription_id=subscription_id,
|
|
135
|
+
**kwargs
|
|
136
|
+
)
|
|
137
|
+
else:
|
|
138
|
+
result = client.list_resource_anchors(
|
|
139
|
+
subscription_service_name=subscription_service_name,
|
|
140
|
+
subscription_id=subscription_id,
|
|
141
|
+
**kwargs
|
|
142
|
+
)
|
|
143
|
+
cli_util.render_response(result, ctx)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# 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.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|