oci-cli 3.63.0__py3-none-any.whl → 3.63.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.
- oci_cli/bin/devops.psm1 +5 -4
- oci_cli/bin/psql.psm1 +4 -4
- oci_cli/bin/vault.psm1 +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/add-lock.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/remove-lock.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/api.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/add-lock.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/remove-lock.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/certificate.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/add-lock.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/remove-lock.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/deployment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/add-lock.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/create.txt +18 -1
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/remove-lock.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway/update.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/gateway.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/add-lock.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/list.txt +4 -2
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/remove-lock.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/sdk.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/add-lock.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/remove-lock.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/subscriber.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/add-lock.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/change-compartment.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/create.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/delete.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/remove-lock.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway/usage-plan.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-gateway.txt +28 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/create.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/delete.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/get.txt +94 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance/update.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance-collection/list-api-platform-instances.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/api-platform-instance.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-log-entry/list-work-request-logs.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform/work-request.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/api-platform.txt +42 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/create-agent.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/create-macs-extension.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/update-agent.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config/update-macs-extension.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config-collection/list.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/config.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key/update.txt +107 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config/match-agents-with-attribute-key.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/apm-config.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment/create-model-deployment-model-group-deployment-configuration-details.txt +215 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment/update-model-deployment-update-model-group-deployment-configuration-details.txt +235 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment-model-state/list.txt +167 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment-model-state.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-deployment.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/activate.txt +130 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-artifact.txt +123 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-clone-model-group-details.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create-model-group-create-model-group-details.txt +197 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/create.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/deactivate.txt +130 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/get-model-group-artifact-content.txt +107 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/get.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/head-model-group-artifact.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/list-model-group-models.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/list.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group/update.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/create.txt +166 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/list.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history/update.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group-version-history.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/model-group.txt +41 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-science.txt +54 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/{protected-branch → protected-branch-collection}/list-protected-branches.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch.txt +0 -2
- oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/{create-connection-create-iceberg-connection-details.txt → create-iceberg-connection.txt} +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/{update-connection-update-iceberg-connection-details.txt → update-iceberg-connection.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/lfs/lustre-file-system.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/lfs.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/get-oob.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/import.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/dashboard/list-oob.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/saved-search/get-oob.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-dashboard/saved-search/list-oob.txt +1 -1
- 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/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry → work-request-log}/list.txt +19 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log-entry.txt → work-request-log.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/change-compartment.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/create.txt +21 -7
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/delete.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/get.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration/update.txt +13 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/configuration-collection/list-configurations.txt +9 -2
- oci_cli/help_text_producer/data_files/text/cmdref/psql/default-configuration-collection/list-default-configurations.txt +9 -2
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +8 -8
- oci_cli/help_text_producer/data_files/text/cmdref/speech/voice/list.txt +6 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/create-base64.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/update-base64.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/vault/secret/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/METADATA +2 -2
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/RECORD +187 -116
- services/ai_speech/src/oci_cli_ai_service_speech/generated/aiservicespeech_cli.py +5 -2
- services/api_platform/__init__.py +4 -0
- services/api_platform/src/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/generated/__init__.py +4 -0
- services/api_platform/src/oci_cli_api_platform/generated/apiplatform_cli.py +567 -0
- services/api_platform/src/oci_cli_api_platform/generated/client_mappings.py +14 -0
- services/api_platform/tests/__init__.py +4 -0
- services/apigateway/src/oci_cli_api_gateway/api_gateway_cli_extended.py +24 -0
- services/apigateway/src/oci_cli_api_gateway/generated/apigateway_cli.py +415 -19
- services/apigateway/src/oci_cli_deployment/apigateway_deployment_extended.py +8 -0
- services/apigateway/src/oci_cli_deployment/generated/deployment_cli.py +139 -6
- services/apigateway/src/oci_cli_gateway/apigateway_gateway_extended.py +9 -1
- services/apigateway/src/oci_cli_gateway/generated/gateway_cli.py +171 -20
- services/apigateway/src/oci_cli_subscribers/generated/subscribers_cli.py +139 -6
- services/apigateway/src/oci_cli_subscribers/subscribers_cli_extended.py +9 -0
- services/apigateway/src/oci_cli_usage_plans/generated/usageplans_cli.py +139 -6
- services/apigateway/src/oci_cli_usage_plans/usageplans_cli_extended.py +9 -0
- services/apm_config/src/oci_cli_config/config_cli_extended.py +16 -0
- services/apm_config/src/oci_cli_config/generated/config_cli.py +289 -3
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +1477 -98
- services/devops/src/oci_cli_devops/devops_cli_extended.py +11 -11
- services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +44 -0
- services/management_dashboard/src/oci_cli_dashx_apis/generated/dashxapis_cli.py +18 -6
- services/psql/src/oci_cli_postgresql/generated/postgresql_cli.py +38 -14
- services/vault/src/oci_cli_vaults/generated/vaults_cli.py +80 -40
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.0.dist-info → oci_cli-3.63.2.dist-info}/top_level.txt +0 -0
|
@@ -1349,9 +1349,9 @@ devops_cli.repository_group.add_command(devops_cli.update_repository_settings)
|
|
|
1349
1349
|
|
|
1350
1350
|
|
|
1351
1351
|
# Move commands under 'oci devops protected-branch-collection' -> 'oci devops protected-branch'
|
|
1352
|
-
cli_util.rename_command(devops_cli, devops_cli.protected_branch_collection_group, devops_cli.list_protected_branches, "list-protected-branches")
|
|
1353
|
-
devops_cli.devops_root_group.commands.pop(devops_cli.protected_branch_collection_group.name)
|
|
1354
|
-
devops_cli.protected_branch_group.add_command(devops_cli.list_protected_branches)
|
|
1352
|
+
# cli_util.rename_command(devops_cli, devops_cli.protected_branch_collection_group, devops_cli.list_protected_branches, "list-protected-branches")
|
|
1353
|
+
# devops_cli.devops_root_group.commands.pop(devops_cli.protected_branch_collection_group.name)
|
|
1354
|
+
# devops_cli.protected_branch_group.add_command(devops_cli.list_protected_branches)
|
|
1355
1355
|
|
|
1356
1356
|
|
|
1357
1357
|
# Move commands under 'oci devops pull-request-collection' -> 'oci devops pull-request'
|
|
@@ -1522,11 +1522,11 @@ def summarize_project_repository_analytics(ctx, from_json, project_id, repositor
|
|
|
1522
1522
|
cli_util.render_response(result, ctx)
|
|
1523
1523
|
|
|
1524
1524
|
|
|
1525
|
-
@cli_util.copy_params_from_generated_command(devops_cli.create_or_update_protected_branch, params_to_exclude=['protection_levels'])
|
|
1526
|
-
@devops_cli.protected_branch_group.command(name=cli_util.override('devops.create_or_update_protected_branch.command_name', 'create-or-update'), help=u"""Creates a restriction on a branch that prevents certain actions on it. \n[Command Reference](createOrUpdateProtectedBranch)""")
|
|
1527
|
-
@cli_util.option('--protection-levels', type=custom_types.CliCaseInsensitiveChoice(["READ_ONLY", "PULL_REQUEST_MERGE_ONLY"]), multiple=True, help=u"""Level of protection to add on a branch.""")
|
|
1528
|
-
@click.pass_context
|
|
1529
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'devops', 'class': 'ProtectedBranch'})
|
|
1530
|
-
@cli_util.wrap_exceptions
|
|
1531
|
-
def create_or_update_protected_branch_extended(ctx, **kwargs):
|
|
1532
|
-
|
|
1525
|
+
# @cli_util.copy_params_from_generated_command(devops_cli.create_or_update_protected_branch, params_to_exclude=['protection_levels'])
|
|
1526
|
+
# @devops_cli.protected_branch_group.command(name=cli_util.override('devops.create_or_update_protected_branch.command_name', 'create-or-update'), help=u"""Creates a restriction on a branch that prevents certain actions on it. \n[Command Reference](createOrUpdateProtectedBranch)""")
|
|
1527
|
+
# @cli_util.option('--protection-levels', type=custom_types.CliCaseInsensitiveChoice(["READ_ONLY", "PULL_REQUEST_MERGE_ONLY"]), multiple=True, help=u"""Level of protection to add on a branch.""")
|
|
1528
|
+
# @click.pass_context
|
|
1529
|
+
# @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'devops', 'class': 'ProtectedBranch'})
|
|
1530
|
+
# @cli_util.wrap_exceptions
|
|
1531
|
+
# def create_or_update_protected_branch_extended(ctx, **kwargs):
|
|
1532
|
+
# ctx.invoke(devops_cli.create_or_update_protected_branch, **kwargs)
|
|
@@ -815,3 +815,47 @@ def update_connection_update_microsoft_fabric_connection_details_extended(ctx, *
|
|
|
815
815
|
|
|
816
816
|
# oci goldengate pipeline collect-pipeline-diagnostic -> oci goldengate pipeline collect-diagnostic
|
|
817
817
|
cli_util.rename_command(goldengate_cli, goldengate_cli.pipeline_group, goldengate_cli.collect_pipeline_diagnostic, "collect-diagnostic")
|
|
818
|
+
|
|
819
|
+
# oci goldengate connection create-connection-create-iceberg-connection-details -> oci goldengate connection create-iceberg-connection
|
|
820
|
+
cli_util.rename_command(goldengate_cli, goldengate_cli.connection_group, goldengate_cli.create_connection_create_iceberg_connection_details, "create-iceberg-connection")
|
|
821
|
+
|
|
822
|
+
# oci goldengate connection update-connection-update-iceberg-connection-details -> oci goldengate connection update-iceberg-connection
|
|
823
|
+
cli_util.rename_command(goldengate_cli, goldengate_cli.connection_group, goldengate_cli.update_connection_update_iceberg_connection_details, "update-iceberg-connection")
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
@cli_util.copy_params_from_generated_command(goldengate_cli.create_connection_create_amazon_s3_connection_details, params_to_exclude=['endpoint_parameterconflict', 'region_parameterconflict'])
|
|
827
|
+
@goldengate_cli.connection_group.command(name=goldengate_cli.create_connection_create_amazon_s3_connection_details.name, help=goldengate_cli.create_connection_create_amazon_s3_connection_details.help)
|
|
828
|
+
@cli_util.option('--connection-endpoint', help=u"""Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com""")
|
|
829
|
+
@cli_util.option('--connection-region', help=u"""The name of the region where the bucket is created.""")
|
|
830
|
+
@click.pass_context
|
|
831
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'golden_gate', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}, 'locks': {'module': 'golden_gate', 'class': 'list[AddResourceLockDetails]'}, 'nsg-ids': {'module': 'golden_gate', 'class': 'list[string]'}}, output_type={'module': 'golden_gate', 'class': 'Connection'})
|
|
832
|
+
@cli_util.wrap_exceptions
|
|
833
|
+
def create_connection_create_amazon_s3_connection_details_extended(ctx, **kwargs):
|
|
834
|
+
|
|
835
|
+
if 'connection_endpoint' in kwargs:
|
|
836
|
+
kwargs['endpoint_parameterconflict'] = kwargs['connection_endpoint']
|
|
837
|
+
kwargs.pop('connection_endpoint')
|
|
838
|
+
if 'connection_region' in kwargs:
|
|
839
|
+
kwargs['region_parameterconflict'] = kwargs['connection_region']
|
|
840
|
+
kwargs.pop('connection_region')
|
|
841
|
+
|
|
842
|
+
ctx.invoke(goldengate_cli.create_connection_create_amazon_s3_connection_details, **kwargs)
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
@cli_util.copy_params_from_generated_command(goldengate_cli.update_connection_update_amazon_s3_connection_details, params_to_exclude=['endpoint_parameterconflict', 'region_parameterconflict'])
|
|
846
|
+
@goldengate_cli.connection_group.command(name=goldengate_cli.update_connection_update_amazon_s3_connection_details.name, help=goldengate_cli.update_connection_update_amazon_s3_connection_details.help)
|
|
847
|
+
@cli_util.option('--connection-endpoint', help=u"""Optional Microsoft Fabric service endpoint. Default value: https://onelake.dfs.fabric.microsoft.com""")
|
|
848
|
+
@cli_util.option('--connection-region', help=u"""The name of the region where the bucket is created.""")
|
|
849
|
+
@click.pass_context
|
|
850
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'golden_gate', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}, 'nsg-ids': {'module': 'golden_gate', 'class': 'list[string]'}})
|
|
851
|
+
@cli_util.wrap_exceptions
|
|
852
|
+
def update_connection_update_amazon_s3_connection_details_extended(ctx, **kwargs):
|
|
853
|
+
|
|
854
|
+
if 'connection_endpoint' in kwargs:
|
|
855
|
+
kwargs['endpoint_parameterconflict'] = kwargs['connection_endpoint']
|
|
856
|
+
kwargs.pop('connection_endpoint')
|
|
857
|
+
if 'connection_region' in kwargs:
|
|
858
|
+
kwargs['region_parameterconflict'] = kwargs['connection_region']
|
|
859
|
+
kwargs.pop('connection_region')
|
|
860
|
+
|
|
861
|
+
ctx.invoke(goldengate_cli.update_connection_update_amazon_s3_connection_details, **kwargs)
|
|
@@ -495,17 +495,20 @@ def delete_management_saved_search(ctx, from_json, wait_for_state, max_wait_seco
|
|
|
495
495
|
|
|
496
496
|
@management_dashboard_import_details_group.command(name=cli_util.override('management_dashboard.export_dashboard.command_name', 'export-dashboard'), help=u"""Exports an array of dashboards and their saved searches. Export is designed to work with importDashboard. Here's an example of how you can use CLI to export a dashboard: `$oci management-dashboard dashboard export --query data --export-dashboard-id \"{\\\"dashboardIds\\\":[\\\"ocid1.managementdashboard.oc1..dashboardId1\\\"]}\" > dashboards.json` \n[Command Reference](exportDashboard)""")
|
|
497
497
|
@cli_util.option('--export-dashboard-id', required=True, help=u"""List of dashboardIds in plain text. The syntax is '{\"dashboardIds\":[\"dashboardId1\", \"dashboardId2\", ...]}'. Escaping is needed when using in OCI CLI. For example, \"{\\\"dashboardIds\\\":[\\\"ocid1.managementdashboard.oc1..dashboardId1\\\"]}\" .""")
|
|
498
|
+
@cli_util.option('--export-tags', help=u"""Indicates whether tags must be included when exporting dashboards and saved searches. If this attribute is set to true, then both defined and free-form tags are included in the response. The default is false and tag fields are empty objects in the response. If set to true, NotAuthorizedException is returned if you do not have the permission to access tags, even if you have the permission to access dashboards and saved searches.""")
|
|
498
499
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
499
500
|
@cli_util.help_option
|
|
500
501
|
@click.pass_context
|
|
501
502
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'management_dashboard', 'class': 'ManagementDashboardExportDetails'})
|
|
502
503
|
@cli_util.wrap_exceptions
|
|
503
|
-
def export_dashboard(ctx, from_json, export_dashboard_id):
|
|
504
|
+
def export_dashboard(ctx, from_json, export_dashboard_id, export_tags):
|
|
504
505
|
|
|
505
506
|
if isinstance(export_dashboard_id, six.string_types) and len(export_dashboard_id.strip()) == 0:
|
|
506
507
|
raise click.UsageError('Parameter --export-dashboard-id cannot be whitespace or empty string')
|
|
507
508
|
|
|
508
509
|
kwargs = {}
|
|
510
|
+
if export_tags is not None:
|
|
511
|
+
kwargs['export_tags'] = export_tags
|
|
509
512
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
510
513
|
client = cli_util.build_client('management_dashboard', 'dashx_apis', ctx)
|
|
511
514
|
result = client.export_dashboard(
|
|
@@ -559,7 +562,7 @@ def get_management_saved_search(ctx, from_json, management_saved_search_id):
|
|
|
559
562
|
cli_util.render_response(result, ctx)
|
|
560
563
|
|
|
561
564
|
|
|
562
|
-
@management_dashboard_group.command(name=cli_util.override('management_dashboard.get_oob_management_dashboard.command_name', 'get-oob'), help=u"""Gets an
|
|
565
|
+
@management_dashboard_group.command(name=cli_util.override('management_dashboard.get_oob_management_dashboard.command_name', 'get-oob'), help=u"""Gets an out-of-the-box dashboard and its saved searches by ID. Deleted or unauthorized saved searches are marked by tile's state property. \n[Command Reference](getOobManagementDashboard)""")
|
|
563
566
|
@cli_util.option('--management-dashboard-id', required=True, help=u"""A unique dashboard identifier.""")
|
|
564
567
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
565
568
|
@cli_util.help_option
|
|
@@ -581,7 +584,7 @@ def get_oob_management_dashboard(ctx, from_json, management_dashboard_id):
|
|
|
581
584
|
cli_util.render_response(result, ctx)
|
|
582
585
|
|
|
583
586
|
|
|
584
|
-
@management_saved_search_group.command(name=cli_util.override('management_dashboard.get_oob_management_saved_search.command_name', 'get-oob'), help=u"""Gets
|
|
587
|
+
@management_saved_search_group.command(name=cli_util.override('management_dashboard.get_oob_management_saved_search.command_name', 'get-oob'), help=u"""Gets an out-of-the-box saved search by ID. \n[Command Reference](getOobManagementSavedSearch)""")
|
|
585
588
|
@cli_util.option('--management-saved-search-id', required=True, help=u"""A unique saved search identifier.""")
|
|
586
589
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
587
590
|
@cli_util.help_option
|
|
@@ -608,16 +611,25 @@ def get_oob_management_saved_search(ctx, from_json, management_saved_search_id):
|
|
|
608
611
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
609
612
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
610
613
|
@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.""")
|
|
614
|
+
@cli_util.option('--override-same-name', help=u"""By default, if a resource with the same OCID exists in the target compartment, it is updated during the import process, otherwise, a new resource is created. However, if this attribute is set to true, then during the import process if a resource with the same displayName exists in the compartment, then it is updated even if the OCIDs are different. This is useful when importing the same resource multiple times. If the compartment and displayName remain the same, the resource is only updated and multiple copies of a resource are not created.""")
|
|
615
|
+
@cli_util.option('--override-dashboard-compartment-ocid', help=u"""If this attribute is set, the dashboard resources are created or updated in the compartment specified by OCID. If this attribute is not set, the compartment specified in the JSON metadata is used.""")
|
|
616
|
+
@cli_util.option('--override-saved-search-compartment-ocid', help=u"""If this attribute is set, the saved search resources are created or updated in the compartment specified by OCID. If this attribute is not set, the compartment specified in the JSON metadata is used.""")
|
|
611
617
|
@json_skeleton_utils.get_cli_json_input_option({'dashboards': {'module': 'management_dashboard', 'class': 'list[ManagementDashboardForImportExportDetails]'}, 'freeform-tags': {'module': 'management_dashboard', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'management_dashboard', 'class': 'dict(str, dict(str, object))'}})
|
|
612
618
|
@cli_util.help_option
|
|
613
619
|
@click.pass_context
|
|
614
620
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'dashboards': {'module': 'management_dashboard', 'class': 'list[ManagementDashboardForImportExportDetails]'}, 'freeform-tags': {'module': 'management_dashboard', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'management_dashboard', 'class': 'dict(str, dict(str, object))'}})
|
|
615
621
|
@cli_util.wrap_exceptions
|
|
616
|
-
def import_dashboard(ctx, from_json, dashboards, freeform_tags, defined_tags, if_match):
|
|
622
|
+
def import_dashboard(ctx, from_json, dashboards, freeform_tags, defined_tags, if_match, override_same_name, override_dashboard_compartment_ocid, override_saved_search_compartment_ocid):
|
|
617
623
|
|
|
618
624
|
kwargs = {}
|
|
619
625
|
if if_match is not None:
|
|
620
626
|
kwargs['if_match'] = if_match
|
|
627
|
+
if override_same_name is not None:
|
|
628
|
+
kwargs['override_same_name'] = override_same_name
|
|
629
|
+
if override_dashboard_compartment_ocid is not None:
|
|
630
|
+
kwargs['override_dashboard_compartment_ocid'] = override_dashboard_compartment_ocid
|
|
631
|
+
if override_saved_search_compartment_ocid is not None:
|
|
632
|
+
kwargs['override_saved_search_compartment_ocid'] = override_saved_search_compartment_ocid
|
|
621
633
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
622
634
|
|
|
623
635
|
_details = {}
|
|
@@ -751,7 +763,7 @@ def list_management_saved_searches(ctx, from_json, all_pages, page_size, compart
|
|
|
751
763
|
cli_util.render_response(result, ctx)
|
|
752
764
|
|
|
753
765
|
|
|
754
|
-
@management_dashboard_group.command(name=cli_util.override('management_dashboard.list_oob_management_dashboards.command_name', 'list-oob'), help=u"""Gets the list of
|
|
766
|
+
@management_dashboard_group.command(name=cli_util.override('management_dashboard.list_oob_management_dashboards.command_name', 'list-oob'), help=u"""Gets the list of out-of-the-box dashboards with pagination. Returned properties are the summary. \n[Command Reference](listOobManagementDashboards)""")
|
|
755
767
|
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
756
768
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
757
769
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
@@ -808,7 +820,7 @@ def list_oob_management_dashboards(ctx, from_json, all_pages, page_size, compart
|
|
|
808
820
|
cli_util.render_response(result, ctx)
|
|
809
821
|
|
|
810
822
|
|
|
811
|
-
@management_saved_search_group.command(name=cli_util.override('management_dashboard.list_oob_management_saved_searches.command_name', 'list-oob'), help=u"""Gets the list of out-of-box saved searches in a compartment with pagination. Returned properties are the summary. \n[Command Reference](listOobManagementSavedSearches)""")
|
|
823
|
+
@management_saved_search_group.command(name=cli_util.override('management_dashboard.list_oob_management_saved_searches.command_name', 'list-oob'), help=u"""Gets the list of out-of-the-box saved searches in a compartment with pagination. Returned properties are the summary. \n[Command Reference](listOobManagementSavedSearches)""")
|
|
812
824
|
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
813
825
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
814
826
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
@@ -413,9 +413,11 @@ def create_backup(ctx, from_json, wait_for_state, max_wait_seconds, wait_interva
|
|
|
413
413
|
@cli_util.option('--display-name', required=True, help=u"""A user-friendly display name for the configuration. Avoid entering confidential information.""")
|
|
414
414
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment that contains the configuration.""")
|
|
415
415
|
@cli_util.option('--db-version', required=True, help=u"""Version of the PostgreSQL database.""")
|
|
416
|
-
@cli_util.option('--shape', required=True, help=u"""The name of the shape for the configuration. Example: `VM.Standard.E4.Flex`""")
|
|
417
416
|
@cli_util.option('--db-configuration-overrides', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
418
417
|
@cli_util.option('--description', help=u"""Details about the configuration set.""")
|
|
418
|
+
@cli_util.option('--shape', help=u"""The name of the shape for the configuration.
|
|
419
|
+
|
|
420
|
+
For multi-shape enabled configurations, it is set to PostgreSQL.X86 or similar. Please use compatibleShapes property to set the list of supported shapes.""")
|
|
419
421
|
@cli_util.option('--is-flexible', type=click.BOOL, help=u"""Whether the configuration supports flexible shapes.""")
|
|
420
422
|
@cli_util.option('--instance-ocpu-count', type=click.INT, help=u"""CPU core count.
|
|
421
423
|
|
|
@@ -423,18 +425,19 @@ Skip or set it's value to 0 if configuration is for a flexible shape.""")
|
|
|
423
425
|
@cli_util.option('--instance-memory-size-in-gbs', type=click.INT, help=u"""Memory size in gigabytes with 1GB increment.
|
|
424
426
|
|
|
425
427
|
Skip or set it's value to 0 if configuration is for a flexible shape.""")
|
|
428
|
+
@cli_util.option('--compatible-shapes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Indicates the collection of compatible shapes for this configuration.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
426
429
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
427
430
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
428
431
|
@cli_util.option('--system-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
429
432
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "DELETING", "DELETED", "FAILED"]), 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.""")
|
|
430
433
|
@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.""")
|
|
431
434
|
@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.""")
|
|
432
|
-
@json_skeleton_utils.get_cli_json_input_option({'db-configuration-overrides': {'module': 'psql', 'class': 'DbConfigurationOverrideCollection'}, 'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}})
|
|
435
|
+
@json_skeleton_utils.get_cli_json_input_option({'compatible-shapes': {'module': 'psql', 'class': 'list[string]'}, 'db-configuration-overrides': {'module': 'psql', 'class': 'DbConfigurationOverrideCollection'}, 'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}})
|
|
433
436
|
@cli_util.help_option
|
|
434
437
|
@click.pass_context
|
|
435
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-configuration-overrides': {'module': 'psql', 'class': 'DbConfigurationOverrideCollection'}, 'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'psql', 'class': 'Configuration'})
|
|
438
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'compatible-shapes': {'module': 'psql', 'class': 'list[string]'}, 'db-configuration-overrides': {'module': 'psql', 'class': 'DbConfigurationOverrideCollection'}, 'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'psql', 'class': 'Configuration'})
|
|
436
439
|
@cli_util.wrap_exceptions
|
|
437
|
-
def create_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, db_version,
|
|
440
|
+
def create_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, db_version, db_configuration_overrides, description, shape, is_flexible, instance_ocpu_count, instance_memory_size_in_gbs, compatible_shapes, freeform_tags, defined_tags, system_tags):
|
|
438
441
|
|
|
439
442
|
kwargs = {}
|
|
440
443
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -443,12 +446,14 @@ def create_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_
|
|
|
443
446
|
_details['displayName'] = display_name
|
|
444
447
|
_details['compartmentId'] = compartment_id
|
|
445
448
|
_details['dbVersion'] = db_version
|
|
446
|
-
_details['shape'] = shape
|
|
447
449
|
_details['dbConfigurationOverrides'] = cli_util.parse_json_parameter("db_configuration_overrides", db_configuration_overrides)
|
|
448
450
|
|
|
449
451
|
if description is not None:
|
|
450
452
|
_details['description'] = description
|
|
451
453
|
|
|
454
|
+
if shape is not None:
|
|
455
|
+
_details['shape'] = shape
|
|
456
|
+
|
|
452
457
|
if is_flexible is not None:
|
|
453
458
|
_details['isFlexible'] = is_flexible
|
|
454
459
|
|
|
@@ -458,6 +463,9 @@ def create_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_
|
|
|
458
463
|
if instance_memory_size_in_gbs is not None:
|
|
459
464
|
_details['instanceMemorySizeInGBs'] = instance_memory_size_in_gbs
|
|
460
465
|
|
|
466
|
+
if compatible_shapes is not None:
|
|
467
|
+
_details['compatibleShapes'] = cli_util.parse_json_parameter("compatible_shapes", compatible_shapes)
|
|
468
|
+
|
|
461
469
|
if freeform_tags is not None:
|
|
462
470
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
463
471
|
|
|
@@ -1434,8 +1442,10 @@ def list_backups(ctx, from_json, all_pages, page_size, compartment_id, time_star
|
|
|
1434
1442
|
@cli_util.option('--config-type', type=custom_types.CliCaseInsensitiveChoice(["DEFAULT", "CUSTOM", "COPIED"]), help=u"""A filter to return only resources if their `configType` matches the given `configType`.""")
|
|
1435
1443
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
1436
1444
|
@cli_util.option('--db-version', help=u"""Version of the PostgreSQL database, such as 14.9.""")
|
|
1437
|
-
@cli_util.option('--shape', help=u"""The name of the shape for the configuration.
|
|
1445
|
+
@cli_util.option('--shape', help=u"""The compute name of the shape for the configuration.""")
|
|
1438
1446
|
@cli_util.option('--configuration-id', help=u"""A unique identifier for the configuration.""")
|
|
1447
|
+
@cli_util.option('--instance-ocpu-count', type=click.INT, help=u"""The instance ocpu count for the configuration.""")
|
|
1448
|
+
@cli_util.option('--instance-memory-size-in-gbs', type=click.INT, help=u"""The instance memory size in GBs for the configuration.""")
|
|
1439
1449
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1440
1450
|
@cli_util.option('--page', help=u"""A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.""")
|
|
1441
1451
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
@@ -1447,7 +1457,7 @@ def list_backups(ctx, from_json, all_pages, page_size, compartment_id, time_star
|
|
|
1447
1457
|
@click.pass_context
|
|
1448
1458
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'psql', 'class': 'ConfigurationCollection'})
|
|
1449
1459
|
@cli_util.wrap_exceptions
|
|
1450
|
-
def list_configurations(ctx, from_json, all_pages, page_size, compartment_id, lifecycle_state, config_type, display_name, db_version, shape, configuration_id, limit, page, sort_order, sort_by):
|
|
1460
|
+
def list_configurations(ctx, from_json, all_pages, page_size, compartment_id, lifecycle_state, config_type, display_name, db_version, shape, configuration_id, instance_ocpu_count, instance_memory_size_in_gbs, limit, page, sort_order, sort_by):
|
|
1451
1461
|
|
|
1452
1462
|
if all_pages and limit:
|
|
1453
1463
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -1467,6 +1477,10 @@ def list_configurations(ctx, from_json, all_pages, page_size, compartment_id, li
|
|
|
1467
1477
|
kwargs['shape'] = shape
|
|
1468
1478
|
if configuration_id is not None:
|
|
1469
1479
|
kwargs['configuration_id'] = configuration_id
|
|
1480
|
+
if instance_ocpu_count is not None:
|
|
1481
|
+
kwargs['instance_ocpu_count'] = instance_ocpu_count
|
|
1482
|
+
if instance_memory_size_in_gbs is not None:
|
|
1483
|
+
kwargs['instance_memory_size_in_gbs'] = instance_memory_size_in_gbs
|
|
1470
1484
|
if limit is not None:
|
|
1471
1485
|
kwargs['limit'] = limit
|
|
1472
1486
|
if page is not None:
|
|
@@ -1565,7 +1579,9 @@ def list_db_systems(ctx, from_json, all_pages, page_size, compartment_id, lifecy
|
|
|
1565
1579
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources if their `lifecycleState` matches the given `lifecycleState`.""")
|
|
1566
1580
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
1567
1581
|
@cli_util.option('--db-version', help=u"""Version of the PostgreSQL database, such as 14.9.""")
|
|
1568
|
-
@cli_util.option('--shape', help=u"""The name of the shape for the configuration.
|
|
1582
|
+
@cli_util.option('--shape', help=u"""The compute name of the shape for the configuration.""")
|
|
1583
|
+
@cli_util.option('--instance-ocpu-count', type=click.INT, help=u"""The instance ocpu count for the configuration.""")
|
|
1584
|
+
@cli_util.option('--instance-memory-size-in-gbs', type=click.INT, help=u"""The instance memory size in GBs for the configuration.""")
|
|
1569
1585
|
@cli_util.option('--configuration-id', help=u"""A unique identifier for the configuration.""")
|
|
1570
1586
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1571
1587
|
@cli_util.option('--page', help=u"""A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.""")
|
|
@@ -1578,7 +1594,7 @@ def list_db_systems(ctx, from_json, all_pages, page_size, compartment_id, lifecy
|
|
|
1578
1594
|
@click.pass_context
|
|
1579
1595
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'psql', 'class': 'DefaultConfigurationCollection'})
|
|
1580
1596
|
@cli_util.wrap_exceptions
|
|
1581
|
-
def list_default_configurations(ctx, from_json, all_pages, page_size, lifecycle_state, display_name, db_version, shape, configuration_id, limit, page, sort_order, sort_by):
|
|
1597
|
+
def list_default_configurations(ctx, from_json, all_pages, page_size, lifecycle_state, display_name, db_version, shape, instance_ocpu_count, instance_memory_size_in_gbs, configuration_id, limit, page, sort_order, sort_by):
|
|
1582
1598
|
|
|
1583
1599
|
if all_pages and limit:
|
|
1584
1600
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -1592,6 +1608,10 @@ def list_default_configurations(ctx, from_json, all_pages, page_size, lifecycle_
|
|
|
1592
1608
|
kwargs['db_version'] = db_version
|
|
1593
1609
|
if shape is not None:
|
|
1594
1610
|
kwargs['shape'] = shape
|
|
1611
|
+
if instance_ocpu_count is not None:
|
|
1612
|
+
kwargs['instance_ocpu_count'] = instance_ocpu_count
|
|
1613
|
+
if instance_memory_size_in_gbs is not None:
|
|
1614
|
+
kwargs['instance_memory_size_in_gbs'] = instance_memory_size_in_gbs
|
|
1595
1615
|
if configuration_id is not None:
|
|
1596
1616
|
kwargs['configuration_id'] = configuration_id
|
|
1597
1617
|
if limit is not None:
|
|
@@ -2328,23 +2348,24 @@ def update_backup(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_
|
|
|
2328
2348
|
@cli_util.option('--description', help=u"""Details about the configuration set.""")
|
|
2329
2349
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2330
2350
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2351
|
+
@cli_util.option('--compatible-shapes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Indicates the collection of compatible shapes for this configuration.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2331
2352
|
@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.""")
|
|
2332
2353
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
2333
2354
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "DELETING", "DELETED", "FAILED"]), 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.""")
|
|
2334
2355
|
@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.""")
|
|
2335
2356
|
@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.""")
|
|
2336
|
-
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}})
|
|
2357
|
+
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'compatible-shapes': {'module': 'psql', 'class': 'list[string]'}})
|
|
2337
2358
|
@cli_util.help_option
|
|
2338
2359
|
@click.pass_context
|
|
2339
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'psql', 'class': 'Configuration'})
|
|
2360
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'psql', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'psql', 'class': 'dict(str, dict(str, object))'}, 'compatible-shapes': {'module': 'psql', 'class': 'list[string]'}}, output_type={'module': 'psql', 'class': 'Configuration'})
|
|
2340
2361
|
@cli_util.wrap_exceptions
|
|
2341
|
-
def update_configuration(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, configuration_id, display_name, description, freeform_tags, defined_tags, if_match):
|
|
2362
|
+
def update_configuration(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, configuration_id, display_name, description, freeform_tags, defined_tags, compatible_shapes, if_match):
|
|
2342
2363
|
|
|
2343
2364
|
if isinstance(configuration_id, six.string_types) and len(configuration_id.strip()) == 0:
|
|
2344
2365
|
raise click.UsageError('Parameter --configuration-id cannot be whitespace or empty string')
|
|
2345
2366
|
if not force:
|
|
2346
|
-
if freeform_tags or defined_tags:
|
|
2347
|
-
if not click.confirm("WARNING: Updates to freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
2367
|
+
if freeform_tags or defined_tags or compatible_shapes:
|
|
2368
|
+
if not click.confirm("WARNING: Updates to freeform-tags and defined-tags and compatible-shapes will replace any existing values. Are you sure you want to continue?"):
|
|
2348
2369
|
ctx.abort()
|
|
2349
2370
|
|
|
2350
2371
|
kwargs = {}
|
|
@@ -2366,6 +2387,9 @@ def update_configuration(ctx, from_json, force, wait_for_state, max_wait_seconds
|
|
|
2366
2387
|
if defined_tags is not None:
|
|
2367
2388
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
2368
2389
|
|
|
2390
|
+
if compatible_shapes is not None:
|
|
2391
|
+
_details['compatibleShapes'] = cli_util.parse_json_parameter("compatible_shapes", compatible_shapes)
|
|
2392
|
+
|
|
2369
2393
|
client = cli_util.build_client('psql', 'postgresql', ctx)
|
|
2370
2394
|
result = client.update_configuration(
|
|
2371
2395
|
configuration_id=configuration_id,
|