oci-cli 3.72.1__py3-none-any.whl → 3.73.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.
- oci_cli/bin/dif.psm1 +3 -3
- oci_cli/bin/mysql.psm1 +6 -2
- oci_cli/bin/opensearch.psm1 +2 -2
- oci_cli/bin/queue.psm1 +23 -11
- oci_cli/help_text_producer/data_files/text/cmdref/certificates/ca-bundle/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-authority-bundle/get.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-authority-bundle-version/list.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/certificates/certificate-bundle/get.txt +6 -5
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-root-ca-by-generating-config-details.txt +12 -8
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-root-ca-managed-externally.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-subordinate-ca-issued-by-internal-ca.txt +12 -8
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/create-subordinate-ca-managed-internally-issued-by-external-ca.txt +229 -0
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-root-ca-by-generating-config-details.txt +8 -2
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-root-ca-managed-externally.txt +222 -0
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-subordinate-ca-issued-by-internal-ca.txt +8 -2
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority/update-subordinate-ca-managed-internally-issued-by-external-ca.txt +233 -0
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt/certificate-authority.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/certs-mgmt.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/apply-host-configuration.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/attach.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/check-host-configuration.txt +0 -26
- oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create-dedicated-vm-host-compute-bare-metal-host-placement-constraint-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create-dedicated-vm-host-host-group-placement-constraint-details.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/create.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/dedicated-vm-host-instance/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-configuration/launch-compute-instance.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/create.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/restart.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log/{list-logs.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/add.txt +51 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/create.txt +50 -2
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/deploy-artifacts.txt +36 -4
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/agent-endpoint/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/agent-endpoint/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/create.txt +170 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/list.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity/update.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/provisioned-capacity.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-rag-tool-config.txt +37 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-sql-tool-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-rag-tool-config.txt +37 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-sql-tool-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log-entry.txt → work-request-log.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster/list-node-shapes.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka/cluster.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/kafka.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup/export.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/backup.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/work-request/cancel.txt +104 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql/work-request.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/mysql.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/network/vcn/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/network/vcn/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/create.txt +205 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/delete.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/get.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/list.txt +160 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance/update.txt +217 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance/management-appliance.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/management-appliance.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/opensearch/cluster/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/queue/channels/list-channels.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/delete-message.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/delete-messages.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/get-messages.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/get-stats.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/update-message.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/messages/update-messages.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/create.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/get.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group/update.txt +185 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group-collection/list-consumer-groups.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/consumer-group.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/create.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/purge.txt +19 -6
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin/queue/update.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue/queue-admin.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/queue.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +6 -6
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/METADATA +2 -2
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/RECORD +134 -102
- services/certificates/src/oci_cli_certificates/generated/certificates_cli.py +6 -6
- services/certificates_management/src/oci_cli_certificates_management/certificatesmanagement_cli_extended.py +126 -0
- services/certificates_management/src/oci_cli_certificates_management/generated/certificatesmanagement_cli.py +447 -25
- services/core/src/oci_cli_compute/generated/compute_cli.py +126 -174
- services/core/src/oci_cli_compute_management/generated/computemanagement_cli.py +13 -4
- services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +2 -2
- services/database/src/oci_cli_database/generated/database_cli.py +4 -1
- services/dif/src/oci_cli_stack/generated/stack_cli.py +65 -17
- services/dif/src/oci_cli_stack/stack_cli_extended.py +9 -9
- services/generative_ai_agent/src/oci_cli_generative_ai_agent/generated/generativeaiagent_cli.py +435 -16
- services/managed_kafka/src/oci_cli_kafka_cluster/generated/kafkacluster_cli.py +56 -0
- services/mysql/src/oci_cli_db_backups/generated/dbbackups_cli.py +70 -0
- services/mysql/src/oci_cli_work_requests/generated/workrequests_cli.py +26 -0
- services/ocvp/src/oci_cli_management_appliance/__init__.py +4 -0
- services/ocvp/src/oci_cli_management_appliance/generated/__init__.py +4 -0
- services/ocvp/src/oci_cli_management_appliance/generated/client_mappings.py +14 -0
- services/ocvp/src/oci_cli_management_appliance/generated/managementappliance_cli.py +341 -0
- services/opensearch/src/oci_cli_opensearch_cluster/generated/opensearchcluster_cli.py +16 -8
- services/queue/src/oci_cli_queue/generated/queue_cli.py +28 -7
- services/queue/src/oci_cli_queue_admin/generated/queueadmin_cli.py +343 -10
- services/queue/src/oci_cli_queue_admin/queueadmin_cli_extended.py +54 -7
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.72.1.dist-info → oci_cli-3.73.1.dist-info}/top_level.txt +0 -0
|
@@ -524,7 +524,7 @@ To determine whether capacity is available for a specific shape before you creat
|
|
|
524
524
|
@cli_util.option('--instance-configuration-id', required=True, help=u"""The [OCID] of the instance configuration associated with the instance pool.""")
|
|
525
525
|
@cli_util.option('--placement-configurations', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The placement configurations for the instance pool. Provide one placement configuration for each availability domain.
|
|
526
526
|
|
|
527
|
-
To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
527
|
+
To use the instance pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration. To use compute cluster with instance pool, provide a single placement configuration.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
528
528
|
@cli_util.option('--size', required=True, type=click.INT, help=u"""The number of instances that should be in the instance pool.""")
|
|
529
529
|
@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].
|
|
530
530
|
|
|
@@ -887,17 +887,20 @@ If the instance configuration does not include all of the parameters that are re
|
|
|
887
887
|
To determine whether capacity is available for a specific shape before you create an instance, use the [CreateComputeCapacityReport] operation. \n[Command Reference](launchInstanceConfiguration)""")
|
|
888
888
|
@cli_util.option('--instance-configuration-id', required=True, help=u"""The OCID of the instance configuration.""")
|
|
889
889
|
@cli_util.option('--instance-type', required=True, help=u"""The type of instance details. Supported instanceType is compute""")
|
|
890
|
+
@cli_util.option('--opc-compute-cluster-id', help=u"""The [OCID] of the [compute cluster] that the instance will be created in.""")
|
|
890
891
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
891
892
|
@cli_util.help_option
|
|
892
893
|
@click.pass_context
|
|
893
894
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'Instance'})
|
|
894
895
|
@cli_util.wrap_exceptions
|
|
895
|
-
def launch_instance_configuration(ctx, from_json, instance_configuration_id, instance_type):
|
|
896
|
+
def launch_instance_configuration(ctx, from_json, instance_configuration_id, instance_type, opc_compute_cluster_id):
|
|
896
897
|
|
|
897
898
|
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
|
|
898
899
|
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
|
|
899
900
|
|
|
900
901
|
kwargs = {}
|
|
902
|
+
if opc_compute_cluster_id is not None:
|
|
903
|
+
kwargs['opc_compute_cluster_id'] = opc_compute_cluster_id
|
|
901
904
|
|
|
902
905
|
_details = {}
|
|
903
906
|
_details['instanceType'] = instance_type
|
|
@@ -920,17 +923,20 @@ To determine whether capacity is available for a specific shape before you creat
|
|
|
920
923
|
@cli_util.option('--options', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The Compute Instance Configuration parameters.
|
|
921
924
|
|
|
922
925
|
This option is a JSON list with items of type ComputeInstanceDetails. For documentation on ComputeInstanceDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/ComputeInstanceDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
926
|
+
@cli_util.option('--opc-compute-cluster-id', help=u"""The [OCID] of the [compute cluster] that the instance will be created in.""")
|
|
923
927
|
@json_skeleton_utils.get_cli_json_input_option({'options': {'module': 'core', 'class': 'list[ComputeInstanceDetails]'}})
|
|
924
928
|
@cli_util.help_option
|
|
925
929
|
@click.pass_context
|
|
926
930
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'options': {'module': 'core', 'class': 'list[ComputeInstanceDetails]'}}, output_type={'module': 'core', 'class': 'Instance'})
|
|
927
931
|
@cli_util.wrap_exceptions
|
|
928
|
-
def launch_instance_configuration_compute_instance_options(ctx, from_json, instance_configuration_id, options):
|
|
932
|
+
def launch_instance_configuration_compute_instance_options(ctx, from_json, instance_configuration_id, options, opc_compute_cluster_id):
|
|
929
933
|
|
|
930
934
|
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
|
|
931
935
|
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
|
|
932
936
|
|
|
933
937
|
kwargs = {}
|
|
938
|
+
if opc_compute_cluster_id is not None:
|
|
939
|
+
kwargs['opc_compute_cluster_id'] = opc_compute_cluster_id
|
|
934
940
|
|
|
935
941
|
_details = {}
|
|
936
942
|
|
|
@@ -961,17 +967,20 @@ This option is a JSON list with items of type InstanceConfigurationBlockVolumeDe
|
|
|
961
967
|
@cli_util.option('--secondary-vnics', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Secondary VNIC parameters.
|
|
962
968
|
|
|
963
969
|
This option is a JSON list with items of type InstanceConfigurationAttachVnicDetails. For documentation on InstanceConfigurationAttachVnicDetails please see our API reference: https://docs.cloud.oracle.com/api/#/en/iaas/20160918/datatypes/InstanceConfigurationAttachVnicDetails.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
970
|
+
@cli_util.option('--opc-compute-cluster-id', help=u"""The [OCID] of the [compute cluster] that the instance will be created in.""")
|
|
964
971
|
@json_skeleton_utils.get_cli_json_input_option({'block-volumes': {'module': 'core', 'class': 'list[InstanceConfigurationBlockVolumeDetails]'}, 'launch-details': {'module': 'core', 'class': 'InstanceConfigurationLaunchInstanceDetails'}, 'secondary-vnics': {'module': 'core', 'class': 'list[InstanceConfigurationAttachVnicDetails]'}})
|
|
965
972
|
@cli_util.help_option
|
|
966
973
|
@click.pass_context
|
|
967
974
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'block-volumes': {'module': 'core', 'class': 'list[InstanceConfigurationBlockVolumeDetails]'}, 'launch-details': {'module': 'core', 'class': 'InstanceConfigurationLaunchInstanceDetails'}, 'secondary-vnics': {'module': 'core', 'class': 'list[InstanceConfigurationAttachVnicDetails]'}}, output_type={'module': 'core', 'class': 'Instance'})
|
|
968
975
|
@cli_util.wrap_exceptions
|
|
969
|
-
def launch_instance_configuration_compute_instance_details(ctx, from_json, instance_configuration_id, block_volumes, launch_details, secondary_vnics):
|
|
976
|
+
def launch_instance_configuration_compute_instance_details(ctx, from_json, instance_configuration_id, block_volumes, launch_details, secondary_vnics, opc_compute_cluster_id):
|
|
970
977
|
|
|
971
978
|
if isinstance(instance_configuration_id, six.string_types) and len(instance_configuration_id.strip()) == 0:
|
|
972
979
|
raise click.UsageError('Parameter --instance-configuration-id cannot be whitespace or empty string')
|
|
973
980
|
|
|
974
981
|
kwargs = {}
|
|
982
|
+
if opc_compute_cluster_id is not None:
|
|
983
|
+
kwargs['opc_compute_cluster_id'] = opc_compute_cluster_id
|
|
975
984
|
|
|
976
985
|
_details = {}
|
|
977
986
|
|
|
@@ -4367,7 +4367,7 @@ Example: `{\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\
|
|
|
4367
4367
|
@cli_util.option('--is-ipv6-enabled', type=click.BOOL, help=u"""Whether IPv6 is enabled for the VCN. Default is `false`. If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to `false`. For important details about IPv6 addressing in a VCN, see [IPv6 Addresses].
|
|
4368
4368
|
|
|
4369
4369
|
Example: `true`""")
|
|
4370
|
-
@cli_util.option('--is-zpr-only', type=click.BOOL, help=u"""Indicates whether
|
|
4370
|
+
@cli_util.option('--is-zpr-only', type=click.BOOL, help=u"""Indicates whether ZPR Only mode is enforced.""")
|
|
4371
4371
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "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.""")
|
|
4372
4372
|
@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.""")
|
|
4373
4373
|
@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.""")
|
|
@@ -14342,7 +14342,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
14342
14342
|
@cli_util.option('--security-attributes', type=custom_types.CLI_COMPLEX_TYPE, help=u"""[Security attributes] are labels for a resource that can be referenced in a [Zero Trust Packet Routing] (ZPR) policy to control access to ZPR-supported resources.
|
|
14343
14343
|
|
|
14344
14344
|
Example: `{\"Oracle-DataSecurity-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\"}}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14345
|
-
@cli_util.option('--is-zpr-only', type=click.BOOL, help=u"""Indicates whether
|
|
14345
|
+
@cli_util.option('--is-zpr-only', type=click.BOOL, help=u"""Indicates whether ZPR Only mode is enforced.""")
|
|
14346
14346
|
@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.""")
|
|
14347
14347
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
14348
14348
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "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.""")
|
|
@@ -31299,6 +31299,7 @@ def restart_autonomous_container_database(ctx, from_json, wait_for_state, max_wa
|
|
|
31299
31299
|
@autonomous_database_group.command(name=cli_util.override('db.restart_autonomous_database.command_name', 'restart'), help=u"""Restarts the specified Autonomous AI Database. \n[Command Reference](restartAutonomousDatabase)""")
|
|
31300
31300
|
@cli_util.option('--autonomous-database-id', required=True, help=u"""The database [OCID].""")
|
|
31301
31301
|
@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.""")
|
|
31302
|
+
@cli_util.option('--is-online-restart', type=click.BOOL, help=u"""If provided, an online restart will be triggered.""")
|
|
31302
31303
|
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
|
|
31303
31304
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING"]), 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.""")
|
|
31304
31305
|
@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.""")
|
|
@@ -31308,7 +31309,7 @@ def restart_autonomous_container_database(ctx, from_json, wait_for_state, max_wa
|
|
|
31308
31309
|
@click.pass_context
|
|
31309
31310
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'AutonomousDatabase'})
|
|
31310
31311
|
@cli_util.wrap_exceptions
|
|
31311
|
-
def restart_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, if_match, opc_dry_run):
|
|
31312
|
+
def restart_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, if_match, is_online_restart, opc_dry_run):
|
|
31312
31313
|
|
|
31313
31314
|
if isinstance(autonomous_database_id, six.string_types) and len(autonomous_database_id.strip()) == 0:
|
|
31314
31315
|
raise click.UsageError('Parameter --autonomous-database-id cannot be whitespace or empty string')
|
|
@@ -31316,6 +31317,8 @@ def restart_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds
|
|
|
31316
31317
|
kwargs = {}
|
|
31317
31318
|
if if_match is not None:
|
|
31318
31319
|
kwargs['if_match'] = if_match
|
|
31320
|
+
if is_online_restart is not None:
|
|
31321
|
+
kwargs['is_online_restart'] = is_online_restart
|
|
31319
31322
|
if opc_dry_run is not None:
|
|
31320
31323
|
kwargs['opc_dry_run'] = opc_dry_run
|
|
31321
31324
|
client = cli_util.build_client('database', 'database', ctx)
|
|
@@ -63,8 +63,8 @@ dif_root_group.add_command(stack_collection_group)
|
|
|
63
63
|
|
|
64
64
|
@stack_group.command(name=cli_util.override('dif.add_service.command_name', 'add'), help=u"""Add new service or update existing service. \n[Command Reference](addService)""")
|
|
65
65
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the Stack.""")
|
|
66
|
-
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be added for the stack.""")
|
|
67
|
-
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be added for the stack.""")
|
|
66
|
+
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be added for the stack.""")
|
|
67
|
+
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be added for the stack.""")
|
|
68
68
|
@cli_util.option('--adb', type=custom_types.CLI_COMPLEX_TYPE, help=u"""ADB details if adb is included in the services to be added.
|
|
69
69
|
|
|
70
70
|
This option is a JSON list with items of type AdbDetail. For documentation on AdbDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/AdbDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -80,16 +80,25 @@ This option is a JSON list with items of type ObjectStorageDetail. For document
|
|
|
80
80
|
@cli_util.option('--genai', type=custom_types.CLI_COMPLEX_TYPE, help=u"""GenAI Details if genai is included in services to be added.
|
|
81
81
|
|
|
82
82
|
This option is a JSON list with items of type GenAiDetail. For documentation on GenAiDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/GenAiDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
83
|
+
@cli_util.option('--aidataplatform', type=custom_types.CLI_COMPLEX_TYPE, help=u"""AI Data Platform Details if aidataplatform is included in services to be added.
|
|
84
|
+
|
|
85
|
+
This option is a JSON list with items of type AiDataPlatformDetail. For documentation on AiDataPlatformDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/AiDataPlatformDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
86
|
+
@cli_util.option('--omk', type=custom_types.CLI_COMPLEX_TYPE, help=u"""OMK Details if omk is included in services to be added.
|
|
87
|
+
|
|
88
|
+
This option is a JSON list with items of type OmkDetail. For documentation on OmkDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OmkDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
89
|
+
@cli_util.option('--oke', type=custom_types.CLI_COMPLEX_TYPE, help=u"""OKE Details if oke is included in services to be added.
|
|
90
|
+
|
|
91
|
+
This option is a JSON list with items of type OkeDetail. For documentation on OkeDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OkeDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
83
92
|
@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.""")
|
|
84
93
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), 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.""")
|
|
85
94
|
@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.""")
|
|
86
95
|
@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.""")
|
|
87
|
-
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}})
|
|
96
|
+
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}})
|
|
88
97
|
@cli_util.help_option
|
|
89
98
|
@click.pass_context
|
|
90
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}})
|
|
99
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}})
|
|
91
100
|
@cli_util.wrap_exceptions
|
|
92
|
-
def add_service(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, stack_id, stack_templates, services, adb, ggcs, dataflow, objectstorage, genai, if_match):
|
|
101
|
+
def add_service(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, stack_id, stack_templates, services, adb, ggcs, dataflow, objectstorage, genai, aidataplatform, omk, oke, if_match):
|
|
93
102
|
|
|
94
103
|
if isinstance(stack_id, six.string_types) and len(stack_id.strip()) == 0:
|
|
95
104
|
raise click.UsageError('Parameter --stack-id cannot be whitespace or empty string')
|
|
@@ -118,6 +127,15 @@ def add_service(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_
|
|
|
118
127
|
if genai is not None:
|
|
119
128
|
_details['genai'] = cli_util.parse_json_parameter("genai", genai)
|
|
120
129
|
|
|
130
|
+
if aidataplatform is not None:
|
|
131
|
+
_details['aidataplatform'] = cli_util.parse_json_parameter("aidataplatform", aidataplatform)
|
|
132
|
+
|
|
133
|
+
if omk is not None:
|
|
134
|
+
_details['omk'] = cli_util.parse_json_parameter("omk", omk)
|
|
135
|
+
|
|
136
|
+
if oke is not None:
|
|
137
|
+
_details['oke'] = cli_util.parse_json_parameter("oke", oke)
|
|
138
|
+
|
|
121
139
|
client = cli_util.build_client('dif', 'stack', ctx)
|
|
122
140
|
result = client.add_service(
|
|
123
141
|
stack_id=stack_id,
|
|
@@ -244,8 +262,8 @@ def change_stack_compartment(ctx, from_json, wait_for_state, max_wait_seconds, w
|
|
|
244
262
|
@stack_group.command(name=cli_util.override('dif.create_stack.command_name', 'create'), help=u"""Creates a Stack. \n[Command Reference](createStack)""")
|
|
245
263
|
@cli_util.option('--display-name', required=True, help=u"""A user-friendly name. Should be unique per compartment. Avoid entering confidential information.""")
|
|
246
264
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment to create the Stack in.""")
|
|
247
|
-
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
248
|
-
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be onboarded for the stack.""")
|
|
265
|
+
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
266
|
+
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be onboarded for the stack.""")
|
|
249
267
|
@cli_util.option('--notification-email', help=u"""email id to which the stack notifications would be sent.""")
|
|
250
268
|
@cli_util.option('--adb', type=custom_types.CLI_COMPLEX_TYPE, help=u"""ADB details if adb is included in the services.
|
|
251
269
|
|
|
@@ -262,6 +280,15 @@ This option is a JSON list with items of type ObjectStorageDetail. For document
|
|
|
262
280
|
@cli_util.option('--genai', type=custom_types.CLI_COMPLEX_TYPE, help=u"""GenAi Details if genai is included in services.
|
|
263
281
|
|
|
264
282
|
This option is a JSON list with items of type GenAiDetail. For documentation on GenAiDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/GenAiDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
283
|
+
@cli_util.option('--aidataplatform', type=custom_types.CLI_COMPLEX_TYPE, help=u"""AI Data Platform Details if aidataplatform is included in services.
|
|
284
|
+
|
|
285
|
+
This option is a JSON list with items of type AiDataPlatformDetail. For documentation on AiDataPlatformDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/AiDataPlatformDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
286
|
+
@cli_util.option('--omk', type=custom_types.CLI_COMPLEX_TYPE, help=u"""OMK Details if omk is included in services.
|
|
287
|
+
|
|
288
|
+
This option is a JSON list with items of type OmkDetail. For documentation on OmkDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OmkDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
289
|
+
@cli_util.option('--oke', type=custom_types.CLI_COMPLEX_TYPE, help=u"""OKE Details if oke is included in services.
|
|
290
|
+
|
|
291
|
+
This option is a JSON list with items of type OkeDetail. For documentation on OkeDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OkeDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
265
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 with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
266
293
|
|
|
267
294
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -271,12 +298,12 @@ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_comp
|
|
|
271
298
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), 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.""")
|
|
272
299
|
@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.""")
|
|
273
300
|
@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.""")
|
|
274
|
-
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}})
|
|
301
|
+
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}})
|
|
275
302
|
@cli_util.help_option
|
|
276
303
|
@click.pass_context
|
|
277
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dif', 'class': 'Stack'})
|
|
304
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dif', 'class': 'Stack'})
|
|
278
305
|
@cli_util.wrap_exceptions
|
|
279
|
-
def create_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, stack_templates, services, notification_email, adb, ggcs, dataflow, objectstorage, genai, freeform_tags, defined_tags):
|
|
306
|
+
def create_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, compartment_id, stack_templates, services, notification_email, adb, ggcs, dataflow, objectstorage, genai, aidataplatform, omk, oke, freeform_tags, defined_tags):
|
|
280
307
|
|
|
281
308
|
kwargs = {}
|
|
282
309
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -305,6 +332,15 @@ def create_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval
|
|
|
305
332
|
if genai is not None:
|
|
306
333
|
_details['genai'] = cli_util.parse_json_parameter("genai", genai)
|
|
307
334
|
|
|
335
|
+
if aidataplatform is not None:
|
|
336
|
+
_details['aidataplatform'] = cli_util.parse_json_parameter("aidataplatform", aidataplatform)
|
|
337
|
+
|
|
338
|
+
if omk is not None:
|
|
339
|
+
_details['omk'] = cli_util.parse_json_parameter("omk", omk)
|
|
340
|
+
|
|
341
|
+
if oke is not None:
|
|
342
|
+
_details['oke'] = cli_util.parse_json_parameter("oke", oke)
|
|
343
|
+
|
|
308
344
|
if freeform_tags is not None:
|
|
309
345
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
310
346
|
|
|
@@ -404,8 +440,8 @@ def delete_stack(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval
|
|
|
404
440
|
|
|
405
441
|
@stack_group.command(name=cli_util.override('dif.deploy_artifacts.command_name', 'deploy-artifacts'), help=u"""DeployArtifacts \n[Command Reference](deployArtifacts)""")
|
|
406
442
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the Stack.""")
|
|
407
|
-
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
408
|
-
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be onboarded for the stack.""")
|
|
443
|
+
@cli_util.option('--stack-templates', required=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
444
|
+
@cli_util.option('--services', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be onboarded for the stack.""")
|
|
409
445
|
@cli_util.option('--subnet-id', help=u"""Subnet id for the Private Endpoint creation for artifact deployment.""")
|
|
410
446
|
@cli_util.option('--adb', type=custom_types.CLI_COMPLEX_TYPE, help=u"""ADB artifact details if adb is included in the services.
|
|
411
447
|
|
|
@@ -416,16 +452,22 @@ This option is a JSON list with items of type GgcsArtifactsDetail. For document
|
|
|
416
452
|
@cli_util.option('--dataflow', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Dataflow artifact details if dataflow is included in the services.
|
|
417
453
|
|
|
418
454
|
This option is a JSON list with items of type DataflowArtifactsDetail. For documentation on DataflowArtifactsDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/DataflowArtifactsDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
455
|
+
@cli_util.option('--omk', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Omk artifact details if omk is included in the services.
|
|
456
|
+
|
|
457
|
+
This option is a JSON list with items of type OmkArtifactsDetail. For documentation on OmkArtifactsDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OmkArtifactsDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
458
|
+
@cli_util.option('--oke', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Oke artifact details if oke is included in the services.
|
|
459
|
+
|
|
460
|
+
This option is a JSON list with items of type OkeArtifactsDetail. For documentation on OkeArtifactsDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/OkeArtifactsDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
419
461
|
@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.""")
|
|
420
462
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELLED"]), 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.""")
|
|
421
463
|
@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.""")
|
|
422
464
|
@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.""")
|
|
423
|
-
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}})
|
|
465
|
+
@json_skeleton_utils.get_cli_json_input_option({'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkArtifactsDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeArtifactsDetail]'}})
|
|
424
466
|
@cli_util.help_option
|
|
425
467
|
@click.pass_context
|
|
426
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}})
|
|
468
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkArtifactsDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeArtifactsDetail]'}})
|
|
427
469
|
@cli_util.wrap_exceptions
|
|
428
|
-
def deploy_artifacts(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, stack_id, stack_templates, services, subnet_id, adb, ggcs, dataflow, if_match):
|
|
470
|
+
def deploy_artifacts(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, stack_id, stack_templates, services, subnet_id, adb, ggcs, dataflow, omk, oke, if_match):
|
|
429
471
|
|
|
430
472
|
if isinstance(stack_id, six.string_types) and len(stack_id.strip()) == 0:
|
|
431
473
|
raise click.UsageError('Parameter --stack-id cannot be whitespace or empty string')
|
|
@@ -451,6 +493,12 @@ def deploy_artifacts(ctx, from_json, wait_for_state, max_wait_seconds, wait_inte
|
|
|
451
493
|
if dataflow is not None:
|
|
452
494
|
_details['dataflow'] = cli_util.parse_json_parameter("dataflow", dataflow)
|
|
453
495
|
|
|
496
|
+
if omk is not None:
|
|
497
|
+
_details['omk'] = cli_util.parse_json_parameter("omk", omk)
|
|
498
|
+
|
|
499
|
+
if oke is not None:
|
|
500
|
+
_details['oke'] = cli_util.parse_json_parameter("oke", oke)
|
|
501
|
+
|
|
454
502
|
client = cli_util.build_client('dif', 'stack', ctx)
|
|
455
503
|
result = client.deploy_artifacts(
|
|
456
504
|
stack_id=stack_id,
|
|
@@ -772,8 +820,8 @@ def list_work_requests(ctx, from_json, all_pages, page_size, compartment_id, wor
|
|
|
772
820
|
@stack_group.command(name=cli_util.override('dif.update_stack.command_name', 'update'), help=u"""Updates a Stack. \n[Command Reference](updateStack)""")
|
|
773
821
|
@cli_util.option('--stack-id', required=True, help=u"""The [OCID] of the Stack.""")
|
|
774
822
|
@cli_util.option('--notification-email', help=u"""email id to which the stack notifications would be sent.""")
|
|
775
|
-
@cli_util.option('--stack-templates', type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be updated for the stack.""")
|
|
776
|
-
@cli_util.option('--services', type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be updated for the stack.""")
|
|
823
|
+
@cli_util.option('--stack-templates', type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be updated for the stack.""")
|
|
824
|
+
@cli_util.option('--services', type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be updated for the stack.""")
|
|
777
825
|
@cli_util.option('--adb', type=custom_types.CLI_COMPLEX_TYPE, help=u"""ADB details if adb is included in the services to be updated.
|
|
778
826
|
|
|
779
827
|
This option is a JSON list with items of type AdbUpdateDetail. For documentation on AdbUpdateDetail please see our API reference: https://docs.cloud.oracle.com/api/#/en/stack/20250830/datatypes/AdbUpdateDetail.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -12,10 +12,10 @@ from services.dif.src.oci_cli_stack.generated import stack_cli
|
|
|
12
12
|
|
|
13
13
|
@cli_util.copy_params_from_generated_command(stack_cli.add_service, params_to_exclude=['services', 'stack_templates'])
|
|
14
14
|
@stack_cli.stack_group.command(name=cli_util.override('dif.add_service.command_name', 'add'), help=u"""Add new service or update existing service. \n[Command Reference](addService)""")
|
|
15
|
-
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be added for the stack.""")
|
|
16
|
-
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be added for the stack.""")
|
|
15
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be added for the stack.""")
|
|
16
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be added for the stack.""")
|
|
17
17
|
@click.pass_context
|
|
18
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}})
|
|
18
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}})
|
|
19
19
|
@cli_util.wrap_exceptions
|
|
20
20
|
def add_service_extended(ctx, **kwargs):
|
|
21
21
|
ctx.invoke(stack_cli.add_service, **kwargs)
|
|
@@ -23,10 +23,10 @@ def add_service_extended(ctx, **kwargs):
|
|
|
23
23
|
|
|
24
24
|
@cli_util.copy_params_from_generated_command(stack_cli.create_stack, params_to_exclude=['services', 'stack_templates'])
|
|
25
25
|
@stack_cli.stack_group.command(name=cli_util.override('dif.create_stack.command_name', 'create'), help=u"""Creates a Stack. \n[Command Reference](createStack)""")
|
|
26
|
-
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
27
|
-
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be onboarded for the stack.""")
|
|
26
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
27
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services to be onboarded for the stack.""")
|
|
28
28
|
@click.pass_context
|
|
29
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dif', 'class': 'Stack'})
|
|
29
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'aidataplatform': {'module': 'dif', 'class': 'list[AiDataPlatformDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dif', 'class': 'Stack'})
|
|
30
30
|
@cli_util.wrap_exceptions
|
|
31
31
|
def create_stack_extended(ctx, **kwargs):
|
|
32
32
|
ctx.invoke(stack_cli.create_stack, **kwargs)
|
|
@@ -34,10 +34,10 @@ def create_stack_extended(ctx, **kwargs):
|
|
|
34
34
|
|
|
35
35
|
@cli_util.copy_params_from_generated_command(stack_cli.deploy_artifacts, params_to_exclude=['services', 'stack_templates'])
|
|
36
36
|
@stack_cli.stack_group.command(name=cli_util.override('dif.deploy_artifacts.command_name', 'deploy-artifacts'), help=u"""DeployArtifacts \n[Command Reference](deployArtifacts)""")
|
|
37
|
-
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be
|
|
38
|
-
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be
|
|
37
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION", "DEVOPSTOOLKIT"]), help=u"""List of templates where artifacts are to be deployed for the stack.""")
|
|
38
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW", "AIDATAPLATFORM", "OMK", "OKE"]), help=u"""List of services where artifacts are to be deployed for the stack.""")
|
|
39
39
|
@click.pass_context
|
|
40
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}})
|
|
40
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}, 'omk': {'module': 'dif', 'class': 'list[OmkArtifactsDetail]'}, 'oke': {'module': 'dif', 'class': 'list[OkeArtifactsDetail]'}})
|
|
41
41
|
@cli_util.wrap_exceptions
|
|
42
42
|
def deploy_artifacts_extended(ctx, **kwargs):
|
|
43
43
|
ctx.invoke(stack_cli.deploy_artifacts, **kwargs)
|