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,93 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2020, 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
|
+
|
|
5
|
+
import click # noqa: F401
|
|
6
|
+
import json # noqa: F401
|
|
7
|
+
from services.batch.src.oci_cli_batch_computing.generated import batchcomputing_cli
|
|
8
|
+
from oci_cli import cli_util # noqa: F401
|
|
9
|
+
from oci_cli import custom_types # noqa: F401
|
|
10
|
+
from oci_cli import json_skeleton_utils # noqa: F401
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# oci batch batch-context-collection list-batch-contexts -> oci batch batch-context-collection list
|
|
14
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_context_collection_group, batchcomputing_cli.list_batch_contexts, "list")
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# oci batch batch-context create-batch-context-oci-logging-configuration -> oci batch batch-context create-oci-logging-configuration
|
|
18
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_context_group, batchcomputing_cli.create_batch_context_oci_logging_configuration, "create-oci-logging-configuration")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# oci batch batch-context-shape-collection list-batch-context-shapes -> oci batch batch-context-shape-collection list
|
|
22
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_context_shape_collection_group, batchcomputing_cli.list_batch_context_shapes, "list")
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# oci batch batch-job-collection list-batch-jobs -> oci batch batch-job-collection list
|
|
26
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_job_collection_group, batchcomputing_cli.list_batch_jobs, "list")
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
# oci batch batch-task-collection list-batch-job-tasks -> oci batch batch-task-collection list
|
|
30
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_task_collection_group, batchcomputing_cli.list_batch_job_tasks, "list")
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# oci batch batch-task-environment-collection list-batch-task-environments -> oci batch batch-task-environment-collection list
|
|
34
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_task_environment_collection_group, batchcomputing_cli.list_batch_task_environments, "list")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
# oci batch batch-task-profile-collection list-batch-task-profiles -> oci batch batch-task-profile-collection list
|
|
38
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_task_profile_collection_group, batchcomputing_cli.list_batch_task_profiles, "list")
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# oci batch batch-job-pool-collection list_batch_job_pools -> oci batch batch-job-pool list
|
|
42
|
+
cli_util.rename_command(batchcomputing_cli, batchcomputing_cli.batch_job_pool_collection_group, batchcomputing_cli.list_batch_job_pools, "list")
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
# Move commands under 'oci batch batch-context-collection' -> 'oci batch batch-context'
|
|
46
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_context_collection_group.name)
|
|
47
|
+
batchcomputing_cli.batch_context_group.add_command(batchcomputing_cli.list_batch_contexts)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
# Move commands under 'oci batch batch-job-collection' -> 'oci batch batch-job'
|
|
51
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_job_collection_group.name)
|
|
52
|
+
batchcomputing_cli.batch_job_group.add_command(batchcomputing_cli.list_batch_jobs)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# Move commands under 'oci batch batch-task-collection' -> 'oci batch batch-task'
|
|
56
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_task_collection_group.name)
|
|
57
|
+
batchcomputing_cli.batch_task_group.add_command(batchcomputing_cli.list_batch_job_tasks)
|
|
58
|
+
batchcomputing_cli.batch_task_group.add_command(batchcomputing_cli.list_batch_tasks)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
# Move commands under 'oci batch batch-task-environment-collection' -> 'oci batch batch-task-environment'
|
|
62
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_task_environment_collection_group.name)
|
|
63
|
+
batchcomputing_cli.batch_task_environment_group.add_command(batchcomputing_cli.list_batch_task_environments)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# Move commands under 'oci batch batch-task-profile-collection' -> 'oci batch batch-task-profile'
|
|
67
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_task_profile_collection_group.name)
|
|
68
|
+
batchcomputing_cli.batch_task_profile_group.add_command(batchcomputing_cli.list_batch_task_profiles)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# Move commands under 'oci batch batch-job-pool-collection' -> 'oci batch batch-job-pool'
|
|
72
|
+
batchcomputing_cli.batch_root_group.commands.pop(batchcomputing_cli.batch_job_pool_collection_group.name)
|
|
73
|
+
batchcomputing_cli.batch_job_pool_group.add_command(batchcomputing_cli.list_batch_job_pools)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@cli_util.copy_params_from_generated_command(batchcomputing_cli.create_batch_context_oci_logging_configuration, params_to_exclude=['logging_configuration_log_group_id', 'logging_configuration_log_id'])
|
|
77
|
+
@batchcomputing_cli.batch_context_group.command(name=batchcomputing_cli.create_batch_context_oci_logging_configuration.name, help=batchcomputing_cli.create_batch_context_oci_logging_configuration.help)
|
|
78
|
+
@cli_util.option('--log-group-id', required=True, help=u"""The [OCID] of the log group. [required]""")
|
|
79
|
+
@cli_util.option('--log-id', required=True, help=u"""The [OCID] of the log. [required]""")
|
|
80
|
+
@click.pass_context
|
|
81
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'batch', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'batch', 'class': 'dict(str, dict(str, object))'}, 'job-priority-configurations': {'module': 'batch', 'class': 'list[JobPriorityConfiguration]'}, 'network': {'module': 'batch', 'class': 'CreateNetworkDetails'}, 'fleets': {'module': 'batch', 'class': 'list[CreateFleetDetails]'}, 'entitlements': {'module': 'batch', 'class': 'dict(str, integer)'}}, output_type={'module': 'batch', 'class': 'BatchContext'})
|
|
82
|
+
@cli_util.wrap_exceptions
|
|
83
|
+
def create_batch_context_oci_logging_configuration_extended(ctx, **kwargs):
|
|
84
|
+
|
|
85
|
+
if 'log_group_id' in kwargs:
|
|
86
|
+
kwargs['logging_configuration_log_group_id'] = kwargs['log_group_id']
|
|
87
|
+
kwargs.pop('log_group_id')
|
|
88
|
+
|
|
89
|
+
if 'log_id' in kwargs:
|
|
90
|
+
kwargs['logging_configuration_log_id'] = kwargs['log_id']
|
|
91
|
+
kwargs.pop('log_id')
|
|
92
|
+
|
|
93
|
+
ctx.invoke(batchcomputing_cli.create_batch_context_oci_logging_configuration, **kwargs)
|
|
@@ -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
|