oci-cli 3.69.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/bin/psa.psm1 +51 -0
- 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/compute-management/instance-pool/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool/update.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/attach.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance/termination-proceed.txt +116 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management/instance-pool-instance.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute-management.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/delete.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/list.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/mount.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot/unmount.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/dbnode-snapshot.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster/add.txt +154 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/exadb-vm-cluster.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list.txt → list-errors.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/{work-request-log-entry/list-work-request-logs.txt → work-request-log/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +3 -3
- 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/dif/work-request-error/list.txt +131 -0
- 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/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/change-distributed-autonomous-db-backup-config.txt +159 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/create.txt +42 -12
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database/rotate-distributed-autonomous-database-passwords.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service/distributed-autonomous-database.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-autonomous-db-service.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/create.txt +31 -11
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database/distributed-db-service/distributed-database/rotate-distributed-database-passwords.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/distributed-database.txt +2 -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/governance-rules-control-plane/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log/list.txt → work-request-log-entry/list-work-request-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +3 -3
- 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 → work-request-log-entry}/list.txt +1 -19
- 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/psa/private-service-access/change-compartment.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/create.txt +214 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/list.txt +152 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access/update.txt +211 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/private-service-access.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services/list.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/psa-services.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/cancel.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request/list.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-error.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log/list.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request-log.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa/work-request.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/psa.txt +47 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +9 -9
- oci_cli/help_text_producer/data_files/text/index.txt +4 -0
- oci_cli/service_mapping.py +10 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/METADATA +2 -2
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/RECORD +253 -135
- 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/core/src/oci_cli_compute_management/generated/computemanagement_cli.py +44 -9
- services/database/src/oci_cli_database/generated/database_cli.py +309 -0
- 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/distributed_database/src/oci_cli_distributed_autonomous_db_service/generated/distributedautonomousdbservice_cli.py +77 -12
- services/distributed_database/src/oci_cli_distributed_db_service/generated/distributeddbservice_cli.py +8 -8
- 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
- services/psa/__init__.py +4 -0
- services/psa/src/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/generated/__init__.py +4 -0
- services/psa/src/oci_cli_private_service_access/generated/client_mappings.py +14 -0
- services/psa/src/oci_cli_private_service_access/generated/privateserviceaccess_cli.py +738 -0
- services/psa/src/oci_cli_private_service_access/privateserviceaccess_cli_extended.py +92 -0
- services/psa/tests/__init__.py +4 -0
- /oci_cli/help_text_producer/data_files/text/cmdref/{governance-rules-control-plane → delegate-access-control}/work-request/work-request-log.txt +0 -0
- /oci_cli/help_text_producer/data_files/text/cmdref/{delegate-access-control → governance-rules-control-plane}/work-request/work-request-log-entry.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.69.0.dist-info → oci_cli-3.70.1.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import click
|
|
2
|
+
|
|
3
|
+
from oci_cli import cli_util # noqa: F401
|
|
4
|
+
from oci_cli import custom_types # noqa: F401
|
|
5
|
+
from oci_cli import json_skeleton_utils # noqa: F401
|
|
6
|
+
|
|
7
|
+
from services.dif.src.oci_cli_stack.generated import stack_cli
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@cli_util.copy_params_from_generated_command(stack_cli.add_service, params_to_exclude=['services', 'stack_templates'])
|
|
11
|
+
@stack_cli.stack_group.command(name=cli_util.override('dif.add_service.command_name', 'add'), help=u"""Add new service or update existing service. \n[Command Reference](addService)""")
|
|
12
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be added for the stack.""")
|
|
13
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be added for the stack.""")
|
|
14
|
+
@click.pass_context
|
|
15
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}})
|
|
16
|
+
@cli_util.wrap_exceptions
|
|
17
|
+
def add_service_extended(ctx, **kwargs):
|
|
18
|
+
ctx.invoke(stack_cli.add_service, **kwargs)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@cli_util.copy_params_from_generated_command(stack_cli.create_stack, params_to_exclude=['services', 'stack_templates'])
|
|
22
|
+
@stack_cli.stack_group.command(name=cli_util.override('dif.create_stack.command_name', 'create'), help=u"""Creates a Stack. \n[Command Reference](createStack)""")
|
|
23
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
24
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be onboarded for the stack.""")
|
|
25
|
+
@click.pass_context
|
|
26
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'dif', 'class': 'Stack'})
|
|
27
|
+
@cli_util.wrap_exceptions
|
|
28
|
+
def create_stack_extended(ctx, **kwargs):
|
|
29
|
+
ctx.invoke(stack_cli.create_stack, **kwargs)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@cli_util.copy_params_from_generated_command(stack_cli.deploy_artifacts, params_to_exclude=['services', 'stack_templates'])
|
|
33
|
+
@stack_cli.stack_group.command(name=cli_util.override('dif.deploy_artifacts.command_name', 'deploy-artifacts'), help=u"""DeployArtifacts \n[Command Reference](deployArtifacts)""")
|
|
34
|
+
@cli_util.option('--stack-templates', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be onboarded for the stack.""")
|
|
35
|
+
@cli_util.option('--services', required=True, multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be onboarded for the stack.""")
|
|
36
|
+
@click.pass_context
|
|
37
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbArtifactsDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsArtifactsDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowArtifactsDetail]'}})
|
|
38
|
+
@cli_util.wrap_exceptions
|
|
39
|
+
def deploy_artifacts_extended(ctx, **kwargs):
|
|
40
|
+
ctx.invoke(stack_cli.deploy_artifacts, **kwargs)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
@cli_util.copy_params_from_generated_command(stack_cli.update_stack, params_to_exclude=['services', 'stack_templates'])
|
|
44
|
+
@stack_cli.stack_group.command(name=cli_util.override('dif.update_stack.command_name', 'update'), help=u"""Updates a Stack. \n[Command Reference](updateStack)""")
|
|
45
|
+
@cli_util.option('--stack-templates', multiple=True, type=custom_types.CliCaseInsensitiveChoice(["DATALAKE", "DATAPIPELINE", "AISERVICES", "DATATRANSFORMATION"]), help=u"""List of templates to be updated for the stack.""")
|
|
46
|
+
@cli_util.option('--services', multiple=True, type=custom_types.CliCaseInsensitiveChoice(["ADB", "GGCS", "OBJECTSTORAGE", "GENAI", "DATAFLOW"]), help=u"""List of services to be updated for the stack.""")
|
|
47
|
+
@click.pass_context
|
|
48
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'adb': {'module': 'dif', 'class': 'list[AdbUpdateDetail]'}, 'ggcs': {'module': 'dif', 'class': 'list[GgcsUpdateDetail]'}, 'dataflow': {'module': 'dif', 'class': 'list[DataflowUpdateDetail]'}, 'objectstorage': {'module': 'dif', 'class': 'list[ObjectStorageUpdateDetail]'}, 'genai': {'module': 'dif', 'class': 'list[GenAiUpdateDetail]'}, 'freeform-tags': {'module': 'dif', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'dif', 'class': 'dict(str, dict(str, object))'}})
|
|
49
|
+
@cli_util.wrap_exceptions
|
|
50
|
+
def update_stack(ctx, **kwargs):
|
|
51
|
+
ctx.invoke(stack_cli.update_stack, **kwargs)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20250830
|
|
@@ -165,6 +165,67 @@ def change_distributed_autonomous_database_compartment(ctx, from_json, wait_for_
|
|
|
165
165
|
cli_util.render_response(result, ctx)
|
|
166
166
|
|
|
167
167
|
|
|
168
|
+
@distributed_autonomous_database_group.command(name=cli_util.override('distributed_autonomous_db_service.change_distributed_autonomous_db_backup_config.command_name', 'change-distributed-autonomous-db-backup-config'), help=u"""Change the DbBackupConfig for the Globally distributed autonomous database. \n[Command Reference](changeDistributedAutonomousDbBackupConfig)""")
|
|
169
|
+
@cli_util.option('--distributed-autonomous-database-id', required=True, help=u"""Globally distributed autonomous database identifier""")
|
|
170
|
+
@cli_util.option('--db-backup-config', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
171
|
+
@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.""")
|
|
172
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION"]), 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.""")
|
|
173
|
+
@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.""")
|
|
174
|
+
@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.""")
|
|
175
|
+
@json_skeleton_utils.get_cli_json_input_option({'db-backup-config': {'module': 'distributed_database', 'class': 'DistributedAutonomousDbBackupConfig'}})
|
|
176
|
+
@cli_util.help_option
|
|
177
|
+
@click.pass_context
|
|
178
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'db-backup-config': {'module': 'distributed_database', 'class': 'DistributedAutonomousDbBackupConfig'}})
|
|
179
|
+
@cli_util.wrap_exceptions
|
|
180
|
+
def change_distributed_autonomous_db_backup_config(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, distributed_autonomous_database_id, db_backup_config, if_match):
|
|
181
|
+
|
|
182
|
+
if isinstance(distributed_autonomous_database_id, six.string_types) and len(distributed_autonomous_database_id.strip()) == 0:
|
|
183
|
+
raise click.UsageError('Parameter --distributed-autonomous-database-id cannot be whitespace or empty string')
|
|
184
|
+
|
|
185
|
+
kwargs = {}
|
|
186
|
+
if if_match is not None:
|
|
187
|
+
kwargs['if_match'] = if_match
|
|
188
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
189
|
+
|
|
190
|
+
_details = {}
|
|
191
|
+
_details['dbBackupConfig'] = cli_util.parse_json_parameter("db_backup_config", db_backup_config)
|
|
192
|
+
|
|
193
|
+
client = cli_util.build_client('distributed_database', 'distributed_autonomous_db_service', ctx)
|
|
194
|
+
result = client.change_distributed_autonomous_db_backup_config(
|
|
195
|
+
distributed_autonomous_database_id=distributed_autonomous_database_id,
|
|
196
|
+
change_distributed_autonomous_db_backup_config_details=_details,
|
|
197
|
+
**kwargs
|
|
198
|
+
)
|
|
199
|
+
if wait_for_state:
|
|
200
|
+
|
|
201
|
+
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
202
|
+
try:
|
|
203
|
+
wait_period_kwargs = {}
|
|
204
|
+
if max_wait_seconds is not None:
|
|
205
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
206
|
+
if wait_interval_seconds is not None:
|
|
207
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
208
|
+
if 'opc-work-request-id' not in result.headers:
|
|
209
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
210
|
+
cli_util.render_response(result, ctx)
|
|
211
|
+
return
|
|
212
|
+
|
|
213
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
214
|
+
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
215
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
216
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
217
|
+
click.echo('Failed to wait until the work request entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
218
|
+
cli_util.render_response(result, ctx)
|
|
219
|
+
sys.exit(2)
|
|
220
|
+
except Exception:
|
|
221
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
222
|
+
cli_util.render_response(result, ctx)
|
|
223
|
+
raise
|
|
224
|
+
else:
|
|
225
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
226
|
+
cli_util.render_response(result, ctx)
|
|
227
|
+
|
|
228
|
+
|
|
168
229
|
@distributed_autonomous_database_group.command(name=cli_util.override('distributed_autonomous_db_service.configure_distributed_autonomous_database_gsms.command_name', 'configure-distributed-autonomous-database-gsms'), help=u"""Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed autonomous database. \n[Command Reference](configureDistributedAutonomousDatabaseGsms)""")
|
|
169
230
|
@cli_util.option('--old-gsm-names', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Names of old global service manager(GSM) instances corresponding to which new GSM instances need to be configured.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
170
231
|
@cli_util.option('--is-latest-gsm-image', required=True, type=click.BOOL, help=u"""Flag to indicate if new global service manager(GSM) instances shall use latest image or re-use image used by existing GSM instances.""")
|
|
@@ -293,31 +354,32 @@ def configure_distributed_autonomous_database_sharding(ctx, from_json, wait_for_
|
|
|
293
354
|
@cli_util.option('--prefix', required=True, help=u"""Unique name prefix for the Globally distributed autonomous databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.""")
|
|
294
355
|
@cli_util.option('--private-endpoint-ids', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""The collection of [OCID] of the private endpoint associated with Globally distributed autonomous database.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
295
356
|
@cli_util.option('--sharding-method', required=True, type=custom_types.CliCaseInsensitiveChoice(["USER", "SYSTEM"]), help=u"""Sharding Methods for the Globally distributed autonomous database.""")
|
|
296
|
-
@cli_util.option('--db-workload', required=True, type=custom_types.CliCaseInsensitiveChoice(["OLTP", "DW"]), help=u"""Possible workload types.""")
|
|
357
|
+
@cli_util.option('--db-workload', required=True, type=custom_types.CliCaseInsensitiveChoice(["OLTP", "DW"]), help=u"""Possible workload types. Currently only OLTP workload type is supported.""")
|
|
297
358
|
@cli_util.option('--character-set', required=True, help=u"""The character set for the database.""")
|
|
298
359
|
@cli_util.option('--ncharacter-set', required=True, help=u"""The national character set for the database.""")
|
|
299
|
-
@cli_util.option('--listener-port', required=True, type=click.INT, help=u"""The listener port number for the Globally distributed autonomous database.""")
|
|
300
|
-
@cli_util.option('--ons-port-local', required=True, type=click.INT, help=u"""Ons local port number.""")
|
|
301
|
-
@cli_util.option('--ons-port-remote', required=True, type=click.INT, help=u"""Ons remote port number.""")
|
|
360
|
+
@cli_util.option('--listener-port', required=True, type=click.INT, help=u"""The listener port number for the Globally distributed autonomous database. The listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.""")
|
|
361
|
+
@cli_util.option('--ons-port-local', required=True, type=click.INT, help=u"""Ons local port number for Globally distributed autonomous database. The onsPortLocal has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.""")
|
|
362
|
+
@cli_util.option('--ons-port-remote', required=True, type=click.INT, help=u"""Ons remote port number for Globally distributed autonomous database. The onsPortRemote has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database.""")
|
|
302
363
|
@cli_util.option('--db-deployment-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["ADB_D"]), help=u"""The distributed autonomous database deployment type.""")
|
|
303
364
|
@cli_util.option('--shard-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Collection of shards for the Globally distributed autonomous database.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
304
365
|
@cli_util.option('--catalog-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Collection of catalog for the Globally distributed autonomous database.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
305
|
-
@cli_util.option('--chunks', type=click.INT, help=u"""
|
|
306
|
-
@cli_util.option('--listener-port-tls', type=click.INT, help=u"""The TLS listener port number for Globally distributed autonomous database.""")
|
|
307
|
-
@cli_util.option('--replication-method', type=custom_types.CliCaseInsensitiveChoice(["RAFT", "DG"]), help=u"""The Replication method for Globally distributed autonomous database. Use RAFT for Raft replication,
|
|
366
|
+
@cli_util.option('--chunks', type=click.INT, help=u"""Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed autonomous databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload.""")
|
|
367
|
+
@cli_util.option('--listener-port-tls', type=click.INT, help=u"""The TLS listener port number for Globally distributed autonomous database. The TLS listener port number has to be unique for a customer tenancy across all distributed autonomous databases. Same port number should not be re-used for any other distributed autonomous database. The listenerPortTls is mandatory for dedicated infrastructure based distributed autonomous databases.""")
|
|
368
|
+
@cli_util.option('--replication-method', type=custom_types.CliCaseInsensitiveChoice(["RAFT", "DG"]), help=u"""The Replication method for Globally distributed autonomous database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod.""")
|
|
308
369
|
@cli_util.option('--replication-factor', type=click.INT, help=u"""The Replication factor for RAFT replication based Globally distributed autonomous database. Currently supported values are 3, 5 and 7.""")
|
|
309
|
-
@cli_util.option('--replication-unit', type=click.INT, help=u"""For RAFT replication based Globally distributed autonomous database, the value should be
|
|
370
|
+
@cli_util.option('--replication-unit', type=click.INT, help=u"""The replication unit count for RAFT based distributed autonomous database. For RAFT replication based Globally distributed autonomous database, the value should be at least twice the number of shards.""")
|
|
371
|
+
@cli_util.option('--db-backup-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
310
372
|
@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)
|
|
311
373
|
@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)
|
|
312
374
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION"]), 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.""")
|
|
313
375
|
@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.""")
|
|
314
376
|
@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.""")
|
|
315
|
-
@json_skeleton_utils.get_cli_json_input_option({'private-endpoint-ids': {'module': 'distributed_database', 'class': 'list[string]'}, 'shard-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseShardDetails]'}, 'catalog-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseCatalogDetails]'}, 'freeform-tags': {'module': 'distributed_database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'distributed_database', 'class': 'dict(str, dict(str, object))'}})
|
|
377
|
+
@json_skeleton_utils.get_cli_json_input_option({'private-endpoint-ids': {'module': 'distributed_database', 'class': 'list[string]'}, 'shard-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseShardDetails]'}, 'catalog-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseCatalogDetails]'}, 'db-backup-config': {'module': 'distributed_database', 'class': 'DistributedAutonomousDbBackupConfig'}, 'freeform-tags': {'module': 'distributed_database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'distributed_database', 'class': 'dict(str, dict(str, object))'}})
|
|
316
378
|
@cli_util.help_option
|
|
317
379
|
@click.pass_context
|
|
318
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'private-endpoint-ids': {'module': 'distributed_database', 'class': 'list[string]'}, 'shard-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseShardDetails]'}, 'catalog-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseCatalogDetails]'}, 'freeform-tags': {'module': 'distributed_database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'distributed_database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'distributed_database', 'class': 'DistributedAutonomousDatabase'})
|
|
380
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'private-endpoint-ids': {'module': 'distributed_database', 'class': 'list[string]'}, 'shard-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseShardDetails]'}, 'catalog-details': {'module': 'distributed_database', 'class': 'list[CreateDistributedAutonomousDatabaseCatalogDetails]'}, 'db-backup-config': {'module': 'distributed_database', 'class': 'DistributedAutonomousDbBackupConfig'}, 'freeform-tags': {'module': 'distributed_database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'distributed_database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'distributed_database', 'class': 'DistributedAutonomousDatabase'})
|
|
319
381
|
@cli_util.wrap_exceptions
|
|
320
|
-
def create_distributed_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, database_version, prefix, private_endpoint_ids, sharding_method, db_workload, character_set, ncharacter_set, listener_port, ons_port_local, ons_port_remote, db_deployment_type, shard_details, catalog_details, chunks, listener_port_tls, replication_method, replication_factor, replication_unit, freeform_tags, defined_tags):
|
|
382
|
+
def create_distributed_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, compartment_id, display_name, database_version, prefix, private_endpoint_ids, sharding_method, db_workload, character_set, ncharacter_set, listener_port, ons_port_local, ons_port_remote, db_deployment_type, shard_details, catalog_details, chunks, listener_port_tls, replication_method, replication_factor, replication_unit, db_backup_config, freeform_tags, defined_tags):
|
|
321
383
|
|
|
322
384
|
kwargs = {}
|
|
323
385
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -354,6 +416,9 @@ def create_distributed_autonomous_database(ctx, from_json, wait_for_state, max_w
|
|
|
354
416
|
if replication_unit is not None:
|
|
355
417
|
_details['replicationUnit'] = replication_unit
|
|
356
418
|
|
|
419
|
+
if db_backup_config is not None:
|
|
420
|
+
_details['dbBackupConfig'] = cli_util.parse_json_parameter("db_backup_config", db_backup_config)
|
|
421
|
+
|
|
357
422
|
if freeform_tags is not None:
|
|
358
423
|
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
359
424
|
|
|
@@ -769,7 +834,7 @@ def patch_distributed_autonomous_database(ctx, from_json, wait_for_state, max_wa
|
|
|
769
834
|
cli_util.render_response(result, ctx)
|
|
770
835
|
|
|
771
836
|
|
|
772
|
-
@distributed_autonomous_database_group.command(name=cli_util.override('distributed_autonomous_db_service.rotate_distributed_autonomous_database_passwords.command_name', 'rotate-distributed-autonomous-database-passwords'), help=u"""Rotate passwords for
|
|
837
|
+
@distributed_autonomous_database_group.command(name=cli_util.override('distributed_autonomous_db_service.rotate_distributed_autonomous_database_passwords.command_name', 'rotate-distributed-autonomous-database-passwords'), help=u"""Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed autonomous database. This operation will also remove GdsCtlNodes if present. \n[Command Reference](rotateDistributedAutonomousDatabasePasswords)""")
|
|
773
838
|
@cli_util.option('--distributed-autonomous-database-id', required=True, help=u"""Globally distributed autonomous database identifier""")
|
|
774
839
|
@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.""")
|
|
775
840
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION"]), 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.""")
|
|
@@ -356,17 +356,17 @@ def configure_distributed_database_sharding(ctx, from_json, wait_for_state, max_
|
|
|
356
356
|
@cli_util.option('--sharding-method', required=True, type=custom_types.CliCaseInsensitiveChoice(["USER", "SYSTEM"]), help=u"""Sharding Methods for the Globally distributed database.""")
|
|
357
357
|
@cli_util.option('--character-set', required=True, help=u"""The character set for the database.""")
|
|
358
358
|
@cli_util.option('--ncharacter-set', required=True, help=u"""The national character set for the database.""")
|
|
359
|
-
@cli_util.option('--listener-port', required=True, type=click.INT, help=u"""The listener port number for the Globally distributed database.""")
|
|
360
|
-
@cli_util.option('--ons-port-local', required=True, type=click.INT, help=u"""
|
|
361
|
-
@cli_util.option('--ons-port-remote', required=True, type=click.INT, help=u"""
|
|
359
|
+
@cli_util.option('--listener-port', required=True, type=click.INT, help=u"""The listener port number for the Globally distributed database. The listener port number has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.""")
|
|
360
|
+
@cli_util.option('--ons-port-local', required=True, type=click.INT, help=u"""The ons local port number for the Globally distributed database. The onsPortLocal has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.""")
|
|
361
|
+
@cli_util.option('--ons-port-remote', required=True, type=click.INT, help=u"""The ons remote port number for the Globally distributed database. The onsPortRemote has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database.""")
|
|
362
362
|
@cli_util.option('--db-deployment-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["EXADB_XS"]), help=u"""The distributed database deployment type.""")
|
|
363
363
|
@cli_util.option('--shard-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Collection of shards for the Globally distributed database.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
364
364
|
@cli_util.option('--catalog-details', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""Collection of catalog for the Globally distributed database.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
365
|
-
@cli_util.option('--chunks', type=click.INT, help=u"""
|
|
366
|
-
@cli_util.option('--listener-port-tls', type=click.INT, help=u"""The TLS listener port number for Globally distributed database.""")
|
|
367
|
-
@cli_util.option('--replication-method', type=custom_types.CliCaseInsensitiveChoice(["RAFT", "DG"]), help=u"""The Replication method for Globally distributed database. Use RAFT for Raft replication,
|
|
365
|
+
@cli_util.option('--chunks', type=click.INT, help=u"""Number of chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. Chunks is required to be provided for distributed databases being created with SYSTEM shardingMethod. For USER shardingMethod, chunks should not be set in create payload.""")
|
|
366
|
+
@cli_util.option('--listener-port-tls', type=click.INT, help=u"""The TLS listener port number for the Globally distributed database. The TLS listener port number has to be unique for a customer tenancy across all distributed databases. Same port number should not be re-used for any other distributed database. For BASE_DB and EXADB_XS based distributed databases, tls is not supported hence the listenerPortTls is not needed to be provided in create payload.""")
|
|
367
|
+
@cli_util.option('--replication-method', type=custom_types.CliCaseInsensitiveChoice(["RAFT", "DG"]), help=u"""The Replication method for Globally distributed database. Use RAFT for Raft based replication. With RAFT replication, shards cannot have peers details set on them. In case shards need to have peers, please do not set RAFT replicationMethod. For all non RAFT replication cases (with or without peers), please set replicationMethod as DG or do not set any value for replicationMethod.""")
|
|
368
368
|
@cli_util.option('--replication-factor', type=click.INT, help=u"""The Replication factor for RAFT replication based Globally distributed database. Currently supported values are 3, 5 and 7.""")
|
|
369
|
-
@cli_util.option('--replication-unit', type=click.INT, help=u"""For RAFT replication based Globally distributed database, the value should be
|
|
369
|
+
@cli_util.option('--replication-unit', type=click.INT, help=u"""The replication unit count for RAFT based distributed database. For RAFT replication based Globally distributed database, the value should be at least twice the number of shards.""")
|
|
370
370
|
@cli_util.option('--gsm-ssh-public-key', help=u"""The SSH public key for Global service manager instances.""")
|
|
371
371
|
@cli_util.option('--db-backup-config', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
372
372
|
@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)
|
|
@@ -836,7 +836,7 @@ def patch_distributed_database(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
836
836
|
cli_util.render_response(result, ctx)
|
|
837
837
|
|
|
838
838
|
|
|
839
|
-
@distributed_database_group.command(name=cli_util.override('distributed_db_service.rotate_distributed_database_passwords.command_name', 'rotate-distributed-database-passwords'), help=u"""Rotate passwords for
|
|
839
|
+
@distributed_database_group.command(name=cli_util.override('distributed_db_service.rotate_distributed_database_passwords.command_name', 'rotate-distributed-database-passwords'), help=u"""Rotate the gsmuser and gsmcatuser passwords for shards and catalog of the Globally distributed database. This operation will also remove GdsCtlNodes if present. \n[Command Reference](rotateDistributedDatabasePasswords)""")
|
|
840
840
|
@cli_util.option('--distributed-database-id', required=True, help=u"""Globally distributed database identifier""")
|
|
841
841
|
@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.""")
|
|
842
842
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "NEEDS_ATTENTION"]), 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.""")
|
|
@@ -82,6 +82,12 @@ def fleet_resource_group():
|
|
|
82
82
|
pass
|
|
83
83
|
|
|
84
84
|
|
|
85
|
+
@click.command(cli_util.override('fleet_apps_management.compliance_group.command_name', 'compliance'), cls=CommandGroupWithAlias, help="""Compliance Summary""")
|
|
86
|
+
@cli_util.help_option_group
|
|
87
|
+
def compliance_group():
|
|
88
|
+
pass
|
|
89
|
+
|
|
90
|
+
|
|
85
91
|
@click.command(cli_util.override('fleet_apps_management.fleet_property_group.command_name', 'fleet-property'), cls=CommandGroupWithAlias, help="""Property to manage fleet metadata details in Fleet Application Management.""")
|
|
86
92
|
@cli_util.help_option_group
|
|
87
93
|
def fleet_property_group():
|
|
@@ -111,6 +117,7 @@ fleet_apps_management_root_group.add_command(fleet_resource_collection_group)
|
|
|
111
117
|
fleet_apps_management_root_group.add_command(compliance_report_group)
|
|
112
118
|
fleet_apps_management_root_group.add_command(fleet_target_collection_group)
|
|
113
119
|
fleet_apps_management_root_group.add_command(fleet_resource_group)
|
|
120
|
+
fleet_apps_management_root_group.add_command(compliance_group)
|
|
114
121
|
fleet_apps_management_root_group.add_command(fleet_property_group)
|
|
115
122
|
fleet_apps_management_root_group.add_command(fleet_credential_collection_group)
|
|
116
123
|
fleet_apps_management_root_group.add_command(fleet_collection_group)
|
|
@@ -126,6 +133,7 @@ fleet_apps_management_service_cli.fleet_apps_management_service_group.add_comman
|
|
|
126
133
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(compliance_report_group)
|
|
127
134
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_target_collection_group)
|
|
128
135
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_resource_group)
|
|
136
|
+
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(compliance_group)
|
|
129
137
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_property_group)
|
|
130
138
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_credential_collection_group)
|
|
131
139
|
fleet_apps_management_service_cli.fleet_apps_management_service_group.add_command(fleet_collection_group)
|
|
@@ -287,7 +295,7 @@ Example: `My new resource`""")
|
|
|
287
295
|
@cli_util.option('--resource-selection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
288
296
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
289
297
|
@cli_util.option('--details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
290
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
298
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
291
299
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
292
300
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
293
301
|
|
|
@@ -402,7 +410,7 @@ Example: `My new resource`""")
|
|
|
402
410
|
@cli_util.option('--resource-selection-rule-selection-criteria', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
403
411
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
404
412
|
@cli_util.option('--details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
405
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
413
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
406
414
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
407
415
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
408
416
|
|
|
@@ -519,7 +527,7 @@ Example: `My new resource`""")
|
|
|
519
527
|
@cli_util.option('--compartment-id', required=True, help=u"""compartment OCID""")
|
|
520
528
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
521
529
|
@cli_util.option('--details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
522
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
530
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
523
531
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
524
532
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
525
533
|
|
|
@@ -635,7 +643,7 @@ Example: `My new resource`""")
|
|
|
635
643
|
@cli_util.option('--compartment-id', required=True, help=u"""compartment OCID""")
|
|
636
644
|
@cli_util.option('--resource-selection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
637
645
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
638
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
646
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
639
647
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
640
648
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
641
649
|
|
|
@@ -749,7 +757,7 @@ Example: `My new resource`""")
|
|
|
749
757
|
@cli_util.option('--compartment-id', required=True, help=u"""compartment OCID""")
|
|
750
758
|
@cli_util.option('--resource-selection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
751
759
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
752
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
760
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
753
761
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
754
762
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
755
763
|
|
|
@@ -863,7 +871,7 @@ Example: `My new resource`""")
|
|
|
863
871
|
@cli_util.option('--compartment-id', required=True, help=u"""compartment OCID""")
|
|
864
872
|
@cli_util.option('--resource-selection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
865
873
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
866
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
874
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
867
875
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
868
876
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
869
877
|
|
|
@@ -977,7 +985,7 @@ Example: `My new resource`""")
|
|
|
977
985
|
@cli_util.option('--compartment-id', required=True, help=u"""compartment OCID""")
|
|
978
986
|
@cli_util.option('--resource-selection', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
979
987
|
@cli_util.option('--description', help=u"""A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.""")
|
|
980
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
988
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
981
989
|
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
982
990
|
@cli_util.option('--notification-preferences', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Notification Preferences associated with the Fleet.
|
|
983
991
|
|
|
@@ -1545,6 +1553,28 @@ def generate_compliance_report(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
1545
1553
|
cli_util.render_response(result, ctx)
|
|
1546
1554
|
|
|
1547
1555
|
|
|
1556
|
+
@compliance_group.command(name=cli_util.override('fleet_apps_management.get_compliance.command_name', 'get'), help=u"""Retrieve compliance for a fleet. \n[Command Reference](getCompliance)""")
|
|
1557
|
+
@cli_util.option('--fleet-id', required=True, help=u"""Unique Fleet identifier.""")
|
|
1558
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
1559
|
+
@cli_util.help_option
|
|
1560
|
+
@click.pass_context
|
|
1561
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'Compliance'})
|
|
1562
|
+
@cli_util.wrap_exceptions
|
|
1563
|
+
def get_compliance(ctx, from_json, fleet_id):
|
|
1564
|
+
|
|
1565
|
+
if isinstance(fleet_id, six.string_types) and len(fleet_id.strip()) == 0:
|
|
1566
|
+
raise click.UsageError('Parameter --fleet-id cannot be whitespace or empty string')
|
|
1567
|
+
|
|
1568
|
+
kwargs = {}
|
|
1569
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
1570
|
+
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|
|
1571
|
+
result = client.get_compliance(
|
|
1572
|
+
fleet_id=fleet_id,
|
|
1573
|
+
**kwargs
|
|
1574
|
+
)
|
|
1575
|
+
cli_util.render_response(result, ctx)
|
|
1576
|
+
|
|
1577
|
+
|
|
1548
1578
|
@compliance_report_group.command(name=cli_util.override('fleet_apps_management.get_compliance_report.command_name', 'get'), help=u"""Retrieve compliance report for a fleet. \n[Command Reference](getComplianceReport)""")
|
|
1549
1579
|
@cli_util.option('--fleet-id', required=True, help=u"""Unique Fleet identifier.""")
|
|
1550
1580
|
@cli_util.option('--compliance-report-id', required=True, help=u"""compliance report identifier.""")
|
|
@@ -2024,6 +2054,7 @@ def list_fleet_resources(ctx, from_json, all_pages, page_size, fleet_id, lifecyc
|
|
|
2024
2054
|
@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.""")
|
|
2025
2055
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
2026
2056
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["displayName", "product", "resourceDisplayName"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for displayName,product and resourceDisplayName is ascending.""")
|
|
2057
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "DELETED", "FAILED"]), help=u"""A filter to return fleets whose lifecycleState matches the given lifecycleState.""")
|
|
2027
2058
|
@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.""")
|
|
2028
2059
|
@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.""")
|
|
2029
2060
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -2031,7 +2062,7 @@ def list_fleet_resources(ctx, from_json, all_pages, page_size, fleet_id, lifecyc
|
|
|
2031
2062
|
@click.pass_context
|
|
2032
2063
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'FleetTargetCollection'})
|
|
2033
2064
|
@cli_util.wrap_exceptions
|
|
2034
|
-
def list_fleet_targets(ctx, from_json, all_pages, page_size, fleet_id, display_name, product, resource_id, resource_display_name, limit, page, sort_order, sort_by):
|
|
2065
|
+
def list_fleet_targets(ctx, from_json, all_pages, page_size, fleet_id, display_name, product, resource_id, resource_display_name, limit, page, sort_order, sort_by, lifecycle_state):
|
|
2035
2066
|
|
|
2036
2067
|
if all_pages and limit:
|
|
2037
2068
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -2056,6 +2087,8 @@ def list_fleet_targets(ctx, from_json, all_pages, page_size, fleet_id, display_n
|
|
|
2056
2087
|
kwargs['sort_order'] = sort_order
|
|
2057
2088
|
if sort_by is not None:
|
|
2058
2089
|
kwargs['sort_by'] = sort_by
|
|
2090
|
+
if lifecycle_state is not None:
|
|
2091
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
2059
2092
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2060
2093
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|
|
2061
2094
|
if all_pages:
|
|
@@ -2243,6 +2276,7 @@ def list_inventory_resources(ctx, from_json, all_pages, page_size, compartment_i
|
|
|
2243
2276
|
@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.""")
|
|
2244
2277
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
2245
2278
|
@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.""")
|
|
2279
|
+
@cli_util.option('--is-confirmed-targets', type=click.BOOL, help=u"""If set to true, confirmed targets will be returned.""")
|
|
2246
2280
|
@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.""")
|
|
2247
2281
|
@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.""")
|
|
2248
2282
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -2250,7 +2284,7 @@ def list_inventory_resources(ctx, from_json, all_pages, page_size, compartment_i
|
|
|
2250
2284
|
@click.pass_context
|
|
2251
2285
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'fleet_apps_management', 'class': 'FleetTargetCollection'})
|
|
2252
2286
|
@cli_util.wrap_exceptions
|
|
2253
|
-
def list_targets(ctx, from_json, all_pages, page_size, fleet_id, display_name, limit, page, sort_order, sort_by):
|
|
2287
|
+
def list_targets(ctx, from_json, all_pages, page_size, fleet_id, display_name, limit, page, sort_order, sort_by, is_confirmed_targets):
|
|
2254
2288
|
|
|
2255
2289
|
if all_pages and limit:
|
|
2256
2290
|
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
@@ -2269,6 +2303,8 @@ def list_targets(ctx, from_json, all_pages, page_size, fleet_id, display_name, l
|
|
|
2269
2303
|
kwargs['sort_order'] = sort_order
|
|
2270
2304
|
if sort_by is not None:
|
|
2271
2305
|
kwargs['sort_by'] = sort_by
|
|
2306
|
+
if is_confirmed_targets is not None:
|
|
2307
|
+
kwargs['is_confirmed_targets'] = is_confirmed_targets
|
|
2272
2308
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
2273
2309
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|
|
2274
2310
|
if all_pages:
|
|
@@ -2435,9 +2471,10 @@ Example: `My new resource`""")
|
|
|
2435
2471
|
This option is a JSON list with items of type NotificationPreference. For documentation on NotificationPreference please see our API reference: https://docs.cloud.oracle.com/api/#/en/fleetappsmanagement/20250228/datatypes/NotificationPreference.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2436
2472
|
@cli_util.option('--is-target-auto-confirm', type=click.BOOL, help=u"""A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.""")
|
|
2437
2473
|
@cli_util.option('--resource-selection', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2438
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2474
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2439
2475
|
@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)
|
|
2440
2476
|
@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)
|
|
2477
|
+
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
2441
2478
|
@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.""")
|
|
2442
2479
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
2443
2480
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -2448,7 +2485,7 @@ This option is a JSON list with items of type NotificationPreference. For docum
|
|
|
2448
2485
|
@click.pass_context
|
|
2449
2486
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'notification-preferences': {'module': 'fleet_apps_management', 'class': 'list[NotificationPreference]'}, 'resource-selection': {'module': 'fleet_apps_management', 'class': 'ResourceSelection'}, 'products': {'module': 'fleet_apps_management', 'class': 'list[string]'}, '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': 'Fleet'})
|
|
2450
2487
|
@cli_util.wrap_exceptions
|
|
2451
|
-
def update_fleet(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, display_name, description, notification_preferences, is_target_auto_confirm, resource_selection, products, freeform_tags, defined_tags, if_match):
|
|
2488
|
+
def update_fleet(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, display_name, description, notification_preferences, is_target_auto_confirm, resource_selection, products, freeform_tags, defined_tags, environment_type, if_match):
|
|
2452
2489
|
|
|
2453
2490
|
if isinstance(fleet_id, six.string_types) and len(fleet_id.strip()) == 0:
|
|
2454
2491
|
raise click.UsageError('Parameter --fleet-id cannot be whitespace or empty string')
|
|
@@ -2488,6 +2525,9 @@ def update_fleet(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_i
|
|
|
2488
2525
|
if defined_tags is not None:
|
|
2489
2526
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
2490
2527
|
|
|
2528
|
+
if environment_type is not None:
|
|
2529
|
+
_details['environmentType'] = environment_type
|
|
2530
|
+
|
|
2491
2531
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|
|
2492
2532
|
result = client.update_fleet(
|
|
2493
2533
|
fleet_id=fleet_id,
|
|
@@ -2531,9 +2571,10 @@ Example: `My new resource`""")
|
|
|
2531
2571
|
|
|
2532
2572
|
This option is a JSON list with items of type NotificationPreference. For documentation on NotificationPreference please see our API reference: https://docs.cloud.oracle.com/api/#/en/fleetappsmanagement/20250228/datatypes/NotificationPreference.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2533
2573
|
@cli_util.option('--is-target-auto-confirm', type=click.BOOL, help=u"""A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.""")
|
|
2534
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2574
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2535
2575
|
@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)
|
|
2536
2576
|
@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)
|
|
2577
|
+
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
2537
2578
|
@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.""")
|
|
2538
2579
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
2539
2580
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -2544,7 +2585,7 @@ This option is a JSON list with items of type NotificationPreference. For docum
|
|
|
2544
2585
|
@click.pass_context
|
|
2545
2586
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'notification-preferences': {'module': 'fleet_apps_management', 'class': 'list[NotificationPreference]'}, 'products': {'module': 'fleet_apps_management', 'class': 'list[string]'}, 'freeform-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'fleet_apps_management', 'class': 'dict(str, dict(str, object))'}, 'resource-selection-rule-selection-criteria': {'module': 'fleet_apps_management', 'class': 'SelectionCriteria'}}, output_type={'module': 'fleet_apps_management', 'class': 'Fleet'})
|
|
2546
2587
|
@cli_util.wrap_exceptions
|
|
2547
|
-
def update_fleet_dynamic_resource_selection(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, resource_selection_rule_selection_criteria, display_name, description, notification_preferences, is_target_auto_confirm, products, freeform_tags, defined_tags, if_match):
|
|
2588
|
+
def update_fleet_dynamic_resource_selection(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, resource_selection_rule_selection_criteria, display_name, description, notification_preferences, is_target_auto_confirm, products, freeform_tags, defined_tags, environment_type, if_match):
|
|
2548
2589
|
|
|
2549
2590
|
if isinstance(fleet_id, six.string_types) and len(fleet_id.strip()) == 0:
|
|
2550
2591
|
raise click.UsageError('Parameter --fleet-id cannot be whitespace or empty string')
|
|
@@ -2583,6 +2624,9 @@ def update_fleet_dynamic_resource_selection(ctx, from_json, force, wait_for_stat
|
|
|
2583
2624
|
if defined_tags is not None:
|
|
2584
2625
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
2585
2626
|
|
|
2627
|
+
if environment_type is not None:
|
|
2628
|
+
_details['environmentType'] = environment_type
|
|
2629
|
+
|
|
2586
2630
|
_details['resourceSelection']['resourceSelectionType'] = 'DYNAMIC'
|
|
2587
2631
|
|
|
2588
2632
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|
|
@@ -2627,9 +2671,10 @@ Example: `My new resource`""")
|
|
|
2627
2671
|
|
|
2628
2672
|
This option is a JSON list with items of type NotificationPreference. For documentation on NotificationPreference please see our API reference: https://docs.cloud.oracle.com/api/#/en/fleetappsmanagement/20250228/datatypes/NotificationPreference.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2629
2673
|
@cli_util.option('--is-target-auto-confirm', type=click.BOOL, help=u"""A value that represents if auto-confirming of the targets can be enabled. This will allow targets to be auto-confirmed in the fleet without manual intervention.""")
|
|
2630
|
-
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2674
|
+
@cli_util.option('--products', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Products associated with the Fleet. Provide PlatformConfiguration Ids corresponding to all the Products that need to be managed.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
2631
2675
|
@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)
|
|
2632
2676
|
@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)
|
|
2677
|
+
@cli_util.option('--environment-type', help=u"""Environment Type associated with the Fleet. Applicable for ENVIRONMENT fleet types.""")
|
|
2633
2678
|
@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.""")
|
|
2634
2679
|
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
2635
2680
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "INACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "UPDATING", "NEEDS_ATTENTION"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
@@ -2640,7 +2685,7 @@ This option is a JSON list with items of type NotificationPreference. For docum
|
|
|
2640
2685
|
@click.pass_context
|
|
2641
2686
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'notification-preferences': {'module': 'fleet_apps_management', 'class': 'list[NotificationPreference]'}, 'products': {'module': 'fleet_apps_management', 'class': 'list[string]'}, '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': 'Fleet'})
|
|
2642
2687
|
@cli_util.wrap_exceptions
|
|
2643
|
-
def update_fleet_manual_resource_selection(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, display_name, description, notification_preferences, is_target_auto_confirm, products, freeform_tags, defined_tags, if_match):
|
|
2688
|
+
def update_fleet_manual_resource_selection(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, fleet_id, display_name, description, notification_preferences, is_target_auto_confirm, products, freeform_tags, defined_tags, environment_type, if_match):
|
|
2644
2689
|
|
|
2645
2690
|
if isinstance(fleet_id, six.string_types) and len(fleet_id.strip()) == 0:
|
|
2646
2691
|
raise click.UsageError('Parameter --fleet-id cannot be whitespace or empty string')
|
|
@@ -2678,6 +2723,9 @@ def update_fleet_manual_resource_selection(ctx, from_json, force, wait_for_state
|
|
|
2678
2723
|
if defined_tags is not None:
|
|
2679
2724
|
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
2680
2725
|
|
|
2726
|
+
if environment_type is not None:
|
|
2727
|
+
_details['environmentType'] = environment_type
|
|
2728
|
+
|
|
2681
2729
|
_details['resourceSelection']['resourceSelectionType'] = 'MANUAL'
|
|
2682
2730
|
|
|
2683
2731
|
client = cli_util.build_client('fleet_apps_management', 'fleet_apps_management', ctx)
|