oci-cli 3.68.0__py3-none-any.whl → 3.68.1__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.
Files changed (45) hide show
  1. oci_cli/bin/devops.psm1 +12 -1
  2. oci_cli/bin/streaming.psm1 +2 -2
  3. oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/create.txt +17 -0
  4. oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline/create.txt +12 -0
  5. oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline/update.txt +12 -0
  6. oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline-run/create.txt +30 -0
  7. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-deploy-pipeline-deployment-details.txt +174 -0
  8. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-deploy-pipeline-redeployment-details.txt +146 -0
  9. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-single-deploy-stage-deployment-details.txt +179 -0
  10. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run-create-single-deploy-stage-redeployment-details.txt +150 -0
  11. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result/trigger-deployment-dry-run.txt +116 -0
  12. oci_cli/help_text_producer/data_files/text/cmdref/devops/trigger-dry-run-result.txt +25 -0
  13. oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +16 -0
  14. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-db.txt +1 -1
  15. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-collection/create-gi.txt +1 -1
  16. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-db.txt +1 -1
  17. oci_cli/help_text_producer/data_files/text/cmdref/fleet-software-update/fsu-discovery/create-gi.txt +1 -1
  18. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
  19. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
  20. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log/{list-logs.txt → list.txt} +5 -5
  21. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log.txt +1 -1
  22. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
  23. oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
  24. oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +4 -4
  25. oci_cli/help_text_producer/data_files/text/cmdref/streaming/admin/stream-pool/create.txt +18 -0
  26. oci_cli/help_text_producer/data_files/text/cmdref/streaming/admin/stream-pool/update.txt +18 -0
  27. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
  28. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
  29. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
  30. oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
  31. oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
  32. oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
  33. oci_cli/version.py +1 -1
  34. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/METADATA +7 -3
  35. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/RECORD +45 -39
  36. services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +139 -49
  37. services/devops/src/oci_cli_devops/generated/devops_cli.py +226 -0
  38. services/fleet_software_update/src/oci_cli_fleet_software_update/generated/fleetsoftwareupdate_cli.py +4 -4
  39. services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +6 -6
  40. services/streaming/src/oci_cli_stream_admin/generated/streamadmin_cli.py +20 -8
  41. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/LICENSE.txt +0 -0
  42. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
  43. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/WHEEL +0 -0
  44. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/entry_points.txt +0 -0
  45. {oci_cli-3.68.0.dist-info → oci_cli-3.68.1.dist-info}/top_level.txt +0 -0
@@ -52,6 +52,12 @@ def project_group():
52
52
  pass
53
53
 
54
54
 
55
+ @click.command(cli_util.override('devops.trigger_dry_run_result_group.command_name', 'trigger-dry-run-result'), cls=CommandGroupWithAlias, help="""Details about helm diff command execution.""")
56
+ @cli_util.help_option_group
57
+ def trigger_dry_run_result_group():
58
+ pass
59
+
60
+
55
61
  @click.command(cli_util.override('devops.work_request_group.command_name', 'work-request'), cls=CommandGroupWithAlias, help="""Details of the work request status.""")
56
62
  @cli_util.help_option_group
57
63
  def work_request_group():
@@ -267,6 +273,7 @@ devops_root_group.add_command(pull_request_notification_preference_group)
267
273
  devops_root_group.add_command(build_pipeline_collection_group)
268
274
  devops_root_group.add_command(deploy_artifact_summary_group)
269
275
  devops_root_group.add_command(project_group)
276
+ devops_root_group.add_command(trigger_dry_run_result_group)
270
277
  devops_root_group.add_command(work_request_group)
271
278
  devops_root_group.add_command(repository_group)
272
279
  devops_root_group.add_command(project_repository_settings_group)
