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
|
@@ -10678,7 +10678,7 @@ def get_compatible_formats_for_sensitive_types(ctx, from_json, compartment_id, c
|
|
|
10678
10678
|
|
|
10679
10679
|
|
|
10680
10680
|
@data_safe_configuration_group.command(name=cli_util.override('data_safe.get_data_safe_configuration.command_name', 'get'), help=u"""Gets the details of the Data Safe configuration. \n[Command Reference](getDataSafeConfiguration)""")
|
|
10681
|
-
@cli_util.option('--compartment-id', help=u"""A filter to return
|
|
10681
|
+
@cli_util.option('--compartment-id', help=u"""A filter to return the Data Safe configuration for the specified tenancy OCID.""")
|
|
10682
10682
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
10683
10683
|
@cli_util.help_option
|
|
10684
10684
|
@click.pass_context
|
|
@@ -13690,7 +13690,8 @@ def list_discovery_analytics(ctx, from_json, all_pages, page_size, compartment_i
|
|
|
13690
13690
|
@cli_util.option('--object-name', multiple=True, help=u"""A filter to return only items related to a specific object name.""")
|
|
13691
13691
|
@cli_util.option('--column-name', multiple=True, help=u"""A filter to return only a specific column based on column name.""")
|
|
13692
13692
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (ASC) or descending (DESC).""")
|
|
13693
|
-
@cli_util.option('--
|
|
13693
|
+
@cli_util.option('--confidence-level', type=custom_types.CliCaseInsensitiveChoice(["NONE", "HIGH", "MEDIUM", "LOW"]), multiple=True, help=u"""A filter to return the discovery job results with the specified confidence level. Confidence level of discovery job result associated with a seeded sensitive type can either be HIGH or LOW. While the confidence level of discovery job result associated with a user defined sensitive will be NONE.""")
|
|
13694
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["discoveryType", "timeFinished", "schemaName", "objectName", "columnName", "plannedAction", "confidenceLevel"]), help=u"""The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for timeFinished is descending. The default order for discoveryType, schemaName, objectName, columnName and plannedAction is ascending.""")
|
|
13694
13695
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
13695
13696
|
@cli_util.option('--page', help=u"""For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
13696
13697
|
@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.""")
|
|
@@ -13700,7 +13701,7 @@ def list_discovery_analytics(ctx, from_json, all_pages, page_size, compartment_i
|
|
|
13700
13701
|
@click.pass_context
|
|
13701
13702
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'schema-name': {'module': 'data_safe', 'class': 'list[string]'}, 'object-name': {'module': 'data_safe', 'class': 'list[string]'}, 'column-name': {'module': 'data_safe', 'class': 'list[string]'}}, output_type={'module': 'data_safe', 'class': 'DiscoveryJobResultCollection'})
|
|
13702
13703
|
@cli_util.wrap_exceptions
|
|
13703
|
-
def list_discovery_job_results(ctx, from_json, all_pages, page_size, discovery_job_id, discovery_type, planned_action, is_result_applied, schema_name, object_name, column_name, sort_order, sort_by, limit, page):
|
|
13704
|
+
def list_discovery_job_results(ctx, from_json, all_pages, page_size, discovery_job_id, discovery_type, planned_action, is_result_applied, schema_name, object_name, column_name, sort_order, confidence_level, sort_by, limit, page):
|
|
13704
13705
|
|
|
13705
13706
|
if all_pages and limit:
|
|
13706
13707
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -13723,6 +13724,8 @@ def list_discovery_job_results(ctx, from_json, all_pages, page_size, discovery_j
|
|
|
13723
13724
|
kwargs['column_name'] = column_name
|
|
13724
13725
|
if sort_order is not None:
|
|
13725
13726
|
kwargs['sort_order'] = sort_order
|
|
13727
|
+
if confidence_level is not None and len(confidence_level) > 0:
|
|
13728
|
+
kwargs['confidence_level'] = confidence_level
|
|
13726
13729
|
if sort_by is not None:
|
|
13727
13730
|
kwargs['sort_by'] = sort_by
|
|
13728
13731
|
if limit is not None:
|
|
@@ -13935,6 +13938,7 @@ def list_finding_analytics(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
13935
13938
|
@cli_util.option('--contains-references', type=custom_types.CliCaseInsensitiveChoice(["STIG", "CIS", "GDPR"]), multiple=True, help=u"""An optional filter to return only findings that match the specified references. Use containsReferences param if need to filter by multiple references.""")
|
|
13936
13939
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
13937
13940
|
@cli_util.option('--page', help=u"""For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
13941
|
+
@cli_util.option('--compartment-id', help=u"""A filter to return only resources that match the specified compartment OCID.""")
|
|
13938
13942
|
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.""")
|
|
13939
13943
|
@cli_util.option('--access-level', type=custom_types.CliCaseInsensitiveChoice(["RESTRICTED", "ACCESSIBLE"]), help=u"""Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.""")
|
|
13940
13944
|
@cli_util.option('--target-id', help=u"""A filter to return only items related to a specific target OCID.""")
|
|
@@ -13955,7 +13959,7 @@ Supported fields: severity findingKey reference targetId isTopFinding title cate
|
|
|
13955
13959
|
@click.pass_context
|
|
13956
13960
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'target-ids': {'module': 'data_safe', 'class': 'list[string]'}}, output_type={'module': 'data_safe', 'class': 'list[FindingSummary]'})
|
|
13957
13961
|
@cli_util.wrap_exceptions
|
|
13958
|
-
def list_findings(ctx, from_json, all_pages, page_size, security_assessment_id, is_top_finding, severity, contains_severity, category, lifecycle_state, references, contains_references, limit, page, compartment_id_in_subtree, access_level, target_id, target_ids, scim_query, field, sort_by, sort_order, finding_key):
|
|
13962
|
+
def list_findings(ctx, from_json, all_pages, page_size, security_assessment_id, is_top_finding, severity, contains_severity, category, lifecycle_state, references, contains_references, limit, page, compartment_id, compartment_id_in_subtree, access_level, target_id, target_ids, scim_query, field, sort_by, sort_order, finding_key):
|
|
13959
13963
|
|
|
13960
13964
|
if all_pages and limit:
|
|
13961
13965
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -13982,6 +13986,8 @@ def list_findings(ctx, from_json, all_pages, page_size, security_assessment_id,
|
|
|
13982
13986
|
kwargs['limit'] = limit
|
|
13983
13987
|
if page is not None:
|
|
13984
13988
|
kwargs['page'] = page
|
|
13989
|
+
if compartment_id is not None:
|
|
13990
|
+
kwargs['compartment_id'] = compartment_id
|
|
13985
13991
|
if compartment_id_in_subtree is not None:
|
|
13986
13992
|
kwargs['compartment_id_in_subtree'] = compartment_id_in_subtree
|
|
13987
13993
|
if access_level is not None:
|
|
@@ -14588,7 +14594,7 @@ def list_masking_columns(ctx, from_json, all_pages, page_size, masking_policy_id
|
|
|
14588
14594
|
|
|
14589
14595
|
@masking_error_summary_group.command(name=cli_util.override('data_safe.list_masking_errors.command_name', 'list-masking-errors'), help=u"""Gets a list of masking errors in a masking run based on the specified query parameters. \n[Command Reference](listMaskingErrors)""")
|
|
14590
14596
|
@cli_util.option('--masking-report-id', required=True, help=u"""The OCID of the masking report.""")
|
|
14591
|
-
@cli_util.option('--step-name', type=custom_types.CliCaseInsensitiveChoice(["EXECUTE_MASKING", "PRE_MASKING", "POST_MASKING"]), help=u"""A filter to return only masking errors that match the specified step name.""")
|
|
14597
|
+
@cli_util.option('--step-name', type=custom_types.CliCaseInsensitiveChoice(["VALIDATE", "GENERATE_SCRIPT", "EXECUTE_MASKING", "PRE_MASKING", "POST_MASKING"]), help=u"""A filter to return only masking errors that match the specified step name.""")
|
|
14592
14598
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["stepName", "timeCreated"]), help=u"""The field to sort by. The default order will be ascending.""")
|
|
14593
14599
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
14594
14600
|
@cli_util.option('--page', help=u"""For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
@@ -15007,6 +15013,7 @@ def list_masking_policy_referential_relations(ctx, from_json, all_pages, page_si
|
|
|
15007
15013
|
@cli_util.option('--page', help=u"""For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
15008
15014
|
@cli_util.option('--masking-policy-id', help=u"""A filter to return only the resources that match the specified masking policy OCID.""")
|
|
15009
15015
|
@cli_util.option('--target-id', help=u"""A filter to return only items related to a specific target OCID.""")
|
|
15016
|
+
@cli_util.option('--target-database-group-id', help=u"""A filter to return the target database group that matches the specified OCID.""")
|
|
15010
15017
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (ASC) or descending (DESC).""")
|
|
15011
15018
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeMaskingFinished"]), help=u"""The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for timeMaskingFinished is descending.""")
|
|
15012
15019
|
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.""")
|
|
@@ -15018,7 +15025,7 @@ def list_masking_policy_referential_relations(ctx, from_json, all_pages, page_si
|
|
|
15018
15025
|
@click.pass_context
|
|
15019
15026
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'data_safe', 'class': 'MaskingReportCollection'})
|
|
15020
15027
|
@cli_util.wrap_exceptions
|
|
15021
|
-
def list_masking_reports(ctx, from_json, all_pages, page_size, compartment_id, limit, page, masking_policy_id, target_id, sort_order, sort_by, compartment_id_in_subtree, access_level):
|
|
15028
|
+
def list_masking_reports(ctx, from_json, all_pages, page_size, compartment_id, limit, page, masking_policy_id, target_id, target_database_group_id, sort_order, sort_by, compartment_id_in_subtree, access_level):
|
|
15022
15029
|
|
|
15023
15030
|
if all_pages and limit:
|
|
15024
15031
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -15032,6 +15039,8 @@ def list_masking_reports(ctx, from_json, all_pages, page_size, compartment_id, l
|
|
|
15032
15039
|
kwargs['masking_policy_id'] = masking_policy_id
|
|
15033
15040
|
if target_id is not None:
|
|
15034
15041
|
kwargs['target_id'] = target_id
|
|
15042
|
+
if target_database_group_id is not None:
|
|
15043
|
+
kwargs['target_database_group_id'] = target_database_group_id
|
|
15035
15044
|
if sort_order is not None:
|
|
15036
15045
|
kwargs['sort_order'] = sort_order
|
|
15037
15046
|
if sort_by is not None:
|
|
@@ -16711,6 +16720,8 @@ def list_sensitive_column_analytics(ctx, from_json, all_pages, page_size, compar
|
|
|
16711
16720
|
@cli_util.option('--time-updated-greater-than-or-equal-to', type=custom_types.CLI_DATETIME, help=u"""Search for resources that were updated after a specific date. Specifying this parameter corresponding `timeUpdatedGreaterThanOrEqualTo` parameter will retrieve all resources updated after the specified created date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as defined by RFC 3339.""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
16712
16721
|
@cli_util.option('--time-updated-less-than', type=custom_types.CLI_DATETIME, help=u"""Search for resources that were updated before a specific date. Specifying this parameter corresponding `timeUpdatedLessThan` parameter will retrieve all resources updated before the specified created date, in \"YYYY-MM-ddThh:mmZ\" format with a Z offset, as defined by RFC 3339.""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
16713
16722
|
@cli_util.option('--sensitive-column-lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"]), help=u"""Filters the sensitive column resources with the given lifecycle state values.""")
|
|
16723
|
+
@cli_util.option('--column-data-count-filter', type=custom_types.CliCaseInsensitiveChoice(["SHOW_ALL_COLUMNS", "SHOW_COLUMNS_WITH_DATA", "SHOW_COLUMNS_WITHOUT_DATA"]), help=u"""Filters the sensitive columns with respect to the estimated row count.""")
|
|
16724
|
+
@cli_util.option('--confidence-level', type=custom_types.CliCaseInsensitiveChoice(["NONE", "HIGH", "MEDIUM", "LOW"]), multiple=True, help=u"""A filter to return the sensitive columns with the specified confidence level. Confidence level of sensitive column associated with a seeded sensitive type can either be HIGH or LOW. While the confidence level of sensitive column associated with a user defined sensitive will be NONE. For sensitive columns added manually the confidence level will also be NONE.""")
|
|
16714
16725
|
@cli_util.option('--schema-name', multiple=True, help=u"""A filter to return only items related to specific schema name.""")
|
|
16715
16726
|
@cli_util.option('--object-name', multiple=True, help=u"""A filter to return only items related to a specific object name.""")
|
|
16716
16727
|
@cli_util.option('--column-name', multiple=True, help=u"""A filter to return only a specific column based on column name.""")
|
|
@@ -16724,7 +16735,7 @@ def list_sensitive_column_analytics(ctx, from_json, all_pages, page_size, compar
|
|
|
16724
16735
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
16725
16736
|
@cli_util.option('--page', help=u"""For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination].""")
|
|
16726
16737
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (ASC) or descending (DESC).""")
|
|
16727
|
-
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "schemaName", "objectName", "columnName", "dataType"]), help=u"""The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for timeCreated is descending. The default order for schemaName, objectName, and columnName is ascending.""")
|
|
16738
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "schemaName", "objectName", "columnName", "dataType", "confidenceLevel"]), help=u"""The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for timeCreated is descending. The default order for schemaName, objectName, and columnName is ascending.""")
|
|
16728
16739
|
@cli_util.option('--is-case-in-sensitive', type=click.BOOL, help=u"""A boolean flag indicating whether the search should be case-insensitive. The search is case-sensitive by default. Set this parameter to true to do case-insensitive search.""")
|
|
16729
16740
|
@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.""")
|
|
16730
16741
|
@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.""")
|
|
@@ -16733,7 +16744,7 @@ def list_sensitive_column_analytics(ctx, from_json, all_pages, page_size, compar
|
|
|
16733
16744
|
@click.pass_context
|
|
16734
16745
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'schema-name': {'module': 'data_safe', 'class': 'list[string]'}, 'object-name': {'module': 'data_safe', 'class': 'list[string]'}, 'column-name': {'module': 'data_safe', 'class': 'list[string]'}, 'data-type': {'module': 'data_safe', 'class': 'list[string]'}, 'sensitive-type-id': {'module': 'data_safe', 'class': 'list[string]'}, 'parent-column-key': {'module': 'data_safe', 'class': 'list[string]'}}, output_type={'module': 'data_safe', 'class': 'SensitiveColumnCollection'})
|
|
16735
16746
|
@cli_util.wrap_exceptions
|
|
16736
|
-
def list_sensitive_columns(ctx, from_json, all_pages, page_size, sensitive_data_model_id, time_created_greater_than_or_equal_to, time_created_less_than, time_updated_greater_than_or_equal_to, time_updated_less_than, sensitive_column_lifecycle_state, schema_name, object_name, column_name, object_type, data_type, status, sensitive_type_id, parent_column_key, relation_type, column_group, limit, page, sort_order, sort_by, is_case_in_sensitive):
|
|
16747
|
+
def list_sensitive_columns(ctx, from_json, all_pages, page_size, sensitive_data_model_id, time_created_greater_than_or_equal_to, time_created_less_than, time_updated_greater_than_or_equal_to, time_updated_less_than, sensitive_column_lifecycle_state, column_data_count_filter, confidence_level, schema_name, object_name, column_name, object_type, data_type, status, sensitive_type_id, parent_column_key, relation_type, column_group, limit, page, sort_order, sort_by, is_case_in_sensitive):
|
|
16737
16748
|
|
|
16738
16749
|
if all_pages and limit:
|
|
16739
16750
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -16752,6 +16763,10 @@ def list_sensitive_columns(ctx, from_json, all_pages, page_size, sensitive_data_
|
|
|
16752
16763
|
kwargs['time_updated_less_than'] = time_updated_less_than
|
|
16753
16764
|
if sensitive_column_lifecycle_state is not None:
|
|
16754
16765
|
kwargs['sensitive_column_lifecycle_state'] = sensitive_column_lifecycle_state
|
|
16766
|
+
if column_data_count_filter is not None:
|
|
16767
|
+
kwargs['column_data_count_filter'] = column_data_count_filter
|
|
16768
|
+
if confidence_level is not None and len(confidence_level) > 0:
|
|
16769
|
+
kwargs['confidence_level'] = confidence_level
|
|
16755
16770
|
if schema_name is not None and len(schema_name) > 0:
|
|
16756
16771
|
kwargs['schema_name'] = schema_name
|
|
16757
16772
|
if object_name is not None and len(object_name) > 0:
|
|
@@ -19298,6 +19313,7 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, ope
|
|
|
19298
19313
|
@cli_util.option('--tablespace', help=u"""The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking. If no tablespace is provided, the DEFAULT tablespace is used.""")
|
|
19299
19314
|
@cli_util.option('--is-ignore-errors-enabled', type=click.BOOL, help=u"""Indicates if the masking process should continue on hitting an error. It provides fault tolerance support and is enabled by default. In fault-tolerant mode, the masking process saves the failed step and continues. You can then submit another masking request (with isRerun attribute set to true) to execute only the failed steps.""")
|
|
19300
19315
|
@cli_util.option('--seed', help=u"""The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats.""")
|
|
19316
|
+
@cli_util.option('--user-defined-function-seed', help=u"""The seed value to be used in case of User Defined Function masking format. This is an optional parameter and needs to be passed only if any User Defined Function uses seed.""")
|
|
19301
19317
|
@cli_util.option('--is-move-interim-tables-enabled', type=click.BOOL, help=u"""Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size, set it to false if moving them causes performance overhead during masking.""")
|
|
19302
19318
|
@cli_util.option('--is-execute-saved-script-enabled', type=click.BOOL, help=u"""Indicates if data masking should be performed using a saved masking script. Setting this attribute to true skips masking script generation and executes the masking script stored in the Data Safe repository. It helps save time if there are no changes in the database tables and their dependencies.""")
|
|
19303
19319
|
@cli_util.option('--is-drop-temp-tables-enabled', type=click.BOOL, help=u"""Indicates if the temporary tables created during a masking operation should be dropped after masking. Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive data values to mask values. These temporary tables are dropped after masking if this attribute is set as true. But, in some cases, you may want to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables must be dropped before the database is available for unprivileged users. If it's not provided, the value of the isDropTempTablesEnabled attribute in the MaskingPolicy resource is used.""")
|
|
@@ -19313,7 +19329,7 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, ope
|
|
|
19313
19329
|
@click.pass_context
|
|
19314
19330
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
19315
19331
|
@cli_util.wrap_exceptions
|
|
19316
|
-
def mask_data(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, masking_policy_id, target_id, is_decrypt, is_rerun, re_run_from_step, tablespace, is_ignore_errors_enabled, seed, is_move_interim_tables_enabled, is_execute_saved_script_enabled, is_drop_temp_tables_enabled, is_redo_logging_enabled, is_refresh_stats_enabled, parallel_degree, recompile):
|
|
19332
|
+
def mask_data(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, masking_policy_id, target_id, is_decrypt, is_rerun, re_run_from_step, tablespace, is_ignore_errors_enabled, seed, user_defined_function_seed, is_move_interim_tables_enabled, is_execute_saved_script_enabled, is_drop_temp_tables_enabled, is_redo_logging_enabled, is_refresh_stats_enabled, parallel_degree, recompile):
|
|
19317
19333
|
|
|
19318
19334
|
if isinstance(masking_policy_id, six.string_types) and len(masking_policy_id.strip()) == 0:
|
|
19319
19335
|
raise click.UsageError('Parameter --masking-policy-id cannot be whitespace or empty string')
|
|
@@ -19344,6 +19360,9 @@ def mask_data(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_se
|
|
|
19344
19360
|
if seed is not None:
|
|
19345
19361
|
_details['seed'] = seed
|
|
19346
19362
|
|
|
19363
|
+
if user_defined_function_seed is not None:
|
|
19364
|
+
_details['userDefinedFunctionSeed'] = user_defined_function_seed
|
|
19365
|
+
|
|
19347
19366
|
if is_move_interim_tables_enabled is not None:
|
|
19348
19367
|
_details['isMoveInterimTablesEnabled'] = is_move_interim_tables_enabled
|
|
19349
19368
|
|
|
@@ -1783,12 +1783,14 @@ def add_storage_capacity_cloud_exadata_infrastructure(ctx, **kwargs):
|
|
|
1783
1783
|
ctx.invoke(database_cli.add_storage_capacity_cloud_exadata_infrastructure, **kwargs)
|
|
1784
1784
|
|
|
1785
1785
|
|
|
1786
|
-
|
|
1786
|
+
# Renaming the parameter exascale-db-storage-vault-id to vault-id
|
|
1787
|
+
@cli_util.copy_params_from_generated_command(database_cli.create_cloud_vm_cluster, params_to_exclude=['cloud_exadata_infrastructure_id', 'is_sparse_diskgroup_enabled', 'is_local_backup_enabled', 'ssh_public_keys', 'data_collection_options', 'exascale_db_storage_vault_id'])
|
|
1787
1788
|
@database_cli.cloud_vm_cluster_group.command('create', help=database_cli.create_cloud_vm_cluster.help)
|
|
1788
1789
|
@cli_util.option('--cloud-exa-infra-id', required=True, help=u"""The [OCID] of the cloud Exadata infrastructure.""")
|
|
1789
1790
|
@cli_util.option('--is-sparse-diskgroup', type=click.BOOL, help=u"""If true, the sparse disk group is configured for the cloud VM cluster. If false, the sparse disk group is not created.""")
|
|
1790
1791
|
@cli_util.option('--is-local-backup', type=click.BOOL, help=u"""If true, database backup on local Exadata storage is configured for the cloud VM cluster. If false, database backup on local Exadata storage is not available in the cloud VM cluster.""")
|
|
1791
1792
|
@cli_util.option('--ssh-authorized-keys-file', required=True, type=click.File('r'), help="""A file containing one or more public SSH keys to use for SSH access to the Cloud VM Cluster. Use a newline character to separate multiple keys. The length of the combined keys cannot exceed 10,000 characters.""")
|
|
1793
|
+
@cli_util.option('--vault-id', help=u"""The [OCID] of the Exadata Database Storage Vault.""")
|
|
1792
1794
|
@cli_util.option('--data-collection-options', type=custom_types.CLI_COMPLEX_TYPE, help=DATA_COLLECTION_OPTIONS_HELP)
|
|
1793
1795
|
@click.pass_context
|
|
1794
1796
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'ssh-public-keys': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'data-collection-options': {'module': 'database', 'class': 'DataCollectionOptions'}}, output_type={'module': 'database', 'class': 'CloudVmCluster'})
|
|
@@ -1802,14 +1804,32 @@ def create_cloud_vm_cluster(ctx, **kwargs):
|
|
|
1802
1804
|
content = [line.rstrip('\n') for line in kwargs['ssh_authorized_keys_file']]
|
|
1803
1805
|
kwargs['ssh_public_keys'] = json.dumps(content)
|
|
1804
1806
|
|
|
1807
|
+
if 'vault_id' in kwargs:
|
|
1808
|
+
kwargs['exascale_db_storage_vault_id'] = kwargs['vault_id']
|
|
1809
|
+
|
|
1805
1810
|
kwargs.pop('cloud_exa_infra_id')
|
|
1806
1811
|
kwargs.pop('is_sparse_diskgroup')
|
|
1807
1812
|
kwargs.pop('is_local_backup')
|
|
1808
1813
|
kwargs.pop('ssh_authorized_keys_file')
|
|
1814
|
+
kwargs.pop('vault_id')
|
|
1809
1815
|
|
|
1810
1816
|
ctx.invoke(database_cli.create_cloud_vm_cluster, **kwargs)
|
|
1811
1817
|
|
|
1812
1818
|
|
|
1819
|
+
# Renaming the parameter cloud-exadata-infrastructure-id to cloud-exa-infra-id
|
|
1820
|
+
@cli_util.copy_params_from_generated_command(database_cli.configure_exascale_cloud_exadata_infrastructure, params_to_exclude=['cloud_exadata_infrastructure_id'])
|
|
1821
|
+
@database_cli.cloud_exadata_infrastructure_group.command('configure-exascale', help=database_cli.configure_exascale_cloud_exadata_infrastructure.help)
|
|
1822
|
+
@cli_util.option('--cloud-exa-infra-id', required=True, help=u"""The [OCID] of the cloud Exadata infrastructure.""")
|
|
1823
|
+
@click.pass_context
|
|
1824
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'CloudExadataInfrastructure'})
|
|
1825
|
+
@cli_util.wrap_exceptions
|
|
1826
|
+
def configure_exascale_cloud_exadata_infrastructure_extend(ctx, **kwargs):
|
|
1827
|
+
kwargs['cloud_exadata_infrastructure_id'] = kwargs['cloud_exa_infra_id']
|
|
1828
|
+
kwargs.pop('cloud_exa_infra_id')
|
|
1829
|
+
|
|
1830
|
+
ctx.invoke(database_cli.configure_exascale_cloud_exadata_infrastructure, **kwargs)
|
|
1831
|
+
|
|
1832
|
+
|
|
1813
1833
|
@cli_util.copy_params_from_generated_command(database_cli.change_cloud_exadata_infrastructure_compartment, params_to_exclude=['cloud_exadata_infrastructure_id'])
|
|
1814
1834
|
@database_cli.cloud_exadata_infrastructure_group.command('change-compartment', help=database_cli.change_cloud_exadata_infrastructure_compartment.help)
|
|
1815
1835
|
@cli_util.option('--cloud-exa-infra-id', required=True, help=u"""The [OCID] of the cloud Exadata infrastructure.""")
|
|
@@ -3963,10 +3983,12 @@ def list_gi_version_minor_versions_extended(ctx, **kwargs):
|
|
|
3963
3983
|
|
|
3964
3984
|
# Renaming the parameter high-capacity-database-storage to high-capacity-db-storage
|
|
3965
3985
|
# Renaming the parameter additional-flash-cache-in-percent to flash-cache-in-percent
|
|
3966
|
-
|
|
3986
|
+
# Renaming the parameter exadata-infrastructure-id to exa-infra-id
|
|
3987
|
+
@cli_util.copy_params_from_generated_command(database_cli.create_exascale_db_storage_vault, params_to_exclude=['high_capacity_database_storage', 'additional_flash_cache_in_percent', 'exadata_infrastructure_id'])
|
|
3967
3988
|
@database_cli.exascale_db_storage_vault_group.command('create', help=database_cli.create_exascale_db_storage_vault.help)
|
|
3968
3989
|
@cli_util.option('--high-capacity-storage-gb', required=True, type=click.INT, help=u"""The size of High Capacity database storage (GB).""")
|
|
3969
3990
|
@cli_util.option('--flash-cache-in-percent', type=click.INT, help=u"""The size of additional Flash Cache in percentage of High Capacity database storage.""")
|
|
3991
|
+
@cli_util.option('--exa-infra-id', help=u"""The [OCID] of the Exadata infrastructure.""")
|
|
3970
3992
|
@click.pass_context
|
|
3971
3993
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'high-capacity-database-storage': {'module': 'database', 'class': 'ExascaleDbStorageInputDetails'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'ExascaleDbStorageVault'})
|
|
3972
3994
|
@cli_util.wrap_exceptions
|
|
@@ -3982,11 +4004,30 @@ def create_exascale_db_storage_vault_extended(ctx, **kwargs):
|
|
|
3982
4004
|
if 'flash_cache_in_percent' in kwargs:
|
|
3983
4005
|
kwargs['additional_flash_cache_in_percent'] = kwargs['flash_cache_in_percent']
|
|
3984
4006
|
|
|
4007
|
+
if 'exa_infra_id' in kwargs:
|
|
4008
|
+
kwargs['exadata_infrastructure_id'] = kwargs['exa_infra_id']
|
|
4009
|
+
|
|
3985
4010
|
kwargs.pop('high_capacity_storage_gb')
|
|
3986
4011
|
kwargs.pop('flash_cache_in_percent')
|
|
4012
|
+
kwargs.pop('exa_infra_id')
|
|
3987
4013
|
ctx.invoke(database_cli.create_exascale_db_storage_vault, **kwargs)
|
|
3988
4014
|
|
|
3989
4015
|
|
|
4016
|
+
# Renaming the parameter exadata-infrastructure-id to exa-infra-id
|
|
4017
|
+
@cli_util.copy_params_from_generated_command(database_cli.list_exascale_db_storage_vaults, params_to_exclude=['exadata_infrastructure_id'])
|
|
4018
|
+
@database_cli.exascale_db_storage_vault_group.command('list', help=database_cli.list_exascale_db_storage_vaults.help)
|
|
4019
|
+
@cli_util.option('--exa-infra-id', help=u"""A filter to return only list of Vaults that are linked to the exadata infrastructure Id.""")
|
|
4020
|
+
@click.pass_context
|
|
4021
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
4022
|
+
@cli_util.wrap_exceptions
|
|
4023
|
+
def list_exascale_db_storage_vaults_extended(ctx, **kwargs):
|
|
4024
|
+
if 'exa_infra_id' in kwargs:
|
|
4025
|
+
kwargs['exadata_infrastructure_id'] = kwargs['exa_infra_id']
|
|
4026
|
+
|
|
4027
|
+
kwargs.pop('exa_infra_id')
|
|
4028
|
+
ctx.invoke(database_cli.list_exascale_db_storage_vaults, **kwargs)
|
|
4029
|
+
|
|
4030
|
+
|
|
3990
4031
|
# Renaming the parameter exascale-db-storage-vault-id to vault-id
|
|
3991
4032
|
# Renaming the parameter additional-flash-cache-in-percent to flash-cache-in-percent
|
|
3992
4033
|
@cli_util.copy_params_from_generated_command(database_cli.update_exascale_db_storage_vault, params_to_exclude=['high_capacity_database_storage', 'additional_flash_cache_in_percent'])
|
|
@@ -3960,6 +3960,63 @@ def configure_autonomous_database_vault_key(ctx, from_json, wait_for_state, max_
|
|
|
3960
3960
|
cli_util.render_response(result, ctx)
|
|
3961
3961
|
|
|
3962
3962
|
|
|
3963
|
+
@cloud_exadata_infrastructure_group.command(name=cli_util.override('db.configure_exascale_cloud_exadata_infrastructure.command_name', 'configure-exascale'), help=u"""Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only. \n[Command Reference](configureExascaleCloudExadataInfrastructure)""")
|
|
3964
|
+
@cli_util.option('--cloud-exadata-infrastructure-id', required=True, help=u"""The cloud Exadata infrastructure [OCID].""")
|
|
3965
|
+
@cli_util.option('--total-storage-in-gbs', required=True, type=click.INT, help=u"""Storage size needed for Exascale in GBs.""")
|
|
3966
|
+
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
|
|
3967
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
3968
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
3969
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
3970
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
3971
|
+
@cli_util.help_option
|
|
3972
|
+
@click.pass_context
|
|
3973
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'CloudExadataInfrastructure'})
|
|
3974
|
+
@cli_util.wrap_exceptions
|
|
3975
|
+
def configure_exascale_cloud_exadata_infrastructure(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, cloud_exadata_infrastructure_id, total_storage_in_gbs, if_match):
|
|
3976
|
+
|
|
3977
|
+
if isinstance(cloud_exadata_infrastructure_id, six.string_types) and len(cloud_exadata_infrastructure_id.strip()) == 0:
|
|
3978
|
+
raise click.UsageError('Parameter --cloud-exadata-infrastructure-id cannot be whitespace or empty string')
|
|
3979
|
+
|
|
3980
|
+
kwargs = {}
|
|
3981
|
+
if if_match is not None:
|
|
3982
|
+
kwargs['if_match'] = if_match
|
|
3983
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
3984
|
+
|
|
3985
|
+
_details = {}
|
|
3986
|
+
_details['totalStorageInGBs'] = total_storage_in_gbs
|
|
3987
|
+
|
|
3988
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
3989
|
+
result = client.configure_exascale_cloud_exadata_infrastructure(
|
|
3990
|
+
cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id,
|
|
3991
|
+
configure_exascale_cloud_exadata_infrastructure_details=_details,
|
|
3992
|
+
**kwargs
|
|
3993
|
+
)
|
|
3994
|
+
if wait_for_state:
|
|
3995
|
+
|
|
3996
|
+
if hasattr(client, 'get_cloud_exadata_infrastructure') and callable(getattr(client, 'get_cloud_exadata_infrastructure')):
|
|
3997
|
+
try:
|
|
3998
|
+
wait_period_kwargs = {}
|
|
3999
|
+
if max_wait_seconds is not None:
|
|
4000
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
4001
|
+
if wait_interval_seconds is not None:
|
|
4002
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
4003
|
+
|
|
4004
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
4005
|
+
result = oci.wait_until(client, client.get_cloud_exadata_infrastructure(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
4006
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
4007
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
4008
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4009
|
+
cli_util.render_response(result, ctx)
|
|
4010
|
+
sys.exit(2)
|
|
4011
|
+
except Exception:
|
|
4012
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
4013
|
+
cli_util.render_response(result, ctx)
|
|
4014
|
+
raise
|
|
4015
|
+
else:
|
|
4016
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
4017
|
+
cli_util.render_response(result, ctx)
|
|
4018
|
+
|
|
4019
|
+
|
|
3963
4020
|
@exadata_infrastructure_group.command(name=cli_util.override('db.configure_exascale_exadata_infrastructure.command_name', 'configure-exascale'), help=u"""Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. \n[Command Reference](configureExascaleExadataInfrastructure)""")
|
|
3964
4021
|
@cli_util.option('--exadata-infrastructure-id', required=True, help=u"""The Exadata infrastructure [OCID].""")
|
|
3965
4022
|
@cli_util.option('--total-storage-in-gbs', required=True, type=click.INT, help=u"""Storage size needed for Exascale in GBs.""")
|
|
@@ -11029,6 +11086,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
11029
11086
|
|
|
11030
11087
|
This option is a JSON list with items of type FileSystemConfigurationDetail. For documentation on FileSystemConfigurationDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/database/20160918/datatypes/FileSystemConfigurationDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
11031
11088
|
@cli_util.option('--cloud-automation-update-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
11089
|
+
@cli_util.option('--exascale-db-storage-vault-id', help=u"""The [OCID] of the Exadata Database Storage Vault.""")
|
|
11032
11090
|
@cli_util.option('--vm-cluster-type', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "DEVELOPER"]), help=u"""The vmcluster type for the VM cluster/Cloud VM cluster.""")
|
|
11033
11091
|
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
|
|
11034
11092
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -11039,7 +11097,7 @@ This option is a JSON list with items of type FileSystemConfigurationDetail. Fo
|
|
|
11039
11097
|
@click.pass_context
|
|
11040
11098
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-servers': {'module': 'database', 'class': 'list[string]'}, 'ssh-public-keys': {'module': 'database', 'class': 'list[string]'}, 'nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'backup-network-nsg-ids': {'module': 'database', 'class': 'list[string]'}, 'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'security-attributes': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'data-collection-options': {'module': 'database', 'class': 'DataCollectionOptions'}, 'file-system-configuration-details': {'module': 'database', 'class': 'list[FileSystemConfigurationDetail]'}, 'cloud-automation-update-details': {'module': 'database', 'class': 'CloudAutomationUpdateDetails'}}, output_type={'module': 'database', 'class': 'CloudVmCluster'})
|
|
11041
11099
|
@cli_util.wrap_exceptions
|
|
11042
|
-
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, subscription_id, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags, security_attributes, data_collection_options, system_version, file_system_configuration_details, cloud_automation_update_details, vm_cluster_type, opc_dry_run):
|
|
11100
|
+
def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, subnet_id, backup_subnet_id, cpu_core_count, display_name, cloud_exadata_infrastructure_id, hostname, ssh_public_keys, gi_version, subscription_id, ocpu_count, memory_size_in_gbs, db_node_storage_size_in_gbs, data_storage_size_in_tbs, db_servers, cluster_name, data_storage_percentage, domain, license_model, is_sparse_diskgroup_enabled, is_local_backup_enabled, time_zone, scan_listener_port_tcp, scan_listener_port_tcp_ssl, private_zone_id, nsg_ids, backup_network_nsg_ids, freeform_tags, defined_tags, security_attributes, data_collection_options, system_version, file_system_configuration_details, cloud_automation_update_details, exascale_db_storage_vault_id, vm_cluster_type, opc_dry_run):
|
|
11043
11101
|
|
|
11044
11102
|
kwargs = {}
|
|
11045
11103
|
if opc_dry_run is not None:
|
|
@@ -11132,6 +11190,9 @@ def create_cloud_vm_cluster(ctx, from_json, wait_for_state, max_wait_seconds, wa
|
|
|
11132
11190
|
if cloud_automation_update_details is not None:
|
|
11133
11191
|
_details['cloudAutomationUpdateDetails'] = cli_util.parse_json_parameter("cloud_automation_update_details", cloud_automation_update_details)
|
|
11134
11192
|
|
|
11193
|
+
if exascale_db_storage_vault_id is not None:
|
|
11194
|
+
_details['exascaleDbStorageVaultId'] = exascale_db_storage_vault_id
|
|
11195
|
+
|
|
11135
11196
|
if vm_cluster_type is not None:
|
|
11136
11197
|
_details['vmClusterType'] = vm_cluster_type
|
|
11137
11198
|
|