oci-cli 3.63.1__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/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/governance-rules-control-plane/work-request/{work-request-log-entry/list-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- 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/{governance-rules-control-plane/work-request → organizations}/work-request-log-entry.txt +1 -1
- 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/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/METADATA +2 -2
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/RECORD +75 -27
- 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/help_text_producer/data_files/text/cmdref/{organizations → governance-rules-control-plane/work-request}/work-request-log.txt +0 -0
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.1.dist-info → oci_cli-3.63.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"list-external-location-summaries-metadata"
|
|
2
|
+
*******************************************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
List externalLocationSummary metadata from OCI Region to the Cloud
|
|
21
|
+
Service Provider region across all regions. examples: application-
|
|
22
|
+
json: | [ { “externalLocation”: {
|
|
23
|
+
“cspRegion”: “East US” }, “ociRegion”: “us-
|
|
24
|
+
ashburn-1” }, { “externalLocation”: {
|
|
25
|
+
“cspRegion”: “East US 2” }, “ociRegion”: “us-
|
|
26
|
+
ashburn-1” }, { “externalLocation”: {
|
|
27
|
+
“cspRegion”: “Germany West Central” },
|
|
28
|
+
“ociRegion”: “eu-frankfurt-1”, } ]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Usage
|
|
32
|
+
=====
|
|
33
|
+
|
|
34
|
+
oci multicloud metadata external-location-summaries-metadatum-summary-collection list-external-location-summaries-metadata [OPTIONS]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Required Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--compartment-id, -c [text]
|
|
41
|
+
|
|
42
|
+
The OCID of the compartment in which to list resources.
|
|
43
|
+
|
|
44
|
+
--subscription-service-name [text]
|
|
45
|
+
|
|
46
|
+
The subscription service name values from [ORACLEDBATAZURE,
|
|
47
|
+
ORACLEDBATGOOGLE, ORACLEDBATAWS]
|
|
48
|
+
|
|
49
|
+
Accepted values are:
|
|
50
|
+
|
|
51
|
+
ORACLEDBATAWS, ORACLEDBATAZURE, ORACLEDBATGOOGLE
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
Optional Parameters
|
|
55
|
+
===================
|
|
56
|
+
|
|
57
|
+
--all
|
|
58
|
+
|
|
59
|
+
Fetches all pages of results. If you provide this option, then you
|
|
60
|
+
cannot provide the "--limit" option.
|
|
61
|
+
|
|
62
|
+
--entity-type [text]
|
|
63
|
+
|
|
64
|
+
The resource type query (i.e. dbsystem, instance etc.)
|
|
65
|
+
|
|
66
|
+
Accepted values are:
|
|
67
|
+
|
|
68
|
+
dbsystem
|
|
69
|
+
|
|
70
|
+
--from-json [text]
|
|
71
|
+
|
|
72
|
+
Provide input to this command as a JSON document from a file using the
|
|
73
|
+
file://path-to/file syntax.
|
|
74
|
+
|
|
75
|
+
The "--generate-full-command-json-input" option can be used to
|
|
76
|
+
generate a sample json file to be used with this command option. The
|
|
77
|
+
key names are pre-populated and match the command option names
|
|
78
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
79
|
+
while the values of the keys need to be populated by the user before
|
|
80
|
+
using the sample file as an input to this command. For any command
|
|
81
|
+
option that accepts multiple values, the value of the key can be a
|
|
82
|
+
JSON array.
|
|
83
|
+
|
|
84
|
+
Options can still be provided on the command line. If an option exists
|
|
85
|
+
in both the JSON document and the command line then the command line
|
|
86
|
+
specified value will be used.
|
|
87
|
+
|
|
88
|
+
For examples on usage of this option, please see our “using CLI with
|
|
89
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
90
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
91
|
+
|
|
92
|
+
--limit [integer]
|
|
93
|
+
|
|
94
|
+
For list pagination. The maximum number of results per page, or items
|
|
95
|
+
to return in a paginated “List” call. For important details about how
|
|
96
|
+
pagination works, see List Pagination.
|
|
97
|
+
|
|
98
|
+
--page [text]
|
|
99
|
+
|
|
100
|
+
For list pagination. The value of the opc-next-page response header
|
|
101
|
+
from the previous “List” call. For important details about how
|
|
102
|
+
pagination works, see List Pagination.
|
|
103
|
+
|
|
104
|
+
--page-size [integer]
|
|
105
|
+
|
|
106
|
+
When fetching results, the number of results to fetch per call. Only
|
|
107
|
+
valid when used with "--all" or "--limit", and ignored otherwise.
|
|
108
|
+
|
|
109
|
+
--sort-by [text]
|
|
110
|
+
|
|
111
|
+
The field to sort by. You can provide only one sort order. Default
|
|
112
|
+
order for *timeCreated* is descending. Default order for *displayName*
|
|
113
|
+
is ascending.
|
|
114
|
+
|
|
115
|
+
Accepted values are:
|
|
116
|
+
|
|
117
|
+
displayName, timeCreated
|
|
118
|
+
|
|
119
|
+
--sort-order [text]
|
|
120
|
+
|
|
121
|
+
The sort order to use, either ascending (*ASC*) or descending
|
|
122
|
+
(*DESC*).
|
|
123
|
+
|
|
124
|
+
Accepted values are:
|
|
125
|
+
|
|
126
|
+
ASC, DESC
|
|
127
|
+
|
|
128
|
+
--subscription-id [text]
|
|
129
|
+
|
|
130
|
+
The OCID of the subscription in which to list resources.
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
Global Parameters
|
|
134
|
+
=================
|
|
135
|
+
|
|
136
|
+
Use "oci --help" for help on global parameters.
|
|
137
|
+
|
|
138
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
139
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
140
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
141
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
142
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
143
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
144
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
145
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
Example using required parameter
|
|
149
|
+
================================
|
|
150
|
+
|
|
151
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
152
|
+
command by typing “bash example.sh” and replacing the example
|
|
153
|
+
parameters with your own.
|
|
154
|
+
|
|
155
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
156
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
157
|
+
security policies before trying the examples.
|
|
158
|
+
|
|
159
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection/list-external-location-summaries-metadata.html#cmdoption-compartment-id
|
|
160
|
+
export subscription_service_name=<substitute-value-of-subscription_service_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection/list-external-location-summaries-metadata.html#cmdoption-subscription-service-name
|
|
161
|
+
|
|
162
|
+
oci multicloud metadata external-location-summaries-metadatum-summary-collection list-external-location-summaries-metadata --compartment-id $compartment_id --subscription-service-name $subscription_service_name
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
external-location-summaries-metadatum-summary-collection
|
|
2
|
+
********************************************************
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Description
|
|
6
|
+
===========
|
|
7
|
+
|
|
8
|
+
External location summary information from OCI primitives to any CSP
|
|
9
|
+
across all regions
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Available Commands
|
|
13
|
+
==================
|
|
14
|
+
|
|
15
|
+
* list-external-location-summaries-metadata
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"list-external-location-details-metadata"
|
|
2
|
+
*****************************************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
List externalLocationDetail metadata from OCI to Cloud Service
|
|
21
|
+
Provider for regions, Availability Zones, and Cluster Placement Group
|
|
22
|
+
ID. examples: application-json: | [ {
|
|
23
|
+
“externalLocation”: { “cspRegion”: “East US”,
|
|
24
|
+
“cspPhysicalAz”: “az1-xyz”, “cspPhysicalAzDisplayName”:
|
|
25
|
+
“(US) East US 2”, “cspLogicalAz”: “az1”,
|
|
26
|
+
“serviceName”: “ORACLEDBATAZURE”, “cspZoneKeyReferenceId”:
|
|
27
|
+
{ “keyName”: “AzureSubscriptionId or AwsAccountId,
|
|
28
|
+
GcpProjectName”, “keyValue”: “azure-subscriptionId-1 or
|
|
29
|
+
aws-account-id-1, gcp-project-id-1” } },
|
|
30
|
+
“ociPhysicalAd”: “ad1-xyb”, “ociLogicalAd”: “ad2”,
|
|
31
|
+
“ociRegion”: “us-ashburn-1”, “cpgId”: “cpg-1” },
|
|
32
|
+
{ “externalLocation”: { “cspRegion”: “East US”,
|
|
33
|
+
“cspPhysicalAz”: “az2-abc”, “cspPhysicalAzDisplayName”:
|
|
34
|
+
“(US) East US 2”, “cspLogicalAz”: “az2”,
|
|
35
|
+
“serviceName”: “ORACLEDBATAZURE”, “cspZoneKeyReferenceId”:
|
|
36
|
+
{ “keyName”: “AzureSubscriptionId or AwsAccountId,
|
|
37
|
+
GcpProjectName”, “keyValue”: “azure-subscriptionId-2 or
|
|
38
|
+
aws-account-id-2, gcp-project-id-2” } },
|
|
39
|
+
“ociPhysicalAd”: “ad2-xby”, “ociLogicalAd”: “ad1”,
|
|
40
|
+
“ociRegion”: “us-ashburn-1”, “cpgId”: “cpg-2” },
|
|
41
|
+
{ “externalLocation”: { “cspRegion”: “East US”,
|
|
42
|
+
“cspPhysicalAz”: “az3-abz”, “cspPhysicalAzDisplayName”:
|
|
43
|
+
“(US) East US 2”, “cspLogicalAz”: “az3”,
|
|
44
|
+
“serviceName”: “ORACLEDBATAZURE”, “cspZoneKeyReferenceId”:
|
|
45
|
+
{ “keyName”: “AzureSubscriptionId or AwsAccountId,
|
|
46
|
+
GcpProjectName”, “keyValue”: “azure-subscriptionId-3 or
|
|
47
|
+
aws-account-id-3, gcp-project-id-3” } },
|
|
48
|
+
“ociPhysicalAd”: “ad3-cde”, “ociLogicalAd”: “ad3”,
|
|
49
|
+
“ociRegion”: “us-ashburn-1”, “cpgId”: “cpg-3” },
|
|
50
|
+
{ “externalLocation”: { “cspRegion”: “East US
|
|
51
|
+
2”, “cspPhysicalAz”: “az1-def”,
|
|
52
|
+
“cspPhysicalAzDisplayName”: “(US) East US 2”,
|
|
53
|
+
“cspLogicalAz”: “az1”, “serviceName”: “ORACLEDBATAZURE”,
|
|
54
|
+
“cspZoneKeyReferenceId”: { “keyName”:
|
|
55
|
+
“AzureSubscriptionId or AwsAccountId, GcpProjectName”,
|
|
56
|
+
“keyValue”: “azure-subscriptionId-4 or aws-account-id-4, gcp-project-
|
|
57
|
+
id-4” } }, “ociPhysicalAd”: “ad1-bce”,
|
|
58
|
+
“ociLogicalAd”: “ad2”, “ociRegion”: “us-ashburn-1”,
|
|
59
|
+
“cpgId”: “cpg-4” }, { “externalLocation”: {
|
|
60
|
+
“cspRegion”: “East US 2”, “cspPhysicalAz”: “az2-uvw”,
|
|
61
|
+
“cspPhysicalAzDisplayName”: “(US) East US 2”,
|
|
62
|
+
“cspLogicalAz”: “az2”, “serviceName”: “ORACLEDBATAZURE”,
|
|
63
|
+
“cspZoneKeyReferenceId”: { “keyName”:
|
|
64
|
+
“AzureSubscriptionId or AwsAccountId, GcpProjectName”,
|
|
65
|
+
“keyValue”: “azure-subscriptionId-3 or aws-account-id-3, gcp-project-
|
|
66
|
+
id-3” } }, “ociPhysicalAd”: “ad2-ftc”,
|
|
67
|
+
“ociLogicalAd”: “ad1”, “ociRegion”: “us-ashburn-1”,
|
|
68
|
+
“cpgId”: “cpg-5” }, { “externalLocation”: {
|
|
69
|
+
“cspRegion”: “East US 2”, “cspPhysicalAz”: “az3-uvw”,
|
|
70
|
+
“cspPhysicalAzDisplayName”: “(US) East US 2”,
|
|
71
|
+
“cspLogicalAz”: “az3”, “serviceName”: “ORACLEDBATAZURE”,
|
|
72
|
+
“cspZoneKeyReferenceId”: { “keyName”:
|
|
73
|
+
“AzureSubscriptionId or AwsAccountId, GcpProjectName”,
|
|
74
|
+
“keyValue”: “azure-subscriptionId-3 or aws-account-id-3, gcp-project-
|
|
75
|
+
id-3” } }, “ociPhysicalAd”: “ad3-stc”,
|
|
76
|
+
“ociLogicalAd”: “ad3”, “ociRegion”: “us-ashburn-1”,
|
|
77
|
+
“cpgId”: “cpg-6” } ]
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
Usage
|
|
81
|
+
=====
|
|
82
|
+
|
|
83
|
+
oci multicloud metadata external-locations-metadatum-collection list-external-location-details-metadata [OPTIONS]
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
Required Parameters
|
|
87
|
+
===================
|
|
88
|
+
|
|
89
|
+
--compartment-id, -c [text]
|
|
90
|
+
|
|
91
|
+
The OCID of the compartment in which to list resources.
|
|
92
|
+
|
|
93
|
+
--subscription-id [text]
|
|
94
|
+
|
|
95
|
+
The OCID of the subscription in which to list resources.
|
|
96
|
+
|
|
97
|
+
--subscription-service-name [text]
|
|
98
|
+
|
|
99
|
+
The subscription service name values from [ORACLEDBATAZURE,
|
|
100
|
+
ORACLEDBATGOOGLE, ORACLEDBATAWS]
|
|
101
|
+
|
|
102
|
+
Accepted values are:
|
|
103
|
+
|
|
104
|
+
ORACLEDBATAWS, ORACLEDBATAZURE, ORACLEDBATGOOGLE
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
Optional Parameters
|
|
108
|
+
===================
|
|
109
|
+
|
|
110
|
+
--all
|
|
111
|
+
|
|
112
|
+
Fetches all pages of results. If you provide this option, then you
|
|
113
|
+
cannot provide the "--limit" option.
|
|
114
|
+
|
|
115
|
+
--entity-type [text]
|
|
116
|
+
|
|
117
|
+
The resource type query (i.e. dbsystem, instance etc.)
|
|
118
|
+
|
|
119
|
+
Accepted values are:
|
|
120
|
+
|
|
121
|
+
dbsystem
|
|
122
|
+
|
|
123
|
+
--from-json [text]
|
|
124
|
+
|
|
125
|
+
Provide input to this command as a JSON document from a file using the
|
|
126
|
+
file://path-to/file syntax.
|
|
127
|
+
|
|
128
|
+
The "--generate-full-command-json-input" option can be used to
|
|
129
|
+
generate a sample json file to be used with this command option. The
|
|
130
|
+
key names are pre-populated and match the command option names
|
|
131
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
132
|
+
while the values of the keys need to be populated by the user before
|
|
133
|
+
using the sample file as an input to this command. For any command
|
|
134
|
+
option that accepts multiple values, the value of the key can be a
|
|
135
|
+
JSON array.
|
|
136
|
+
|
|
137
|
+
Options can still be provided on the command line. If an option exists
|
|
138
|
+
in both the JSON document and the command line then the command line
|
|
139
|
+
specified value will be used.
|
|
140
|
+
|
|
141
|
+
For examples on usage of this option, please see our “using CLI with
|
|
142
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
143
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
144
|
+
|
|
145
|
+
--limit [integer]
|
|
146
|
+
|
|
147
|
+
For list pagination. The maximum number of results per page, or items
|
|
148
|
+
to return in a paginated “List” call. For important details about how
|
|
149
|
+
pagination works, see List Pagination.
|
|
150
|
+
|
|
151
|
+
--linked-compartment-id [text]
|
|
152
|
+
|
|
153
|
+
The OCID of the compartment in which linked to Resource.
|
|
154
|
+
|
|
155
|
+
--page [text]
|
|
156
|
+
|
|
157
|
+
For list pagination. The value of the opc-next-page response header
|
|
158
|
+
from the previous “List” call. For important details about how
|
|
159
|
+
pagination works, see List Pagination.
|
|
160
|
+
|
|
161
|
+
--page-size [integer]
|
|
162
|
+
|
|
163
|
+
When fetching results, the number of results to fetch per call. Only
|
|
164
|
+
valid when used with "--all" or "--limit", and ignored otherwise.
|
|
165
|
+
|
|
166
|
+
--sort-by [text]
|
|
167
|
+
|
|
168
|
+
The field to sort by. You can provide only one sort order. Default
|
|
169
|
+
order for *timeCreated* is descending. Default order for *displayName*
|
|
170
|
+
is ascending.
|
|
171
|
+
|
|
172
|
+
Accepted values are:
|
|
173
|
+
|
|
174
|
+
displayName, timeCreated
|
|
175
|
+
|
|
176
|
+
--sort-order [text]
|
|
177
|
+
|
|
178
|
+
The sort order to use, either ascending (*ASC*) or descending
|
|
179
|
+
(*DESC*).
|
|
180
|
+
|
|
181
|
+
Accepted values are:
|
|
182
|
+
|
|
183
|
+
ASC, DESC
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
Global Parameters
|
|
187
|
+
=================
|
|
188
|
+
|
|
189
|
+
Use "oci --help" for help on global parameters.
|
|
190
|
+
|
|
191
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
192
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
193
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
194
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
195
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
196
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
197
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
198
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
Example using required parameter
|
|
202
|
+
================================
|
|
203
|
+
|
|
204
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
205
|
+
command by typing “bash example.sh” and replacing the example
|
|
206
|
+
parameters with your own.
|
|
207
|
+
|
|
208
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
209
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
210
|
+
security policies before trying the examples.
|
|
211
|
+
|
|
212
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/metadata/external-locations-metadatum-collection/list-external-location-details-metadata.html#cmdoption-compartment-id
|
|
213
|
+
export subscription_id=<substitute-value-of-subscription_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/metadata/external-locations-metadatum-collection/list-external-location-details-metadata.html#cmdoption-subscription-id
|
|
214
|
+
export subscription_service_name=<substitute-value-of-subscription_service_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/metadata/external-locations-metadatum-collection/list-external-location-details-metadata.html#cmdoption-subscription-service-name
|
|
215
|
+
|
|
216
|
+
oci multicloud metadata external-locations-metadatum-collection list-external-location-details-metadata --compartment-id $compartment_id --subscription-id $subscription_id --subscription-service-name $subscription_service_name
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
external-locations-metadatum-collection
|
|
2
|
+
***************************************
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Description
|
|
6
|
+
===========
|
|
7
|
+
|
|
8
|
+
External location information from OCI primitives to any CSP
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Available Commands
|
|
12
|
+
==================
|
|
13
|
+
|
|
14
|
+
* list-external-location-details-metadata
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
metadata
|
|
2
|
+
********
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Description
|
|
6
|
+
===========
|
|
7
|
+
|
|
8
|
+
Use the Oracle Multicloud CLI to retrieve resource anchors and network
|
|
9
|
+
anchors, and the metadata mappings related a Cloud Service Provider.
|
|
10
|
+
For more information, see <link to docs>.
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Available Commands
|
|
14
|
+
==================
|
|
15
|
+
|
|
16
|
+
* external-location-mapping-metadatum-summary-collection
|
|
17
|
+
|
|
18
|
+
* list-external-location-mapping-metadata
|
|
19
|
+
|
|
20
|
+
* external-location-summaries-metadatum-summary-collection
|
|
21
|
+
|
|
22
|
+
* list-external-location-summaries-metadata
|
|
23
|
+
|
|
24
|
+
* external-locations-metadatum-collection
|
|
25
|
+
|
|
26
|
+
* list-external-location-details-metadata
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"get"
|
|
2
|
+
*****
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Gets information about multicloud base compartment
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci multicloud multi-clouds-metadata multi-cloud-metadata get [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--compartment-id, -c [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the compartment in which to list resources.
|
|
35
|
+
|
|
36
|
+
--subscription-id [text]
|
|
37
|
+
|
|
38
|
+
The OCID of the OCI subscription.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
Optional Parameters
|
|
42
|
+
===================
|
|
43
|
+
|
|
44
|
+
--from-json [text]
|
|
45
|
+
|
|
46
|
+
Provide input to this command as a JSON document from a file using the
|
|
47
|
+
file://path-to/file syntax.
|
|
48
|
+
|
|
49
|
+
The "--generate-full-command-json-input" option can be used to
|
|
50
|
+
generate a sample json file to be used with this command option. The
|
|
51
|
+
key names are pre-populated and match the command option names
|
|
52
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
53
|
+
while the values of the keys need to be populated by the user before
|
|
54
|
+
using the sample file as an input to this command. For any command
|
|
55
|
+
option that accepts multiple values, the value of the key can be a
|
|
56
|
+
JSON array.
|
|
57
|
+
|
|
58
|
+
Options can still be provided on the command line. If an option exists
|
|
59
|
+
in both the JSON document and the command line then the command line
|
|
60
|
+
specified value will be used.
|
|
61
|
+
|
|
62
|
+
For examples on usage of this option, please see our “using CLI with
|
|
63
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
64
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Global Parameters
|
|
68
|
+
=================
|
|
69
|
+
|
|
70
|
+
Use "oci --help" for help on global parameters.
|
|
71
|
+
|
|
72
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
73
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
74
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
75
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
76
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
77
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
78
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
79
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
Example using required parameter
|
|
83
|
+
================================
|
|
84
|
+
|
|
85
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
86
|
+
command by typing “bash example.sh” and replacing the example
|
|
87
|
+
parameters with your own.
|
|
88
|
+
|
|
89
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
90
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
91
|
+
security policies before trying the examples.
|
|
92
|
+
|
|
93
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata/get.html#cmdoption-compartment-id
|
|
94
|
+
export subscription_id=<substitute-value-of-subscription_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata/get.html#cmdoption-subscription-id
|
|
95
|
+
|
|
96
|
+
oci multicloud multi-clouds-metadata multi-cloud-metadata get --compartment-id $compartment_id --subscription-id $subscription_id
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"list-multi-cloud-metadata"
|
|
2
|
+
***************************
|
|
3
|
+
|
|
4
|
+
* Description
|
|
5
|
+
|
|
6
|
+
* Usage
|
|
7
|
+
|
|
8
|
+
* Required Parameters
|
|
9
|
+
|
|
10
|
+
* Optional Parameters
|
|
11
|
+
|
|
12
|
+
* Global Parameters
|
|
13
|
+
|
|
14
|
+
* Example using required parameter
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Description
|
|
18
|
+
===========
|
|
19
|
+
|
|
20
|
+
Gets a list of multicloud metadata with multicloud base compartment
|
|
21
|
+
and subscription across Cloud Service Providers.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
Usage
|
|
25
|
+
=====
|
|
26
|
+
|
|
27
|
+
oci multicloud multi-clouds-metadata multi-cloud-metadata-collection list-multi-cloud-metadata [OPTIONS]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Required Parameters
|
|
31
|
+
===================
|
|
32
|
+
|
|
33
|
+
--compartment-id, -c [text]
|
|
34
|
+
|
|
35
|
+
The OCID of the compartment in which to list resources.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Optional Parameters
|
|
39
|
+
===================
|
|
40
|
+
|
|
41
|
+
--all
|
|
42
|
+
|
|
43
|
+
Fetches all pages of results. If you provide this option, then you
|
|
44
|
+
cannot provide the "--limit" option.
|
|
45
|
+
|
|
46
|
+
--from-json [text]
|
|
47
|
+
|
|
48
|
+
Provide input to this command as a JSON document from a file using the
|
|
49
|
+
file://path-to/file syntax.
|
|
50
|
+
|
|
51
|
+
The "--generate-full-command-json-input" option can be used to
|
|
52
|
+
generate a sample json file to be used with this command option. The
|
|
53
|
+
key names are pre-populated and match the command option names
|
|
54
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
55
|
+
while the values of the keys need to be populated by the user before
|
|
56
|
+
using the sample file as an input to this command. For any command
|
|
57
|
+
option that accepts multiple values, the value of the key can be a
|
|
58
|
+
JSON array.
|
|
59
|
+
|
|
60
|
+
Options can still be provided on the command line. If an option exists
|
|
61
|
+
in both the JSON document and the command line then the command line
|
|
62
|
+
specified value will be used.
|
|
63
|
+
|
|
64
|
+
For examples on usage of this option, please see our “using CLI with
|
|
65
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
66
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
67
|
+
|
|
68
|
+
--limit [integer]
|
|
69
|
+
|
|
70
|
+
For list pagination. The maximum number of results per page, or items
|
|
71
|
+
to return in a paginated “List” call. For important details about how
|
|
72
|
+
pagination works, see List Pagination.
|
|
73
|
+
|
|
74
|
+
--page [text]
|
|
75
|
+
|
|
76
|
+
For list pagination. The value of the opc-next-page response header
|
|
77
|
+
from the previous “List” call. For important details about how
|
|
78
|
+
pagination works, see List Pagination.
|
|
79
|
+
|
|
80
|
+
--page-size [integer]
|
|
81
|
+
|
|
82
|
+
When fetching results, the number of results to fetch per call. Only
|
|
83
|
+
valid when used with "--all" or "--limit", and ignored otherwise.
|
|
84
|
+
|
|
85
|
+
--sort-by [text]
|
|
86
|
+
|
|
87
|
+
The field to sort by. You can provide only one sort order. Default
|
|
88
|
+
order for *timeCreated* is descending. Default order for *displayName*
|
|
89
|
+
is ascending.
|
|
90
|
+
|
|
91
|
+
Accepted values are:
|
|
92
|
+
|
|
93
|
+
displayName, timeCreated
|
|
94
|
+
|
|
95
|
+
--sort-order [text]
|
|
96
|
+
|
|
97
|
+
The sort order to use, either ascending (*ASC*) or descending
|
|
98
|
+
(*DESC*).
|
|
99
|
+
|
|
100
|
+
Accepted values are:
|
|
101
|
+
|
|
102
|
+
ASC, DESC
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
Global Parameters
|
|
106
|
+
=================
|
|
107
|
+
|
|
108
|
+
Use "oci --help" for help on global parameters.
|
|
109
|
+
|
|
110
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
111
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
112
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
113
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
114
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
115
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
116
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
117
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Example using required parameter
|
|
121
|
+
================================
|
|
122
|
+
|
|
123
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
124
|
+
command by typing “bash example.sh” and replacing the example
|
|
125
|
+
parameters with your own.
|
|
126
|
+
|
|
127
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
128
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
129
|
+
security policies before trying the examples.
|
|
130
|
+
|
|
131
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata-collection/list-multi-cloud-metadata.html#cmdoption-compartment-id
|
|
132
|
+
|
|
133
|
+
oci multicloud multi-clouds-metadata multi-cloud-metadata-collection list-multi-cloud-metadata --compartment-id $compartment_id
|