oci-cli 3.66.1__py3-none-any.whl → 3.66.2__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.
- common_util/ignored_commands.py +2 -1
- oci_cli/bin/jms.psm1 +74 -6
- oci_cli/bin/marketplace.psm1 +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/discovery-job/list-discovery-job-results.txt +13 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-error-summary/list-masking-errors.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-reports.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/mask-data.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-column/list.txt +22 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/service/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra/configure-exascale.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-exa-infra.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/cloud-vm-cluster/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db/exascale-db-storage-vault/list.txt +23 -1
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.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-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +14 -0
- 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/jms/agent-installer-summary/generate-agent-installer-configuration.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/blocklist/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary/list-containers.txt +338 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/container-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/export-setting/update.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/fleet-agent-configuration/update.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/installation-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/create.txt +12 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/jms-plugin/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary/list-library-application-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-application-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory/summarize.txt +284 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-inventory.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary/list-library-managed-instance-usage.txt +332 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/scan.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/library-usage/summarize.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms/managed-instance-usage/summarize.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-add-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-crypto-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-deployed-application-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-java-migration-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-jfr-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-performance-tuning-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-remove-installation-site-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-java-server-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create-task-schedule-scan-library-task-details.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/create.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/delete.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/get.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-add-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-crypto-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-deployed-application-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-java-migration-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-jfr-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-performance-tuning-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-remove-installation-site-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-java-server-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update-task-schedule-scan-library-task-details.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule/update.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/task-schedule.txt +58 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary/list-uncorrelated-package-application-usage.txt +324 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-application-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary/list-uncorrelated-package-managed-instance-usage.txt +324 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-managed-instance-usage-summary.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary/list-uncorrelated-package-usage.txt +323 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/uncorrelated-package-usage-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads/java-license-acceptance-record/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-java-downloads.txt +1 -3
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration/update.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/analyze-applications-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/java-migration-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/delete.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/list.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis/request.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/performance-tuning-analysis.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/get.txt +83 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration/update.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/subscription-acknowledgment-configuration.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary/list-work-items.txt +110 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-item-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error/list.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request-log-entry/list-work-request-logs.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control/work-request → jms-utils}/work-request-log-entry.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms-utils.txt +65 -0
- oci_cli/help_text_producer/data_files/text/cmdref/jms.txt +76 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details/create-marketplace-external-attested-metadata.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/create-marketplace-external-attested-metadata-details.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary/list-marketplace-metadata-public-keys.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace/marketplace-metadata-public-key-summary.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.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/resource-analytics/monitored-region/create.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/monitored-region.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/create.txt +204 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/disable-oac.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/enable-oac.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/list.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance/update.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/resource-analytics-instance.txt +34 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/create.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment/update.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/tenancy-attachment.txt +29 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/resource-analytics.txt +68 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +7 -7
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
- 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 +6 -2
- oci_cli/service_mapping.py +11 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/METADATA +2 -2
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/RECORD +193 -66
- services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +28 -9
- services/database/src/oci_cli_database/database_cli_extended.py +43 -2
- services/database/src/oci_cli_database/generated/database_cli.py +62 -1
- services/jms/src/oci_cli_java_management_service/generated/javamanagementservice_cli.py +4359 -2378
- services/jms_java_downloads/src/oci_cli_java_download/generated/javadownload_cli.py +5 -5
- services/jms_utils/__init__.py +4 -0
- services/jms_utils/src/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/__init__.py +4 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/client_mappings.py +14 -0
- services/jms_utils/src/oci_cli_jms_utils/generated/jmsutils_cli.py +812 -0
- services/jms_utils/tests/__init__.py +4 -0
- services/marketplace/src/oci_cli_marketplace/generated/marketplace_cli.py +94 -0
- services/resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_monitored_region/generated/monitoredregion_cli.py +233 -0
- services/resource_analytics/src/oci_cli_monitored_region/monitored_region_cli_extended.py +39 -0
- services/resource_analytics/src/oci_cli_resource_analytics/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics/generated/resource_analytics_service_cli.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/generated/resourceanalyticsinstance_cli.py +968 -0
- services/resource_analytics/src/oci_cli_resource_analytics_instance/resource_analytics_instance_cli_extended.py +40 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/__init__.py +4 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/client_mappings.py +14 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/generated/tenancyattachment_cli.py +298 -0
- services/resource_analytics/src/oci_cli_tenancy_attachment/tenancy_attachment_cli_extended.py +39 -0
- services/resource_analytics/tests/__init__.py +4 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.66.1.dist-info → oci_cli-3.66.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"change-compartment"
|
|
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
|
+
Moves a ResourceAnalyticsInstance into a different compartment within
|
|
21
|
+
the same tenancy. For information about moving resources between
|
|
22
|
+
compartments, see Moving Resources to a Different Compartment.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Usage
|
|
26
|
+
=====
|
|
27
|
+
|
|
28
|
+
oci resource-analytics resource-analytics-instance change-compartment [OPTIONS]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Required Parameters
|
|
32
|
+
===================
|
|
33
|
+
|
|
34
|
+
--compartment-id, -c [text]
|
|
35
|
+
|
|
36
|
+
The OCID of the compartment to move the ResourceAnalyticsInstance to.
|
|
37
|
+
|
|
38
|
+
--resource-analytics-instance-id [text]
|
|
39
|
+
|
|
40
|
+
The OCID of the ResourceAnalyticsInstance.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Optional Parameters
|
|
44
|
+
===================
|
|
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
|
+
--if-match [text]
|
|
69
|
+
|
|
70
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
71
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
72
|
+
previous GET or POST response for that resource. The resource will be
|
|
73
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
74
|
+
current etag value.
|
|
75
|
+
|
|
76
|
+
--max-wait-seconds [integer]
|
|
77
|
+
|
|
78
|
+
The maximum time to wait for the work request to reach the state
|
|
79
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
80
|
+
|
|
81
|
+
--wait-for-state [text]
|
|
82
|
+
|
|
83
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
84
|
+
and uses a work request to track the progress of the operation.
|
|
85
|
+
Specify this option to perform the action and then wait until the work
|
|
86
|
+
request reaches a certain state. Multiple states can be specified,
|
|
87
|
+
returning on the first state. For example, "--wait-for-state"
|
|
88
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
89
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
90
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
91
|
+
|
|
92
|
+
Accepted values are:
|
|
93
|
+
|
|
94
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
95
|
+
|
|
96
|
+
--wait-interval-seconds [integer]
|
|
97
|
+
|
|
98
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
99
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
100
|
+
seconds.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Global Parameters
|
|
104
|
+
=================
|
|
105
|
+
|
|
106
|
+
Use "oci --help" for help on global parameters.
|
|
107
|
+
|
|
108
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
109
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
110
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
111
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
112
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
113
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
114
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
115
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
Example using required parameter
|
|
119
|
+
================================
|
|
120
|
+
|
|
121
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
122
|
+
command by typing “bash example.sh” and replacing the example
|
|
123
|
+
parameters with your own.
|
|
124
|
+
|
|
125
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
126
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
127
|
+
security policies before trying the examples.
|
|
128
|
+
|
|
129
|
+
export adw_admin_password_secret_id=<substitute-value-of-adw_admin_password_secret_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-adw-admin-password-secret-id
|
|
130
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-compartment-id
|
|
131
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-subnet-id
|
|
132
|
+
|
|
133
|
+
resource_analytics_instance_id=$(oci resource-analytics resource-analytics-instance create --adw-admin-password-secret-id $adw_admin_password_secret_id --compartment-id $compartment_id --subnet-id $subnet_id --query data.id --raw-output)
|
|
134
|
+
|
|
135
|
+
oci resource-analytics resource-analytics-instance change-compartment --compartment-id $compartment_id --resource-analytics-instance-id $resource_analytics_instance_id
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"create"
|
|
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
|
+
Creates a ResourceAnalyticsInstance.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci resource-analytics resource-analytics-instance create [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--adw-admin-password-secret-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the vault secret to use as the ADW admin password.
|
|
35
|
+
|
|
36
|
+
--compartment-id, -c [text]
|
|
37
|
+
|
|
38
|
+
The OCID of the compartment to create the ResourceAnalyticsInstance
|
|
39
|
+
in.
|
|
40
|
+
|
|
41
|
+
--subnet-id [text]
|
|
42
|
+
|
|
43
|
+
The OCID of the subnet the resource is associated with.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
Optional Parameters
|
|
47
|
+
===================
|
|
48
|
+
|
|
49
|
+
--defined-tags [complex type]
|
|
50
|
+
|
|
51
|
+
Defined tags for this resource. Each key is predefined and scoped to a
|
|
52
|
+
namespace. For more information, see Resource Tags.
|
|
53
|
+
|
|
54
|
+
Example:
|
|
55
|
+
|
|
56
|
+
{"Operations": {"CostCenter": "42"}}
|
|
57
|
+
|
|
58
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
59
|
+
be provided as a string on the command line or passed in as a file
|
|
60
|
+
using the file://path/to/file syntax.
|
|
61
|
+
|
|
62
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
63
|
+
example of the JSON which must be provided. We recommend storing this
|
|
64
|
+
example in a file, modifying it as needed and then passing it back in
|
|
65
|
+
via the file:// syntax.
|
|
66
|
+
|
|
67
|
+
--description [text]
|
|
68
|
+
|
|
69
|
+
A description of the ResourceAnalyticsInstance instance.
|
|
70
|
+
|
|
71
|
+
--display-name [text]
|
|
72
|
+
|
|
73
|
+
A user-friendly name. Does not have to be unique, and it’s changeable.
|
|
74
|
+
Avoid entering confidential information.
|
|
75
|
+
|
|
76
|
+
--freeform-tags [complex type]
|
|
77
|
+
|
|
78
|
+
Free-form tags for this resource. Each tag is a simple key-value pair
|
|
79
|
+
with no predefined name, type, or namespace. For more information, see
|
|
80
|
+
Resource Tags.
|
|
81
|
+
|
|
82
|
+
Example:
|
|
83
|
+
|
|
84
|
+
{"Department": "Finance"}
|
|
85
|
+
|
|
86
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
87
|
+
be provided as a string on the command line or passed in as a file
|
|
88
|
+
using the file://path/to/file syntax.
|
|
89
|
+
|
|
90
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
91
|
+
example of the JSON which must be provided. We recommend storing this
|
|
92
|
+
example in a file, modifying it as needed and then passing it back in
|
|
93
|
+
via the file:// syntax.
|
|
94
|
+
|
|
95
|
+
--from-json [text]
|
|
96
|
+
|
|
97
|
+
Provide input to this command as a JSON document from a file using the
|
|
98
|
+
file://path-to/file syntax.
|
|
99
|
+
|
|
100
|
+
The "--generate-full-command-json-input" option can be used to
|
|
101
|
+
generate a sample json file to be used with this command option. The
|
|
102
|
+
key names are pre-populated and match the command option names
|
|
103
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
104
|
+
while the values of the keys need to be populated by the user before
|
|
105
|
+
using the sample file as an input to this command. For any command
|
|
106
|
+
option that accepts multiple values, the value of the key can be a
|
|
107
|
+
JSON array.
|
|
108
|
+
|
|
109
|
+
Options can still be provided on the command line. If an option exists
|
|
110
|
+
in both the JSON document and the command line then the command line
|
|
111
|
+
specified value will be used.
|
|
112
|
+
|
|
113
|
+
For examples on usage of this option, please see our “using CLI with
|
|
114
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
115
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
116
|
+
|
|
117
|
+
--is-mutual-tls-required [boolean]
|
|
118
|
+
|
|
119
|
+
Require mutual TLS (mTLS) when authenticating connections to the ADW
|
|
120
|
+
database.
|
|
121
|
+
|
|
122
|
+
--license-model [text]
|
|
123
|
+
|
|
124
|
+
The Oracle license model that applies to the ADW instance.
|
|
125
|
+
|
|
126
|
+
Accepted values are:
|
|
127
|
+
|
|
128
|
+
BRING_YOUR_OWN_LICENSE, LICENSE_INCLUDED
|
|
129
|
+
|
|
130
|
+
--max-wait-seconds [integer]
|
|
131
|
+
|
|
132
|
+
The maximum time to wait for the work request to reach the state
|
|
133
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
134
|
+
|
|
135
|
+
--nsg-ids [complex type]
|
|
136
|
+
|
|
137
|
+
List of Network Security Group OCID’s.
|
|
138
|
+
|
|
139
|
+
Example:
|
|
140
|
+
|
|
141
|
+
["ocid...", "ocid..."]
|
|
142
|
+
|
|
143
|
+
This is a complex type whose value must be valid JSON. The value can
|
|
144
|
+
be provided as a string on the command line or passed in as a file
|
|
145
|
+
using the file://path/to/file syntax.
|
|
146
|
+
|
|
147
|
+
The "--generate-param-json-input" option can be used to generate an
|
|
148
|
+
example of the JSON which must be provided. We recommend storing this
|
|
149
|
+
example in a file, modifying it as needed and then passing it back in
|
|
150
|
+
via the file:// syntax.
|
|
151
|
+
|
|
152
|
+
--wait-for-state [text]
|
|
153
|
+
|
|
154
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
155
|
+
and uses a work request to track the progress of the operation.
|
|
156
|
+
Specify this option to perform the action and then wait until the work
|
|
157
|
+
request reaches a certain state. Multiple states can be specified,
|
|
158
|
+
returning on the first state. For example, "--wait-for-state"
|
|
159
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
160
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
161
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
162
|
+
|
|
163
|
+
Accepted values are:
|
|
164
|
+
|
|
165
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
166
|
+
|
|
167
|
+
--wait-interval-seconds [integer]
|
|
168
|
+
|
|
169
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
170
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
171
|
+
seconds.
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
Global Parameters
|
|
175
|
+
=================
|
|
176
|
+
|
|
177
|
+
Use "oci --help" for help on global parameters.
|
|
178
|
+
|
|
179
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
180
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
181
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
182
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
183
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
184
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
185
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
186
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
Example using required parameter
|
|
190
|
+
================================
|
|
191
|
+
|
|
192
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
193
|
+
command by typing “bash example.sh” and replacing the example
|
|
194
|
+
parameters with your own.
|
|
195
|
+
|
|
196
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
197
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
198
|
+
security policies before trying the examples.
|
|
199
|
+
|
|
200
|
+
export adw_admin_password_secret_id=<substitute-value-of-adw_admin_password_secret_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-adw-admin-password-secret-id
|
|
201
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-compartment-id
|
|
202
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-subnet-id
|
|
203
|
+
|
|
204
|
+
oci resource-analytics resource-analytics-instance create --adw-admin-password-secret-id $adw_admin_password_secret_id --compartment-id $compartment_id --subnet-id $subnet_id
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"delete"
|
|
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
|
+
Deletes a ResourceAnalyticsInstance.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci resource-analytics resource-analytics-instance delete [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--resource-analytics-instance-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the ResourceAnalyticsInstance.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--force
|
|
41
|
+
|
|
42
|
+
Perform deletion without prompting for confirmation.
|
|
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
|
+
--if-match [text]
|
|
67
|
+
|
|
68
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
69
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
70
|
+
previous GET or POST response for that resource. The resource will be
|
|
71
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
72
|
+
current etag value.
|
|
73
|
+
|
|
74
|
+
--max-wait-seconds [integer]
|
|
75
|
+
|
|
76
|
+
The maximum time to wait for the work request to reach the state
|
|
77
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
78
|
+
|
|
79
|
+
--wait-for-state [text]
|
|
80
|
+
|
|
81
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
82
|
+
and uses a work request to track the progress of the operation.
|
|
83
|
+
Specify this option to perform the action and then wait until the work
|
|
84
|
+
request reaches a certain state. Multiple states can be specified,
|
|
85
|
+
returning on the first state. For example, "--wait-for-state"
|
|
86
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
87
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
88
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
89
|
+
|
|
90
|
+
Accepted values are:
|
|
91
|
+
|
|
92
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
93
|
+
|
|
94
|
+
--wait-interval-seconds [integer]
|
|
95
|
+
|
|
96
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
97
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
98
|
+
seconds.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
Global Parameters
|
|
102
|
+
=================
|
|
103
|
+
|
|
104
|
+
Use "oci --help" for help on global parameters.
|
|
105
|
+
|
|
106
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
107
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
108
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
109
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
110
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
111
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
112
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
113
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
Example using required parameter
|
|
117
|
+
================================
|
|
118
|
+
|
|
119
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
120
|
+
command by typing “bash example.sh” and replacing the example
|
|
121
|
+
parameters with your own.
|
|
122
|
+
|
|
123
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
124
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
125
|
+
security policies before trying the examples.
|
|
126
|
+
|
|
127
|
+
export adw_admin_password_secret_id=<substitute-value-of-adw_admin_password_secret_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-adw-admin-password-secret-id
|
|
128
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-compartment-id
|
|
129
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-subnet-id
|
|
130
|
+
|
|
131
|
+
resource_analytics_instance_id=$(oci resource-analytics resource-analytics-instance create --adw-admin-password-secret-id $adw_admin_password_secret_id --compartment-id $compartment_id --subnet-id $subnet_id --query data.id --raw-output)
|
|
132
|
+
|
|
133
|
+
oci resource-analytics resource-analytics-instance delete --resource-analytics-instance-id $resource_analytics_instance_id
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"disable-oac"
|
|
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
|
+
Disable an OAC instance for a ResourceAnalyticsInstance.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Usage
|
|
24
|
+
=====
|
|
25
|
+
|
|
26
|
+
oci resource-analytics resource-analytics-instance disable-oac [OPTIONS]
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
Required Parameters
|
|
30
|
+
===================
|
|
31
|
+
|
|
32
|
+
--resource-analytics-instance-id [text]
|
|
33
|
+
|
|
34
|
+
The OCID of the ResourceAnalyticsInstance.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Optional Parameters
|
|
38
|
+
===================
|
|
39
|
+
|
|
40
|
+
--from-json [text]
|
|
41
|
+
|
|
42
|
+
Provide input to this command as a JSON document from a file using the
|
|
43
|
+
file://path-to/file syntax.
|
|
44
|
+
|
|
45
|
+
The "--generate-full-command-json-input" option can be used to
|
|
46
|
+
generate a sample json file to be used with this command option. The
|
|
47
|
+
key names are pre-populated and match the command option names
|
|
48
|
+
(converted to camelCase format, e.g. compartment-id –> compartmentId),
|
|
49
|
+
while the values of the keys need to be populated by the user before
|
|
50
|
+
using the sample file as an input to this command. For any command
|
|
51
|
+
option that accepts multiple values, the value of the key can be a
|
|
52
|
+
JSON array.
|
|
53
|
+
|
|
54
|
+
Options can still be provided on the command line. If an option exists
|
|
55
|
+
in both the JSON document and the command line then the command line
|
|
56
|
+
specified value will be used.
|
|
57
|
+
|
|
58
|
+
For examples on usage of this option, please see our “using CLI with
|
|
59
|
+
advanced JSON options” link: https://docs.cloud.oracle.com/iaas/Conte
|
|
60
|
+
nt/API/SDKDocs/cliusing.htm#AdvancedJSONOptions
|
|
61
|
+
|
|
62
|
+
--if-match [text]
|
|
63
|
+
|
|
64
|
+
For optimistic concurrency control. In the PUT or DELETE call for a
|
|
65
|
+
resource, set the *if-match* parameter to the value of the etag from a
|
|
66
|
+
previous GET or POST response for that resource. The resource will be
|
|
67
|
+
updated or deleted only if the etag you provide matches the resource’s
|
|
68
|
+
current etag value.
|
|
69
|
+
|
|
70
|
+
--max-wait-seconds [integer]
|
|
71
|
+
|
|
72
|
+
The maximum time to wait for the work request to reach the state
|
|
73
|
+
defined by "--wait-for-state". Defaults to 1200 seconds.
|
|
74
|
+
|
|
75
|
+
--wait-for-state [text]
|
|
76
|
+
|
|
77
|
+
This operation asynchronously creates, modifies or deletes a resource
|
|
78
|
+
and uses a work request to track the progress of the operation.
|
|
79
|
+
Specify this option to perform the action and then wait until the work
|
|
80
|
+
request reaches a certain state. Multiple states can be specified,
|
|
81
|
+
returning on the first state. For example, "--wait-for-state"
|
|
82
|
+
SUCCEEDED "--wait-for-state" FAILED would return on whichever
|
|
83
|
+
lifecycle state is reached first. If timeout is reached, a return code
|
|
84
|
+
of 2 is returned. For any other error, a return code of 1 is returned.
|
|
85
|
+
|
|
86
|
+
Accepted values are:
|
|
87
|
+
|
|
88
|
+
ACCEPTED, CANCELED, CANCELING, FAILED, IN_PROGRESS, NEEDS_ATTENTION, SUCCEEDED, WAITING
|
|
89
|
+
|
|
90
|
+
--wait-interval-seconds [integer]
|
|
91
|
+
|
|
92
|
+
Check every "--wait-interval-seconds" to see whether the work request
|
|
93
|
+
has reached the state defined by "--wait-for-state". Defaults to 30
|
|
94
|
+
seconds.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Global Parameters
|
|
98
|
+
=================
|
|
99
|
+
|
|
100
|
+
Use "oci --help" for help on global parameters.
|
|
101
|
+
|
|
102
|
+
"--auth-purpose", "--auth", "--cert-bundle", "--cli-auto-prompt", "--
|
|
103
|
+
cli-rc-file", "--config-file", "--connection-timeout", "--debug", "--
|
|
104
|
+
defaults-file", "--endpoint", "--generate-full-command-json-input", "
|
|
105
|
+
--generate-param-json-input", "--help", "--latest-version", "--max-
|
|
106
|
+
retries", "--no-retry", "--opc-client-request-id", "--opc-request-id",
|
|
107
|
+
"--output", "--profile", "--proxy", "--query", "--raw-output", "--
|
|
108
|
+
read-timeout", "--realm-specific-endpoint", "--region", "--release-
|
|
109
|
+
info", "--request-id", "--version", "-?", "-d", "-h", "-i", "-v"
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
Example using required parameter
|
|
113
|
+
================================
|
|
114
|
+
|
|
115
|
+
Copy the following CLI commands into a file named example.sh. Run the
|
|
116
|
+
command by typing “bash example.sh” and replacing the example
|
|
117
|
+
parameters with your own.
|
|
118
|
+
|
|
119
|
+
Please note this sample will only work in the POSIX-compliant bash-
|
|
120
|
+
like shell. You need to set up the OCI configuration and appropriate
|
|
121
|
+
security policies before trying the examples.
|
|
122
|
+
|
|
123
|
+
export adw_admin_password_secret_id=<substitute-value-of-adw_admin_password_secret_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-adw-admin-password-secret-id
|
|
124
|
+
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-compartment-id
|
|
125
|
+
export subnet_id=<substitute-value-of-subnet_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/resource-analytics/resource-analytics-instance/create.html#cmdoption-subnet-id
|
|
126
|
+
|
|
127
|
+
resource_analytics_instance_id=$(oci resource-analytics resource-analytics-instance create --adw-admin-password-secret-id $adw_admin_password_secret_id --compartment-id $compartment_id --subnet-id $subnet_id --query data.id --raw-output)
|
|
128
|
+
|
|
129
|
+
oci resource-analytics resource-analytics-instance disable-oac --resource-analytics-instance-id $resource_analytics_instance_id
|