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,21 +22,69 @@ def fleet_apps_management_operations_root_group():
|
|
|
22
22
|
pass
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
@click.command(cli_util.override('fleet_apps_management_operations.scheduler_job_aggregation_collection_group.command_name', 'scheduler-job-aggregation-collection'), cls=CommandGroupWithAlias, help="""An array of SchedulerJob objects.""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def scheduler_job_aggregation_collection_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@click.command(cli_util.override('fleet_apps_management_operations.report_collection_group.command_name', 'report-collection'), cls=CommandGroupWithAlias, help="""Results of a summarize report .""")
|
|
32
|
+
@cli_util.help_option_group
|
|
33
|
+
def report_collection_group():
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@click.command(cli_util.override('fleet_apps_management_operations.patch_group.command_name', 'patch'), cls=CommandGroupWithAlias, help="""Patch metadata for Custom and Oracle patches.""")
|
|
38
|
+
@cli_util.help_option_group
|
|
39
|
+
def patch_group():
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@click.command(cli_util.override('fleet_apps_management_operations.job_activity_group.command_name', 'job-activity'), cls=CommandGroupWithAlias, help="""Activity details including status corresponding to an Action Group.""")
|
|
44
|
+
@cli_util.help_option_group
|
|
45
|
+
def job_activity_group():
|
|
46
|
+
pass
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@click.command(cli_util.override('fleet_apps_management_operations.execution_collection_group.command_name', 'execution-collection'), cls=CommandGroupWithAlias, help="""A collection of ExecutionSummary.""")
|
|
50
|
+
@cli_util.help_option_group
|
|
51
|
+
def execution_collection_group():
|
|
52
|
+
pass
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
@click.command(cli_util.override('fleet_apps_management_operations.target_property_collection_group.command_name', 'target-property-collection'), cls=CommandGroupWithAlias, help="""Results of an target property search.""")
|
|
56
|
+
@cli_util.help_option_group
|
|
57
|
+
def target_property_collection_group():
|
|
58
|
+
pass
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
@click.command(cli_util.override('fleet_apps_management_operations.scheduled_fleet_collection_group.command_name', 'scheduled-fleet-collection'), cls=CommandGroupWithAlias, help="""Results of a Scheduled ActionGroup search.""")
|
|
62
|
+
@cli_util.help_option_group
|
|
63
|
+
def scheduled_fleet_collection_group():
|
|
64
|
+
pass
|
|
65
|
+
|
|
66
|
+
|
|
25
67
|
@click.command(cli_util.override('fleet_apps_management_operations.execution_group.command_name', 'execution'), cls=CommandGroupWithAlias, help="""Task Execution associated with the Job.""")
|
|
26
68
|
@cli_util.help_option_group
|
|
27
69
|
def execution_group():
|
|
28
70
|
pass
|
|
29
71
|
|
|
30
72
|
|
|
73
|
+
@click.command(cli_util.override('fleet_apps_management_operations.target_component_collection_group.command_name', 'target-component-collection'), cls=CommandGroupWithAlias, help="""Results of an target component search.""")
|
|
74
|
+
@cli_util.help_option_group
|
|
75
|
+
def target_component_collection_group():
|
|
76
|
+
pass
|
|
77
|
+
|
|
78
|
+
|
|
31
79
|
@click.command(cli_util.override('fleet_apps_management_operations.inventory_record_collection_group.command_name', 'inventory-record-collection'), cls=CommandGroupWithAlias, help="""Results of an inventory search.""")
|
|
32
80
|
@cli_util.help_option_group
|
|
33
81
|
def inventory_record_collection_group():
|
|
34
82
|
pass
|
|
35
83
|
|
|
36
84
|
|
|
37
|
-
@click.command(cli_util.override('fleet_apps_management_operations.
|
|
85
|
+
@click.command(cli_util.override('fleet_apps_management_operations.report_metadata_collection_group.command_name', 'report-metadata-collection'), cls=CommandGroupWithAlias, help="""Results of a run report .""")
|
|
38
86
|
@cli_util.help_option_group
|
|
39
|
-
def
|
|
87
|
+
def report_metadata_collection_group():
|
|
40
88
|
pass
|
|
41
89
|
|
|
42
90
|
|
|
@@ -52,12 +100,6 @@ def compliance_record_collection_group():
|
|
|
52
100
|
pass
|
|
53
101
|
|
|
54
102
|
|
|
55
|
-
@click.command(cli_util.override('fleet_apps_management_operations.patch_group.command_name', 'patch'), cls=CommandGroupWithAlias, help="""Patch metadata for Custom and Oracle patches.""")
|
|
56
|
-
@cli_util.help_option_group
|
|
57
|
-
def patch_group():
|
|
58
|
-
pass
|
|
59
|
-
|
|
60
|
-
|
|
61
103
|
@click.command(cli_util.override('fleet_apps_management_operations.scheduler_definition_group.command_name', 'scheduler-definition'), cls=CommandGroupWithAlias, help="""Definition of a Schedule.""")
|
|
62
104
|
@cli_util.help_option_group
|
|
63
105
|
def scheduler_definition_group():
|
|
@@ -100,18 +142,6 @@ def compliance_record_group():
|
|
|
100
142
|
pass
|
|
101
143
|
|
|
102
144
|
|
|
103
|
-
@click.command(cli_util.override('fleet_apps_management_operations.job_activity_group.command_name', 'job-activity'), cls=CommandGroupWithAlias, help="""Activity details including status corresponding to an Action Group.""")
|
|
104
|
-
@cli_util.help_option_group
|
|
105
|
-
def job_activity_group():
|
|
106
|
-
pass
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@click.command(cli_util.override('fleet_apps_management_operations.execution_collection_group.command_name', 'execution-collection'), cls=CommandGroupWithAlias, help="""A collection of ExecutionSummary.""")
|
|
110
|
-
@cli_util.help_option_group
|
|
111
|
-
def execution_collection_group():
|
|
112
|
-
pass
|
|
113
|
-
|
|
114
|
-
|
|
115
145
|
@click.command(cli_util.override('fleet_apps_management_operations.compliance_record_aggregation_collection_group.command_name', 'compliance-record-aggregation-collection'), cls=CommandGroupWithAlias, help="""An array of ComplianceRecord objects""")
|
|
116
146
|
@cli_util.help_option_group
|
|
117
147
|
def compliance_record_aggregation_collection_group():
|
|
@@ -124,9 +154,15 @@ def scheduler_job_group():
|
|
|
124
154
|
pass
|
|
125
155
|
|
|
126
156
|
|
|
127
|
-
@click.command(cli_util.override('fleet_apps_management_operations.
|
|
157
|
+
@click.command(cli_util.override('fleet_apps_management_operations.installed_patch_collection_group.command_name', 'installed-patch-collection'), cls=CommandGroupWithAlias, help="""Results of an installed patches search.""")
|
|
128
158
|
@cli_util.help_option_group
|
|
129
|
-
def
|
|
159
|
+
def installed_patch_collection_group():
|
|
160
|
+
pass
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
@click.command(cli_util.override('fleet_apps_management_operations.recommended_patch_collection_group.command_name', 'recommended-patch-collection'), cls=CommandGroupWithAlias, help="""Results of an recommended patches search.""")
|
|
164
|
+
@cli_util.help_option_group
|
|
165
|
+
def recommended_patch_collection_group():
|
|
130
166
|
pass
|
|
131
167
|
|
|
132
168
|
|
|
@@ -137,12 +173,19 @@ def step_collection_group():
|
|
|
137
173
|
|
|
138
174
|
|
|
139
175
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_apps_management_operations_root_group)
|
|
176
|
+
fleet_apps_management_operations_root_group.add_command(scheduler_job_aggregation_collection_group)
|
|
177
|
+
fleet_apps_management_operations_root_group.add_command(report_collection_group)
|
|
178
|
+
fleet_apps_management_operations_root_group.add_command(patch_group)
|
|
179
|
+
fleet_apps_management_operations_root_group.add_command(job_activity_group)
|
|
180
|
+
fleet_apps_management_operations_root_group.add_command(execution_collection_group)
|
|
181
|
+
fleet_apps_management_operations_root_group.add_command(target_property_collection_group)
|
|
182
|
+
fleet_apps_management_operations_root_group.add_command(scheduled_fleet_collection_group)
|
|
140
183
|
fleet_apps_management_operations_root_group.add_command(execution_group)
|
|
184
|
+
fleet_apps_management_operations_root_group.add_command(target_component_collection_group)
|
|
141
185
|
fleet_apps_management_operations_root_group.add_command(inventory_record_collection_group)
|
|
142
|
-
fleet_apps_management_operations_root_group.add_command(
|
|
186
|
+
fleet_apps_management_operations_root_group.add_command(report_metadata_collection_group)
|
|
143
187
|
fleet_apps_management_operations_root_group.add_command(patch_collection_group)
|
|
144
188
|
fleet_apps_management_operations_root_group.add_command(compliance_record_collection_group)
|
|
145
|
-
fleet_apps_management_operations_root_group.add_command(patch_group)
|
|
146
189
|
fleet_apps_management_operations_root_group.add_command(scheduler_definition_group)
|
|
147
190
|
fleet_apps_management_operations_root_group.add_command(scheduler_definition_collection_group)
|
|
148
191
|
fleet_apps_management_operations_root_group.add_command(managed_entity_aggregation_collection_group)
|
|
@@ -150,11 +193,10 @@ fleet_apps_management_operations_root_group.add_command(resource_collection_grou
|
|
|
150
193
|
fleet_apps_management_operations_root_group.add_command(scheduler_job_collection_group)
|
|
151
194
|
fleet_apps_management_operations_root_group.add_command(scheduler_execution_collection_group)
|
|
152
195
|
fleet_apps_management_operations_root_group.add_command(compliance_record_group)
|
|
153
|
-
fleet_apps_management_operations_root_group.add_command(job_activity_group)
|
|
154
|
-
fleet_apps_management_operations_root_group.add_command(execution_collection_group)
|
|
155
196
|
fleet_apps_management_operations_root_group.add_command(compliance_record_aggregation_collection_group)
|
|
156
197
|
fleet_apps_management_operations_root_group.add_command(scheduler_job_group)
|
|
157
|
-
fleet_apps_management_operations_root_group.add_command(
|
|
198
|
+
fleet_apps_management_operations_root_group.add_command(installed_patch_collection_group)
|
|
199
|
+
fleet_apps_management_operations_root_group.add_command(recommended_patch_collection_group)
|
|
158
200
|
fleet_apps_management_operations_root_group.add_command(step_collection_group)
|
|
159
201
|
|
|
160
202
|
|
|
@@ -1012,12 +1054,13 @@ def get_execution(ctx, from_json, scheduler_job_id, job_activity_id, resource_id
|
|
|
1012
1054
|
@job_activity_group.command(name=cli_util.override('fleet_apps_management_operations.get_job_activity.command_name', 'get'), help=u"""Gets activity details by identifier for a job. \n[Command Reference](getJobActivity)""")
|
|
1013
1055
|
@cli_util.option('--scheduler-job-id', required=True, help=u"""unique SchedulerJob identifier""")
|
|
1014
1056
|
@cli_util.option('--job-activity-id', required=True, help=u"""unique jobActivity identifier""")
|
|
1057
|
+
@cli_util.option('--is-details-required', type=click.BOOL, help=u"""If set to true, inventory details will be returned.""")
|
|
1015
1058
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1016
1059
|
@cli_util.help_option
|
|
1017
1060
|
@click.pass_context
|
|
1018
1061
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'JobActivity'})
|
|
1019
1062
|
@cli_util.wrap_exceptions
|
|
1020
|
-
def get_job_activity(ctx, from_json, scheduler_job_id, job_activity_id):
|
|
1063
|
+
def get_job_activity(ctx, from_json, scheduler_job_id, job_activity_id, is_details_required):
|
|
1021
1064
|
|
|
1022
1065
|
if isinstance(scheduler_job_id, six.string_types) and len(scheduler_job_id.strip()) == 0:
|
|
1023
1066
|
raise click.UsageError('Parameter --scheduler-job-id cannot be whitespace or empty string')
|
|
@@ -1026,6 +1069,8 @@ def get_job_activity(ctx, from_json, scheduler_job_id, job_activity_id):
|
|
|
1026
1069
|
raise click.UsageError('Parameter --job-activity-id cannot be whitespace or empty string')
|
|
1027
1070
|
|
|
1028
1071
|
kwargs = {}
|
|
1072
|
+
if is_details_required is not None:
|
|
1073
|
+
kwargs['is_details_required'] = is_details_required
|
|
1029
1074
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1030
1075
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
1031
1076
|
result = client.get_job_activity(
|
|
@@ -1260,6 +1305,75 @@ def list_executions(ctx, from_json, all_pages, page_size, scheduler_job_id, job_
|
|
|
1260
1305
|
cli_util.render_response(result, ctx)
|
|
1261
1306
|
|
|
1262
1307
|
|
|
1308
|
+
@installed_patch_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_installed_patches.command_name', 'list-installed-patches'), help=u"""Gets a list of installed patches. CompartmentId should be the compartmentId of resource(Containing the target). \n[Command Reference](listInstalledPatches)""")
|
|
1309
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
1310
|
+
@cli_util.option('--target-id', help=u"""Target Id.""")
|
|
1311
|
+
@cli_util.option('--target-name', help=u"""Target name.""")
|
|
1312
|
+
@cli_util.option('--severity', type=custom_types.CliCaseInsensitiveChoice(["CRITICAL", "HIGH", "MEDIUM", "LOW"]), help=u"""Patch severity.""")
|
|
1313
|
+
@cli_util.option('--patch-level', help=u"""Patch level.""")
|
|
1314
|
+
@cli_util.option('--patch-type', help=u"""Patch Type.""")
|
|
1315
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1316
|
+
@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.""")
|
|
1317
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
1318
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["patchName"]), help=u"""The field to sort by. Only one sort order may be provided.""")
|
|
1319
|
+
@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.""")
|
|
1320
|
+
@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.""")
|
|
1321
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1322
|
+
@cli_util.help_option
|
|
1323
|
+
@click.pass_context
|
|
1324
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'InstalledPatchCollection'})
|
|
1325
|
+
@cli_util.wrap_exceptions
|
|
1326
|
+
def list_installed_patches(ctx, from_json, all_pages, page_size, compartment_id, target_id, target_name, severity, patch_level, patch_type, limit, page, sort_order, sort_by):
|
|
1327
|
+
|
|
1328
|
+
if all_pages and limit:
|
|
1329
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
1330
|
+
|
|
1331
|
+
kwargs = {}
|
|
1332
|
+
if target_id is not None:
|
|
1333
|
+
kwargs['target_id'] = target_id
|
|
1334
|
+
if target_name is not None:
|
|
1335
|
+
kwargs['target_name'] = target_name
|
|
1336
|
+
if severity is not None:
|
|
1337
|
+
kwargs['severity'] = severity
|
|
1338
|
+
if patch_level is not None:
|
|
1339
|
+
kwargs['patch_level'] = patch_level
|
|
1340
|
+
if patch_type is not None:
|
|
1341
|
+
kwargs['patch_type'] = patch_type
|
|
1342
|
+
if limit is not None:
|
|
1343
|
+
kwargs['limit'] = limit
|
|
1344
|
+
if page is not None:
|
|
1345
|
+
kwargs['page'] = page
|
|
1346
|
+
if sort_order is not None:
|
|
1347
|
+
kwargs['sort_order'] = sort_order
|
|
1348
|
+
if sort_by is not None:
|
|
1349
|
+
kwargs['sort_by'] = sort_by
|
|
1350
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1351
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
1352
|
+
if all_pages:
|
|
1353
|
+
if page_size:
|
|
1354
|
+
kwargs['limit'] = page_size
|
|
1355
|
+
|
|
1356
|
+
result = cli_util.list_call_get_all_results(
|
|
1357
|
+
client.list_installed_patches,
|
|
1358
|
+
compartment_id=compartment_id,
|
|
1359
|
+
**kwargs
|
|
1360
|
+
)
|
|
1361
|
+
elif limit is not None:
|
|
1362
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
1363
|
+
client.list_installed_patches,
|
|
1364
|
+
limit,
|
|
1365
|
+
page_size,
|
|
1366
|
+
compartment_id=compartment_id,
|
|
1367
|
+
**kwargs
|
|
1368
|
+
)
|
|
1369
|
+
else:
|
|
1370
|
+
result = client.list_installed_patches(
|
|
1371
|
+
compartment_id=compartment_id,
|
|
1372
|
+
**kwargs
|
|
1373
|
+
)
|
|
1374
|
+
cli_util.render_response(result, ctx)
|
|
1375
|
+
|
|
1376
|
+
|
|
1263
1377
|
@inventory_record_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_inventory_records.command_name', 'list-inventory-records'), help=u"""Gets a list of inventoryDetails. \n[Command Reference](listInventoryRecords)""")
|
|
1264
1378
|
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
1265
1379
|
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.""")
|
|
@@ -1268,6 +1382,7 @@ def list_executions(ctx, from_json, all_pages, page_size, scheduler_job_id, job_
|
|
|
1268
1382
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1269
1383
|
@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.""")
|
|
1270
1384
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
1385
|
+
@cli_util.option('--is-details-required', type=click.BOOL, help=u"""If set to true, inventory details will be returned.""")
|
|
1271
1386
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["targetName", "targetProductName", "targetResourceId", "osType", "architecture"]), help=u"""The field to sort by. Only one sort order may be provided.""")
|
|
1272
1387
|
@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.""")
|
|
1273
1388
|
@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.""")
|
|
@@ -1276,7 +1391,7 @@ def list_executions(ctx, from_json, all_pages, page_size, scheduler_job_id, job_
|
|
|
1276
1391
|
@click.pass_context
|
|
1277
1392
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'InventoryRecordCollection'})
|
|
1278
1393
|
@cli_util.wrap_exceptions
|
|
1279
|
-
def list_inventory_records(ctx, from_json, all_pages, page_size, compartment_id, compartment_id_in_subtree, fleet_id, resource_id, limit, page, sort_order, sort_by):
|
|
1394
|
+
def list_inventory_records(ctx, from_json, all_pages, page_size, compartment_id, compartment_id_in_subtree, fleet_id, resource_id, limit, page, sort_order, is_details_required, sort_by):
|
|
1280
1395
|
|
|
1281
1396
|
if all_pages and limit:
|
|
1282
1397
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -1294,6 +1409,8 @@ def list_inventory_records(ctx, from_json, all_pages, page_size, compartment_id,
|
|
|
1294
1409
|
kwargs['page'] = page
|
|
1295
1410
|
if sort_order is not None:
|
|
1296
1411
|
kwargs['sort_order'] = sort_order
|
|
1412
|
+
if is_details_required is not None:
|
|
1413
|
+
kwargs['is_details_required'] = is_details_required
|
|
1297
1414
|
if sort_by is not None:
|
|
1298
1415
|
kwargs['sort_by'] = sort_by
|
|
1299
1416
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -1406,6 +1523,135 @@ def list_patches(ctx, from_json, all_pages, page_size, compartment_id, product_i
|
|
|
1406
1523
|
cli_util.render_response(result, ctx)
|
|
1407
1524
|
|
|
1408
1525
|
|
|
1526
|
+
@recommended_patch_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_recommended_patches.command_name', 'list-recommended-patches'), help=u"""Gets a list of recommended patches. \n[Command Reference](listRecommendedPatches)""")
|
|
1527
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
1528
|
+
@cli_util.option('--target-id', help=u"""Target identifier.""")
|
|
1529
|
+
@cli_util.option('--target-name', help=u"""Unique target name""")
|
|
1530
|
+
@cli_util.option('--patch-level', type=custom_types.CliCaseInsensitiveChoice(["LATEST", "LATEST_MINUS_ONE", "LATEST_MINUS_TWO"]), help=u"""Patch level.""")
|
|
1531
|
+
@cli_util.option('--severity', type=custom_types.CliCaseInsensitiveChoice(["CRITICAL", "HIGH", "MEDIUM", "LOW"]), help=u"""Patch severity.""")
|
|
1532
|
+
@cli_util.option('--patch-type', help=u"""Patch Type.""")
|
|
1533
|
+
@cli_util.option('--patch-id', help=u"""Patch identifier.""")
|
|
1534
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1535
|
+
@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.""")
|
|
1536
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
1537
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["patchName"]), help=u"""The field to sort by. Only one sort order may be provided.""")
|
|
1538
|
+
@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.""")
|
|
1539
|
+
@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.""")
|
|
1540
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1541
|
+
@cli_util.help_option
|
|
1542
|
+
@click.pass_context
|
|
1543
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'RecommendedPatchCollection'})
|
|
1544
|
+
@cli_util.wrap_exceptions
|
|
1545
|
+
def list_recommended_patches(ctx, from_json, all_pages, page_size, compartment_id, target_id, target_name, patch_level, severity, patch_type, patch_id, limit, page, sort_order, sort_by):
|
|
1546
|
+
|
|
1547
|
+
if all_pages and limit:
|
|
1548
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
1549
|
+
|
|
1550
|
+
kwargs = {}
|
|
1551
|
+
if target_id is not None:
|
|
1552
|
+
kwargs['target_id'] = target_id
|
|
1553
|
+
if target_name is not None:
|
|
1554
|
+
kwargs['target_name'] = target_name
|
|
1555
|
+
if patch_level is not None:
|
|
1556
|
+
kwargs['patch_level'] = patch_level
|
|
1557
|
+
if severity is not None:
|
|
1558
|
+
kwargs['severity'] = severity
|
|
1559
|
+
if patch_type is not None:
|
|
1560
|
+
kwargs['patch_type'] = patch_type
|
|
1561
|
+
if patch_id is not None:
|
|
1562
|
+
kwargs['patch_id'] = patch_id
|
|
1563
|
+
if limit is not None:
|
|
1564
|
+
kwargs['limit'] = limit
|
|
1565
|
+
if page is not None:
|
|
1566
|
+
kwargs['page'] = page
|
|
1567
|
+
if sort_order is not None:
|
|
1568
|
+
kwargs['sort_order'] = sort_order
|
|
1569
|
+
if sort_by is not None:
|
|
1570
|
+
kwargs['sort_by'] = sort_by
|
|
1571
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1572
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
1573
|
+
if all_pages:
|
|
1574
|
+
if page_size:
|
|
1575
|
+
kwargs['limit'] = page_size
|
|
1576
|
+
|
|
1577
|
+
result = cli_util.list_call_get_all_results(
|
|
1578
|
+
client.list_recommended_patches,
|
|
1579
|
+
compartment_id=compartment_id,
|
|
1580
|
+
**kwargs
|
|
1581
|
+
)
|
|
1582
|
+
elif limit is not None:
|
|
1583
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
1584
|
+
client.list_recommended_patches,
|
|
1585
|
+
limit,
|
|
1586
|
+
page_size,
|
|
1587
|
+
compartment_id=compartment_id,
|
|
1588
|
+
**kwargs
|
|
1589
|
+
)
|
|
1590
|
+
else:
|
|
1591
|
+
result = client.list_recommended_patches(
|
|
1592
|
+
compartment_id=compartment_id,
|
|
1593
|
+
**kwargs
|
|
1594
|
+
)
|
|
1595
|
+
cli_util.render_response(result, ctx)
|
|
1596
|
+
|
|
1597
|
+
|
|
1598
|
+
@report_metadata_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_report_metadata.command_name', 'list-report-metadata'), help=u"""Returns a list of all the report metadata. \n[Command Reference](listReportMetadata)""")
|
|
1599
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
1600
|
+
@cli_util.option('--report-name', help=u"""A filter to return data for given report name.""")
|
|
1601
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1602
|
+
@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.""")
|
|
1603
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
1604
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.""")
|
|
1605
|
+
@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.""")
|
|
1606
|
+
@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.""")
|
|
1607
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1608
|
+
@cli_util.help_option
|
|
1609
|
+
@click.pass_context
|
|
1610
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'ReportMetadataCollection'})
|
|
1611
|
+
@cli_util.wrap_exceptions
|
|
1612
|
+
def list_report_metadata(ctx, from_json, all_pages, page_size, compartment_id, report_name, limit, page, sort_order, sort_by):
|
|
1613
|
+
|
|
1614
|
+
if all_pages and limit:
|
|
1615
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
1616
|
+
|
|
1617
|
+
kwargs = {}
|
|
1618
|
+
if report_name is not None:
|
|
1619
|
+
kwargs['report_name'] = report_name
|
|
1620
|
+
if limit is not None:
|
|
1621
|
+
kwargs['limit'] = limit
|
|
1622
|
+
if page is not None:
|
|
1623
|
+
kwargs['page'] = page
|
|
1624
|
+
if sort_order is not None:
|
|
1625
|
+
kwargs['sort_order'] = sort_order
|
|
1626
|
+
if sort_by is not None:
|
|
1627
|
+
kwargs['sort_by'] = sort_by
|
|
1628
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1629
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
1630
|
+
if all_pages:
|
|
1631
|
+
if page_size:
|
|
1632
|
+
kwargs['limit'] = page_size
|
|
1633
|
+
|
|
1634
|
+
result = cli_util.list_call_get_all_results(
|
|
1635
|
+
client.list_report_metadata,
|
|
1636
|
+
compartment_id=compartment_id,
|
|
1637
|
+
**kwargs
|
|
1638
|
+
)
|
|
1639
|
+
elif limit is not None:
|
|
1640
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
1641
|
+
client.list_report_metadata,
|
|
1642
|
+
limit,
|
|
1643
|
+
page_size,
|
|
1644
|
+
compartment_id=compartment_id,
|
|
1645
|
+
**kwargs
|
|
1646
|
+
)
|
|
1647
|
+
else:
|
|
1648
|
+
result = client.list_report_metadata(
|
|
1649
|
+
compartment_id=compartment_id,
|
|
1650
|
+
**kwargs
|
|
1651
|
+
)
|
|
1652
|
+
cli_util.render_response(result, ctx)
|
|
1653
|
+
|
|
1654
|
+
|
|
1409
1655
|
@resource_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_resources.command_name', 'list-resources'), help=u"""Returns a list of resources for an Activity Execution. \n[Command Reference](listResources)""")
|
|
1410
1656
|
@cli_util.option('--scheduler-job-id', required=True, help=u"""unique SchedulerJob identifier""")
|
|
1411
1657
|
@cli_util.option('--job-activity-id', required=True, help=u"""unique jobActivity identifier""")
|
|
@@ -1625,7 +1871,7 @@ def list_scheduler_definitions(ctx, from_json, all_pages, page_size, compartment
|
|
|
1625
1871
|
cli_util.render_response(result, ctx)
|
|
1626
1872
|
|
|
1627
1873
|
|
|
1628
|
-
@scheduler_execution_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_scheduler_executions.command_name', 'list-scheduler-executions'), help=u"""Returns a list of all
|
|
1874
|
+
@scheduler_execution_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_scheduler_executions.command_name', 'list-scheduler-executions'), help=u"""Returns a list of all executions that are scheduled. \n[Command Reference](listSchedulerExecutions)""")
|
|
1629
1875
|
@cli_util.option('--compartment-id', help=u"""The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.""")
|
|
1630
1876
|
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
1631
1877
|
@cli_util.option('--time-scheduled-greater-than-or-equal-to', type=custom_types.CLI_DATETIME, help=u"""Scheduled Time""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
@@ -1636,6 +1882,8 @@ def list_scheduler_definitions(ctx, from_json, all_pages, page_size, compartment
|
|
|
1636
1882
|
@cli_util.option('--runbook-id', help=u"""A filter to return only schedule definitions whose associated runbookId matches the given runbookId.""")
|
|
1637
1883
|
@cli_util.option('--runbook-version-name', help=u"""RunbookVersion Name filter""")
|
|
1638
1884
|
@cli_util.option('--substate', help=u"""A filter to return only resources their subState matches the given subState.""")
|
|
1885
|
+
@cli_util.option('--lifecycle-operation', help=u"""A filter to return only resources their lifecycleOperation matches the given lifecycleOperation.""")
|
|
1886
|
+
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.""")
|
|
1639
1887
|
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
1640
1888
|
@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.""")
|
|
1641
1889
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
@@ -1647,7 +1895,7 @@ def list_scheduler_definitions(ctx, from_json, all_pages, page_size, compartment
|
|
|
1647
1895
|
@click.pass_context
|
|
1648
1896
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'SchedulerExecutionCollection'})
|
|
1649
1897
|
@cli_util.wrap_exceptions
|
|
1650
|
-
def list_scheduler_executions(ctx, from_json, all_pages, page_size, compartment_id, display_name, time_scheduled_greater_than_or_equal_to, time_scheduled_less_than, scheduler_defintion_id, scheduler_job_id, resource_id, runbook_id, runbook_version_name, substate, limit, page, sort_order, sort_by):
|
|
1898
|
+
def list_scheduler_executions(ctx, from_json, all_pages, page_size, compartment_id, display_name, time_scheduled_greater_than_or_equal_to, time_scheduled_less_than, scheduler_defintion_id, scheduler_job_id, resource_id, runbook_id, runbook_version_name, substate, lifecycle_operation, compartment_id_in_subtree, limit, page, sort_order, sort_by):
|
|
1651
1899
|
|
|
1652
1900
|
if all_pages and limit:
|
|
1653
1901
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -1673,6 +1921,10 @@ def list_scheduler_executions(ctx, from_json, all_pages, page_size, compartment_
|
|
|
1673
1921
|
kwargs['runbook_version_name'] = runbook_version_name
|
|
1674
1922
|
if substate is not None:
|
|
1675
1923
|
kwargs['substate'] = substate
|
|
1924
|
+
if lifecycle_operation is not None:
|
|
1925
|
+
kwargs['lifecycle_operation'] = lifecycle_operation
|
|
1926
|
+
if compartment_id_in_subtree is not None:
|
|
1927
|
+
kwargs['compartment_id_in_subtree'] = compartment_id_in_subtree
|
|
1676
1928
|
if limit is not None:
|
|
1677
1929
|
kwargs['limit'] = limit
|
|
1678
1930
|
if page is not None:
|
|
@@ -1864,6 +2116,135 @@ def list_steps(ctx, from_json, all_pages, page_size, scheduler_job_id, job_activ
|
|
|
1864
2116
|
cli_util.render_response(result, ctx)
|
|
1865
2117
|
|
|
1866
2118
|
|
|
2119
|
+
@target_component_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_target_components.command_name', 'list-target-components'), help=u"""Gets a list of target component. \n[Command Reference](listTargetComponents)""")
|
|
2120
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
2121
|
+
@cli_util.option('--target-id', help=u"""Target Id.""")
|
|
2122
|
+
@cli_util.option('--target-name', help=u"""Target name.""")
|
|
2123
|
+
@cli_util.option('--severity', type=custom_types.CliCaseInsensitiveChoice(["CRITICAL", "HIGH", "MEDIUM", "LOW"]), help=u"""Patch severity.""")
|
|
2124
|
+
@cli_util.option('--name', help=u"""Target Component Name.""")
|
|
2125
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
2126
|
+
@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.""")
|
|
2127
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
2128
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["componentName"]), help=u"""The field to sort by. Only one sort order may be provided.""")
|
|
2129
|
+
@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.""")
|
|
2130
|
+
@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.""")
|
|
2131
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2132
|
+
@cli_util.help_option
|
|
2133
|
+
@click.pass_context
|
|
2134
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'TargetComponentCollection'})
|
|
2135
|
+
@cli_util.wrap_exceptions
|
|
2136
|
+
def list_target_components(ctx, from_json, all_pages, page_size, compartment_id, target_id, target_name, severity, name, limit, page, sort_order, sort_by):
|
|
2137
|
+
|
|
2138
|
+
if all_pages and limit:
|
|
2139
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
2140
|
+
|
|
2141
|
+
kwargs = {}
|
|
2142
|
+
if target_id is not None:
|
|
2143
|
+
kwargs['target_id'] = target_id
|
|
2144
|
+
if target_name is not None:
|
|
2145
|
+
kwargs['target_name'] = target_name
|
|
2146
|
+
if severity is not None:
|
|
2147
|
+
kwargs['severity'] = severity
|
|
2148
|
+
if name is not None:
|
|
2149
|
+
kwargs['name'] = name
|
|
2150
|
+
if limit is not None:
|
|
2151
|
+
kwargs['limit'] = limit
|
|
2152
|
+
if page is not None:
|
|
2153
|
+
kwargs['page'] = page
|
|
2154
|
+
if sort_order is not None:
|
|
2155
|
+
kwargs['sort_order'] = sort_order
|
|
2156
|
+
if sort_by is not None:
|
|
2157
|
+
kwargs['sort_by'] = sort_by
|
|
2158
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2159
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
2160
|
+
if all_pages:
|
|
2161
|
+
if page_size:
|
|
2162
|
+
kwargs['limit'] = page_size
|
|
2163
|
+
|
|
2164
|
+
result = cli_util.list_call_get_all_results(
|
|
2165
|
+
client.list_target_components,
|
|
2166
|
+
compartment_id=compartment_id,
|
|
2167
|
+
**kwargs
|
|
2168
|
+
)
|
|
2169
|
+
elif limit is not None:
|
|
2170
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
2171
|
+
client.list_target_components,
|
|
2172
|
+
limit,
|
|
2173
|
+
page_size,
|
|
2174
|
+
compartment_id=compartment_id,
|
|
2175
|
+
**kwargs
|
|
2176
|
+
)
|
|
2177
|
+
else:
|
|
2178
|
+
result = client.list_target_components(
|
|
2179
|
+
compartment_id=compartment_id,
|
|
2180
|
+
**kwargs
|
|
2181
|
+
)
|
|
2182
|
+
cli_util.render_response(result, ctx)
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
@target_property_collection_group.command(name=cli_util.override('fleet_apps_management_operations.list_target_properties.command_name', 'list-target-properties'), help=u"""Gets a list of target properties. \n[Command Reference](listTargetProperties)""")
|
|
2186
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
2187
|
+
@cli_util.option('--target-id', help=u"""Target Id.""")
|
|
2188
|
+
@cli_util.option('--target-name', help=u"""Target name.""")
|
|
2189
|
+
@cli_util.option('--severity', type=custom_types.CliCaseInsensitiveChoice(["CRITICAL", "HIGH", "MEDIUM", "LOW"]), help=u"""Patch severity.""")
|
|
2190
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
2191
|
+
@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.""")
|
|
2192
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
2193
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["propertyName"]), help=u"""The field to sort by. Only one sort order may be provided.""")
|
|
2194
|
+
@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.""")
|
|
2195
|
+
@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.""")
|
|
2196
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
2197
|
+
@cli_util.help_option
|
|
2198
|
+
@click.pass_context
|
|
2199
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'TargetPropertyCollection'})
|
|
2200
|
+
@cli_util.wrap_exceptions
|
|
2201
|
+
def list_target_properties(ctx, from_json, all_pages, page_size, compartment_id, target_id, target_name, severity, limit, page, sort_order, sort_by):
|
|
2202
|
+
|
|
2203
|
+
if all_pages and limit:
|
|
2204
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
2205
|
+
|
|
2206
|
+
kwargs = {}
|
|
2207
|
+
if target_id is not None:
|
|
2208
|
+
kwargs['target_id'] = target_id
|
|
2209
|
+
if target_name is not None:
|
|
2210
|
+
kwargs['target_name'] = target_name
|
|
2211
|
+
if severity is not None:
|
|
2212
|
+
kwargs['severity'] = severity
|
|
2213
|
+
if limit is not None:
|
|
2214
|
+
kwargs['limit'] = limit
|
|
2215
|
+
if page is not None:
|
|
2216
|
+
kwargs['page'] = page
|
|
2217
|
+
if sort_order is not None:
|
|
2218
|
+
kwargs['sort_order'] = sort_order
|
|
2219
|
+
if sort_by is not None:
|
|
2220
|
+
kwargs['sort_by'] = sort_by
|
|
2221
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2222
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
2223
|
+
if all_pages:
|
|
2224
|
+
if page_size:
|
|
2225
|
+
kwargs['limit'] = page_size
|
|
2226
|
+
|
|
2227
|
+
result = cli_util.list_call_get_all_results(
|
|
2228
|
+
client.list_target_properties,
|
|
2229
|
+
compartment_id=compartment_id,
|
|
2230
|
+
**kwargs
|
|
2231
|
+
)
|
|
2232
|
+
elif limit is not None:
|
|
2233
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
2234
|
+
client.list_target_properties,
|
|
2235
|
+
limit,
|
|
2236
|
+
page_size,
|
|
2237
|
+
compartment_id=compartment_id,
|
|
2238
|
+
**kwargs
|
|
2239
|
+
)
|
|
2240
|
+
else:
|
|
2241
|
+
result = client.list_target_properties(
|
|
2242
|
+
compartment_id=compartment_id,
|
|
2243
|
+
**kwargs
|
|
2244
|
+
)
|
|
2245
|
+
cli_util.render_response(result, ctx)
|
|
2246
|
+
|
|
2247
|
+
|
|
1867
2248
|
@scheduler_job_group.command(name=cli_util.override('fleet_apps_management_operations.manage_job_execution.command_name', 'manage-job-execution'), help=u"""Manage execution actions for a Job like retrying or pausing a task. \n[Command Reference](manageJobExecution)""")
|
|
1868
2249
|
@cli_util.option('--action-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
1869
2250
|
@cli_util.option('--scheduler-job-id', required=True, help=u"""unique SchedulerJob identifier""")
|
|
@@ -2065,6 +2446,67 @@ def manage_job_execution_action_group_based_user_action_details(ctx, from_json,
|
|
|
2065
2446
|
cli_util.render_response(result, ctx)
|
|
2066
2447
|
|
|
2067
2448
|
|
|
2449
|
+
@report_collection_group.command(name=cli_util.override('fleet_apps_management_operations.report.command_name', 'report'), help=u"""Report \n[Command Reference](report)""")
|
|
2450
|
+
@cli_util.option('--name', required=True, help=u"""Name of report.""")
|
|
2451
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The ID of the compartment in which to list resources.""")
|
|
2452
|
+
@cli_util.option('--granularity', type=custom_types.CliCaseInsensitiveChoice(["DAY", "WEEK", "MONTH", "QUARTER", "YEAR"]), help=u"""Granularity.""")
|
|
2453
|
+
@cli_util.option('--report-time-range', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2454
|
+
@cli_util.option('--condition', type=custom_types.CliCaseInsensitiveChoice(["ALL", "ANY"]), help=u"""Condition.""")
|
|
2455
|
+
@cli_util.option('--filters', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Filters for reports.
|
|
2456
|
+
|
|
2457
|
+
This option is a JSON list with items of type Filter. For documentation on Filter please see our API reference: https://docs.cloud.oracle.com/api/#/en/fleetappsmanagementoperations/20250228/datatypes/Filter.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2458
|
+
@cli_util.option('--order-clause', type=custom_types.CLI_COMPLEX_TYPE, help=u"""order clauses for reports.
|
|
2459
|
+
|
|
2460
|
+
This option is a JSON list with items of type OrderClause. For documentation on OrderClause please see our API reference: https://docs.cloud.oracle.com/api/#/en/fleetappsmanagementoperations/20250228/datatypes/OrderClause.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2461
|
+
@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.""")
|
|
2462
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
2463
|
+
@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.""")
|
|
2464
|
+
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.""")
|
|
2465
|
+
@json_skeleton_utils.get_cli_json_input_option({'report-time-range': {'module': 'fleet_apps_management', 'class': 'ReportTimeRange'}, 'filters': {'module': 'fleet_apps_management', 'class': 'list[Filter]'}, 'order-clause': {'module': 'fleet_apps_management', 'class': 'list[OrderClause]'}})
|
|
2466
|
+
@cli_util.help_option
|
|
2467
|
+
@click.pass_context
|
|
2468
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'report-time-range': {'module': 'fleet_apps_management', 'class': 'ReportTimeRange'}, 'filters': {'module': 'fleet_apps_management', 'class': 'list[Filter]'}, 'order-clause': {'module': 'fleet_apps_management', 'class': 'list[OrderClause]'}}, output_type={'module': 'fleet_apps_management', 'class': 'ReportCollection'})
|
|
2469
|
+
@cli_util.wrap_exceptions
|
|
2470
|
+
def report(ctx, from_json, name, compartment_id, granularity, report_time_range, condition, filters, order_clause, if_match, limit, page, compartment_id_in_subtree):
|
|
2471
|
+
|
|
2472
|
+
kwargs = {}
|
|
2473
|
+
if if_match is not None:
|
|
2474
|
+
kwargs['if_match'] = if_match
|
|
2475
|
+
if limit is not None:
|
|
2476
|
+
kwargs['limit'] = limit
|
|
2477
|
+
if page is not None:
|
|
2478
|
+
kwargs['page'] = page
|
|
2479
|
+
if compartment_id_in_subtree is not None:
|
|
2480
|
+
kwargs['compartment_id_in_subtree'] = compartment_id_in_subtree
|
|
2481
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2482
|
+
|
|
2483
|
+
_details = {}
|
|
2484
|
+
_details['name'] = name
|
|
2485
|
+
|
|
2486
|
+
if granularity is not None:
|
|
2487
|
+
_details['granularity'] = granularity
|
|
2488
|
+
|
|
2489
|
+
if report_time_range is not None:
|
|
2490
|
+
_details['reportTimeRange'] = cli_util.parse_json_parameter("report_time_range", report_time_range)
|
|
2491
|
+
|
|
2492
|
+
if condition is not None:
|
|
2493
|
+
_details['condition'] = condition
|
|
2494
|
+
|
|
2495
|
+
if filters is not None:
|
|
2496
|
+
_details['filters'] = cli_util.parse_json_parameter("filters", filters)
|
|
2497
|
+
|
|
2498
|
+
if order_clause is not None:
|
|
2499
|
+
_details['orderClause'] = cli_util.parse_json_parameter("order_clause", order_clause)
|
|
2500
|
+
|
|
2501
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management_operations', ctx)
|
|
2502
|
+
result = client.report(
|
|
2503
|
+
compartment_id=compartment_id,
|
|
2504
|
+
report_details=_details,
|
|
2505
|
+
**kwargs
|
|
2506
|
+
)
|
|
2507
|
+
cli_util.render_response(result, ctx)
|
|
2508
|
+
|
|
2509
|
+
|
|
2068
2510
|
@compliance_record_aggregation_collection_group.command(name=cli_util.override('fleet_apps_management_operations.summarize_compliance_record_counts.command_name', 'summarize-compliance-record-counts'), help=u"""Retrieve aggregated summary information of ComplianceRecords within a Compartment. \n[Command Reference](summarizeComplianceRecordCounts)""")
|
|
2069
2511
|
@cli_util.option('--compartment-id', help=u"""The ID of the compartment in which to list resources. Empty only if the resource OCID query param is not specified.""")
|
|
2070
2512
|
@cli_util.option('--compartment-id-in-subtree', type=click.BOOL, help=u"""If set to true, resources will be returned for not only the provided compartment, but all compartments which descend from it. Which resources are returned and their field contents depends on the value of accessLevel.""")
|