oci-cli 3.63.2__py3-none-any.whl → 3.64.0__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/multicloud.psm1 +53 -0
- 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 +35 -1
- oci_cli/help_text_producer/data_files/text/cmdref/data-safe/security-assessment/list-findings.txt +33 -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/database/create-standby-database.txt +114 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error/{list-errors.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-error.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/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/email-data-plane/email-raw-submitted-response/submit-raw-email.txt +128 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email-data-plane/email-raw-submitted-response.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/email-data-plane.txt +4 -0
- 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-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/{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 +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/multicloud/metadata/external-location-mapping-metadatum-summary-collection/list-external-location-mapping-metadata.txt +167 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-mapping-metadatum-summary-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection/list-external-location-summaries-metadata.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-location-summaries-metadatum-summary-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-locations-metadatum-collection/list-external-location-details-metadata.txt +216 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata/external-locations-metadatum-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/metadata.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata/get.txt +96 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata-collection/list-multi-cloud-metadata.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata/multi-cloud-metadata.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/multi-clouds-metadata.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor/get.txt +111 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor-collection/list-network-anchors.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor/network-anchor.txt +19 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-network-anchor.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor/get.txt +106 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor-collection/list-resource-anchors.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor/resource-anchor.txt +19 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud/omhub-resource-anchor.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/multicloud.txt +58 -0
- 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/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/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 +5 -4
- 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/help_text_producer/data_files/text/index.txt +2 -0
- oci_cli/service_mapping.py +5 -0
- oci_cli/version.py +1 -1
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/METADATA +2 -2
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/RECORD +340 -169
- 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 +16 -14
- services/data_safe/src/oci_cli_data_safe/generated/datasafe_cli.py +3822 -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 +16 -1
- services/devops/src/oci_cli_devops/generated/devops_cli.py +62 -2
- services/email_data_plane/src/oci_cli_email_dp/generated/emaildp_cli.py +41 -0
- 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/multicloud/__init__.py +4 -0
- services/multicloud/src/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_metadata/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_metadata/generated/metadata_cli.py +239 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/__init__.py +4 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_multi_clouds_metadata/generated/multicloudsmetadata_cli.py +117 -0
- services/multicloud/src/oci_cli_multicloud/__init__.py +4 -0
- services/multicloud/src/oci_cli_multicloud/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_multicloud/generated/multicloud_service_cli.py +14 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_omhub_network_anchor/generated/omhubnetworkanchor_cli.py +150 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/__init__.py +4 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/client_mappings.py +14 -0
- services/multicloud/src/oci_cli_omhub_resource_anchor/generated/omhubresourceanchor_cli.py +143 -0
- services/multicloud/tests/__init__.py +4 -0
- 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.2.dist-info → oci_cli-3.64.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.63.2.dist-info → oci_cli-3.64.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
|
|
3
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
4
|
|
|
5
|
+
import io
|
|
6
|
+
import os.path
|
|
7
|
+
|
|
5
8
|
import click
|
|
6
9
|
import json
|
|
7
10
|
from services.cims.src.oci_cli_incident.generated import incident_cli
|
|
@@ -10,6 +13,7 @@ from services.cims.src.oci_cli_incident.generated.incident_cli import incident_g
|
|
|
10
13
|
from oci_cli import custom_types
|
|
11
14
|
from oci_cli import json_skeleton_utils
|
|
12
15
|
|
|
16
|
+
from src.oci_cli import cli_exceptions
|
|
13
17
|
|
|
14
18
|
# remove update-incident stand-alone command
|
|
15
19
|
# incident_cli.incident_root_group.commands.pop(incident_cli.update_incident_group.name)
|
|
@@ -26,16 +30,23 @@ cli_util.rename_command(incident_cli, incident_group, incident_cli.update_incide
|
|
|
26
30
|
|
|
27
31
|
# modify csi parameter to be required for incident create, and flatten JSON parameter for ticket to be required params.
|
|
28
32
|
@cli_util.copy_params_from_generated_command(incident_cli.create_incident, params_to_exclude=['csi', 'ticket'])
|
|
29
|
-
@incident_cli.incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'),
|
|
33
|
+
@incident_cli.incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'),
|
|
34
|
+
help=u"""This API enables the customer to Create an Incident""")
|
|
30
35
|
@cli_util.option('--csi', required=True, help=u'''Customer Support Identifier''')
|
|
31
|
-
@cli_util.option('--severity', required=True,
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
@cli_util.option('--severity', required=True,
|
|
37
|
+
type=custom_types.CliCaseInsensitiveChoice(["LOW", "MEDIUM", "HGIH", "HIGHEST"]),
|
|
38
|
+
help=u"""States severity level of incident. Acceptable values are LOW, MEDIUM, HIGH, HIGHEST. Please note for HIGHEST: Oracle Support requires a 24x7 contact be provided so additional information can be requested as needed 24x7.)""")
|
|
39
|
+
@cli_util.option('--title', required=True,
|
|
40
|
+
help=u"""Title for the SR. Should be a high level description of issue. eg: Cannot connect to instance""")
|
|
41
|
+
@cli_util.option('--description', required=True,
|
|
42
|
+
help=u"""This should be the description of the SR with a more granular level of detail as to what the problem you are facing is. eg: I cannot connect to my compute instance. I have tried ssh, ping, traceroute, and provide the results of those.""")
|
|
34
43
|
@click.pass_context
|
|
35
|
-
@json_skeleton_utils.json_skeleton_generation_handler(
|
|
44
|
+
@json_skeleton_utils.json_skeleton_generation_handler(
|
|
45
|
+
input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'CreateTicketDetails'},
|
|
46
|
+
'contacts': {'module': 'cims', 'class': 'list[Contact]'}},
|
|
47
|
+
output_type={'module': 'cims', 'class': 'Incident'})
|
|
36
48
|
@cli_util.wrap_exceptions
|
|
37
49
|
def create_incident_extended(ctx, **kwargs):
|
|
38
|
-
|
|
39
50
|
ticket = {}
|
|
40
51
|
if 'severity' in kwargs:
|
|
41
52
|
ticket['severity'] = kwargs['severity']
|
|
@@ -56,16 +67,30 @@ def create_incident_extended(ctx, **kwargs):
|
|
|
56
67
|
|
|
57
68
|
|
|
58
69
|
# modify update incident to flatten ticket parameter to required params.
|
|
59
|
-
@cli_util.copy_params_from_generated_command(incident_cli.update_incident, params_to_exclude=['ticket'])
|
|
60
|
-
@incident_cli.incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update'),
|
|
61
|
-
|
|
62
|
-
@cli_util.option('--
|
|
63
|
-
|
|
70
|
+
@cli_util.copy_params_from_generated_command(incident_cli.update_incident, params_to_exclude=['ticket', 'comments'])
|
|
71
|
+
@incident_cli.incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update'),
|
|
72
|
+
help=u"""This API enables the customer to Update an Incident""")
|
|
73
|
+
@cli_util.option('--activity-type', required=True,
|
|
74
|
+
help=u"""This is the action to be taken on the ticket. Acceptable values are (CASE SENSITIVE) NOTES, EMAIL_OUTBOUND, EMAIL_INBOUND, CLOSE, UPDATE, PROBLEM_DESCRIPTION, ADD_CONTACT""")
|
|
75
|
+
@cli_util.option('--type', required=True,
|
|
76
|
+
help=u"""Valid types are activity and contact. To add additional contact to the Service Request, use contact as type.""")
|
|
77
|
+
@cli_util.option('--comments', required=False,
|
|
78
|
+
help=u"""String text field with the comment you wish to add to the ticket. comments field is mandatory when --type is activity. Must put the string in quotes.""")
|
|
79
|
+
@cli_util.option('--contact', required=False,
|
|
80
|
+
help=u"""Email of the additional contact to be added to a Service request. contact field is mandatory when --type is contact.""")
|
|
64
81
|
@click.pass_context
|
|
65
|
-
@json_skeleton_utils.json_skeleton_generation_handler(
|
|
82
|
+
@json_skeleton_utils.json_skeleton_generation_handler(
|
|
83
|
+
input_params_to_complex_types={'ticket': {'module': 'cims', 'class': 'UpdateTicketDetails'}},
|
|
84
|
+
output_type={'module': 'cims', 'class': 'Incident'})
|
|
66
85
|
@cli_util.wrap_exceptions
|
|
67
86
|
def update_incident_extended(ctx, **kwargs):
|
|
68
87
|
|
|
88
|
+
if kwargs['comments'] and kwargs['contact']:
|
|
89
|
+
raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('Cannot specify both --comments and --contact')
|
|
90
|
+
|
|
91
|
+
if not kwargs['comments'] and not kwargs['contact']:
|
|
92
|
+
raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('Must specify either --comments or --contacts')
|
|
93
|
+
|
|
69
94
|
ticket = {}
|
|
70
95
|
|
|
71
96
|
if 'activity_type' in kwargs:
|
|
@@ -77,11 +102,42 @@ def update_incident_extended(ctx, **kwargs):
|
|
|
77
102
|
if 'type' in kwargs:
|
|
78
103
|
ticket['type'] = kwargs['type']
|
|
79
104
|
|
|
80
|
-
|
|
105
|
+
if 'contact' in kwargs:
|
|
106
|
+
ticket['contact'] = kwargs['contact']
|
|
107
|
+
|
|
108
|
+
if kwargs['type'] == 'contact':
|
|
109
|
+
ticket = {'resource': {
|
|
110
|
+
'item': {'activityType': kwargs['activity_type'], 'contact': kwargs['contact'], 'type': kwargs['type']}}}
|
|
111
|
+
elif kwargs['type'] == 'activity':
|
|
112
|
+
ticket = {'resource': {
|
|
113
|
+
'item': {'activityType': kwargs['activity_type'], 'comments': kwargs['comments'], 'type': kwargs['type']}}}
|
|
114
|
+
else:
|
|
115
|
+
raise cli_exceptions.RequiredValueNotInDefaultOrUserInputError('--type must be either activity or contact')
|
|
116
|
+
|
|
81
117
|
kwargs['ticket'] = json.dumps(ticket)
|
|
82
118
|
|
|
83
119
|
kwargs.pop('activity_type')
|
|
84
|
-
kwargs.pop('comments')
|
|
85
120
|
kwargs.pop('type')
|
|
121
|
+
kwargs.pop('comments')
|
|
122
|
+
kwargs.pop('contact')
|
|
86
123
|
|
|
87
124
|
ctx.invoke(incident_cli.update_incident, **kwargs)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@cli_util.copy_params_from_generated_command(incident_cli.put_attachment, params_to_exclude=['attachment_name', 'put_attachment_details'])
|
|
128
|
+
@incident_group.command(name=cli_util.override('support.put_attachment.command_name', 'put-attachment'), help=u"""Uploads the file and attaches it to the support request. \n[Command Reference](putAttachment)""")
|
|
129
|
+
@cli_util.option('--file', required=True, type=click.File('rb'),
|
|
130
|
+
help=u"""File to be uploaded as attachment to the Service Request.""")
|
|
131
|
+
@click.pass_context
|
|
132
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={},
|
|
133
|
+
output_type={'module': 'cims', 'class': 'Incident'})
|
|
134
|
+
@cli_util.wrap_exceptions
|
|
135
|
+
def put_attachment_extended(ctx, **kwargs):
|
|
136
|
+
if 'file' in kwargs:
|
|
137
|
+
attachment_file_path = kwargs['file']
|
|
138
|
+
kwargs['attachment_name'] = os.path.basename(attachment_file_path.name)
|
|
139
|
+
file_content = bytearray(attachment_file_path.read())
|
|
140
|
+
kwargs['put_attachment_details'] = io.BytesIO(file_content)
|
|
141
|
+
|
|
142
|
+
kwargs.pop('file')
|
|
143
|
+
ctx.invoke(incident_cli.put_attachment, **kwargs)
|
|
@@ -26,7 +26,7 @@ def support_root_group():
|
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
@click.command(cli_util.override('support.update_incident_group.command_name', 'update-incident'), cls=CommandGroupWithAlias, help="""Details about the support
|
|
29
|
+
@click.command(cli_util.override('support.update_incident_group.command_name', 'update-incident'), cls=CommandGroupWithAlias, help="""Details about the support request being updated.""")
|
|
30
30
|
@cli_util.help_option_group
|
|
31
31
|
def update_incident_group():
|
|
32
32
|
pass
|
|
@@ -44,7 +44,7 @@ def validation_response_group():
|
|
|
44
44
|
pass
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
@click.command(cli_util.override('support.incident_group.command_name', 'incident'), cls=CommandGroupWithAlias, help="""Details about the support
|
|
47
|
+
@click.command(cli_util.override('support.incident_group.command_name', 'incident'), cls=CommandGroupWithAlias, help="""Details about the support request.""")
|
|
48
48
|
@cli_util.help_option_group
|
|
49
49
|
def incident_group():
|
|
50
50
|
pass
|
|
@@ -56,16 +56,16 @@ support_root_group.add_command(validation_response_group)
|
|
|
56
56
|
support_root_group.add_command(incident_group)
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
@incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'), help=u"""Creates a support
|
|
59
|
+
@incident_group.command(name=cli_util.override('support.create_incident.command_name', 'create'), help=u"""Creates a support request in the specified tenancy. For more information, see [Creating Support Requests]. \n[Command Reference](createIncident)""")
|
|
60
60
|
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
61
61
|
@cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
62
|
-
@cli_util.option('--problem-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support
|
|
63
|
-
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
64
|
-
@cli_util.option('--user-group-id', help=u"""Technical support type (`TECH`) only:
|
|
62
|
+
@cli_util.option('--problem-type', required=True, type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support request (type of support request). For information about `ACCOUNT` support requests, see [Creating a Billing Support Request]. For information about `LIMIT` support requests, see [Creating a Service Limit Increase Request]. For information about `TECH` support requests, see [Creating a Technical Support Request].""")
|
|
63
|
+
@cli_util.option('--csi', help=u"""Deprecated. The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
64
|
+
@cli_util.option('--user-group-id', help=u"""Technical support type (`TECH`) only: Identifier of the user group to assign the new support request to. To find identifiers of user groups that you have access to, run the [ValidateUser] operation. Note: The Customer User Administrator (CUA) can manage user groups by name using [My Oracle Cloud Support portal].""")
|
|
65
65
|
@cli_util.option('--contacts', type=custom_types.CLI_COMPLEX_TYPE, help=u"""The list of contacts.
|
|
66
66
|
|
|
67
67
|
This option is a JSON list with items of type Contact. For documentation on Contact please see our API reference: https://docs.cloud.oracle.com/api/#/en/incident/20181231/datatypes/Contact.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
68
|
-
@cli_util.option('--referrer', help=u"""The incident referrer. This value is often the URL that the customer used when creating the support
|
|
68
|
+
@cli_util.option('--referrer', help=u"""The incident referrer. This value is often the URL that the customer used when creating the support request.""")
|
|
69
69
|
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
|
|
70
70
|
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
|
|
71
71
|
@cli_util.option('--bearertokentype', help=u"""Token type that determine which cloud provider the request come from.""")
|
|
@@ -119,8 +119,8 @@ def create_incident(ctx, from_json, compartment_id, ticket, problem_type, csi, u
|
|
|
119
119
|
cli_util.render_response(result, ctx)
|
|
120
120
|
|
|
121
121
|
|
|
122
|
-
@incident_group.command(name=cli_util.override('support.get_incident.command_name', 'get'), help=u"""Gets the specified support
|
|
123
|
-
@cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support
|
|
122
|
+
@incident_group.command(name=cli_util.override('support.get_incident.command_name', 'get'), help=u"""Gets the specified support request. For more information, see [Getting Details for a Support Request]. \n[Command Reference](getIncident)""")
|
|
123
|
+
@cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
|
|
124
124
|
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
125
125
|
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
126
126
|
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
|
|
@@ -167,14 +167,14 @@ def get_incident(ctx, from_json, incident_key, compartment_id, csi, ocid, homere
|
|
|
167
167
|
cli_util.render_response(result, ctx)
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
@incident_resource_type_group.command(name=cli_util.override('support.list_incident_resource_types.command_name', 'list'), help=u"""Depending on the selected `productType`, either lists available products (service groups, services, service categories, and subcategories) for technical support
|
|
170
|
+
@incident_resource_type_group.command(name=cli_util.override('support.list_incident_resource_types.command_name', 'list'), help=u"""Depending on the selected `productType`, either lists available products (service groups, services, service categories, and subcategories) for technical support requests or lists limits and current usage for limit increase tickets. This operation is called during creation of technical support and limit increase tickets. For more information about listing products, see [Listing Products for Support Requests]. For more information about listing limits, see [Listing Limits for Service Limit Increase Requests]. \n[Command Reference](listIncidentResourceTypes)""")
|
|
171
171
|
@cli_util.option('--problem-type', required=True, help=u"""The kind of support request.""")
|
|
172
172
|
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
173
173
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
174
174
|
@cli_util.option('--page', help=u"""For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
175
175
|
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["dateUpdated", "severity"]), help=u"""The key to use to sort the returned items.""")
|
|
176
176
|
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The order to sort the results in.""")
|
|
177
|
-
@cli_util.option('--name', help=u"""The user-friendly name of the support
|
|
177
|
+
@cli_util.option('--name', help=u"""The user-friendly name of the support request type.""")
|
|
178
178
|
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
179
179
|
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
|
|
180
180
|
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
|
|
@@ -240,7 +240,7 @@ def list_incident_resource_types(ctx, from_json, all_pages, page_size, problem_t
|
|
|
240
240
|
cli_util.render_response(result, ctx)
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
@incident_group.command(name=cli_util.override('support.list_incidents.command_name', 'list'), help=u"""Lists support
|
|
243
|
+
@incident_group.command(name=cli_util.override('support.list_incidents.command_name', 'list'), help=u"""Lists support requests for the specified tenancy. For more information, see [Listing Support Requests]. \n[Command Reference](listIncidents)""")
|
|
244
244
|
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
245
245
|
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
246
246
|
@cli_util.option('--limit', type=click.INT, help=u"""For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination].""")
|
|
@@ -321,11 +321,72 @@ def list_incidents(ctx, from_json, all_pages, page_size, compartment_id, csi, li
|
|
|
321
321
|
cli_util.render_response(result, ctx)
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
@
|
|
325
|
-
@cli_util.option('--
|
|
324
|
+
@incident_group.command(name=cli_util.override('support.put_attachment.command_name', 'put-attachment'), help=u"""Uploads the file and attaches it to the support request. \n[Command Reference](putAttachment)""")
|
|
325
|
+
@cli_util.option('--put-attachment-details', required=True, help=u"""File to be uploaded as attachment to the Service Request.""")
|
|
326
|
+
@cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
|
|
327
|
+
@cli_util.option('--attachment-name', required=True, help=u"""The name of the file to attach to the support request. Avoid entering confidential information.""")
|
|
328
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
329
|
+
@cli_util.option('--is-restricted-flag', required=True, type=click.BOOL, help=u"""Set to `true` when the attachment contains personal information (PI) or protected health information (PHI).""")
|
|
330
|
+
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
331
|
+
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
|
|
332
|
+
@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.""")
|
|
333
|
+
@cli_util.option('--homeregion', help=u"""The region of the tenancy.""")
|
|
334
|
+
@cli_util.option('--problemtype', help=u"""The kind of support request.""")
|
|
335
|
+
@cli_util.option('--bearertokentype', help=u"""Token type that determine which cloud provider the request come from.""")
|
|
336
|
+
@cli_util.option('--bearertoken', help=u"""Token that provided by multi cloud provider, which help to validate the email.""")
|
|
337
|
+
@cli_util.option('--idtoken', help=u"""IdToken that provided by multi cloud provider, which help to validate the email.""")
|
|
338
|
+
@cli_util.option('--domainid', help=u"""The OCID of identity domain. DomainID is mandatory if the user is part of Non Default Identity domain.""")
|
|
339
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
340
|
+
@cli_util.help_option
|
|
341
|
+
@click.pass_context
|
|
342
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'cims', 'class': 'Incident'})
|
|
343
|
+
@cli_util.wrap_exceptions
|
|
344
|
+
def put_attachment(ctx, from_json, put_attachment_details, incident_key, attachment_name, compartment_id, is_restricted_flag, csi, ocid, if_match, homeregion, problemtype, bearertokentype, bearertoken, idtoken, domainid):
|
|
345
|
+
|
|
346
|
+
if isinstance(incident_key, six.string_types) and len(incident_key.strip()) == 0:
|
|
347
|
+
raise click.UsageError('Parameter --incident-key cannot be whitespace or empty string')
|
|
348
|
+
|
|
349
|
+
kwargs = {}
|
|
350
|
+
if csi is not None:
|
|
351
|
+
kwargs['csi'] = csi
|
|
352
|
+
if ocid is not None:
|
|
353
|
+
kwargs['ocid'] = ocid
|
|
354
|
+
if if_match is not None:
|
|
355
|
+
kwargs['if_match'] = if_match
|
|
356
|
+
if homeregion is not None:
|
|
357
|
+
kwargs['homeregion'] = homeregion
|
|
358
|
+
if problemtype is not None:
|
|
359
|
+
kwargs['problemtype'] = problemtype
|
|
360
|
+
if bearertokentype is not None:
|
|
361
|
+
kwargs['bearertokentype'] = bearertokentype
|
|
362
|
+
if bearertoken is not None:
|
|
363
|
+
kwargs['bearertoken'] = bearertoken
|
|
364
|
+
if idtoken is not None:
|
|
365
|
+
kwargs['idtoken'] = idtoken
|
|
366
|
+
if domainid is not None:
|
|
367
|
+
kwargs['domainid'] = domainid
|
|
368
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
369
|
+
|
|
370
|
+
# do not automatically retry operations with binary inputs
|
|
371
|
+
kwargs['retry_strategy'] = oci.retry.NoneRetryStrategy()
|
|
372
|
+
|
|
373
|
+
client = cli_util.build_client('cims', 'incident', ctx)
|
|
374
|
+
result = client.put_attachment(
|
|
375
|
+
put_attachment_details=put_attachment_details,
|
|
376
|
+
incident_key=incident_key,
|
|
377
|
+
attachment_name=attachment_name,
|
|
378
|
+
compartment_id=compartment_id,
|
|
379
|
+
is_restricted_flag=is_restricted_flag,
|
|
380
|
+
**kwargs
|
|
381
|
+
)
|
|
382
|
+
cli_util.render_response(result, ctx)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
@update_incident_group.command(name=cli_util.override('support.update_incident.command_name', 'update-incident'), help=u"""Updates the specified support request. For more information, see [Updating Support Requests]. \n[Command Reference](updateIncident)""")
|
|
386
|
+
@cli_util.option('--incident-key', required=True, help=u"""Unique identifier for the support request.""")
|
|
326
387
|
@cli_util.option('--ticket', required=True, type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
327
388
|
@cli_util.option('--compartment-id', required=True, help=u"""The OCID of the tenancy.""")
|
|
328
|
-
@cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support
|
|
389
|
+
@cli_util.option('--problem-type', type=custom_types.CliCaseInsensitiveChoice(["LIMIT", "LEGACY_LIMIT", "TECH", "ACCOUNT", "TAXONOMY"]), help=u"""The kind of support request (type of support request). For information about `ACCOUNT` support requests, see [Creating a Billing Support Request]. For information about `LIMIT` support requests, see [Creating a Service Limit Increase Request]. For information about `TECH` support requests, see [Creating a Technical Support Request].""")
|
|
329
390
|
@cli_util.option('--csi', help=u"""The Customer Support Identifier (CSI) number associated with the support account. The CSI is optional for all support request types.""")
|
|
330
391
|
@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.""")
|
|
331
392
|
@cli_util.option('--ocid', help=u"""User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. User OCID is mandatory for OCI Users and optional for Multicloud users.""")
|