oci-cli 3.63.3__py3-none-any.whl → 3.64.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/devops.psm1 +5 -1
- oci_cli/bin/redis.psm1 +28 -3
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/change-compartment.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/create.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/delete.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/get.txt +93 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group/update.txt +194 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group-collection/list-stream-groups.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-group.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/change-compartment.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/create-stream-job-object-storage-output-location.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/create.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/delete.txt +141 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/get.txt +103 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/start.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/stop.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/update-stream-job-object-storage-output-location.txt +206 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job/update.txt +202 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job-collection/list-stream-jobs.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-job.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/change-compartment.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/create-stream-source-rtsp-source-details.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/create.txt +163 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/delete.txt +136 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/update-stream-source-rtsp-source-details.txt +189 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source/update.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source-collection/list-stream-sources.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/stream-source.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/change-compartment.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/create.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/delete.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/get.txt +94 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint/update.txt +167 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint-collection/list-vision-private-endpoints.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision/vision-private-endpoint.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/ai-vision.txt +76 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/{compute-gpu-memory-cluster-collection/list-compute-gpu-memory-clusters.txt → compute-gpu-memory-cluster/list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-cluster.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-compute-bare-metal-host-placement-constraint-details.txt +0 -5
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch-instance-host-group-placement-constraint-details.txt +0 -5
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/launch.txt +0 -5
- oci_cli/help_text_producer/data_files/text/cmdref/compute/instance/terminate.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/compute.txt +2 -4
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/alert-summary/list-alert-analytics.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/alert-summary/list-alerts.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/change-compartment.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/create.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/delete.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/get.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/list-associated-resources.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/list.txt +211 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set/update.txt +192 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/attribute-set.txt +28 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-archive-retrieval/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-event-summary/list-audit-event-analytics.txt +11 -10
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-event-summary/list-audit-events.txt +9 -8
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-policy-analytics/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-policy-collection/list-audit-policies.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/calculate-audit-volume-available.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/calculate-audit-volume-collected.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/change-compartment.txt +5 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/change-retention.txt +14 -10
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/create.txt +205 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/discover-audit-trails.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/get.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-available-audit-volumes.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-collected-audit-volumes.txt +5 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list-target-overrides.txt +143 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/list.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile/update.txt +14 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile-analytic-collection/list-audit-profile-analytics.txt +10 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-profile.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/start.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail/update.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/audit-trail-analytic-collection/list-audit-trail-analytics.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-security-config/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-table-access-entry-collection/list-database-table-access-entries.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/database-view-access-entry-collection/list-database-view-access-entries.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-column/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy/list-masking-analytics.txt +28 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/masking-policy-referential-relation-summary/list-masking-policy-referential-relations.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/on-prem-connector/list.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/peer-target-database/create-peer-target-database-database-cloud-service-details.txt +10 -6
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/peer-target-database/update-peer-target-database-database-cloud-service-details.txt +10 -6
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/report-definition/generate-report.txt +13 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/report-summary/list-reports.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/apply-security-assessment-template.txt +134 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/compare-to-template-baseline.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/create.txt +33 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/download-security-assessment-report.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/generate-security-assessment-report.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/get-template-baseline-comparison.txt +112 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-checks.txt +186 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-finding-analytics.txt +49 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +41 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-security-feature-analytics.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-security-features.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-template-analytics.txt +188 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-template-association-analytics.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list.txt +21 -3
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/patch-checks.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/patch-findings.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/remove.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/change-compartment.txt +3 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/create.txt +159 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/delete.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/get.txt +3 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/list.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy/update.txt +3 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/change-compartment.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/create.txt +189 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/delete.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config/update.txt +197 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config-collection/list-security-policy-configs.txt +375 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-config.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/change-compartment.txt +7 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/create.txt +179 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/deploy.txt +131 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/get.txt +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/list.txt +10 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/refresh.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment/update.txt +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-deployment.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-entry-state/get.txt +7 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy-entry-state/list.txt +21 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-policy.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-data-model/list-discovery-analytics.txt +27 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sensitive-data-model/list-sensitive-column-analytics.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-collection/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-collection-analytics/list.txt +5 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-allowed-sql/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-allowed-sql-analytics/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-violation-summary/list-sql-firewall-violation-analytics.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/sql-firewall-violation-summary/list-sql-firewall-violations.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/change-compartment.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/create.txt +175 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/delete.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/get-group-members.txt +118 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/get.txt +99 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group/update.txt +189 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group-summary/list-target-database-groups.txt +365 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group-summary.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/target-database-group.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/bulk-create.txt +164 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/change-compartment.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/create.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/delete.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/get.txt +102 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy/update.txt +202 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-collection/list-unified-audit-policies.txt +385 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/change-compartment.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/delete.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition/update.txt +171 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition-collection/list-unified-audit-policy-definitions.txt +205 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy-definition.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/unified-audit-policy.txt +25 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/user-assessment/create.txt +13 -2
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/user-assessment/list.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe.txt +118 -0
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/change-compartment.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/create-job-artifact.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/create.txt +29 -24
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/get-artifact-content.txt +2 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/head-job-artifact.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/cancel.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/change-compartment.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/create.txt +23 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/job-run/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/data-science/pipeline-run/create.txt +11 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-local-clone.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-remote-clone.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/create-snapshot.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/delete-snapshot.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/get-snapshot.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database/list-snapshots.txt +145 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/pluggable-database.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch/create-or-update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/devops/protected-branch/delete.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request/reopen-pull-request-comment.txt +119 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request/resolve-pull-request-comment.txt +119 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops/pull-request.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/devops.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-cohere-chat-request.txt +3 -1
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-inference/chat-result/chat-generic-chat-request.txt +83 -3
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-kinesis-connection.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-amazon-s3-connection.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-azure-data-lake-storage-connection.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-db2-connection.txt +20 -8
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-google-pub-sub-connection.txt +8 -9
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-jms-connection.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-object-storage-connection.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/create-oracle-nosql-connection.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-kinesis-connection.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-amazon-s3-connection.txt +4 -3
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-azure-data-lake-storage-connection.txt +9 -0
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-db2-connection.txt +20 -8
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-jms-connection.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-object-storage-connection.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/goldengate/connection/update-oracle-nosql-connection.txt +2 -2
- 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-logs.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/{work-request-log.txt → work-request-log-entry.txt} +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/network/drg-route-distribution/create.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/network/drg-route-distribution.txt +12 -10
- oci_cli/help_text_producer/data_files/text/cmdref/network/ip-sec-connection/create.txt +11 -16
- oci_cli/help_text_producer/data_files/text/cmdref/network/ipv6/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/network/vnic/assign-ipv6.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/associated-oci-cache-cluster-summary/list-associated-oci-cache-clusters.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/associated-oci-cache-cluster-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/change-compartment.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/create.txt +175 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/delete.txt +138 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/get.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set/update.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set-summary/list-oci-cache-config-sets.txt +148 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set/oci-cache-config-set.txt +23 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-config-set.txt +33 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set-summary/list-oci-cache-default-config-sets.txt +156 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set-summary.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set/oci-cache-default-config-set.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/oci-cache-default-config-set.txt +21 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis/redis-cluster/redis-cluster/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/redis.txt +32 -0
- oci_cli/help_text_producer/data_files/text/cmdref/session/authenticate.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +15 -12
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/put-attachment.txt +153 -0
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +20 -14
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident.txt +3 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support.txt +2 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/METADATA +2 -2
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/RECORD +288 -161
- services/ai_vision/src/oci_cli_ai_service_vision/generated/aiservicevision_cli.py +2349 -448
- services/cims/src/oci_cli_incident/cims_cli_extended.py +70 -14
- services/cims/src/oci_cli_incident/generated/incident_cli.py +76 -15
- services/core/src/oci_cli_compute/generated/compute_cli.py +19 -79
- services/core/src/oci_cli_virtual_network/generated/virtualnetwork_cli.py +21 -15
- services/core/src/oci_cli_virtual_network/virtualnetwork_cli_extended.py +5 -1
- services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +3832 -391
- services/data_science/src/oci_cli_data_science/datascience_cli_extended.py +47 -6
- services/data_science/src/oci_cli_data_science/generated/datascience_cli.py +1351 -139
- services/database/src/oci_cli_database/database_cli_extended.py +53 -2
- services/database/src/oci_cli_database/generated/database_cli.py +222 -2
- services/devops/src/oci_cli_devops/generated/devops_cli.py +62 -2
- services/generative_ai_inference/src/oci_cli_generative_ai_inference/generated/generativeaiinference_cli.py +39 -5
- services/golden_gate/src/oci_cli_golden_gate/generated/goldengate_cli.py +67 -25
- services/golden_gate/src/oci_cli_golden_gate/golden_gate_cli_extended.py +38 -4
- services/redis/src/oci_cli_oci_cache_config_set/__init__.py +4 -0
- services/redis/src/oci_cli_oci_cache_config_set/generated/__init__.py +4 -0
- services/redis/src/oci_cli_oci_cache_config_set/generated/client_mappings.py +14 -0
- services/redis/src/oci_cli_oci_cache_config_set/generated/ocicacheconfigset_cli.py +458 -0
- services/redis/src/oci_cli_oci_cache_default_config_set/__init__.py +4 -0
- services/redis/src/oci_cli_oci_cache_default_config_set/generated/__init__.py +4 -0
- services/redis/src/oci_cli_oci_cache_default_config_set/generated/client_mappings.py +14 -0
- services/redis/src/oci_cli_oci_cache_default_config_set/generated/ocicachedefaultconfigset_cli.py +129 -0
- services/redis/src/oci_cli_redis_cluster/generated/rediscluster_cli.py +10 -2
- oci_cli/help_text_producer/data_files/text/cmdref/compute/compute-gpu-memory-cluster-collection.txt +0 -14
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.3.dist-info → oci_cli-3.64.1.dist-info}/top_level.txt +0 -0
|
@@ -3647,7 +3647,7 @@ def convert_to_regular_pluggable_database_extended(ctx, **kwargs):
|
|
|
3647
3647
|
ctx.invoke(database_cli.convert_to_regular_pluggable_database, **kwargs)
|
|
3648
3648
|
|
|
3649
3649
|
|
|
3650
|
-
@cli_util.copy_params_from_generated_command(database_cli.create_pluggable_database, params_to_exclude=['container_database_id', 'pdb_creation_type_details_source_pluggable_database_id', 'should_create_pdb_backup', 'should_pdb_admin_account_be_locked', 'container_database_admin_password', 'pdb_creation_type_details', 'pdb_creation_type_details_is_thin_clone'])
|
|
3650
|
+
@cli_util.copy_params_from_generated_command(database_cli.create_pluggable_database, params_to_exclude=['container_database_id', 'pdb_creation_type_details_source_pluggable_database_id', 'should_create_pdb_backup', 'should_pdb_admin_account_be_locked', 'container_database_admin_password', 'pdb_creation_type_details', 'pdb_creation_type_details_is_thin_clone', 'pdb_creation_type_details_source_pluggable_database_snapshot_id'])
|
|
3651
3651
|
@database_cli.pluggable_database_group.command(name=database_cli.create_pluggable_database_create_pluggable_database_from_local_clone_details.name, help=database_cli.create_pluggable_database_create_pluggable_database_from_local_clone_details.help)
|
|
3652
3652
|
@cli_util.option('--cdb-id', required=True, help=u"""The [OCID] of the CDB [required]""")
|
|
3653
3653
|
@cli_util.option('--source-pdb-id', required=True, help=u"""The OCID of the Source Pluggable Database. [required]""")
|
|
@@ -3655,6 +3655,7 @@ def convert_to_regular_pluggable_database_extended(ctx, **kwargs):
|
|
|
3655
3655
|
@cli_util.option('--lock-pdb-admin-account', type=click.BOOL, help=u"""The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.""")
|
|
3656
3656
|
@cli_util.option('--cdb-admin-password', help=u"""The DB system administrator password of the Container Database.""")
|
|
3657
3657
|
@cli_util.option('--is-thin-clone', type=click.BOOL, help=u"""True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned.""")
|
|
3658
|
+
@cli_util.option('--source-pdb-snapshot-id', help=u"""The OCID of the Source Pluggable Database Snapshot id.""")
|
|
3658
3659
|
@click.pass_context
|
|
3659
3660
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'PluggableDatabase'})
|
|
3660
3661
|
@cli_util.wrap_exceptions
|
|
@@ -3684,6 +3685,10 @@ def create_pluggable_database_create_pluggable_database_from_local_clone_details
|
|
|
3684
3685
|
kwargs['pdb_creation_type_details_is_thin_clone'] = kwargs['is_thin_clone']
|
|
3685
3686
|
kwargs.pop('is_thin_clone')
|
|
3686
3687
|
|
|
3688
|
+
if 'source_pdb_snapshot_id' in kwargs:
|
|
3689
|
+
kwargs['pdb_creation_type_details_source_pluggable_database_snapshot_id'] = kwargs['source_pdb_snapshot_id']
|
|
3690
|
+
kwargs.pop('source_pdb_snapshot_id')
|
|
3691
|
+
|
|
3687
3692
|
ctx.invoke(database_cli.create_pluggable_database_create_pluggable_database_from_local_clone_details, **kwargs)
|
|
3688
3693
|
|
|
3689
3694
|
|
|
@@ -3737,7 +3742,7 @@ def create_pluggable_database_create_pluggable_database_from_relocate_details_ex
|
|
|
3737
3742
|
ctx.invoke(database_cli.create_pluggable_database_create_pluggable_database_from_relocate_details, **kwargs)
|
|
3738
3743
|
|
|
3739
3744
|
|
|
3740
|
-
@cli_util.copy_params_from_generated_command(database_cli.create_pluggable_database, params_to_exclude=['container_database_id', 'pdb_creation_type_details_source_container_database_admin_password', 'pdb_creation_type_details_source_pluggable_database_id', 'pdb_creation_type_details_dblink_user_password', 'pdb_creation_type_details_dblink_username', 'pdb_creation_type_details_refreshable_clone_details', 'should_create_pdb_backup', 'should_pdb_admin_account_be_locked', 'container_database_admin_password', 'pdb_creation_type_details', 'pdb_creation_type_details_is_thin_clone'])
|
|
3745
|
+
@cli_util.copy_params_from_generated_command(database_cli.create_pluggable_database, params_to_exclude=['container_database_id', 'pdb_creation_type_details_source_container_database_admin_password', 'pdb_creation_type_details_source_pluggable_database_id', 'pdb_creation_type_details_dblink_user_password', 'pdb_creation_type_details_dblink_username', 'pdb_creation_type_details_refreshable_clone_details', 'should_create_pdb_backup', 'should_pdb_admin_account_be_locked', 'container_database_admin_password', 'pdb_creation_type_details', 'pdb_creation_type_details_is_thin_clone', 'pdb_creation_type_details_source_pluggable_database_snapshot_id'])
|
|
3741
3746
|
@database_cli.pluggable_database_group.command(name=database_cli.create_pluggable_database_create_pluggable_database_from_remote_clone_details.name, help=database_cli.create_pluggable_database_create_pluggable_database_from_remote_clone_details.help)
|
|
3742
3747
|
@cli_util.option('--cdb-id', required=True, help=u"""The [OCID] of the CDB [required]""")
|
|
3743
3748
|
@cli_util.option('--source-cdb-admin-password', required=True, help=u"""The DB system administrator password of the source Container Database. [required]""")
|
|
@@ -3749,6 +3754,7 @@ def create_pluggable_database_create_pluggable_database_from_relocate_details_ex
|
|
|
3749
3754
|
@cli_util.option('--lock-pdb-admin-account', type=click.BOOL, help=u"""The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it.""")
|
|
3750
3755
|
@cli_util.option('--cdb-admin-password', help=u"""The DB system administrator password of the Container Database.""")
|
|
3751
3756
|
@cli_util.option('--is-thin-clone', type=click.BOOL, help=u"""True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned.""")
|
|
3757
|
+
@cli_util.option('--source-pdb-snapshot-id', help=u"""The OCID of the Source Pluggable Database Snapshot id.""")
|
|
3752
3758
|
@click.pass_context
|
|
3753
3759
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'PluggableDatabase'})
|
|
3754
3760
|
@cli_util.wrap_exceptions
|
|
@@ -3790,6 +3796,10 @@ def create_pluggable_database_create_pluggable_database_from_remote_clone_detail
|
|
|
3790
3796
|
kwargs['pdb_creation_type_details_is_thin_clone'] = kwargs['is_thin_clone']
|
|
3791
3797
|
kwargs.pop('is_thin_clone')
|
|
3792
3798
|
|
|
3799
|
+
if 'source_pdb_snapshot_id' in kwargs:
|
|
3800
|
+
kwargs['pdb_creation_type_details_source_pluggable_database_snapshot_id'] = kwargs['source_pdb_snapshot_id']
|
|
3801
|
+
kwargs.pop('source_pdb_snapshot_id')
|
|
3802
|
+
|
|
3793
3803
|
pdb_creation_type_details_refreshable_clone_details = {}
|
|
3794
3804
|
if 'is_refreshable_clone' in kwargs:
|
|
3795
3805
|
pdb_creation_type_details_refreshable_clone_details['isRefreshableClone'] = kwargs['is_refreshable_clone']
|
|
@@ -4181,3 +4191,44 @@ cli_util.rename_command(database_cli, database_cli.system_version_minor_version_
|
|
|
4181
4191
|
|
|
4182
4192
|
# oci db system-version-minor-version-collection -> oci db system-minor-version
|
|
4183
4193
|
cli_util.rename_command(database_cli, database_cli.db_root_group, database_cli.system_version_minor_version_collection_group, "system-minor-version")
|
|
4194
|
+
|
|
4195
|
+
# move sanpshot operations to pdb group
|
|
4196
|
+
# oci db pluggable-database-snapshot create -> oci db pluggable-database create-snapshot
|
|
4197
|
+
# oci db pluggable-database-snapshot delete -> oci db pluggable-database delete-snapshot
|
|
4198
|
+
# oci db pluggable-database-snapshot get -> oci db pluggable-database get-snapshot
|
|
4199
|
+
# oci db pluggable-database-snapshot list -> oci db pluggable-database list-snapshots
|
|
4200
|
+
cli_util.rename_command(database_cli, database_cli.pluggable_database_snapshot_group, database_cli.create_pluggable_database_snapshot, "create-snapshot")
|
|
4201
|
+
cli_util.rename_command(database_cli, database_cli.pluggable_database_snapshot_group, database_cli.delete_pluggable_database_snapshot, "delete-snapshot")
|
|
4202
|
+
cli_util.rename_command(database_cli, database_cli.pluggable_database_snapshot_group, database_cli.get_pluggable_database_snapshot, "get-snapshot")
|
|
4203
|
+
cli_util.rename_command(database_cli, database_cli.pluggable_database_snapshot_group, database_cli.list_pluggable_database_snapshots, "list-snapshots")
|
|
4204
|
+
database_cli.pluggable_database_group.add_command(database_cli.create_pluggable_database_snapshot)
|
|
4205
|
+
database_cli.pluggable_database_group.add_command(database_cli.delete_pluggable_database_snapshot)
|
|
4206
|
+
database_cli.pluggable_database_group.add_command(database_cli.get_pluggable_database_snapshot)
|
|
4207
|
+
database_cli.pluggable_database_group.add_command(database_cli.list_pluggable_database_snapshots)
|
|
4208
|
+
database_cli.db_root_group.commands.pop(database_cli.pluggable_database_snapshot_group.name)
|
|
4209
|
+
|
|
4210
|
+
|
|
4211
|
+
# Renaming the pluggable-database-snapshot-id to pdb-snapshot-id
|
|
4212
|
+
@cli_util.copy_params_from_generated_command(database_cli.get_pluggable_database_snapshot, params_to_exclude=['pluggable_database_snapshot_id'])
|
|
4213
|
+
@database_cli.pluggable_database_group.command('get-snapshot', help=database_cli.get_pluggable_database_snapshot.help)
|
|
4214
|
+
@cli_util.option('--pdb-snapshot-id', required=True, help=u"""The Exadata Pluggable Database Snapshot [OCID].""")
|
|
4215
|
+
@click.pass_context
|
|
4216
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'PluggableDatabaseSnapshot'})
|
|
4217
|
+
@cli_util.wrap_exceptions
|
|
4218
|
+
def get_pluggable_database_snapshot_extended(ctx, **kwargs):
|
|
4219
|
+
kwargs['pluggable_database_snapshot_id'] = kwargs['pdb_snapshot_id']
|
|
4220
|
+
kwargs.pop('pdb_snapshot_id')
|
|
4221
|
+
ctx.invoke(database_cli.get_pluggable_database_snapshot, **kwargs)
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
# Renaming the pluggable-database-snapshot-id to pdb-snapshot-id
|
|
4225
|
+
@cli_util.copy_params_from_generated_command(database_cli.delete_pluggable_database_snapshot, params_to_exclude=['pluggable_database_snapshot_id'])
|
|
4226
|
+
@database_cli.pluggable_database_group.command('delete-snapshot', help=database_cli.delete_pluggable_database_snapshot.help)
|
|
4227
|
+
@cli_util.option('--pdb-snapshot-id', required=True, help=u"""The Exadata Pluggable Database Snapshot [OCID].""")
|
|
4228
|
+
@click.pass_context
|
|
4229
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
4230
|
+
@cli_util.wrap_exceptions
|
|
4231
|
+
def delete_pluggable_database_snapshot_extended(ctx, **kwargs):
|
|
4232
|
+
kwargs['pluggable_database_snapshot_id'] = kwargs['pdb_snapshot_id']
|
|
4233
|
+
kwargs.pop('pdb_snapshot_id')
|
|
4234
|
+
ctx.invoke(database_cli.delete_pluggable_database_snapshot, **kwargs)
|
|
@@ -482,6 +482,12 @@ def db_version_group():
|
|
|
482
482
|
pass
|
|
483
483
|
|
|
484
484
|
|
|
485
|
+
@click.command(cli_util.override('db.pluggable_database_snapshot_group.command_name', 'pluggable-database-snapshot'), cls=CommandGroupWithAlias, help="""Details of the Pluggable Database Snapshot.""")
|
|
486
|
+
@cli_util.help_option_group
|
|
487
|
+
def pluggable_database_snapshot_group():
|
|
488
|
+
pass
|
|
489
|
+
|
|
490
|
+
|
|
485
491
|
@click.command(cli_util.override('db.key_store_summary_group.command_name', 'key-store-summary'), cls=CommandGroupWithAlias, help="""Details of the Key Store.""")
|
|
486
492
|
@cli_util.help_option_group
|
|
487
493
|
def key_store_summary_group():
|
|
@@ -593,6 +599,7 @@ db_root_group.add_command(cloud_vm_cluster_group)
|
|
|
593
599
|
db_root_group.add_command(exascale_db_storage_vault_group)
|
|
594
600
|
db_root_group.add_command(autonomous_db_version_group)
|
|
595
601
|
db_root_group.add_command(db_version_group)
|
|
602
|
+
db_root_group.add_command(pluggable_database_snapshot_group)
|
|
596
603
|
db_root_group.add_command(key_store_summary_group)
|
|
597
604
|
db_root_group.add_command(autonomous_db_preview_version_group)
|
|
598
605
|
db_root_group.add_command(vm_cluster_group)
|
|
@@ -14096,6 +14103,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
14096
14103
|
@cli_util.option('--pdb-creation-type-details-dblink-user-password', help=u"""The DB link user password.""")
|
|
14097
14104
|
@cli_util.option('--pdb-creation-type-details-refreshable-clone-details', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14098
14105
|
@cli_util.option('--pdb-creation-type-details-is-thin-clone', type=click.BOOL, help=u"""True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned.""")
|
|
14106
|
+
@cli_util.option('--pdb-creation-type-details-source-pluggable-database-snapshot-id', help=u"""The OCID of the Source Pluggable Database Snapshot id.""")
|
|
14099
14107
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", "FAILED", "RELOCATING", "RELOCATED", "REFRESHING", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "DISABLED"]), 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.""")
|
|
14100
14108
|
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
14101
14109
|
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
@@ -14104,7 +14112,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
14104
14112
|
@click.pass_context
|
|
14105
14113
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}, 'pdb-creation-type-details-refreshable-clone-details': {'module': 'database', 'class': 'CreatePluggableDatabaseRefreshableCloneDetails'}}, output_type={'module': 'database', 'class': 'PluggableDatabase'})
|
|
14106
14114
|
@cli_util.wrap_exceptions
|
|
14107
|
-
def create_pluggable_database_create_pluggable_database_from_remote_clone_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, pdb_name, container_database_id, pdb_creation_type_details_source_pluggable_database_id, pdb_creation_type_details_source_container_database_admin_password, pdb_admin_password, tde_wallet_password, should_pdb_admin_account_be_locked, container_database_admin_password, should_create_pdb_backup, freeform_tags, defined_tags, pdb_creation_type_details_dblink_username, pdb_creation_type_details_dblink_user_password, pdb_creation_type_details_refreshable_clone_details, pdb_creation_type_details_is_thin_clone):
|
|
14115
|
+
def create_pluggable_database_create_pluggable_database_from_remote_clone_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, pdb_name, container_database_id, pdb_creation_type_details_source_pluggable_database_id, pdb_creation_type_details_source_container_database_admin_password, pdb_admin_password, tde_wallet_password, should_pdb_admin_account_be_locked, container_database_admin_password, should_create_pdb_backup, freeform_tags, defined_tags, pdb_creation_type_details_dblink_username, pdb_creation_type_details_dblink_user_password, pdb_creation_type_details_refreshable_clone_details, pdb_creation_type_details_is_thin_clone, pdb_creation_type_details_source_pluggable_database_snapshot_id):
|
|
14108
14116
|
|
|
14109
14117
|
kwargs = {}
|
|
14110
14118
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -14149,6 +14157,9 @@ def create_pluggable_database_create_pluggable_database_from_remote_clone_detail
|
|
|
14149
14157
|
if pdb_creation_type_details_is_thin_clone is not None:
|
|
14150
14158
|
_details['pdbCreationTypeDetails']['isThinClone'] = pdb_creation_type_details_is_thin_clone
|
|
14151
14159
|
|
|
14160
|
+
if pdb_creation_type_details_source_pluggable_database_snapshot_id is not None:
|
|
14161
|
+
_details['pdbCreationTypeDetails']['sourcePluggableDatabaseSnapshotId'] = pdb_creation_type_details_source_pluggable_database_snapshot_id
|
|
14162
|
+
|
|
14152
14163
|
_details['pdbCreationTypeDetails']['creationType'] = 'REMOTE_CLONE_PDB'
|
|
14153
14164
|
|
|
14154
14165
|
client = cli_util.build_client('database', 'database', ctx)
|
|
@@ -14196,6 +14207,7 @@ def create_pluggable_database_create_pluggable_database_from_remote_clone_detail
|
|
|
14196
14207
|
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14197
14208
|
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14198
14209
|
@cli_util.option('--pdb-creation-type-details-is-thin-clone', type=click.BOOL, help=u"""True if Pluggable Database needs to be thin cloned and false if Pluggable Database needs to be thick cloned.""")
|
|
14210
|
+
@cli_util.option('--pdb-creation-type-details-source-pluggable-database-snapshot-id', help=u"""The OCID of the Source Pluggable Database Snapshot id.""")
|
|
14199
14211
|
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", "FAILED", "RELOCATING", "RELOCATED", "REFRESHING", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "DISABLED"]), 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.""")
|
|
14200
14212
|
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
14201
14213
|
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
@@ -14204,7 +14216,7 @@ Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMP
|
|
|
14204
14216
|
@click.pass_context
|
|
14205
14217
|
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'PluggableDatabase'})
|
|
14206
14218
|
@cli_util.wrap_exceptions
|
|
14207
|
-
def create_pluggable_database_create_pluggable_database_from_local_clone_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, pdb_name, container_database_id, pdb_creation_type_details_source_pluggable_database_id, pdb_admin_password, tde_wallet_password, should_pdb_admin_account_be_locked, container_database_admin_password, should_create_pdb_backup, freeform_tags, defined_tags, pdb_creation_type_details_is_thin_clone):
|
|
14219
|
+
def create_pluggable_database_create_pluggable_database_from_local_clone_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, pdb_name, container_database_id, pdb_creation_type_details_source_pluggable_database_id, pdb_admin_password, tde_wallet_password, should_pdb_admin_account_be_locked, container_database_admin_password, should_create_pdb_backup, freeform_tags, defined_tags, pdb_creation_type_details_is_thin_clone, pdb_creation_type_details_source_pluggable_database_snapshot_id):
|
|
14208
14220
|
|
|
14209
14221
|
kwargs = {}
|
|
14210
14222
|
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
@@ -14239,6 +14251,9 @@ def create_pluggable_database_create_pluggable_database_from_local_clone_details
|
|
|
14239
14251
|
if pdb_creation_type_details_is_thin_clone is not None:
|
|
14240
14252
|
_details['pdbCreationTypeDetails']['isThinClone'] = pdb_creation_type_details_is_thin_clone
|
|
14241
14253
|
|
|
14254
|
+
if pdb_creation_type_details_source_pluggable_database_snapshot_id is not None:
|
|
14255
|
+
_details['pdbCreationTypeDetails']['sourcePluggableDatabaseSnapshotId'] = pdb_creation_type_details_source_pluggable_database_snapshot_id
|
|
14256
|
+
|
|
14242
14257
|
_details['pdbCreationTypeDetails']['creationType'] = 'LOCAL_CLONE_PDB'
|
|
14243
14258
|
|
|
14244
14259
|
client = cli_util.build_client('database', 'database', ctx)
|
|
@@ -14272,6 +14287,67 @@ def create_pluggable_database_create_pluggable_database_from_local_clone_details
|
|
|
14272
14287
|
cli_util.render_response(result, ctx)
|
|
14273
14288
|
|
|
14274
14289
|
|
|
14290
|
+
@pluggable_database_snapshot_group.command(name=cli_util.override('db.create_pluggable_database_snapshot.command_name', 'create'), help=u"""Creates a Pluggable Database Snapshot \n[Command Reference](createPluggableDatabaseSnapshot)""")
|
|
14291
|
+
@cli_util.option('--name', required=True, help=u"""The user-friendly name for the Database Snapshot. The name should be unique.""")
|
|
14292
|
+
@cli_util.option('--pluggable-database-id', required=True, help=u"""The [OCID] of the Exadata Pluggable Database.""")
|
|
14293
|
+
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].
|
|
14294
|
+
|
|
14295
|
+
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14296
|
+
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags].""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
14297
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAILED"]), 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.""")
|
|
14298
|
+
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
14299
|
+
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
14300
|
+
@json_skeleton_utils.get_cli_json_input_option({'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}})
|
|
14301
|
+
@cli_util.help_option
|
|
14302
|
+
@click.pass_context
|
|
14303
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'freeform-tags': {'module': 'database', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'database', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'database', 'class': 'PluggableDatabaseSnapshot'})
|
|
14304
|
+
@cli_util.wrap_exceptions
|
|
14305
|
+
def create_pluggable_database_snapshot(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, pluggable_database_id, freeform_tags, defined_tags):
|
|
14306
|
+
|
|
14307
|
+
kwargs = {}
|
|
14308
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
14309
|
+
|
|
14310
|
+
_details = {}
|
|
14311
|
+
_details['name'] = name
|
|
14312
|
+
_details['pluggableDatabaseId'] = pluggable_database_id
|
|
14313
|
+
|
|
14314
|
+
if freeform_tags is not None:
|
|
14315
|
+
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
14316
|
+
|
|
14317
|
+
if defined_tags is not None:
|
|
14318
|
+
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
14319
|
+
|
|
14320
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
14321
|
+
result = client.create_pluggable_database_snapshot(
|
|
14322
|
+
create_pluggable_database_snapshot_details=_details,
|
|
14323
|
+
**kwargs
|
|
14324
|
+
)
|
|
14325
|
+
if wait_for_state:
|
|
14326
|
+
|
|
14327
|
+
if hasattr(client, 'get_pluggable_database_snapshot') and callable(getattr(client, 'get_pluggable_database_snapshot')):
|
|
14328
|
+
try:
|
|
14329
|
+
wait_period_kwargs = {}
|
|
14330
|
+
if max_wait_seconds is not None:
|
|
14331
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
14332
|
+
if wait_interval_seconds is not None:
|
|
14333
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
14334
|
+
|
|
14335
|
+
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
14336
|
+
result = oci.wait_until(client, client.get_pluggable_database_snapshot(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
14337
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
14338
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
14339
|
+
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
14340
|
+
cli_util.render_response(result, ctx)
|
|
14341
|
+
sys.exit(2)
|
|
14342
|
+
except Exception:
|
|
14343
|
+
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
14344
|
+
cli_util.render_response(result, ctx)
|
|
14345
|
+
raise
|
|
14346
|
+
else:
|
|
14347
|
+
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
14348
|
+
cli_util.render_response(result, ctx)
|
|
14349
|
+
|
|
14350
|
+
|
|
14275
14351
|
@scheduled_action_group.command(name=cli_util.override('db.create_scheduled_action.command_name', 'create'), help=u"""Creates a Scheduled Action resource. \n[Command Reference](createScheduledAction)""")
|
|
14276
14352
|
@cli_util.option('--action-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["DB_SERVER_FULL_SOFTWARE_UPDATE", "STORAGE_SERVER_FULL_SOFTWARE_UPDATE", "NETWORK_SWITCH_FULL_SOFTWARE_UPDATE"]), help=u"""The type of the scheduled action being performed""")
|
|
14277
14353
|
@cli_util.option('--scheduling-plan-id', required=True, help=u"""The [OCID] of the Scheduling Plan.""")
|
|
@@ -16419,6 +16495,63 @@ def delete_pluggable_database(ctx, from_json, wait_for_state, max_wait_seconds,
|
|
|
16419
16495
|
cli_util.render_response(result, ctx)
|
|
16420
16496
|
|
|
16421
16497
|
|
|
16498
|
+
@pluggable_database_snapshot_group.command(name=cli_util.override('db.delete_pluggable_database_snapshot.command_name', 'delete'), help=u"""Deletes the specified Exadata Pluggable Database Snapshot. \n[Command Reference](deletePluggableDatabaseSnapshot)""")
|
|
16499
|
+
@cli_util.option('--pluggable-database-snapshot-id', required=True, help=u"""The Exadata Pluggable Database Snapshot [OCID].""")
|
|
16500
|
+
@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.""")
|
|
16501
|
+
@cli_util.confirm_delete_option
|
|
16502
|
+
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), 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.""")
|
|
16503
|
+
@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.""")
|
|
16504
|
+
@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.""")
|
|
16505
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
16506
|
+
@cli_util.help_option
|
|
16507
|
+
@click.pass_context
|
|
16508
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
16509
|
+
@cli_util.wrap_exceptions
|
|
16510
|
+
def delete_pluggable_database_snapshot(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, pluggable_database_snapshot_id, if_match):
|
|
16511
|
+
|
|
16512
|
+
if isinstance(pluggable_database_snapshot_id, six.string_types) and len(pluggable_database_snapshot_id.strip()) == 0:
|
|
16513
|
+
raise click.UsageError('Parameter --pluggable-database-snapshot-id cannot be whitespace or empty string')
|
|
16514
|
+
|
|
16515
|
+
kwargs = {}
|
|
16516
|
+
if if_match is not None:
|
|
16517
|
+
kwargs['if_match'] = if_match
|
|
16518
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
16519
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
16520
|
+
result = client.delete_pluggable_database_snapshot(
|
|
16521
|
+
pluggable_database_snapshot_id=pluggable_database_snapshot_id,
|
|
16522
|
+
**kwargs
|
|
16523
|
+
)
|
|
16524
|
+
work_request_client = cli_util.build_client('work_requests', 'work_request', ctx)
|
|
16525
|
+
if wait_for_state:
|
|
16526
|
+
|
|
16527
|
+
if hasattr(work_request_client, 'get_work_request') and callable(getattr(work_request_client, 'get_work_request')):
|
|
16528
|
+
try:
|
|
16529
|
+
wait_period_kwargs = {}
|
|
16530
|
+
if max_wait_seconds is not None:
|
|
16531
|
+
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
16532
|
+
if wait_interval_seconds is not None:
|
|
16533
|
+
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
16534
|
+
if 'opc-work-request-id' not in result.headers:
|
|
16535
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
16536
|
+
cli_util.render_response(result, ctx)
|
|
16537
|
+
return
|
|
16538
|
+
|
|
16539
|
+
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
16540
|
+
result = oci.wait_until(work_request_client, work_request_client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
16541
|
+
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
16542
|
+
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
16543
|
+
click.echo('Failed to wait until the work request entered the specified state. Please retrieve the work request to find its current state', file=sys.stderr)
|
|
16544
|
+
cli_util.render_response(result, ctx)
|
|
16545
|
+
sys.exit(2)
|
|
16546
|
+
except Exception:
|
|
16547
|
+
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
16548
|
+
cli_util.render_response(result, ctx)
|
|
16549
|
+
raise
|
|
16550
|
+
else:
|
|
16551
|
+
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
16552
|
+
cli_util.render_response(result, ctx)
|
|
16553
|
+
|
|
16554
|
+
|
|
16422
16555
|
@scheduled_action_group.command(name=cli_util.override('db.delete_scheduled_action.command_name', 'delete'), help=u"""Deletes the scheduled action. \n[Command Reference](deleteScheduledAction)""")
|
|
16423
16556
|
@cli_util.option('--scheduled-action-id', required=True, help=u"""The Scheduled Action [OCID].""")
|
|
16424
16557
|
@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.""")
|
|
@@ -20543,6 +20676,28 @@ def get_pluggable_database(ctx, from_json, pluggable_database_id):
|
|
|
20543
20676
|
cli_util.render_response(result, ctx)
|
|
20544
20677
|
|
|
20545
20678
|
|
|
20679
|
+
@pluggable_database_snapshot_group.command(name=cli_util.override('db.get_pluggable_database_snapshot.command_name', 'get'), help=u"""Gets information about the specified Exadata Pluggable Database Snapshot in the specified compartment. \n[Command Reference](getPluggableDatabaseSnapshot)""")
|
|
20680
|
+
@cli_util.option('--pluggable-database-snapshot-id', required=True, help=u"""The Exadata Pluggable Database Snapshot [OCID].""")
|
|
20681
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
20682
|
+
@cli_util.help_option
|
|
20683
|
+
@click.pass_context
|
|
20684
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'PluggableDatabaseSnapshot'})
|
|
20685
|
+
@cli_util.wrap_exceptions
|
|
20686
|
+
def get_pluggable_database_snapshot(ctx, from_json, pluggable_database_snapshot_id):
|
|
20687
|
+
|
|
20688
|
+
if isinstance(pluggable_database_snapshot_id, six.string_types) and len(pluggable_database_snapshot_id.strip()) == 0:
|
|
20689
|
+
raise click.UsageError('Parameter --pluggable-database-snapshot-id cannot be whitespace or empty string')
|
|
20690
|
+
|
|
20691
|
+
kwargs = {}
|
|
20692
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
20693
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
20694
|
+
result = client.get_pluggable_database_snapshot(
|
|
20695
|
+
pluggable_database_snapshot_id=pluggable_database_snapshot_id,
|
|
20696
|
+
**kwargs
|
|
20697
|
+
)
|
|
20698
|
+
cli_util.render_response(result, ctx)
|
|
20699
|
+
|
|
20700
|
+
|
|
20546
20701
|
@scheduled_action_group.command(name=cli_util.override('db.get_scheduled_action.command_name', 'get'), help=u"""Gets information about the specified Scheduled Action. \n[Command Reference](getScheduledAction)""")
|
|
20547
20702
|
@cli_util.option('--scheduled-action-id', required=True, help=u"""The Scheduled Action [OCID].""")
|
|
20548
20703
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -25902,6 +26057,71 @@ def list_pdb_conversion_history_entries(ctx, from_json, all_pages, page_size, da
|
|
|
25902
26057
|
cli_util.render_response(result, ctx)
|
|
25903
26058
|
|
|
25904
26059
|
|
|
26060
|
+
@pluggable_database_snapshot_group.command(name=cli_util.override('db.list_pluggable_database_snapshots.command_name', 'list'), help=u"""Gets a list of the Exadata Pluggable Database Snapshots in the specified compartment. \n[Command Reference](listPluggableDatabaseSnapshots)""")
|
|
26061
|
+
@cli_util.option('--compartment-id', help=u"""The compartment [OCID].""")
|
|
26062
|
+
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return per page.""")
|
|
26063
|
+
@cli_util.option('--page', help=u"""The pagination token to continue listing from.""")
|
|
26064
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["TIMECREATED", "NAME"]), help=u"""The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for NAME is ascending. The NAME sort order is case sensitive.""")
|
|
26065
|
+
@cli_util.option('--name', help=u"""A filter to return only resources that match the entire name given. The match is not case sensitive.""")
|
|
26066
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
26067
|
+
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAILED"]), help=u"""A filter to return only Exadata Pluggable Database Snapshots that match the given lifecycle state exactly.""")
|
|
26068
|
+
@cli_util.option('--cluster-id', help=u"""A filter to return only Exadata Database Node Snapshots that match the given VM cluster.""")
|
|
26069
|
+
@cli_util.option('--pluggable-database-id', help=u"""A filter to return only Exadata Pluggable Database Snapshots that match the given database [OCID].""")
|
|
26070
|
+
@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.""")
|
|
26071
|
+
@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.""")
|
|
26072
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
26073
|
+
@cli_util.help_option
|
|
26074
|
+
@click.pass_context
|
|
26075
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[PluggableDatabaseSnapshotSummary]'})
|
|
26076
|
+
@cli_util.wrap_exceptions
|
|
26077
|
+
def list_pluggable_database_snapshots(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_by, name, sort_order, lifecycle_state, cluster_id, pluggable_database_id):
|
|
26078
|
+
|
|
26079
|
+
if all_pages and limit:
|
|
26080
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
26081
|
+
|
|
26082
|
+
kwargs = {}
|
|
26083
|
+
if compartment_id is not None:
|
|
26084
|
+
kwargs['compartment_id'] = compartment_id
|
|
26085
|
+
if limit is not None:
|
|
26086
|
+
kwargs['limit'] = limit
|
|
26087
|
+
if page is not None:
|
|
26088
|
+
kwargs['page'] = page
|
|
26089
|
+
if sort_by is not None:
|
|
26090
|
+
kwargs['sort_by'] = sort_by
|
|
26091
|
+
if name is not None:
|
|
26092
|
+
kwargs['name'] = name
|
|
26093
|
+
if sort_order is not None:
|
|
26094
|
+
kwargs['sort_order'] = sort_order
|
|
26095
|
+
if lifecycle_state is not None:
|
|
26096
|
+
kwargs['lifecycle_state'] = lifecycle_state
|
|
26097
|
+
if cluster_id is not None:
|
|
26098
|
+
kwargs['cluster_id'] = cluster_id
|
|
26099
|
+
if pluggable_database_id is not None:
|
|
26100
|
+
kwargs['pluggable_database_id'] = pluggable_database_id
|
|
26101
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
26102
|
+
client = cli_util.build_client('database', 'database', ctx)
|
|
26103
|
+
if all_pages:
|
|
26104
|
+
if page_size:
|
|
26105
|
+
kwargs['limit'] = page_size
|
|
26106
|
+
|
|
26107
|
+
result = cli_util.list_call_get_all_results(
|
|
26108
|
+
client.list_pluggable_database_snapshots,
|
|
26109
|
+
**kwargs
|
|
26110
|
+
)
|
|
26111
|
+
elif limit is not None:
|
|
26112
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
26113
|
+
client.list_pluggable_database_snapshots,
|
|
26114
|
+
limit,
|
|
26115
|
+
page_size,
|
|
26116
|
+
**kwargs
|
|
26117
|
+
)
|
|
26118
|
+
else:
|
|
26119
|
+
result = client.list_pluggable_database_snapshots(
|
|
26120
|
+
**kwargs
|
|
26121
|
+
)
|
|
26122
|
+
cli_util.render_response(result, ctx)
|
|
26123
|
+
|
|
26124
|
+
|
|
25905
26125
|
@pluggable_database_group.command(name=cli_util.override('db.list_pluggable_databases.command_name', 'list'), help=u"""Gets a list of the pluggable databases in a database or compartment. You must provide either a `databaseId` or `compartmentId` value. \n[Command Reference](listPluggableDatabases)""")
|
|
25906
26126
|
@cli_util.option('--compartment-id', help=u"""The compartment [OCID].""")
|
|
25907
26127
|
@cli_util.option('--database-id', help=u"""The [OCID] of the database.""")
|
|
@@ -4754,7 +4754,7 @@ def create_or_update_git_ref_create_or_update_git_tag_details(ctx, from_json, wa
|
|
|
4754
4754
|
|
|
4755
4755
|
@protected_branch_group.command(name=cli_util.override('devops.create_or_update_protected_branch.command_name', 'create-or-update'), help=u"""Creates a restriction on a branch that prevents certain actions on it. \n[Command Reference](createOrUpdateProtectedBranch)""")
|
|
4756
4756
|
@cli_util.option('--repository-id', required=True, help=u"""Unique repository identifier.""")
|
|
4757
|
-
@cli_util.option('--branch-name', required=True, help=u"""
|
|
4757
|
+
@cli_util.option('--branch-name', required=True, help=u"""The branchName can either be exact branch name or branch pattern.""")
|
|
4758
4758
|
@cli_util.option('--protection-levels', type=custom_types.CliCaseInsensitiveChoice(["READ_ONLY", "PULL_REQUEST_MERGE_ONLY"]), help=u"""Level of protection to add on a branch.""")
|
|
4759
4759
|
@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.""")
|
|
4760
4760
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
@@ -6290,7 +6290,7 @@ def delete_project_repository_settings(ctx, from_json, project_id, if_match):
|
|
|
6290
6290
|
|
|
6291
6291
|
@protected_branch_group.command(name=cli_util.override('devops.delete_protected_branch.command_name', 'delete'), help=u"""Removes the protection from a branch \n[Command Reference](deleteProtectedBranch)""")
|
|
6292
6292
|
@cli_util.option('--repository-id', required=True, help=u"""Unique repository identifier.""")
|
|
6293
|
-
@cli_util.option('--branch-name', required=True, help=u"""
|
|
6293
|
+
@cli_util.option('--branch-name', required=True, help=u"""The branchName can either be exact branch name or branch pattern.""")
|
|
6294
6294
|
@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.""")
|
|
6295
6295
|
@json_skeleton_utils.get_cli_json_input_option({})
|
|
6296
6296
|
@cli_util.help_option
|
|
@@ -10205,6 +10205,66 @@ def reopen_pull_request(ctx, from_json, wait_for_state, max_wait_seconds, wait_i
|
|
|
10205
10205
|
cli_util.render_response(result, ctx)
|
|
10206
10206
|
|
|
10207
10207
|
|
|
10208
|
+
@pull_request_group.command(name=cli_util.override('devops.reopen_pull_request_comment.command_name', 'reopen-pull-request-comment'), help=u"""Reopen a PullRequest Comment \n[Command Reference](reopenPullRequestComment)""")
|
|
10209
|
+
@cli_util.option('--pull-request-id', required=True, help=u"""unique PullRequest identifier""")
|
|
10210
|
+
@cli_util.option('--comment-id', required=True, help=u"""unique PullRequest Comment identifier""")
|
|
10211
|
+
@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.""")
|
|
10212
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
10213
|
+
@cli_util.help_option
|
|
10214
|
+
@click.pass_context
|
|
10215
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'devops', 'class': 'PullRequestComment'})
|
|
10216
|
+
@cli_util.wrap_exceptions
|
|
10217
|
+
def reopen_pull_request_comment(ctx, from_json, pull_request_id, comment_id, if_match):
|
|
10218
|
+
|
|
10219
|
+
if isinstance(pull_request_id, six.string_types) and len(pull_request_id.strip()) == 0:
|
|
10220
|
+
raise click.UsageError('Parameter --pull-request-id cannot be whitespace or empty string')
|
|
10221
|
+
|
|
10222
|
+
if isinstance(comment_id, six.string_types) and len(comment_id.strip()) == 0:
|
|
10223
|
+
raise click.UsageError('Parameter --comment-id cannot be whitespace or empty string')
|
|
10224
|
+
|
|
10225
|
+
kwargs = {}
|
|
10226
|
+
if if_match is not None:
|
|
10227
|
+
kwargs['if_match'] = if_match
|
|
10228
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
10229
|
+
client = cli_util.build_client('devops', 'devops', ctx)
|
|
10230
|
+
result = client.reopen_pull_request_comment(
|
|
10231
|
+
pull_request_id=pull_request_id,
|
|
10232
|
+
comment_id=comment_id,
|
|
10233
|
+
**kwargs
|
|
10234
|
+
)
|
|
10235
|
+
cli_util.render_response(result, ctx)
|
|
10236
|
+
|
|
10237
|
+
|
|
10238
|
+
@pull_request_group.command(name=cli_util.override('devops.resolve_pull_request_comment.command_name', 'resolve-pull-request-comment'), help=u"""Resolve a PullRequest Comment \n[Command Reference](resolvePullRequestComment)""")
|
|
10239
|
+
@cli_util.option('--pull-request-id', required=True, help=u"""unique PullRequest identifier""")
|
|
10240
|
+
@cli_util.option('--comment-id', required=True, help=u"""unique PullRequest Comment identifier""")
|
|
10241
|
+
@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.""")
|
|
10242
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
10243
|
+
@cli_util.help_option
|
|
10244
|
+
@click.pass_context
|
|
10245
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'devops', 'class': 'PullRequestComment'})
|
|
10246
|
+
@cli_util.wrap_exceptions
|
|
10247
|
+
def resolve_pull_request_comment(ctx, from_json, pull_request_id, comment_id, if_match):
|
|
10248
|
+
|
|
10249
|
+
if isinstance(pull_request_id, six.string_types) and len(pull_request_id.strip()) == 0:
|
|
10250
|
+
raise click.UsageError('Parameter --pull-request-id cannot be whitespace or empty string')
|
|
10251
|
+
|
|
10252
|
+
if isinstance(comment_id, six.string_types) and len(comment_id.strip()) == 0:
|
|
10253
|
+
raise click.UsageError('Parameter --comment-id cannot be whitespace or empty string')
|
|
10254
|
+
|
|
10255
|
+
kwargs = {}
|
|
10256
|
+
if if_match is not None:
|
|
10257
|
+
kwargs['if_match'] = if_match
|
|
10258
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
10259
|
+
client = cli_util.build_client('devops', 'devops', ctx)
|
|
10260
|
+
result = client.resolve_pull_request_comment(
|
|
10261
|
+
pull_request_id=pull_request_id,
|
|
10262
|
+
comment_id=comment_id,
|
|
10263
|
+
**kwargs
|
|
10264
|
+
)
|
|
10265
|
+
cli_util.render_response(result, ctx)
|
|
10266
|
+
|
|
10267
|
+
|
|
10208
10268
|
@pull_request_group.command(name=cli_util.override('devops.review_pull_request.command_name', 'review'), help=u"""Review a PullRequest \n[Command Reference](reviewPullRequest)""")
|
|
10209
10269
|
@cli_util.option('--pull-request-id', required=True, help=u"""unique PullRequest identifier""")
|
|
10210
10270
|
@cli_util.option('--action', required=True, type=custom_types.CliCaseInsensitiveChoice(["APPROVE", "UNAPPROVE"]), help=u"""The review action taken""")
|