@@ -10546,6 +10553,225 @@ def sync_repository(ctx, from_json, wait_for_state, max_wait_seconds, wait_inter
10546
10553
  cli_util.render_response(result, ctx)
10547
10554
 
10548
10555
 
10556
+ @trigger_dry_run_result_group.command(name=cli_util.override('devops.trigger_deployment_dry_run.command_name', 'trigger-deployment-dry-run'), help=u"""Sends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted. Any request from non-internal tenancies will receive 403 Forbidden response. \n[Command Reference](triggerDeploymentDryRun)""")
10557
+ @cli_util.option('--helm-diff-arguments', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10558
+ @cli_util.option('--create-deployment-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10559
+ @json_skeleton_utils.get_cli_json_input_option({'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details': {'module': 'devops', 'class': 'CreateDeploymentDetails'}})
10560
+ @cli_util.help_option
10561
+ @click.pass_context
10562
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details': {'module': 'devops', 'class': 'CreateDeploymentDetails'}}, output_type={'module': 'devops', 'class': 'TriggerDryRunResult'})
10563
+ @cli_util.wrap_exceptions
10564
+ def trigger_deployment_dry_run(ctx, from_json, helm_diff_arguments, create_deployment_details):
10565
+
10566
+ kwargs = {}
10567
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10568
+
10569
+ _details = {}
10570
+ _details['helmDiffArguments'] = cli_util.parse_json_parameter("helm_diff_arguments", helm_diff_arguments)
10571
+ _details['createDeploymentDetails'] = cli_util.parse_json_parameter("create_deployment_details", create_deployment_details)
10572
+
10573
+ client = cli_util.build_client('devops', 'devops', ctx)
10574
+ result = client.trigger_deployment_dry_run(
10575
+ trigger_deployment_dry_run_details=_details,
10576
+ **kwargs
10577
+ )
10578
+ cli_util.render_response(result, ctx)
10579
+
10580
+
10581
+ @trigger_dry_run_result_group.command(name=cli_util.override('devops.trigger_deployment_dry_run_create_deploy_pipeline_redeployment_details.command_name', 'trigger-deployment-dry-run-create-deploy-pipeline-redeployment-details'), help=u"""Sends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted. Any request from non-internal tenancies will receive 403 Forbidden response. \n[Command Reference](triggerDeploymentDryRun)""")
10582
+ @cli_util.option('--helm-diff-arguments', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10583
+ @cli_util.option('--create-deployment-details-deploy-pipeline-id', required=True, help=u"""The OCID of a pipeline.""")
10584
+ @cli_util.option('--create-deployment-details-previous-deployment-id', required=True, help=u"""Specifies the OCID of the previous deployment to be redeployed.""")
10585
+ @cli_util.option('--create-deployment-details-display-name', help=u"""Deployment display name. Avoid entering confidential information.""")
10586
+ @cli_util.option('--create-deployment-details-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. See [Resource Tags]. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10587
+ @cli_util.option('--create-deployment-details-defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags]. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10588
+ @json_skeleton_utils.get_cli_json_input_option({'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}})
10589
+ @cli_util.help_option
10590
+ @click.pass_context
10591
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'devops', 'class': 'TriggerDryRunResult'})
10592
+ @cli_util.wrap_exceptions
10593
+ def trigger_deployment_dry_run_create_deploy_pipeline_redeployment_details(ctx, from_json, helm_diff_arguments, create_deployment_details_deploy_pipeline_id, create_deployment_details_previous_deployment_id, create_deployment_details_display_name, create_deployment_details_freeform_tags, create_deployment_details_defined_tags):
10594
+
10595
+ kwargs = {}
10596
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10597
+
10598
+ _details = {}
10599
+ _details['createDeploymentDetails'] = {}
10600
+ _details['helmDiffArguments'] = cli_util.parse_json_parameter("helm_diff_arguments", helm_diff_arguments)
10601
+ _details['createDeploymentDetails']['deployPipelineId'] = create_deployment_details_deploy_pipeline_id
10602
+ _details['createDeploymentDetails']['previousDeploymentId'] = create_deployment_details_previous_deployment_id
10603
+
10604
+ if create_deployment_details_display_name is not None:
10605
+ _details['createDeploymentDetails']['displayName'] = create_deployment_details_display_name
10606
+
10607
+ if create_deployment_details_freeform_tags is not None:
10608
+ _details['createDeploymentDetails']['freeformTags'] = cli_util.parse_json_parameter("create_deployment_details_freeform_tags", create_deployment_details_freeform_tags)
10609
+
10610
+ if create_deployment_details_defined_tags is not None:
10611
+ _details['createDeploymentDetails']['definedTags'] = cli_util.parse_json_parameter("create_deployment_details_defined_tags", create_deployment_details_defined_tags)
10612
+
10613
+ _details['createDeploymentDetails']['deploymentType'] = 'PIPELINE_REDEPLOYMENT'
10614
+
10615
+ client = cli_util.build_client('devops', 'devops', ctx)
10616
+ result = client.trigger_deployment_dry_run(
10617
+ trigger_deployment_dry_run_details=_details,
10618
+ **kwargs
10619
+ )
10620
+ cli_util.render_response(result, ctx)
10621
+
10622
+
10623
+ @trigger_dry_run_result_group.command(name=cli_util.override('devops.trigger_deployment_dry_run_create_deploy_pipeline_deployment_details.command_name', 'trigger-deployment-dry-run-create-deploy-pipeline-deployment-details'), help=u"""Sends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted. Any request from non-internal tenancies will receive 403 Forbidden response. \n[Command Reference](triggerDeploymentDryRun)""")
10624
+ @cli_util.option('--helm-diff-arguments', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10625
+ @cli_util.option('--create-deployment-details-deploy-pipeline-id', required=True, help=u"""The OCID of a pipeline.""")
10626
+ @cli_util.option('--create-deployment-details-display-name', help=u"""Deployment display name. Avoid entering confidential information.""")
10627
+ @cli_util.option('--create-deployment-details-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. See [Resource Tags]. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10628
+ @cli_util.option('--create-deployment-details-defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags]. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10629
+ @cli_util.option('--create-deployment-details-deployment-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10630
+ @cli_util.option('--create-deployment-details-deploy-stage-override-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10631
+ @cli_util.option('--create-deployment-details-deploy-artifact-override-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10632
+ @json_skeleton_utils.get_cli_json_input_option({'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'create-deployment-details-deployment-arguments': {'module': 'devops', 'class': 'DeploymentArgumentCollection'}, 'create-deployment-details-deploy-stage-override-arguments': {'module': 'devops', 'class': 'DeployStageOverrideArgumentCollection'}, 'create-deployment-details-deploy-artifact-override-arguments': {'module': 'devops', 'class': 'DeployArtifactOverrideArgumentCollection'}})
10633
+ @cli_util.help_option
10634
+ @click.pass_context
10635
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'create-deployment-details-deployment-arguments': {'module': 'devops', 'class': 'DeploymentArgumentCollection'}, 'create-deployment-details-deploy-stage-override-arguments': {'module': 'devops', 'class': 'DeployStageOverrideArgumentCollection'}, 'create-deployment-details-deploy-artifact-override-arguments': {'module': 'devops', 'class': 'DeployArtifactOverrideArgumentCollection'}}, output_type={'module': 'devops', 'class': 'TriggerDryRunResult'})
10636
+ @cli_util.wrap_exceptions
10637
+ def trigger_deployment_dry_run_create_deploy_pipeline_deployment_details(ctx, from_json, helm_diff_arguments, create_deployment_details_deploy_pipeline_id, create_deployment_details_display_name, create_deployment_details_freeform_tags, create_deployment_details_defined_tags, create_deployment_details_deployment_arguments, create_deployment_details_deploy_stage_override_arguments, create_deployment_details_deploy_artifact_override_arguments):
10638
+
10639
+ kwargs = {}
10640
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10641
+
10642
+ _details = {}
10643
+ _details['createDeploymentDetails'] = {}
10644
+ _details['helmDiffArguments'] = cli_util.parse_json_parameter("helm_diff_arguments", helm_diff_arguments)
10645
+ _details['createDeploymentDetails']['deployPipelineId'] = create_deployment_details_deploy_pipeline_id
10646
+
10647
+ if create_deployment_details_display_name is not None:
10648
+ _details['createDeploymentDetails']['displayName'] = create_deployment_details_display_name
10649
+
10650
+ if create_deployment_details_freeform_tags is not None:
10651
+ _details['createDeploymentDetails']['freeformTags'] = cli_util.parse_json_parameter("create_deployment_details_freeform_tags", create_deployment_details_freeform_tags)
10652
+
10653
+ if create_deployment_details_defined_tags is not None:
10654
+ _details['createDeploymentDetails']['definedTags'] = cli_util.parse_json_parameter("create_deployment_details_defined_tags", create_deployment_details_defined_tags)
10655
+
10656
+ if create_deployment_details_deployment_arguments is not None:
10657
+ _details['createDeploymentDetails']['deploymentArguments'] = cli_util.parse_json_parameter("create_deployment_details_deployment_arguments", create_deployment_details_deployment_arguments)
10658
+
10659
+ if create_deployment_details_deploy_stage_override_arguments is not None:
10660
+ _details['createDeploymentDetails']['deployStageOverrideArguments'] = cli_util.parse_json_parameter("create_deployment_details_deploy_stage_override_arguments", create_deployment_details_deploy_stage_override_arguments)
10661
+
10662
+ if create_deployment_details_deploy_artifact_override_arguments is not None:
10663
+ _details['createDeploymentDetails']['deployArtifactOverrideArguments'] = cli_util.parse_json_parameter("create_deployment_details_deploy_artifact_override_arguments", create_deployment_details_deploy_artifact_override_arguments)
10664
+
10665
+ _details['createDeploymentDetails']['deploymentType'] = 'PIPELINE_DEPLOYMENT'
10666
+
10667
+ client = cli_util.build_client('devops', 'devops', ctx)
10668
+ result = client.trigger_deployment_dry_run(
10669
+ trigger_deployment_dry_run_details=_details,
10670
+ **kwargs
10671
+ )
10672
+ cli_util.render_response(result, ctx)
10673
+
10674
+
10675
+ @trigger_dry_run_result_group.command(name=cli_util.override('devops.trigger_deployment_dry_run_create_single_deploy_stage_deployment_details.command_name', 'trigger-deployment-dry-run-create-single-deploy-stage-deployment-details'), help=u"""Sends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted. Any request from non-internal tenancies will receive 403 Forbidden response. \n[Command Reference](triggerDeploymentDryRun)""")
10676
+ @cli_util.option('--helm-diff-arguments', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10677
+ @cli_util.option('--create-deployment-details-deploy-pipeline-id', required=True, help=u"""The OCID of a pipeline.""")
10678
+ @cli_util.option('--create-deployment-details-deploy-stage-id', required=True, help=u"""Specifies the OCID of the stage to be redeployed.""")
10679
+ @cli_util.option('--create-deployment-details-display-name', help=u"""Deployment display name. Avoid entering confidential information.""")
10680
+ @cli_util.option('--create-deployment-details-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. See [Resource Tags]. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10681
+ @cli_util.option('--create-deployment-details-defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags]. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10682
+ @cli_util.option('--create-deployment-details-deployment-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10683
+ @cli_util.option('--create-deployment-details-deploy-stage-override-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10684
+ @cli_util.option('--create-deployment-details-deploy-artifact-override-arguments', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10685
+ @json_skeleton_utils.get_cli_json_input_option({'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'create-deployment-details-deployment-arguments': {'module': 'devops', 'class': 'DeploymentArgumentCollection'}, 'create-deployment-details-deploy-stage-override-arguments': {'module': 'devops', 'class': 'DeployStageOverrideArgumentCollection'}, 'create-deployment-details-deploy-artifact-override-arguments': {'module': 'devops', 'class': 'DeployArtifactOverrideArgumentCollection'}})
10686
+ @cli_util.help_option
10687
+ @click.pass_context
10688
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}, 'create-deployment-details-deployment-arguments': {'module': 'devops', 'class': 'DeploymentArgumentCollection'}, 'create-deployment-details-deploy-stage-override-arguments': {'module': 'devops', 'class': 'DeployStageOverrideArgumentCollection'}, 'create-deployment-details-deploy-artifact-override-arguments': {'module': 'devops', 'class': 'DeployArtifactOverrideArgumentCollection'}}, output_type={'module': 'devops', 'class': 'TriggerDryRunResult'})
10689
+ @cli_util.wrap_exceptions
10690
+ def trigger_deployment_dry_run_create_single_deploy_stage_deployment_details(ctx, from_json, helm_diff_arguments, create_deployment_details_deploy_pipeline_id, create_deployment_details_deploy_stage_id, create_deployment_details_display_name, create_deployment_details_freeform_tags, create_deployment_details_defined_tags, create_deployment_details_deployment_arguments, create_deployment_details_deploy_stage_override_arguments, create_deployment_details_deploy_artifact_override_arguments):
10691
+
10692
+ kwargs = {}
10693
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10694
+
10695
+ _details = {}
10696
+ _details['createDeploymentDetails'] = {}
10697
+ _details['helmDiffArguments'] = cli_util.parse_json_parameter("helm_diff_arguments", helm_diff_arguments)
10698
+ _details['createDeploymentDetails']['deployPipelineId'] = create_deployment_details_deploy_pipeline_id
10699
+ _details['createDeploymentDetails']['deployStageId'] = create_deployment_details_deploy_stage_id
10700
+
10701
+ if create_deployment_details_display_name is not None:
10702
+ _details['createDeploymentDetails']['displayName'] = create_deployment_details_display_name
10703
+
10704
+ if create_deployment_details_freeform_tags is not None:
10705
+ _details['createDeploymentDetails']['freeformTags'] = cli_util.parse_json_parameter("create_deployment_details_freeform_tags", create_deployment_details_freeform_tags)
10706
+
10707
+ if create_deployment_details_defined_tags is not None:
10708
+ _details['createDeploymentDetails']['definedTags'] = cli_util.parse_json_parameter("create_deployment_details_defined_tags", create_deployment_details_defined_tags)
10709
+
10710
+ if create_deployment_details_deployment_arguments is not None:
10711
+ _details['createDeploymentDetails']['deploymentArguments'] = cli_util.parse_json_parameter("create_deployment_details_deployment_arguments", create_deployment_details_deployment_arguments)
10712
+
10713
+ if create_deployment_details_deploy_stage_override_arguments is not None:
10714
+ _details['createDeploymentDetails']['deployStageOverrideArguments'] = cli_util.parse_json_parameter("create_deployment_details_deploy_stage_override_arguments", create_deployment_details_deploy_stage_override_arguments)
10715
+
10716
+ if create_deployment_details_deploy_artifact_override_arguments is not None:
10717
+ _details['createDeploymentDetails']['deployArtifactOverrideArguments'] = cli_util.parse_json_parameter("create_deployment_details_deploy_artifact_override_arguments", create_deployment_details_deploy_artifact_override_arguments)
10718
+
10719
+ _details['createDeploymentDetails']['deploymentType'] = 'SINGLE_STAGE_DEPLOYMENT'
10720
+
10721
+ client = cli_util.build_client('devops', 'devops', ctx)
10722
+ result = client.trigger_deployment_dry_run(
10723
+ trigger_deployment_dry_run_details=_details,
10724
+ **kwargs
10725
+ )
10726
+ cli_util.render_response(result, ctx)
10727
+
10728
+
10729
+ @trigger_dry_run_result_group.command(name=cli_util.override('devops.trigger_deployment_dry_run_create_single_deploy_stage_redeployment_details.command_name', 'trigger-deployment-dry-run-create-single-deploy-stage-redeployment-details'), help=u"""Sends a request to trigger a dry run, passing a HelmDiffArgumentCollection This is an internal-only endpoint, access to this endpoint is restricted. Any request from non-internal tenancies will receive 403 Forbidden response. \n[Command Reference](triggerDeploymentDryRun)""")
10730
+ @cli_util.option('--helm-diff-arguments', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10731
+ @cli_util.option('--create-deployment-details-deploy-pipeline-id', required=True, help=u"""The OCID of a pipeline.""")
10732
+ @cli_util.option('--create-deployment-details-deploy-stage-id', required=True, help=u"""Specifies the OCID of the stage to be redeployed.""")
10733
+ @cli_util.option('--create-deployment-details-display-name', help=u"""Deployment display name. Avoid entering confidential information.""")
10734
+ @cli_util.option('--create-deployment-details-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. See [Resource Tags]. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10735
+ @cli_util.option('--create-deployment-details-defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags]. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
10736
+ @cli_util.option('--create-deployment-details-previous-deployment-id', help=u"""Specifies the OCID of the previous deployment to be redeployed.""")
10737
+ @json_skeleton_utils.get_cli_json_input_option({'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}})
10738
+ @cli_util.help_option
10739
+ @click.pass_context
10740
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'helm-diff-arguments': {'module': 'devops', 'class': 'HelmDiffArgumentCollection'}, 'create-deployment-details-freeform-tags': {'module': 'devops', 'class': 'dict(str, string)'}, 'create-deployment-details-defined-tags': {'module': 'devops', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'devops', 'class': 'TriggerDryRunResult'})
10741
+ @cli_util.wrap_exceptions
10742
+ def trigger_deployment_dry_run_create_single_deploy_stage_redeployment_details(ctx, from_json, helm_diff_arguments, create_deployment_details_deploy_pipeline_id, create_deployment_details_deploy_stage_id, create_deployment_details_display_name, create_deployment_details_freeform_tags, create_deployment_details_defined_tags, create_deployment_details_previous_deployment_id):
10743
+
10744
+ kwargs = {}
10745
+ kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
10746
+
10747
+ _details = {}
10748
+ _details['createDeploymentDetails'] = {}
10749
+ _details['helmDiffArguments'] = cli_util.parse_json_parameter("helm_diff_arguments", helm_diff_arguments)
10750
+ _details['createDeploymentDetails']['deployPipelineId'] = create_deployment_details_deploy_pipeline_id
10751
+ _details['createDeploymentDetails']['deployStageId'] = create_deployment_details_deploy_stage_id
10752
+
10753
+ if create_deployment_details_display_name is not None:
10754
+ _details['createDeploymentDetails']['displayName'] = create_deployment_details_display_name
10755
+
10756
+ if create_deployment_details_freeform_tags is not None:
10757
+ _details['createDeploymentDetails']['freeformTags'] = cli_util.parse_json_parameter("create_deployment_details_freeform_tags", create_deployment_details_freeform_tags)
10758
+
10759
+ if create_deployment_details_defined_tags is not None:
10760
+ _details['createDeploymentDetails']['definedTags'] = cli_util.parse_json_parameter("create_deployment_details_defined_tags", create_deployment_details_defined_tags)
10761
+
10762
+ if create_deployment_details_previous_deployment_id is not None:
10763
+ _details['createDeploymentDetails']['previousDeploymentId'] = create_deployment_details_previous_deployment_id
10764
+
10765
+ _details['createDeploymentDetails']['deploymentType'] = 'SINGLE_STAGE_REDEPLOYMENT'
10766
+
10767
+ client = cli_util.build_client('devops', 'devops', ctx)
10768
+ result = client.trigger_deployment_dry_run(
10769
+ trigger_deployment_dry_run_details=_details,
10770
+ **kwargs
10771
+ )
10772
+ cli_util.render_response(result, ctx)
10773
+
10774
+
10549
10775
  @pull_request_group.command(name=cli_util.override('devops.unlike_pull_request_comment.command_name', 'unlike-pull-request-comment'), help=u"""Unlike a PullRequest comment \n[Command Reference](unlikePullRequestComment)""")
10550
10776
  @cli_util.option('--pull-request-id', required=True, help=u"""unique PullRequest identifier""")
10551
10777
  @cli_util.option('--comment-id', required=True, help=u"""unique PullRequest Comment identifier""")
@@ -1119,7 +1119,7 @@ def create_fsu_collection(ctx, from_json, wait_for_state, max_wait_seconds, wait
1119
1119
  @fsu_collection_group.command(name=cli_util.override('fleet_software_update.create_fsu_collection_create_db_fsu_collection_details.command_name', 'create-fsu-collection-create-db-fsu-collection-details'), help=u"""Creates a new Exadata Fleet Update Collection. \n[Command Reference](createFsuCollection)""")
1120
1120
  @cli_util.option('--service-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXACS", "EXACC"]), help=u"""Exadata service type for the target resource members.""")
1121
1121
  @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the Compartment.""")
1122
- @cli_util.option('--source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23"]), help=u"""Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.""")
1122
+ @cli_util.option('--source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23", "DB_26"]), help=u"""Database Major Version of targets to be included in the Exadata Fleet Update Collection. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.""")
1123
1123
  @cli_util.option('--display-name', help=u"""The user-friendly name for the Exadata Fleet Update Collection.""")
1124
1124
  @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)
1125
1125
  @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)
@@ -1194,7 +1194,7 @@ def create_fsu_collection_create_db_fsu_collection_details(ctx, from_json, wait_
1194
1194
  @fsu_collection_group.command(name=cli_util.override('fleet_software_update.create_fsu_collection_create_gi_fsu_collection_details.command_name', 'create-fsu-collection-create-gi-fsu-collection-details'), help=u"""Creates a new Exadata Fleet Update Collection. \n[Command Reference](createFsuCollection)""")
1195
1195
  @cli_util.option('--service-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXACS", "EXACC"]), help=u"""Exadata service type for the target resource members.""")
1196
1196
  @cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the Compartment.""")
1197
- @cli_util.option('--source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["GI_18", "GI_19", "GI_23"]), help=u"""Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.""")
1197
+ @cli_util.option('--source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["GI_18", "GI_19", "GI_23", "GI_26"]), help=u"""Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Collection. Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Collection.""")
1198
1198
  @cli_util.option('--display-name', help=u"""The user-friendly name for the Exadata Fleet Update Collection.""")
1199
1199
  @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)
1200
1200
  @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)
@@ -1763,7 +1763,7 @@ def create_fsu_discovery(ctx, from_json, wait_for_state, max_wait_seconds, wait_
1763
1763
  @fsu_discovery_group.command(name=cli_util.override('fleet_software_update.create_fsu_discovery_gi_discovery_details.command_name', 'create-fsu-discovery-gi-discovery-details'), help=u"""Creates a new Exadata Fleet Update Discovery. \n[Command Reference](createFsuDiscovery)""")
1764
1764
  @cli_util.option('--compartment-id', required=True, help=u"""Compartment Identifier.""")
1765
1765
  @cli_util.option('--details-service-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXACS", "EXACC"]), help=u"""Exadata service type for the target resource members.""")
1766
- @cli_util.option('--details-source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["GI_18", "GI_19", "GI_23"]), help=u"""Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Discovery results. Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Discovery results.""")
1766
+ @cli_util.option('--details-source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["GI_18", "GI_19", "GI_23", "GI_26"]), help=u"""Grid Infrastructure Major Version of targets to be included in the Exadata Fleet Update Discovery results. Only GI targets that match the version specified in this value would be added to the Exadata Fleet Update Discovery results.""")
1767
1767
  @cli_util.option('--details-criteria', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
1768
1768
  @cli_util.option('--display-name', help=u"""Exadata Fleet Update Collection display name.""")
1769
1769
  @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)
@@ -1837,7 +1837,7 @@ def create_fsu_discovery_gi_discovery_details(ctx, from_json, wait_for_state, ma
1837
1837
  @fsu_discovery_group.command(name=cli_util.override('fleet_software_update.create_fsu_discovery_db_discovery_details.command_name', 'create-fsu-discovery-db-discovery-details'), help=u"""Creates a new Exadata Fleet Update Discovery. \n[Command Reference](createFsuDiscovery)""")
1838
1838
  @cli_util.option('--compartment-id', required=True, help=u"""Compartment Identifier.""")
1839
1839
  @cli_util.option('--details-service-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXACS", "EXACC"]), help=u"""Exadata service type for the target resource members.""")
1840
- @cli_util.option('--details-source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23"]), help=u"""Database Major Version of targets to be included in the Exadata Fleet Update Discovery results. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Discovery results.""")
1840
+ @cli_util.option('--details-source-major-version', required=True, type=custom_types.CliCaseInsensitiveChoice(["DB_11204", "DB_121", "DB_122", "DB_18", "DB_19", "DB_23", "DB_26"]), help=u"""Database Major Version of targets to be included in the Exadata Fleet Update Discovery results. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/DbVersionSummary/ListDbVersions Only Database targets that match the version specified in this value would be added to the Exadata Fleet Update Discovery results.""")
1841
1841
  @cli_util.option('--details-criteria', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
1842
1842
  @cli_util.option('--display-name', help=u"""Exadata Fleet Update Collection display name.""")
1843
1843
  @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)
@@ -4250,10 +4250,10 @@ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"
4250
4250
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain 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.""")
4251
4251
  @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
4252
4252
  @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
4253
- @json_skeleton_utils.get_cli_json_input_option({'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]'}})
4253
+ @json_skeleton_utils.get_cli_json_input_option({'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]'}, 'security-attributes': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}})
4254
4254
  @cli_util.help_option
4255
4255
  @click.pass_context
4256
- @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'})
4256
+ @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]'}, 'security-attributes': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'golden_gate', 'class': 'Connection'})
4257
4257
  @cli_util.wrap_exceptions
4258
4258
  def create_connection_create_oracle_ai_data_platform_connection_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, technology_type, connection_url, description, freeform_tags, defined_tags, locks, vault_id, key_id, nsg_ids, subnet_id, routing_method, does_use_secret_ids, subscription_id, cluster_placement_group_id, security_attributes, tenancy_id, region_parameterconflict, user_id, private_key_file_secret_id, private_key_passphrase_secret_id, public_key_fingerprint, should_use_resource_principal):
4259
4259
 
@@ -11729,18 +11729,18 @@ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"
11729
11729
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain 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.""")
11730
11730
  @cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
11731
11731
  @cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
11732
- @json_skeleton_utils.get_cli_json_input_option({'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]'}})
11732
+ @json_skeleton_utils.get_cli_json_input_option({'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]'}, 'security-attributes': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}})
11733
11733
  @cli_util.help_option
11734
11734
  @click.pass_context
11735
- @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]'}})
11735
+ @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]'}, 'security-attributes': {'module': 'golden_gate', 'class': 'dict(str, dict(str, object))'}})
11736
11736
  @cli_util.wrap_exceptions
11737
11737
  def update_connection_update_oracle_ai_data_platform_connection_details(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, connection_id, display_name, description, freeform_tags, defined_tags, vault_id, key_id, nsg_ids, subnet_id, routing_method, does_use_secret_ids, security_attributes, connection_url, tenancy_id, region_parameterconflict, user_id, private_key_file_secret_id, private_key_passphrase_secret_id, public_key_fingerprint, should_use_resource_principal, if_match, is_lock_override):
11738
11738
 
11739
11739
  if isinstance(connection_id, six.string_types) and len(connection_id.strip()) == 0:
11740
11740
  raise click.UsageError('Parameter --connection-id cannot be whitespace or empty string')
11741
11741
  if not force:
11742
- if freeform_tags or defined_tags or nsg_ids:
11743
- if not click.confirm("WARNING: Updates to freeform-tags and defined-tags and nsg-ids will replace any existing values. Are you sure you want to continue?"):
11742
+ if freeform_tags or defined_tags or nsg_ids or security_attributes:
11743
+ if not click.confirm("WARNING: Updates to freeform-tags and defined-tags and nsg-ids and security-attributes will replace any existing values. Are you sure you want to continue?"):
11744
11744
  ctx.abort()
11745
11745
 
11746
11746
  kwargs = {}
@@ -292,18 +292,21 @@ Example: `MyStreamPool`""")
292
292
  @cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags].
293
293
 
294
294
  Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
295
+ @cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
296
+
297
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
295
298
  @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. For more information, see [Resource Tags].
296
299
 
297
300
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
298
301
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING"]), 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.""")
299
302
  @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.""")
300
303
  @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.""")
301
- @json_skeleton_utils.get_cli_json_input_option({'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'private-endpoint-details': {'module': 'streaming', 'class': 'PrivateEndpointDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}})
304
+ @json_skeleton_utils.get_cli_json_input_option({'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'private-endpoint-details': {'module': 'streaming', 'class': 'PrivateEndpointDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'security-attributes': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}})
302
305
  @cli_util.help_option
303
306
  @click.pass_context
304
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'private-endpoint-details': {'module': 'streaming', 'class': 'PrivateEndpointDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'streaming', 'class': 'StreamPool'})
307
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'private-endpoint-details': {'module': 'streaming', 'class': 'PrivateEndpointDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'security-attributes': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'streaming', 'class': 'StreamPool'})
305
308
  @cli_util.wrap_exceptions
306
- def create_stream_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, name, kafka_settings, custom_encryption_key_details, private_endpoint_details, freeform_tags, defined_tags):
309
+ def create_stream_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, name, kafka_settings, custom_encryption_key_details, private_endpoint_details, freeform_tags, security_attributes, defined_tags):
307
310
 
308
311
  kwargs = {}
309
312
  kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -324,6 +327,9 @@ def create_stream_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
324
327
  if freeform_tags is not None:
325
328
  _details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
326
329
 
330
+ if security_attributes is not None:
331
+ _details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
332
+
327
333
  if defined_tags is not None:
328
334
  _details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
329
335
 
@@ -963,6 +969,9 @@ def update_stream(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_
963
969
  @cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair that is applied with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags].
964
970
 
965
971
  Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
972
+ @cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].
973
+
974
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
966
975
  @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. For more information, see [Resource Tags].
967
976
 
968
977
  Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@@ -971,18 +980,18 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
971
980
  @cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING"]), 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.""")
972
981
  @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.""")
973
982
  @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.""")
974
- @json_skeleton_utils.get_cli_json_input_option({'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}})
983
+ @json_skeleton_utils.get_cli_json_input_option({'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'security-attributes': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}})
975
984
  @cli_util.help_option
976
985
  @click.pass_context
977
- @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'streaming', 'class': 'StreamPool'})
986
+ @json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'kafka-settings': {'module': 'streaming', 'class': 'KafkaSettings'}, 'custom-encryption-key-details': {'module': 'streaming', 'class': 'CustomEncryptionKeyDetails'}, 'freeform-tags': {'module': 'streaming', 'class': 'dict(str, string)'}, 'security-attributes': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}, 'defined-tags': {'module': 'streaming', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'streaming', 'class': 'StreamPool'})
978
987
  @cli_util.wrap_exceptions
979
- def update_stream_pool(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, stream_pool_id, name, kafka_settings, custom_encryption_key_details, freeform_tags, defined_tags, if_match):
988
+ def update_stream_pool(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, stream_pool_id, name, kafka_settings, custom_encryption_key_details, freeform_tags, security_attributes, defined_tags, if_match):
980
989
 
981
990
  if isinstance(stream_pool_id, six.string_types) and len(stream_pool_id.strip()) == 0:
982
991
  raise click.UsageError('Parameter --stream-pool-id cannot be whitespace or empty string')
983
992
  if not force:
984
- if kafka_settings or custom_encryption_key_details or freeform_tags or defined_tags:
985
- if not click.confirm("WARNING: Updates to kafka-settings and custom-encryption-key-details and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
993
+ if kafka_settings or custom_encryption_key_details or freeform_tags or security_attributes or defined_tags:
994
+ if not click.confirm("WARNING: Updates to kafka-settings and custom-encryption-key-details and freeform-tags and security-attributes and defined-tags will replace any existing values. Are you sure you want to continue?"):
986
995
  ctx.abort()
987
996
 
988
997
  kwargs = {}
@@ -1004,6 +1013,9 @@ def update_stream_pool(ctx, from_json, force, wait_for_state, max_wait_seconds,
1004
1013
  if freeform_tags is not None:
1005
1014
  _details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
1006
1015
 
1016
+ if security_attributes is not None:
1017
+ _details['securityAttributes'] = cli_util.parse_json_parameter("security_attributes", security_attributes)
1018
+
1007
1019
  if defined_tags is not None:
1008
1020
  _details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
1009
1021