oci-cli 3.71.1__py3-none-any.whl → 3.71.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci_cli/bin/batch.psm1 +122 -0
- oci_cli/bin/integration.psm1 +6 -2
- oci_cli/cli_util.py +2 -4
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/change-compartment.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create-oci-logging-configuration.txt +210 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/create.txt +237 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/delete.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/start.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/stop.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context/update.txt +213 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection/list.txt +101 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context-shape-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-context.txt +35 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/cancel.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/change-compartment.txt +146 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/create.txt +215 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/get.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/list.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/pause.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/unpause.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job/update.txt +191 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/change-compartment.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/create.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/delete.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/get.txt +102 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/list.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/start.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/stop.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool/update.txt +186 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job-pool.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-job.txt +35 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/get.txt +111 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list-batch-tasks.txt +125 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/create.txt +207 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment/update.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-environment.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/create.txt +178 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile/update.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task-profile.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/batch-task.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request/list.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry/list-work-request-logs.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch/work-request.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/batch.txt +123 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/create.txt +14 -13
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/delete.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get-virtual-node.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/get.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/list-virtual-nodes.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/virtual-node-pool/update.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/apply-host-configuration.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host/check-host-configuration.txt +127 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-host.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle/list.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/firmware-bundle.txt +17 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/shape/list.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/ml-app-instance-view/list.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log-entry.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/disaster-recovery/dr-plan-execution/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry/{list-work-request-logs.txt → list-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-log-entry.txt +1 -1
- 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/identity-domains/mapped-attribute/get.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/list.txt +190 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/patch.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/put.txt +385 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute/search.txt +199 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains/mapped-attribute.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/identity-domains.txt +12 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/change-private-endpoint-outbound-connection-private-endpoint-outbound-connection.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/convert-instance.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance/disable-process-automation.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration/integration-instance.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/integration.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/METADATA +2 -2
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/RECORD +130 -52
- services/batch/__init__.py +4 -0
- services/batch/src/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/batchcomputing_cli_extended.py +93 -0
- services/batch/src/oci_cli_batch_computing/generated/__init__.py +4 -0
- services/batch/src/oci_cli_batch_computing/generated/batchcomputing_cli.py +2855 -0
- services/batch/src/oci_cli_batch_computing/generated/client_mappings.py +14 -0
- services/batch/tests/__init__.py +4 -0
- services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +3 -5
- services/core/src/oci_cli_compute/computepic_cli_extended.py +9 -0
- services/core/src/oci_cli_compute/generated/compute_cli.py +201 -1
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +4 -1
- services/disaster_recovery/src/oci_cli_disaster_recovery/generated/disasterrecovery_cli.py +1 -1
- services/identity_domains/src/oci_cli_identity_domains/generated/identitydomains_cli.py +371 -0
- services/integration/src/oci_cli_integration_instance/generated/integrationinstance_cli.py +259 -7
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/WHEEL +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.71.1.dist-info → oci_cli-3.71.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20251031
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.batch import BatchComputingClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["batch"] = oci.batch.models.batch_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("batch") is None:
|
|
13
|
+
CLIENT_MAP["batch"] = {}
|
|
14
|
+
CLIENT_MAP["batch"]["batch_computing"] = BatchComputingClient
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20251031
|
|
@@ -636,6 +636,7 @@ def create_node_pool_node_source_via_image_details(ctx, from_json, wait_for_stat
|
|
|
636
636
|
@cli_util.option('--display-name', required=True, help=u"""Display name of the virtual node pool. This is a non-unique value.""")
|
|
637
637
|
@cli_util.option('--size', required=True, type=click.INT, help=u"""The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.""")
|
|
638
638
|
@cli_util.option('--placement-configurations', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
639
|
+
@cli_util.option('--pod-configuration', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The pod configuration for pods run on virtual nodes of this virtual node pool.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
639
640
|
@cli_util.option('--initial-virtual-node-labels', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Initial labels that will be added to the Kubernetes Virtual Node object when it registers.
|
|
640
641
|
|
|
641
642
|
This option is a JSON list with items of type InitialVirtualNodeLabel. For documentation on InitialVirtualNodeLabel please see our API reference: https://docs.cloud.oracle.com/api/#/en/containerengine/20180222/datatypes/InitialVirtualNodeLabel.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -643,7 +644,6 @@ This option is a JSON list with items of type InitialVirtualNodeLabel. For docu
|
|
|
643
644
|
|
|
644
645
|
This option is a JSON list with items of type Taint. For documentation on Taint please see our API reference: https://docs.cloud.oracle.com/api/#/en/containerengine/20180222/datatypes/Taint.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
645
646
|
@cli_util.option('--nsg-ids', type=custom_types.CLI_COMPLEX_TYPE, help=u"""List of network security group id's applied to the Virtual Node VNIC.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
646
|
-
@cli_util.option('--pod-configuration', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The pod configuration for pods run on virtual nodes of this virtual node pool.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
647
647
|
@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]. Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
648
648
|
@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]. Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
649
649
|
@cli_util.option('--virtual-node-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
@@ -655,7 +655,7 @@ This option is a JSON list with items of type Taint. For documentation on Taint
|
|
|
655
655
|
@click.pass_context
|
|
656
656
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'initial-virtual-node-labels': {'module': 'container_engine', 'class': 'list[InitialVirtualNodeLabel]'}, 'taints': {'module': 'container_engine', 'class': 'list[Taint]'}, 'placement-configurations': {'module': 'container_engine', 'class': 'list[PlacementConfiguration]'}, 'nsg-ids': {'module': 'container_engine', 'class': 'list[string]'}, 'pod-configuration': {'module': 'container_engine', 'class': 'PodConfiguration'}, 'freeform-tags': {'module': 'container_engine', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'container_engine', 'class': 'dict(str, dict(str, object))'}, 'virtual-node-tags': {'module': 'container_engine', 'class': 'VirtualNodeTags'}})
|
|
657
657
|
@cli_util.wrap_exceptions
|
|
658
|
-
def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, cluster_id, display_name, size, placement_configurations, initial_virtual_node_labels, taints, nsg_ids,
|
|
658
|
+
def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, cluster_id, display_name, size, placement_configurations, pod_configuration, initial_virtual_node_labels, taints, nsg_ids, freeform_tags, defined_tags, virtual_node_tags):
|
|
659
659
|
|
|
660
660
|
kwargs = {}
|
|
661
661
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -666,6 +666,7 @@ def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, w
|
|
|
666
666
|
_details['displayName'] = display_name
|
|
667
667
|
_details['size'] = size
|
|
668
668
|
_details['placementConfigurations'] = cli_util.parse_json_parameter("placement_configurations", placement_configurations)
|
|
669
|
+
_details['podConfiguration'] = cli_util.parse_json_parameter("pod_configuration", pod_configuration)
|
|
669
670
|
|
|
670
671
|
if initial_virtual_node_labels is not None:
|
|
671
672
|
_details['initialVirtualNodeLabels'] = cli_util.parse_json_parameter("initial_virtual_node_labels", initial_virtual_node_labels)
|
|
@@ -676,9 +677,6 @@ def create_virtual_node_pool(ctx, from_json, wait_for_state, max_wait_seconds, w
|
|
|
676
677
|
if nsg_ids is not None:
|
|
677
678
|
_details['nsgIds'] = cli_util.parse_json_parameter("nsg_ids", nsg_ids)
|
|
678
679
|
|
|
679
|
-
if pod_configuration is not None:
|
|
680
|
-
_details['podConfiguration'] = cli_util.parse_json_parameter("pod_configuration", pod_configuration)
|
|
681
|
-
|
|
682
680
|
if freeform_tags is not None:
|
|
683
681
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
684
682
|
|
|
@@ -148,3 +148,12 @@ compute_cli.instance_group.commands.pop(compute_cli.launch_instance_amd_milan_bm
|
|
|
148
148
|
|
|
149
149
|
# Remove launch-instance-generic-bm-launch-instance-platform-config from oci compute instance
|
|
150
150
|
compute_cli.instance_group.commands.pop(compute_cli.launch_instance_generic_bm_launch_instance_platform_config.name)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
# oci compute firmware-bundles-collection list-firmware-bundles -> oci compute firmware-bundles-collection list
|
|
154
|
+
cli_util.rename_command(compute_cli, compute_cli.firmware_bundles_collection_group, compute_cli.list_firmware_bundles, "list")
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
# Move commands under 'oci compute firmware-bundles-collection' -> 'oci compute firmware-bundle'
|
|
158
|
+
compute_cli.compute_root_group.commands.pop(compute_cli.firmware_bundles_collection_group.name)
|
|
159
|
+
compute_cli.firmware_bundle_group.add_command(compute_cli.list_firmware_bundles)
|
|
@@ -168,6 +168,12 @@ def compute_host_group():
|
|
|
168
168
|
pass
|
|
169
169
|
|
|
170
170
|
|
|
171
|
+
@click.command(cli_util.override('compute.firmware_bundle_group.command_name', 'firmware-bundle'), cls=CommandGroupWithAlias, help="""A collection of pinned component firmware versions organized by platform.""")
|
|
172
|
+
@cli_util.help_option_group
|
|
173
|
+
def firmware_bundle_group():
|
|
174
|
+
pass
|
|
175
|
+
|
|
176
|
+
|
|
171
177
|
@click.command(cli_util.override('compute.shape_group.command_name', 'shape'), cls=CommandGroupWithAlias, help="""A compute instance shape that can be used in [LaunchInstance]. For more information, see [Overview of the Compute Service] and [Compute Shapes].""")
|
|
172
178
|
@cli_util.help_option_group
|
|
173
179
|
def shape_group():
|
|
@@ -284,6 +290,12 @@ def dedicated_vm_host_shape_group():
|
|
|
284
290
|
pass
|
|
285
291
|
|
|
286
292
|
|
|
293
|
+
@click.command(cli_util.override('compute.firmware_bundles_collection_group.command_name', 'firmware-bundles-collection'), cls=CommandGroupWithAlias, help="""Results of a firmwareBundles search. Contains FirmwareBundleSummary items.""")
|
|
294
|
+
@cli_util.help_option_group
|
|
295
|
+
def firmware_bundles_collection_group():
|
|
296
|
+
pass
|
|
297
|
+
|
|
298
|
+
|
|
287
299
|
@click.command(cli_util.override('compute.app_catalog_listing_resource_version_agreements_group.command_name', 'app-catalog-listing-resource-version-agreements'), cls=CommandGroupWithAlias, help="""Agreements for a listing resource version.""")
|
|
288
300
|
@cli_util.help_option_group
|
|
289
301
|
def app_catalog_listing_resource_version_agreements_group():
|
|
@@ -325,6 +337,7 @@ compute_root_group.add_command(dedicated_vm_host_group)
|
|
|
325
337
|
compute_root_group.add_command(image_group)
|
|
326
338
|
compute_root_group.add_command(instance_maintenance_reboot_group)
|
|
327
339
|
compute_root_group.add_command(compute_host_group)
|
|
340
|
+
compute_root_group.add_command(firmware_bundle_group)
|
|
328
341
|
compute_root_group.add_command(shape_group)
|
|
329
342
|
compute_root_group.add_command(compute_host_group_group)
|
|
330
343
|
compute_root_group.add_command(compute_image_capability_schema_group)
|
|
@@ -342,6 +355,7 @@ compute_root_group.add_command(compute_global_image_capability_schema_version_gr
|
|
|
342
355
|
compute_root_group.add_command(dedicated_vm_host_instance_shape_group)
|
|
343
356
|
compute_root_group.add_command(boot_volume_group)
|
|
344
357
|
compute_root_group.add_command(dedicated_vm_host_shape_group)
|
|
358
|
+
compute_root_group.add_command(firmware_bundles_collection_group)
|
|
345
359
|
compute_root_group.add_command(app_catalog_listing_resource_version_agreements_group)
|
|
346
360
|
compute_root_group.add_command(device_group)
|
|
347
361
|
compute_root_group.add_command(console_history_group)
|
|
@@ -415,6 +429,57 @@ def add_image_shape_compatibility_entry(ctx, from_json, force, image_id, shape_n
|
|
|
415
429
|
cli_util.render_response(result, ctx)
|
|
416
430
|
|
|
417
431
|
|
|
432
|
+
@compute_host_group.command(name=cli_util.override('compute.apply_host_configuration.command_name', 'apply-host-configuration'), help=u"""Triggers the asynchronous process that applies the host's target configuration \n[Command Reference](applyHostConfiguration)""")
|
|
433
|
+
@cli_util.option('--compute-host-id', required=True, help=u"""The [OCID] of the compute host.""")
|
|
434
|
+
@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.""")
|
|
435
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["AVAILABLE", "OCCUPIED", "PROVISIONING", "REPAIR", "UNAVAILABLE"]), 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.""")
|
|
436
|
+
@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.""")
|
|
437
|
+
@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.""")
|
|
438
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
439
|
+
@cli_util.help_option
|
|
440
|
+
@click.pass_context
|
|
441
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'ComputeHost'})
|
|
442
|
+
@cli_util.wrap_exceptions
|
|
443
|
+
def apply_host_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compute_host_id, if_match):
|
|
444
|
+
|
|
445
|
+
if isinstance(compute_host_id, six.string_types) and len(compute_host_id.strip()) == 0:
|
|
446
|
+
raise click.UsageError('Parameter --compute-host-id cannot be whitespace or empty string')
|
|
447
|
+
|
|
448
|
+
kwargs = {}
|
|
449
|
+
if if_match is not None:
|
|
450
|
+
kwargs['if_match'] = if_match
|
|
451
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
452
|
+
client = cli_util.build_client('core', 'compute', ctx)
|
|
453
|
+
result = client.apply_host_configuration(
|
|
454
|
+
compute_host_id=compute_host_id,
|
|
455
|
+
**kwargs
|
|
456
|
+
)
|
|
457
|
+
if wait_for_state:
|
|
458
|
+
|
|
459
|
+
if hasattr(client, 'get_compute_host') and callable(getattr(client, 'get_compute_host')):
|
|
460
|
+
try:
|
|
461
|
+
wait_period_kwargs = {}
|
|
462
|
+
if max_wait_seconds is not None:
|
|
463
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
464
|
+
if wait_interval_seconds is not None:
|
|
465
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
466
|
+
|
|
467
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
468
|
+
result = oci.wait_until(client, client.get_compute_host(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
469
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
470
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
471
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
472
|
+
cli_util.render_response(result, ctx)
|
|
473
|
+
sys.exit(2)
|
|
474
|
+
except Exception:
|
|
475
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
476
|
+
cli_util.render_response(result, ctx)
|
|
477
|
+
raise
|
|
478
|
+
else:
|
|
479
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
480
|
+
cli_util.render_response(result, ctx)
|
|
481
|
+
|
|
482
|
+
|
|
418
483
|
@boot_volume_attachment_group.command(name=cli_util.override('compute.attach_boot_volume.command_name', 'attach'), help=u"""Attaches the specified boot volume to the specified instance. \n[Command Reference](attachBootVolume)""")
|
|
419
484
|
@cli_util.option('--boot-volume-id', required=True, help=u"""The OCID of the boot volume.""")
|
|
420
485
|
@cli_util.option('--instance-id', required=True, help=u"""The OCID of the instance.""")
|
|
@@ -1585,6 +1650,57 @@ def change_instance_compartment(ctx, from_json, wait_for_state, max_wait_seconds
|
|
|
1585
1650
|
cli_util.render_response(result, ctx)
|
|
1586
1651
|
|
|
1587
1652
|
|
|
1653
|
+
@compute_host_group.command(name=cli_util.override('compute.check_host_configuration.command_name', 'check-host-configuration'), help=u"""Marks the host to be checked for conformance to its target configuration \n[Command Reference](checkHostConfiguration)""")
|
|
1654
|
+
@cli_util.option('--compute-host-id', required=True, help=u"""The [OCID] of the compute host.""")
|
|
1655
|
+
@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.""")
|
|
1656
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["AVAILABLE", "OCCUPIED", "PROVISIONING", "REPAIR", "UNAVAILABLE"]), 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.""")
|
|
1657
|
+
@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.""")
|
|
1658
|
+
@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.""")
|
|
1659
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1660
|
+
@cli_util.help_option
|
|
1661
|
+
@click.pass_context
|
|
1662
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'ComputeHost'})
|
|
1663
|
+
@cli_util.wrap_exceptions
|
|
1664
|
+
def check_host_configuration(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compute_host_id, if_match):
|
|
1665
|
+
|
|
1666
|
+
if isinstance(compute_host_id, six.string_types) and len(compute_host_id.strip()) == 0:
|
|
1667
|
+
raise click.UsageError('Parameter --compute-host-id cannot be whitespace or empty string')
|
|
1668
|
+
|
|
1669
|
+
kwargs = {}
|
|
1670
|
+
if if_match is not None:
|
|
1671
|
+
kwargs['if_match'] = if_match
|
|
1672
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1673
|
+
client = cli_util.build_client('core', 'compute', ctx)
|
|
1674
|
+
result = client.check_host_configuration(
|
|
1675
|
+
compute_host_id=compute_host_id,
|
|
1676
|
+
**kwargs
|
|
1677
|
+
)
|
|
1678
|
+
if wait_for_state:
|
|
1679
|
+
|
|
1680
|
+
if hasattr(client, 'get_compute_host') and callable(getattr(client, 'get_compute_host')):
|
|
1681
|
+
try:
|
|
1682
|
+
wait_period_kwargs = {}
|
|
1683
|
+
if max_wait_seconds is not None:
|
|
1684
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
1685
|
+
if wait_interval_seconds is not None:
|
|
1686
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
1687
|
+
|
|
1688
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
1689
|
+
result = oci.wait_until(client, client.get_compute_host(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
1690
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
1691
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
1692
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1693
|
+
cli_util.render_response(result, ctx)
|
|
1694
|
+
sys.exit(2)
|
|
1695
|
+
except Exception:
|
|
1696
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
1697
|
+
cli_util.render_response(result, ctx)
|
|
1698
|
+
raise
|
|
1699
|
+
else:
|
|
1700
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
1701
|
+
cli_util.render_response(result, ctx)
|
|
1702
|
+
|
|
1703
|
+
|
|
1588
1704
|
@app_catalog_subscription_group.command(name=cli_util.override('compute.create_app_catalog_subscription.command_name', 'create'), help=u"""Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions. \n[Command Reference](createAppCatalogSubscription)""")
|
|
1589
1705
|
@cli_util.option('--compartment-id', required=True, help=u"""The compartmentID for the subscription.""")
|
|
1590
1706
|
@cli_util.option('--listing-id', required=True, help=u"""The OCID of the listing.""")
|
|
@@ -4336,6 +4452,28 @@ def get_dedicated_vm_host(ctx, from_json, dedicated_vm_host_id):
|
|
|
4336
4452
|
cli_util.render_response(result, ctx)
|
|
4337
4453
|
|
|
4338
4454
|
|
|
4455
|
+
@firmware_bundle_group.command(name=cli_util.override('compute.get_firmware_bundle.command_name', 'get'), help=u"""Returns the Firmware Bundle matching the provided firmwareBundleId. \n[Command Reference](getFirmwareBundle)""")
|
|
4456
|
+
@cli_util.option('--firmware-bundle-id', required=True, help=u"""Unique identifier for the firmware bundle.""")
|
|
4457
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
4458
|
+
@cli_util.help_option
|
|
4459
|
+
@click.pass_context
|
|
4460
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'FirmwareBundle'})
|
|
4461
|
+
@cli_util.wrap_exceptions
|
|
4462
|
+
def get_firmware_bundle(ctx, from_json, firmware_bundle_id):
|
|
4463
|
+
|
|
4464
|
+
if isinstance(firmware_bundle_id, six.string_types) and len(firmware_bundle_id.strip()) == 0:
|
|
4465
|
+
raise click.UsageError('Parameter --firmware-bundle-id cannot be whitespace or empty string')
|
|
4466
|
+
|
|
4467
|
+
kwargs = {}
|
|
4468
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
4469
|
+
client = cli_util.build_client('core', 'compute', ctx)
|
|
4470
|
+
result = client.get_firmware_bundle(
|
|
4471
|
+
firmware_bundle_id=firmware_bundle_id,
|
|
4472
|
+
**kwargs
|
|
4473
|
+
)
|
|
4474
|
+
cli_util.render_response(result, ctx)
|
|
4475
|
+
|
|
4476
|
+
|
|
4339
4477
|
@image_group.command(name=cli_util.override('compute.get_image.command_name', 'get'), help=u"""Gets the specified image. \n[Command Reference](getImage)""")
|
|
4340
4478
|
@cli_util.option('--image-id', required=True, help=u"""The [OCID] of the image.""")
|
|
4341
4479
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -10513,6 +10651,65 @@ def list_dedicated_vm_hosts(ctx, from_json, all_pages, page_size, compartment_id
|
|
|
10513
10651
|
cli_util.render_response(result, ctx)
|
|
10514
10652
|
|
|
10515
10653
|
|
|
10654
|
+
@firmware_bundles_collection_group.command(name=cli_util.override('compute.list_firmware_bundles.command_name', 'list-firmware-bundles'), help=u"""Gets a list of all Firmware Bundles in a compartment for specified platform. Can filter results to include only the default (recommended) Firmware Bundle for the given platform. \n[Command Reference](listFirmwareBundles)""")
|
|
10655
|
+
@cli_util.option('--platform', required=True, help=u"""platform name""")
|
|
10656
|
+
@cli_util.option('--compartment-id', help=u"""The [OCID] of the compartment.""")
|
|
10657
|
+
@cli_util.option('--is-default-bundle', type=click.BOOL, help=u"""If true, return only the default firmware bundle for a given platform. Default is false.""")
|
|
10658
|
+
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
|
|
10659
|
+
|
|
10660
|
+
Example: `50`""")
|
|
10661
|
+
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
10662
|
+
@cli_util.option('--lifecycle-state', help=u"""A filter to return only resources that match the given lifecycle state name exactly.""")
|
|
10663
|
+
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
|
|
10664
|
+
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
|
|
10665
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
10666
|
+
@cli_util.help_option
|
|
10667
|
+
@click.pass_context
|
|
10668
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'FirmwareBundlesCollection'})
|
|
10669
|
+
@cli_util.wrap_exceptions
|
|
10670
|
+
def list_firmware_bundles(ctx, from_json, all_pages, page_size, platform, compartment_id, is_default_bundle, limit, page, lifecycle_state):
|
|
10671
|
+
|
|
10672
|
+
if all_pages and limit:
|
|
10673
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
10674
|
+
|
|
10675
|
+
kwargs = {}
|
|
10676
|
+
if compartment_id is not None:
|
|
10677
|
+
kwargs['compartment_id'] = compartment_id
|
|
10678
|
+
if is_default_bundle is not None:
|
|
10679
|
+
kwargs['is_default_bundle'] = is_default_bundle
|
|
10680
|
+
if limit is not None:
|
|
10681
|
+
kwargs['limit'] = limit
|
|
10682
|
+
if page is not None:
|
|
10683
|
+
kwargs['page'] = page
|
|
10684
|
+
if lifecycle_state is not None:
|
|
10685
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
10686
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
10687
|
+
client = cli_util.build_client('core', 'compute', ctx)
|
|
10688
|
+
if all_pages:
|
|
10689
|
+
if page_size:
|
|
10690
|
+
kwargs['limit'] = page_size
|
|
10691
|
+
|
|
10692
|
+
result = cli_util.list_call_get_all_results(
|
|
10693
|
+
client.list_firmware_bundles,
|
|
10694
|
+
platform=platform,
|
|
10695
|
+
**kwargs
|
|
10696
|
+
)
|
|
10697
|
+
elif limit is not None:
|
|
10698
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
10699
|
+
client.list_firmware_bundles,
|
|
10700
|
+
limit,
|
|
10701
|
+
page_size,
|
|
10702
|
+
platform=platform,
|
|
10703
|
+
**kwargs
|
|
10704
|
+
)
|
|
10705
|
+
else:
|
|
10706
|
+
result = client.list_firmware_bundles(
|
|
10707
|
+
platform=platform,
|
|
10708
|
+
**kwargs
|
|
10709
|
+
)
|
|
10710
|
+
cli_util.render_response(result, ctx)
|
|
10711
|
+
|
|
10712
|
+
|
|
10516
10713
|
@image_shape_compatibility_entry_group.command(name=cli_util.override('compute.list_image_shape_compatibility_entries.command_name', 'list'), help=u"""Lists the compatible shapes for the specified image. \n[Command Reference](listImageShapeCompatibilityEntries)""")
|
|
10517
10714
|
@cli_util.option('--image-id', required=True, help=u"""The [OCID] of the image.""")
|
|
10518
10715
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].
|
|
@@ -10931,6 +11128,7 @@ Example: `Uocm:PHX-AD-1`""")
|
|
|
10931
11128
|
Example: `50`""")
|
|
10932
11129
|
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
10933
11130
|
@cli_util.option('--image-id', help=u"""The [OCID] of an image.""")
|
|
11131
|
+
@cli_util.option('--shape', help=u"""Shape name.""")
|
|
10934
11132
|
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
|
|
10935
11133
|
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
|
|
10936
11134
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -10938,7 +11136,7 @@ Example: `50`""")
|
|
|
10938
11136
|
@click.pass_context
|
|
10939
11137
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'core', 'class': 'list[Shape]'})
|
|
10940
11138
|
@cli_util.wrap_exceptions
|
|
10941
|
-
def list_shapes(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, limit, page, image_id):
|
|
11139
|
+
def list_shapes(ctx, from_json, all_pages, page_size, compartment_id, availability_domain, limit, page, image_id, shape):
|
|
10942
11140
|
|
|
10943
11141
|
if all_pages and limit:
|
|
10944
11142
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -10952,6 +11150,8 @@ def list_shapes(ctx, from_json, all_pages, page_size, compartment_id, availabili
|
|
|
10952
11150
|
kwargs['page'] = page
|
|
10953
11151
|
if image_id is not None:
|
|
10954
11152
|
kwargs['image_id'] = image_id
|
|
11153
|
+
if shape is not None:
|
|
11154
|
+
kwargs['shape'] = shape
|
|
10955
11155
|
client = cli_util.build_client('core', 'compute', ctx)
|
|
10956
11156
|
if all_pages:
|
|
10957
11157
|
if page_size:
|
|
@@ -8772,6 +8772,7 @@ def list_ml_application_implementations(ctx, from_json, all_pages, page_size, co
|
|
|
8772
8772
|
@cli_util.option('--display-name', help=u"""<b>Filter</b> results by its user-friendly name.""")
|
|
8773
8773
|
@cli_util.option('--ml-application-id', help=u"""unique MlApplication identifier""")
|
|
8774
8774
|
@cli_util.option('--ml-application-implementation-id', help=u"""unique MlApplicationImplementation identifier""")
|
|
8775
|
+
@cli_util.option('--ml-application-instance-id', help=u"""unique MlApplicationInstance identifier""")
|
|
8775
8776
|
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "NEEDS_ATTENTION", "FAILED"]), help=u"""A filter to return only resources matching the given lifecycleState.""")
|
|
8776
8777
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. 1 is the minimum, 100 is the maximum. See [List Pagination].
|
|
8777
8778
|
|
|
@@ -8788,7 +8789,7 @@ See [List Pagination].""")
|
|
|
8788
8789
|
@click.pass_context
|
|
8789
8790
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'data_science', 'class': 'MlApplicationInstanceViewCollection'})
|
|
8790
8791
|
@cli_util.wrap_exceptions
|
|
8791
|
-
def list_ml_application_instance_views(ctx, from_json, all_pages, page_size, compartment_id, display_name, ml_application_id, ml_application_implementation_id, lifecycle_state, limit, page, sort_order, sort_by):
|
|
8792
|
+
def list_ml_application_instance_views(ctx, from_json, all_pages, page_size, compartment_id, display_name, ml_application_id, ml_application_implementation_id, ml_application_instance_id, lifecycle_state, limit, page, sort_order, sort_by):
|
|
8792
8793
|
|
|
8793
8794
|
if all_pages and limit:
|
|
8794
8795
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -8800,6 +8801,8 @@ def list_ml_application_instance_views(ctx, from_json, all_pages, page_size, com
|
|
|
8800
8801
|
kwargs['ml_application_id'] = ml_application_id
|
|
8801
8802
|
if ml_application_implementation_id is not None:
|
|
8802
8803
|
kwargs['ml_application_implementation_id'] = ml_application_implementation_id
|
|
8804
|
+
if ml_application_instance_id is not None:
|
|
8805
|
+
kwargs['ml_application_instance_id'] = ml_application_instance_id
|
|
8803
8806
|
if lifecycle_state is not None:
|
|
8804
8807
|
kwargs['lifecycle_state'] = lifecycle_state
|
|
8805
8808
|
if limit is not None:
|
|
@@ -2928,7 +2928,7 @@ def update_dr_plan(ctx, from_json, force, wait_for_state, max_wait_seconds, wait
|
|
|
2928
2928
|
@cli_util.option('--dr-plan-execution-id', required=True, help=u"""The OCID of the DR plan execution.
|
|
2929
2929
|
|
|
2930
2930
|
Example: `ocid1.drplanexecution.oc1..uniqueID`""")
|
|
2931
|
-
@cli_util.option('--display-name', help=u"""The display name of the DR
|
|
2931
|
+
@cli_util.option('--display-name', help=u"""The display name of the DR protection group to update.
|
|
2932
2932
|
|
|
2933
2933
|
Example: `EBS IAD Group`""")
|
|
2934
2934
|
@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.
|