oci-cli 3.70.0__py3-none-any.whl → 3.70.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/artifacts.psm1 +4 -2
- oci_cli/bin/dif.psm1 +53 -0
- oci_cli/bin/limits.psm1 +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/artifacts/container/image/list.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/artifacts/container/image/lookup.txt +93 -0
- oci_cli/help_text_producer/data_files/text/cmdref/artifacts/container/image.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/artifacts/container.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/artifacts.txt +18 -2
- oci_cli/help_text_producer/data_files/text/cmdref/bv/volume-kms-key/update.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/addon-option/list.txt +6 -1
- oci_cli/help_text_producer/data_files/text/cmdref/ce/cluster-options/get.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ce/node-pool-options/get.txt +24 -0
- 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/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.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/add.txt +227 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/create.txt +262 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/delete.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/deploy-artifacts.txt +198 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack/update.txt +274 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack-collection/list-stacks.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/stack.txt +31 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{organizations/work-request-log → dif/work-request-error}/list.txt +22 -9
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request-log-entry/list-work-request-logs.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request-log-entry.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/dif.txt +49 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/compliance/get.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/compliance.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-dynamic-resource-selection.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-environment-fleet-details.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-generic-fleet-details.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-group-fleet-details.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-manual-resource-selection.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create-fleet-product-fleet-details.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/create.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/update-fleet-dynamic-resource-selection.txt +10 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/update-fleet-manual-resource-selection.txt +10 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet/update.txt +10 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/onboarding/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/onboarding/update.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-credential-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-environment-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-lifecycle-operation-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-patch-type-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-product-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-product-stack-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create-platform-configuration-self-hosted-instance-config-category-details.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-credential-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-environment-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-lifecycle-operation-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-patch-type-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-product-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-product-stack-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update-platform-configuration-self-hosted-instance-config-category-details.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/platform-configuration-collection/list-platform-configurations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/property/create.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-admin/property/update.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/configure.txt +218 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/create-catalog-item-catalog-git-source-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/create-catalog-item-catalog-marketplace-source-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/create-catalog-item-catalog-par-source-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/create-catalog-item-catalog-source-template-config.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item-collection/list-catalog-items.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item-variables-definition/get.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item-variables-definition.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog/catalog-item.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-catalog.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/installed-patch-collection/list-installed-patches.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/installed-patch-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/inventory-record-collection/list-inventory-records.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/job-activity/get.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/recommended-patch-collection/list-recommended-patches.txt +159 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/recommended-patch-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/report-collection/report.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/report-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/report-metadata-collection/list-report-metadata.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/report-metadata-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/scheduler-execution-collection/list-scheduler-executions.txt +13 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/target-component-collection/list-target-components.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/target-component-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/target-property-collection/list-target-properties.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations/target-property-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-operations.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-details/import-runbook.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-details.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-precheck-details/import-runbook-precheck.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-precheck-details.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-version-details/import-runbook-version.txt +183 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/import-runbook-version-details.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export-runbook-transfer-runbook-object-storage-bucket-content-details.txt +160 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export-runbook-transfer-runbook-par-url-content-details.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export-runbook-version-transfer-runbook-object-storage-bucket-content-details.txt +147 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export-runbook-version-transfer-runbook-par-url-content-details.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export-runbook-version.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook/export.txt +155 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export/get.txt +105 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export-dependency-collection/find-runbook-export-dependency.txt +114 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export-dependency-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export-status-collection/list-runbook-export-statuses.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export-status-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-export.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import/get.txt +105 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-dependency-collection/find-runbook-import-dependency-transfer-runbook-object-storage-bucket-content-details.txt +119 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-dependency-collection/find-runbook-import-dependency-transfer-runbook-par-url-content-details.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-dependency-collection/find-runbook-import-dependency.txt +117 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-dependency-collection.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-status-collection/list-runbook-import-statuses.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import-status-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-import.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-version/create.txt +5 -4
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-version/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook-version.txt +4 -1
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks/runbook.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-apps-management-runbooks.txt +56 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-target-collection/list-fleet-targets.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management/fleet-target-collection/list-targets.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/fleet-apps-management.txt +90 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/dedicated-ai-cluster/create.txt +10 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/change-compartment.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/create-from-huggingface.txt +213 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/create-from-objectstorage.txt +203 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/delete.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model/update.txt +183 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model-collection/list-imported-models.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/imported-model.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai/model-collection/list-models.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/limits/definition/list.txt +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/limits/resource-availability/get.txt +9 -5
- oci_cli/help_text_producer/data_files/text/cmdref/limits/service/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/limits/value/list.txt +7 -3
- oci_cli/help_text_producer/data_files/text/cmdref/ocvs/work-request-error/{list-errors.txt → list.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-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/work-request-log-entry/list.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/organizations/{work-request-log.txt → work-request-log-entry.txt} +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/organizations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/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/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.70.0.dist-info → oci_cli-3.70.1.dist-info}/METADATA +2 -2
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/RECORD +196 -114
- services/artifacts/src/oci_cli_artifacts/artifacts_cli_extended.py +4 -0
- services/artifacts/src/oci_cli_artifacts/generated/artifacts_cli.py +36 -3
- services/container_engine/src/oci_cli_container_engine/generated/containerengine_cli.py +18 -3
- services/core/src/oci_cli_blockstorage/generated/blockstorage_cli.py +4 -1
- services/core/src/oci_cli_compute/generated/compute_cli.py +35 -5
- services/dif/__init__.py +4 -0
- services/dif/src/__init__.py +4 -0
- services/dif/src/oci_cli_stack/__init__.py +4 -0
- services/dif/src/oci_cli_stack/generated/__init__.py +4 -0
- services/dif/src/oci_cli_stack/generated/client_mappings.py +14 -0
- services/dif/src/oci_cli_stack/generated/stack_cli.py +887 -0
- services/dif/src/oci_cli_stack/stack_cli_extended.py +51 -0
- services/dif/tests/__init__.py +4 -0
- services/fleet_apps_management/src/oci_cli_fleet_apps_management/generated/fleetappsmanagement_cli.py +63 -15
- services/fleet_apps_management/src/oci_cli_fleet_apps_management_admin/generated/fleetappsmanagementadmin_cli.py +265 -65
- services/fleet_apps_management/src/oci_cli_fleet_apps_management_catalog/generated/fleetappsmanagementcatalog_cli.py +154 -7
- services/fleet_apps_management/src/oci_cli_fleet_apps_management_operations/generated/fleetappsmanagementoperations_cli.py +473 -31
- services/fleet_apps_management/src/oci_cli_fleet_apps_management_runbooks/generated/fleetappsmanagementrunbooks_cli.py +1055 -34
- services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py +640 -59
- services/generative_ai/src/oci_cli_generative_ai/generativeai_cli_extended.py +107 -0
- services/limits/src/oci_cli_limits/generated/limits_cli.py +15 -9
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.70.0.dist-info → oci_cli-3.70.1.dist-info}/top_level.txt +0 -0
|
@@ -22,6 +22,12 @@ def fleet_apps_management_catalog_root_group():
|
|
|
22
22
|
pass
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
@click.command(cli_util.override('fleet_apps_management_catalog.catalog_item_variables_definition_group.command_name', 'catalog-item-variables-definition'), cls=CommandGroupWithAlias, help="""Variables Definitions for a CatalogItem.""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def catalog_item_variables_definition_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
25
31
|
@click.command(cli_util.override('fleet_apps_management_catalog.catalog_item_group.command_name', 'catalog-item'), cls=CommandGroupWithAlias, help="""A description of a CatalogItem resource.
|
|
26
32
|
|
|
27
33
|
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies].""")
|
|
@@ -37,6 +43,7 @@ def catalog_item_collection_group():
|
|
|
37
43
|
|
|
38
44
|
|
|
39
45
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_apps_management_catalog_root_group)
|
|
46
|
+
fleet_apps_management_catalog_root_group.add_command(catalog_item_variables_definition_group)
|
|
40
47
|
fleet_apps_management_catalog_root_group.add_command(catalog_item_group)
|
|
41
48
|
fleet_apps_management_catalog_root_group.add_command(catalog_item_collection_group)
|
|
42
49
|
|
|
@@ -167,6 +174,97 @@ def clone_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
|
|
|
167
174
|
cli_util.render_response(result, ctx)
|
|
168
175
|
|
|
169
176
|
|
|
177
|
+
@catalog_item_group.command(name=cli_util.override('fleet_apps_management_catalog.configure_catalog_item.command_name', 'configure'), help=u"""Configures a CatalogItem. Creating new Catalog Item. \n[Command Reference](configureCatalogItem)""")
|
|
178
|
+
@cli_util.option('--catalog-item-id', required=True, help=u"""The [OCID] of the CatalogItem.""")
|
|
179
|
+
@cli_util.option('--storage-namespace', required=True, help=u"""The Oracle Cloud Object Storage namespace where the artifact or variables are stored.""")
|
|
180
|
+
@cli_util.option('--bucket-name', required=True, help=u"""The name of the Object Storage bucket that contains the catalog item configuration object.""")
|
|
181
|
+
@cli_util.option('--compartment-id', required=True, help=u"""OCID of the Compartment.""")
|
|
182
|
+
@cli_util.option('--input-variables', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Array of key value pairs specifying variables or parameters to be used when configuring the catalog item.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
183
|
+
@cli_util.option('--object-name', help=u"""The name of the object file in the specified bucket containing catalog item configuration details.""")
|
|
184
|
+
@cli_util.option('--catalog-listing-id', help=u"""The unique identifier of the catalog listing to which configuration applies.""")
|
|
185
|
+
@cli_util.option('--catalog-listing-version-id', help=u"""The unique identifier for the specific version of the catalog listing.""")
|
|
186
|
+
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
187
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
188
|
+
@cli_util.option('--system-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
189
|
+
@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.""")
|
|
190
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
191
|
+
@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.""")
|
|
192
|
+
@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.""")
|
|
193
|
+
@json_skeleton_utils.get_cli_json_input_option({'input-variables': {'module': 'fleet_apps_management', 'class': 'list[KeyValueProperty]'}, 'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}})
|
|
194
|
+
@cli_util.help_option
|
|
195
|
+
@click.pass_context
|
|
196
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'input-variables': {'module': 'fleet_apps_management', 'class': 'list[KeyValueProperty]'}, 'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}, 'system-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
197
|
+
@cli_util.wrap_exceptions
|
|
198
|
+
def configure_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, catalog_item_id, storage_namespace, bucket_name, compartment_id, input_variables, object_name, catalog_listing_id, catalog_listing_version_id, freeform_tags, defined_tags, system_tags, if_match):
|
|
199
|
+
|
|
200
|
+
if isinstance(catalog_item_id, six.string_types) and len(catalog_item_id.strip()) == 0:
|
|
201
|
+
raise click.UsageError('Parameter --catalog-item-id cannot be whitespace or empty string')
|
|
202
|
+
|
|
203
|
+
kwargs = {}
|
|
204
|
+
if if_match is not None:
|
|
205
|
+
kwargs['if_match'] = if_match
|
|
206
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
207
|
+
|
|
208
|
+
_details = {}
|
|
209
|
+
_details['storageNamespace'] = storage_namespace
|
|
210
|
+
_details['bucketName'] = bucket_name
|
|
211
|
+
_details['compartmentId'] = compartment_id
|
|
212
|
+
_details['inputVariables'] = cli_util.parse_json_parameter("input_variables", input_variables)
|
|
213
|
+
|
|
214
|
+
if object_name is not None:
|
|
215
|
+
_details['objectName'] = object_name
|
|
216
|
+
|
|
217
|
+
if catalog_listing_id is not None:
|
|
218
|
+
_details['catalogListingId'] = catalog_listing_id
|
|
219
|
+
|
|
220
|
+
if catalog_listing_version_id is not None:
|
|
221
|
+
_details['catalogListingVersionId'] = catalog_listing_version_id
|
|
222
|
+
|
|
223
|
+
if freeform_tags is not None:
|
|
224
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
225
|
+
|
|
226
|
+
if defined_tags is not None:
|
|
227
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
228
|
+
|
|
229
|
+
if system_tags is not None:
|
|
230
|
+
_details['systemTags'] = cli_util.parse_json_parameter("system_tags", system_tags)
|
|
231
|
+
|
|
232
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_catalog', ctx)
|
|
233
|
+
result = client.configure_catalog_item(
|
|
234
|
+
catalog_item_id=catalog_item_id,
|
|
235
|
+
configure_catalog_item_details=_details,
|
|
236
|
+
**kwargs
|
|
237
|
+
)
|
|
238
|
+
if wait_for_state:
|
|
239
|
+
|
|
240
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
241
|
+
try:
|
|
242
|
+
wait_period_kwargs = {}
|
|
243
|
+
if max_wait_seconds is not None:
|
|
244
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
245
|
+
if wait_interval_seconds is not None:
|
|
246
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
247
|
+
if 'opc-work-request-id' not in result.headers:
|
|
248
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
249
|
+
cli_util.render_response(result, ctx)
|
|
250
|
+
return
|
|
251
|
+
|
|
252
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
253
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
254
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
255
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
256
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
257
|
+
cli_util.render_response(result, ctx)
|
|
258
|
+
sys.exit(2)
|
|
259
|
+
except Exception:
|
|
260
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
261
|
+
cli_util.render_response(result, ctx)
|
|
262
|
+
raise
|
|
263
|
+
else:
|
|
264
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
265
|
+
cli_util.render_response(result, ctx)
|
|
266
|
+
|
|
267
|
+
|
|
170
268
|
@catalog_item_group.command(name=cli_util.override('fleet_apps_management_catalog.create_catalog_item.command_name', 'create'), help=u"""Creates a CatalogItem. \n[Command Reference](createCatalogItem)""")
|
|
171
269
|
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
|
|
172
270
|
@cli_util.option('--config-source-type', required=True, help=u"""Config source type Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, GIT_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.""")
|
|
@@ -179,6 +277,7 @@ def clone_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
|
|
|
179
277
|
@cli_util.option('--catalog-source-payload', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
180
278
|
@cli_util.option('--listing-id', help=u"""The catalog listing Id.""")
|
|
181
279
|
@cli_util.option('--listing-version', help=u"""The catalog package version.""")
|
|
280
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
182
281
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
183
282
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
184
283
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -189,7 +288,7 @@ def clone_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_in
|
|
|
189
288
|
@click.pass_context
|
|
190
289
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'catalog-source-payload': {'module': 'fleet_apps_management', 'class': 'CatalogSourcePayload'}, 'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
191
290
|
@cli_util.wrap_exceptions
|
|
192
|
-
def create_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, catalog_source_payload, listing_id, listing_version, freeform_tags, defined_tags):
|
|
291
|
+
def create_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, catalog_source_payload, listing_id, listing_version, is_item_locked, freeform_tags, defined_tags):
|
|
193
292
|
|
|
194
293
|
kwargs = {}
|
|
195
294
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -219,6 +318,9 @@ def create_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_i
|
|
|
219
318
|
if listing_version is not None:
|
|
220
319
|
_details['listingVersion'] = listing_version
|
|
221
320
|
|
|
321
|
+
if is_item_locked is not None:
|
|
322
|
+
_details['isItemLocked'] = is_item_locked
|
|
323
|
+
|
|
222
324
|
if freeform_tags is not None:
|
|
223
325
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
224
326
|
|
|
@@ -271,6 +373,7 @@ def create_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_i
|
|
|
271
373
|
@cli_util.option('--time-released', type=custom_types.CLI_DATETIME, help=u"""The date and time the CatalogItem was released, in the format defined by [RFC 3339]. Example: `2016-08-25T21:10:29.600Z`""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
272
374
|
@cli_util.option('--listing-id', help=u"""The catalog listing Id.""")
|
|
273
375
|
@cli_util.option('--listing-version', help=u"""The catalog package version.""")
|
|
376
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
274
377
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
275
378
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
276
379
|
@cli_util.option('--catalog-source-payload-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used.""")
|
|
@@ -285,7 +388,7 @@ def create_catalog_item(ctx, from_json, wait_for_state, max_wait_seconds, wait_i
|
|
|
285
388
|
@click.pass_context
|
|
286
389
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
287
390
|
@cli_util.wrap_exceptions
|
|
288
|
-
def create_catalog_item_catalog_git_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_branch_name, catalog_source_payload_configuration_source_provider_id, catalog_source_payload_repository_url):
|
|
391
|
+
def create_catalog_item_catalog_git_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, is_item_locked, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_branch_name, catalog_source_payload_configuration_source_provider_id, catalog_source_payload_repository_url):
|
|
289
392
|
|
|
290
393
|
kwargs = {}
|
|
291
394
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -313,6 +416,9 @@ def create_catalog_item_catalog_git_source_config(ctx, from_json, wait_for_state
|
|
|
313
416
|
if listing_version is not None:
|
|
314
417
|
_details['listingVersion'] = listing_version
|
|
315
418
|
|
|
419
|
+
if is_item_locked is not None:
|
|
420
|
+
_details['isItemLocked'] = is_item_locked
|
|
421
|
+
|
|
316
422
|
if freeform_tags is not None:
|
|
317
423
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
318
424
|
|
|
@@ -379,6 +485,7 @@ def create_catalog_item_catalog_git_source_config(ctx, from_json, wait_for_state
|
|
|
379
485
|
@cli_util.option('--time-released', type=custom_types.CLI_DATETIME, help=u"""The date and time the CatalogItem was released, in the format defined by [RFC 3339]. Example: `2016-08-25T21:10:29.600Z`""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
380
486
|
@cli_util.option('--listing-id', help=u"""The catalog listing Id.""")
|
|
381
487
|
@cli_util.option('--listing-version', help=u"""The catalog package version.""")
|
|
488
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
382
489
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
383
490
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
384
491
|
@cli_util.option('--catalog-source-payload-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used.""")
|
|
@@ -394,7 +501,7 @@ def create_catalog_item_catalog_git_source_config(ctx, from_json, wait_for_state
|
|
|
394
501
|
@click.pass_context
|
|
395
502
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
396
503
|
@cli_util.wrap_exceptions
|
|
397
|
-
def create_catalog_item_catalog_source_template_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_zip_file_base64_encoded, catalog_source_payload_description, catalog_source_payload_long_description, catalog_source_payload_template_display_name):
|
|
504
|
+
def create_catalog_item_catalog_source_template_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, is_item_locked, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_zip_file_base64_encoded, catalog_source_payload_description, catalog_source_payload_long_description, catalog_source_payload_template_display_name):
|
|
398
505
|
|
|
399
506
|
kwargs = {}
|
|
400
507
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -422,6 +529,9 @@ def create_catalog_item_catalog_source_template_config(ctx, from_json, wait_for_
|
|
|
422
529
|
if listing_version is not None:
|
|
423
530
|
_details['listingVersion'] = listing_version
|
|
424
531
|
|
|
532
|
+
if is_item_locked is not None:
|
|
533
|
+
_details['isItemLocked'] = is_item_locked
|
|
534
|
+
|
|
425
535
|
if freeform_tags is not None:
|
|
426
536
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
427
537
|
|
|
@@ -491,6 +601,7 @@ def create_catalog_item_catalog_source_template_config(ctx, from_json, wait_for_
|
|
|
491
601
|
@cli_util.option('--time-released', type=custom_types.CLI_DATETIME, help=u"""The date and time the CatalogItem was released, in the format defined by [RFC 3339]. Example: `2016-08-25T21:10:29.600Z`""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
492
602
|
@cli_util.option('--listing-id', help=u"""The catalog listing Id.""")
|
|
493
603
|
@cli_util.option('--listing-version', help=u"""The catalog package version.""")
|
|
604
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
494
605
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
495
606
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
496
607
|
@cli_util.option('--catalog-source-payload-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used.""")
|
|
@@ -509,7 +620,7 @@ Example: `2016-08-25T21:10:29.600Z`""" + custom_types.CLI_DATETIME.VALID_DATETIM
|
|
|
509
620
|
@click.pass_context
|
|
510
621
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
511
622
|
@cli_util.wrap_exceptions
|
|
512
|
-
def create_catalog_item_catalog_par_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_namespace_name, catalog_source_payload_bucket_name, catalog_source_payload_object_name, catalog_source_payload_access_uri, catalog_source_payload_time_expires):
|
|
623
|
+
def create_catalog_item_catalog_par_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, is_item_locked, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_namespace_name, catalog_source_payload_bucket_name, catalog_source_payload_object_name, catalog_source_payload_access_uri, catalog_source_payload_time_expires):
|
|
513
624
|
|
|
514
625
|
kwargs = {}
|
|
515
626
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -537,6 +648,9 @@ def create_catalog_item_catalog_par_source_config(ctx, from_json, wait_for_state
|
|
|
537
648
|
if listing_version is not None:
|
|
538
649
|
_details['listingVersion'] = listing_version
|
|
539
650
|
|
|
651
|
+
if is_item_locked is not None:
|
|
652
|
+
_details['isItemLocked'] = is_item_locked
|
|
653
|
+
|
|
540
654
|
if freeform_tags is not None:
|
|
541
655
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
542
656
|
|
|
@@ -609,6 +723,7 @@ def create_catalog_item_catalog_par_source_config(ctx, from_json, wait_for_state
|
|
|
609
723
|
@cli_util.option('--time-released', type=custom_types.CLI_DATETIME, help=u"""The date and time the CatalogItem was released, in the format defined by [RFC 3339]. Example: `2016-08-25T21:10:29.600Z`""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
610
724
|
@cli_util.option('--listing-id', help=u"""The catalog listing Id.""")
|
|
611
725
|
@cli_util.option('--listing-version', help=u"""The catalog package version.""")
|
|
726
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
612
727
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
613
728
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
614
729
|
@cli_util.option('--catalog-source-payload-working-directory', help=u"""File path to the directory to use for running Terraform. If not specified, the root directory is used.""")
|
|
@@ -622,7 +737,7 @@ def create_catalog_item_catalog_par_source_config(ctx, from_json, wait_for_state
|
|
|
622
737
|
@click.pass_context
|
|
623
738
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItem'})
|
|
624
739
|
@cli_util.wrap_exceptions
|
|
625
|
-
def create_catalog_item_catalog_marketplace_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_listing_id, catalog_source_payload_version):
|
|
740
|
+
def create_catalog_item_catalog_marketplace_source_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, config_source_type, description, display_name, package_type, version_description, short_description, time_released, listing_id, listing_version, is_item_locked, freeform_tags, defined_tags, catalog_source_payload_working_directory, catalog_source_payload_listing_id, catalog_source_payload_version):
|
|
626
741
|
|
|
627
742
|
kwargs = {}
|
|
628
743
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -650,6 +765,9 @@ def create_catalog_item_catalog_marketplace_source_config(ctx, from_json, wait_f
|
|
|
650
765
|
if listing_version is not None:
|
|
651
766
|
_details['listingVersion'] = listing_version
|
|
652
767
|
|
|
768
|
+
if is_item_locked is not None:
|
|
769
|
+
_details['isItemLocked'] = is_item_locked
|
|
770
|
+
|
|
653
771
|
if freeform_tags is not None:
|
|
654
772
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
655
773
|
|
|
@@ -780,6 +898,28 @@ def get_catalog_item(ctx, from_json, catalog_item_id):
|
|
|
780
898
|
cli_util.render_response(result, ctx)
|
|
781
899
|
|
|
782
900
|
|
|
901
|
+
@catalog_item_variables_definition_group.command(name=cli_util.override('fleet_apps_management_catalog.get_catalog_item_variables_definition.command_name', 'get'), help=u"""Gets information about a CatalogItem Variables. \n[Command Reference](getCatalogItemVariablesDefinition)""")
|
|
902
|
+
@cli_util.option('--catalog-item-id', required=True, help=u"""The [OCID] of the CatalogItem.""")
|
|
903
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
904
|
+
@cli_util.help_option
|
|
905
|
+
@click.pass_context
|
|
906
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItemVariablesDefinition'})
|
|
907
|
+
@cli_util.wrap_exceptions
|
|
908
|
+
def get_catalog_item_variables_definition(ctx, from_json, catalog_item_id):
|
|
909
|
+
|
|
910
|
+
if isinstance(catalog_item_id, six.string_types) and len(catalog_item_id.strip()) == 0:
|
|
911
|
+
raise click.UsageError('Parameter --catalog-item-id cannot be whitespace or empty string')
|
|
912
|
+
|
|
913
|
+
kwargs = {}
|
|
914
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
915
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_catalog', ctx)
|
|
916
|
+
result = client.get_catalog_item_variables_definition(
|
|
917
|
+
catalog_item_id=catalog_item_id,
|
|
918
|
+
**kwargs
|
|
919
|
+
)
|
|
920
|
+
cli_util.render_response(result, ctx)
|
|
921
|
+
|
|
922
|
+
|
|
783
923
|
@catalog_item_collection_group.command(name=cli_util.override('fleet_apps_management_catalog.list_catalog_items.command_name', 'list-catalog-items'), help=u"""Gets a list of Catalog Items in a compartment. \n[Command Reference](listCatalogItems)""")
|
|
784
924
|
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
785
925
|
@cli_util.option('--config-source-type', help=u"""The [ConfigSourceType] Eg: STACK_TEMPLATE_CATALOG_SOURCE, PAR_CATALOG_SOURCE, URL_CATALOG_SOURCE, MARKETPLACE_CATALOG_SOURCE.""")
|
|
@@ -791,6 +931,7 @@ def get_catalog_item(ctx, from_json, catalog_item_id):
|
|
|
791
931
|
@cli_util.option('--page', help=u"""A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.""")
|
|
792
932
|
@cli_util.option('--catalog-listing-id', help=u"""catalogListingId of the package. This is an integer whose min and max length are specified.""")
|
|
793
933
|
@cli_util.option('--catalog-listing-version-criteria', type=custom_types.CliCaseInsensitiveChoice(["LIST_ALL_VERSIONS", "LIST_EARLIEST_VERSION_ONLY", "LIST_LATEST_VERSION_ONLY"]), help=u"""Parameter to list all catalog items only with latest version or list all catalog items with all versions.""")
|
|
934
|
+
@cli_util.option('--package-type', type=custom_types.CliCaseInsensitiveChoice(["TF_PACKAGE", "NON_TF_PACKAGE", "CONFIG_FILE"]), help=u"""A filter to return only resources that match the given package type. The state value is case-insensitive.""")
|
|
794
935
|
@cli_util.option('--should-list-public-items', type=click.BOOL, help=u"""The indicator to append Public Items from the root compartment to any query, when set to TRUE.""")
|
|
795
936
|
@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.""")
|
|
796
937
|
@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.""")
|
|
@@ -799,7 +940,7 @@ def get_catalog_item(ctx, from_json, catalog_item_id):
|
|
|
799
940
|
@click.pass_context
|
|
800
941
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'CatalogItemCollection'})
|
|
801
942
|
@cli_util.wrap_exceptions
|
|
802
|
-
def list_catalog_items(ctx, from_json, all_pages, page_size, compartment_id, config_source_type, lifecycle_state, sort_order, sort_by, display_name, limit, page, catalog_listing_id, catalog_listing_version_criteria, should_list_public_items):
|
|
943
|
+
def list_catalog_items(ctx, from_json, all_pages, page_size, compartment_id, config_source_type, lifecycle_state, sort_order, sort_by, display_name, limit, page, catalog_listing_id, catalog_listing_version_criteria, package_type, should_list_public_items):
|
|
803
944
|
|
|
804
945
|
if all_pages and limit:
|
|
805
946
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -823,6 +964,8 @@ def list_catalog_items(ctx, from_json, all_pages, page_size, compartment_id, con
|
|
|
823
964
|
kwargs['catalog_listing_id'] = catalog_listing_id
|
|
824
965
|
if catalog_listing_version_criteria is not None:
|
|
825
966
|
kwargs['catalog_listing_version_criteria'] = catalog_listing_version_criteria
|
|
967
|
+
if package_type is not None:
|
|
968
|
+
kwargs['package_type'] = package_type
|
|
826
969
|
if should_list_public_items is not None:
|
|
827
970
|
kwargs['should_list_public_items'] = should_list_public_items
|
|
828
971
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -858,6 +1001,7 @@ def list_catalog_items(ctx, from_json, all_pages, page_size, compartment_id, con
|
|
|
858
1001
|
@cli_util.option('--version-description', help=u"""Version description about the catalog item.""")
|
|
859
1002
|
@cli_util.option('--short-description', help=u"""Short description about the catalog item.""")
|
|
860
1003
|
@cli_util.option('--display-name', help=u"""The CatalogItem name.""")
|
|
1004
|
+
@cli_util.option('--is-item-locked', type=click.BOOL, help=u"""Indicates if the CatalogItem is immutable or not.""")
|
|
861
1005
|
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
862
1006
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
863
1007
|
@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.""")
|
|
@@ -870,7 +1014,7 @@ def list_catalog_items(ctx, from_json, all_pages, page_size, compartment_id, con
|
|
|
870
1014
|
@click.pass_context
|
|
871
1015
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}})
|
|
872
1016
|
@cli_util.wrap_exceptions
|
|
873
|
-
def update_catalog_item(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, catalog_item_id, description, version_description, short_description, display_name, freeform_tags, defined_tags, if_match):
|
|
1017
|
+
def update_catalog_item(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, catalog_item_id, description, version_description, short_description, display_name, is_item_locked, freeform_tags, defined_tags, if_match):
|
|
874
1018
|
|
|
875
1019
|
if isinstance(catalog_item_id, six.string_types) and len(catalog_item_id.strip()) == 0:
|
|
876
1020
|
raise click.UsageError('Parameter --catalog-item-id cannot be whitespace or empty string')
|
|
@@ -898,6 +1042,9 @@ def update_catalog_item(ctx, from_json, force, wait_for_state, max_wait_seconds,
|
|
|
898
1042
|
if display_name is not None:
|
|
899
1043
|
_details['displayName'] = display_name
|
|
900
1044
|
|
|
1045
|
+
if is_item_locked is not None:
|
|
1046
|
+
_details['isItemLocked'] = is_item_locked
|
|
1047
|
+
|
|
901
1048
|
if freeform_tags is not None:
|
|
902
1049
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
903
1050
|
|