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
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.multicloud import MetadataClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["multicloud"] = oci.multicloud.models.multicloud_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("multicloud") is None:
|
|
13
|
+
CLIENT_MAP["multicloud"] = {}
|
|
14
|
+
CLIENT_MAP["multicloud"]["metadata"] = MetadataClient
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
from __future__ import print_function
|
|
7
|
+
import click
|
|
8
|
+
import oci # noqa: F401
|
|
9
|
+
import six # noqa: F401
|
|
10
|
+
import sys # noqa: F401
|
|
11
|
+
from oci_cli import cli_constants # noqa: F401
|
|
12
|
+
from oci_cli import cli_util
|
|
13
|
+
from oci_cli import json_skeleton_utils
|
|
14
|
+
from oci_cli import custom_types # noqa: F401
|
|
15
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
16
|
+
from services.multicloud.src.oci_cli_multicloud.generated import multicloud_service_cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@click.command(cli_util.override('metadata.metadata_root_group.command_name', 'metadata'), cls=CommandGroupWithAlias, help=cli_util.override('metadata.metadata_root_group.help', """Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>."""), short_help=cli_util.override('metadata.metadata_root_group.short_help', """Oracle Multicloud API"""))
|
|
20
|
+
@cli_util.help_option_group
|
|
21
|
+
def metadata_root_group():
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@click.command(cli_util.override('metadata.external_location_summaries_metadatum_summary_collection_group.command_name', 'external-location-summaries-metadatum-summary-collection'), cls=CommandGroupWithAlias, help="""External location summary information from OCI primitives to any CSP across all regions""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def external_location_summaries_metadatum_summary_collection_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@click.command(cli_util.override('metadata.external_location_mapping_metadatum_summary_collection_group.command_name', 'external-location-mapping-metadatum-summary-collection'), cls=CommandGroupWithAlias, help="""External location information from OCI primitives to a CSP""")
|
|
32
|
+
@cli_util.help_option_group
|
|
33
|
+
def external_location_mapping_metadatum_summary_collection_group():
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
@click.command(cli_util.override('metadata.external_locations_metadatum_collection_group.command_name', 'external-locations-metadatum-collection'), cls=CommandGroupWithAlias, help="""External location information from OCI primitives to any CSP""")
|
|
38
|
+
@cli_util.help_option_group
|
|
39
|
+
def external_locations_metadatum_collection_group():
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
multicloud_service_cli.multicloud_service_group.add_command(metadata_root_group)
|
|
44
|
+
metadata_root_group.add_command(external_location_summaries_metadatum_summary_collection_group)
|
|
45
|
+
metadata_root_group.add_command(external_location_mapping_metadatum_summary_collection_group)
|
|
46
|
+
metadata_root_group.add_command(external_locations_metadatum_collection_group)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@external_locations_metadatum_collection_group.command(name=cli_util.override('metadata.list_external_location_details_metadata.command_name', 'list-external-location-details-metadata'), help=u"""List externalLocationDetail metadata from OCI to Cloud Service Provider for regions, Availability Zones, and Cluster Placement Group ID. examples: application-json: | [ { \"externalLocation\": { \"cspRegion\": \"East US\", \"cspPhysicalAz\": \"az1-xyz\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az1\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-1 or aws-account-id-1, gcp-project-id-1\" } }, \"ociPhysicalAd\": \"ad1-xyb\", \"ociLogicalAd\": \"ad2\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-1\" }, { \"externalLocation\": { \"cspRegion\": \"East US\", \"cspPhysicalAz\": \"az2-abc\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az2\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-2 or aws-account-id-2, gcp-project-id-2\" } }, \"ociPhysicalAd\": \"ad2-xby\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-2\" }, { \"externalLocation\": { \"cspRegion\": \"East US\", \"cspPhysicalAz\": \"az3-abz\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az3\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" } }, \"ociPhysicalAd\": \"ad3-cde\", \"ociLogicalAd\": \"ad3\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-3\" }, { \"externalLocation\": { \"cspRegion\": \"East US 2\", \"cspPhysicalAz\": \"az1-def\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az1\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-4 or aws-account-id-4, gcp-project-id-4\" } }, \"ociPhysicalAd\": \"ad1-bce\", \"ociLogicalAd\": \"ad2\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-4\" }, { \"externalLocation\": { \"cspRegion\": \"East US 2\", \"cspPhysicalAz\": \"az2-uvw\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az2\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" } }, \"ociPhysicalAd\": \"ad2-ftc\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-5\" }, { \"externalLocation\": { \"cspRegion\": \"East US 2\", \"cspPhysicalAz\": \"az3-uvw\", \"cspPhysicalAzDisplayName\": \"(US) East US 2\", \"cspLogicalAz\": \"az3\", \"serviceName\": \"ORACLEDBATAZURE\", \"cspZoneKeyReferenceId\": { \"keyName\": \"AzureSubscriptionId or AwsAccountId, GcpProjectName\", \"keyValue\": \"azure-subscriptionId-3 or aws-account-id-3, gcp-project-id-3\" } }, \"ociPhysicalAd\": \"ad3-stc\", \"ociLogicalAd\": \"ad3\", \"ociRegion\": \"us-ashburn-1\", \"cpgId\": \"cpg-6\" } ] \n[Command Reference](listExternalLocationDetailsMetadata)""")
|
|
50
|
+
@cli_util.option('--subscription-id', required=True, help=u"""The [OCID] of the subscription in which to list resources.""")
|
|
51
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
52
|
+
@cli_util.option('--subscription-service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["ORACLEDBATAZURE", "ORACLEDBATGOOGLE", "ORACLEDBATAWS"]), help=u"""The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]""")
|
|
53
|
+
@cli_util.option('--entity-type', type=custom_types.CliCaseInsensitiveChoice(["dbsystem"]), help=u"""The resource type query (i.e. dbsystem, instance etc.)""")
|
|
54
|
+
@cli_util.option('--linked-compartment-id', help=u"""The [OCID] of the compartment in which linked to Resource.""")
|
|
55
|
+
@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].""")
|
|
56
|
+
@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].""")
|
|
57
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
58
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.""")
|
|
59
|
+
@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.""")
|
|
60
|
+
@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.""")
|
|
61
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
62
|
+
@cli_util.help_option
|
|
63
|
+
@click.pass_context
|
|
64
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'ExternalLocationsMetadatumCollection'})
|
|
65
|
+
@cli_util.wrap_exceptions
|
|
66
|
+
def list_external_location_details_metadata(ctx, from_json, all_pages, page_size, subscription_id, compartment_id, subscription_service_name, entity_type, linked_compartment_id, limit, page, sort_order, sort_by):
|
|
67
|
+
|
|
68
|
+
if all_pages and limit:
|
|
69
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
70
|
+
|
|
71
|
+
kwargs = {}
|
|
72
|
+
if entity_type is not None:
|
|
73
|
+
kwargs['entity_type'] = entity_type
|
|
74
|
+
if linked_compartment_id is not None:
|
|
75
|
+
kwargs['linked_compartment_id'] = linked_compartment_id
|
|
76
|
+
if limit is not None:
|
|
77
|
+
kwargs['limit'] = limit
|
|
78
|
+
if page is not None:
|
|
79
|
+
kwargs['page'] = page
|
|
80
|
+
if sort_order is not None:
|
|
81
|
+
kwargs['sort_order'] = sort_order
|
|
82
|
+
if sort_by is not None:
|
|
83
|
+
kwargs['sort_by'] = sort_by
|
|
84
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
85
|
+
client = cli_util.build_client('multicloud', 'metadata', ctx)
|
|
86
|
+
if all_pages:
|
|
87
|
+
if page_size:
|
|
88
|
+
kwargs['limit'] = page_size
|
|
89
|
+
|
|
90
|
+
result = cli_util.list_call_get_all_results(
|
|
91
|
+
client.list_external_location_details_metadata,
|
|
92
|
+
subscription_id=subscription_id,
|
|
93
|
+
compartment_id=compartment_id,
|
|
94
|
+
subscription_service_name=subscription_service_name,
|
|
95
|
+
**kwargs
|
|
96
|
+
)
|
|
97
|
+
elif limit is not None:
|
|
98
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
99
|
+
client.list_external_location_details_metadata,
|
|
100
|
+
limit,
|
|
101
|
+
page_size,
|
|
102
|
+
subscription_id=subscription_id,
|
|
103
|
+
compartment_id=compartment_id,
|
|
104
|
+
subscription_service_name=subscription_service_name,
|
|
105
|
+
**kwargs
|
|
106
|
+
)
|
|
107
|
+
else:
|
|
108
|
+
result = client.list_external_location_details_metadata(
|
|
109
|
+
subscription_id=subscription_id,
|
|
110
|
+
compartment_id=compartment_id,
|
|
111
|
+
subscription_service_name=subscription_service_name,
|
|
112
|
+
**kwargs
|
|
113
|
+
)
|
|
114
|
+
cli_util.render_response(result, ctx)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
@external_location_mapping_metadatum_summary_collection_group.command(name=cli_util.override('metadata.list_external_location_mapping_metadata.command_name', 'list-external-location-mapping-metadata'), help=u"""List externalLocation metadata from OCI to the Cloud Service Provider for regions, Physical Availability Zones. examples: application-json: | [ { \"externalLocation\": { \"cspRegion\": \"eastus\", \"cspPhysicalAz\": \"eastus-az1\", \"cspPhysicalAzDisplayName\": \"(US) East US 1\", \"serviceName\": \"ORACLEDBATAZURE\" }, \"ociPhysicalAd\": \"iad-ad-1\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\" }, { \"externalLocation\": { \"cspRegion\": \"eastus\", \"cspPhysicalAz\": \"eastus-az1\", \"cspPhysicalAzDisplayName\": \"(US) East US 1\", \"serviceName\": \"ORACLEDBATAZURE\" }, \"ociPhysicalAd\": \"iad-ad-1\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\" }, { \"externalLocation\": { \"cspRegion\": \"eastus2\", \"cspPhysicalAz\": \"eastus2-az3\", \"cspPhysicalAzDisplayName\": \"(US) East US 1\", \"serviceName\": \"ORACLEDBATAZURE\" }, \"ociPhysicalAd\": \"iad-ad-2\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\" }, { \"externalLocation\": { \"cspRegion\": \"eastus\", \"cspPhysicalAz\": \"eastus-az3\" \"cspPhysicalAzDisplayName\": \"(US) East US 1\", \"serviceName\": \"ORACLEDBATAZURE\" }, \"ociPhysicalAd\": \"iad-ad-333\", \"ociLogicalAd\": \"ad1\", \"ociRegion\": \"us-ashburn-1\" } ] \n[Command Reference](listExternalLocationMappingMetadata)""")
|
|
118
|
+
@cli_util.option('--subscription-service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["ORACLEDBATAZURE", "ORACLEDBATGOOGLE", "ORACLEDBATAWS"]), multiple=True, help=u"""The subscription type values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]""")
|
|
119
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
120
|
+
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription in which to list resources.""")
|
|
121
|
+
@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].""")
|
|
122
|
+
@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].""")
|
|
123
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
124
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.""")
|
|
125
|
+
@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.""")
|
|
126
|
+
@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.""")
|
|
127
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
128
|
+
@cli_util.help_option
|
|
129
|
+
@click.pass_context
|
|
130
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'ExternalLocationMappingMetadatumSummaryCollection'})
|
|
131
|
+
@cli_util.wrap_exceptions
|
|
132
|
+
def list_external_location_mapping_metadata(ctx, from_json, all_pages, page_size, subscription_service_name, compartment_id, subscription_id, limit, page, sort_order, sort_by):
|
|
133
|
+
|
|
134
|
+
if all_pages and limit:
|
|
135
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
136
|
+
|
|
137
|
+
kwargs = {}
|
|
138
|
+
if subscription_id is not None:
|
|
139
|
+
kwargs['subscription_id'] = subscription_id
|
|
140
|
+
if limit is not None:
|
|
141
|
+
kwargs['limit'] = limit
|
|
142
|
+
if page is not None:
|
|
143
|
+
kwargs['page'] = page
|
|
144
|
+
if sort_order is not None:
|
|
145
|
+
kwargs['sort_order'] = sort_order
|
|
146
|
+
if sort_by is not None:
|
|
147
|
+
kwargs['sort_by'] = sort_by
|
|
148
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
149
|
+
client = cli_util.build_client('multicloud', 'metadata', ctx)
|
|
150
|
+
if all_pages:
|
|
151
|
+
if page_size:
|
|
152
|
+
kwargs['limit'] = page_size
|
|
153
|
+
|
|
154
|
+
result = cli_util.list_call_get_all_results(
|
|
155
|
+
client.list_external_location_mapping_metadata,
|
|
156
|
+
subscription_service_name=subscription_service_name,
|
|
157
|
+
compartment_id=compartment_id,
|
|
158
|
+
**kwargs
|
|
159
|
+
)
|
|
160
|
+
elif limit is not None:
|
|
161
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
162
|
+
client.list_external_location_mapping_metadata,
|
|
163
|
+
limit,
|
|
164
|
+
page_size,
|
|
165
|
+
subscription_service_name=subscription_service_name,
|
|
166
|
+
compartment_id=compartment_id,
|
|
167
|
+
**kwargs
|
|
168
|
+
)
|
|
169
|
+
else:
|
|
170
|
+
result = client.list_external_location_mapping_metadata(
|
|
171
|
+
subscription_service_name=subscription_service_name,
|
|
172
|
+
compartment_id=compartment_id,
|
|
173
|
+
**kwargs
|
|
174
|
+
)
|
|
175
|
+
cli_util.render_response(result, ctx)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@external_location_summaries_metadatum_summary_collection_group.command(name=cli_util.override('metadata.list_external_location_summaries_metadata.command_name', 'list-external-location-summaries-metadata'), help=u"""List externalLocationSummary metadata from OCI Region to the Cloud Service Provider region across all regions. examples: application-json: | [ { \"externalLocation\": { \"cspRegion\": \"East US\" }, \"ociRegion\": \"us-ashburn-1\" }, { \"externalLocation\": { \"cspRegion\": \"East US 2\" }, \"ociRegion\": \"us-ashburn-1\" }, { \"externalLocation\": { \"cspRegion\": \"Germany West Central\" }, \"ociRegion\": \"eu-frankfurt-1\", } ] \n[Command Reference](listExternalLocationSummariesMetadata)""")
|
|
179
|
+
@cli_util.option('--subscription-service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["ORACLEDBATAZURE", "ORACLEDBATGOOGLE", "ORACLEDBATAWS"]), help=u"""The subscription service name values from [ORACLEDBATAZURE, ORACLEDBATGOOGLE, ORACLEDBATAWS]""")
|
|
180
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
181
|
+
@cli_util.option('--subscription-id', help=u"""The [OCID] of the subscription in which to list resources.""")
|
|
182
|
+
@cli_util.option('--entity-type', type=custom_types.CliCaseInsensitiveChoice(["dbsystem"]), help=u"""The resource type query (i.e. dbsystem, instance etc.)""")
|
|
183
|
+
@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].""")
|
|
184
|
+
@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].""")
|
|
185
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
186
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.""")
|
|
187
|
+
@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.""")
|
|
188
|
+
@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.""")
|
|
189
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
190
|
+
@cli_util.help_option
|
|
191
|
+
@click.pass_context
|
|
192
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'ExternalLocationSummariesMetadatumSummaryCollection'})
|
|
193
|
+
@cli_util.wrap_exceptions
|
|
194
|
+
def list_external_location_summaries_metadata(ctx, from_json, all_pages, page_size, subscription_service_name, compartment_id, subscription_id, entity_type, limit, page, sort_order, sort_by):
|
|
195
|
+
|
|
196
|
+
if all_pages and limit:
|
|
197
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
if subscription_id is not None:
|
|
201
|
+
kwargs['subscription_id'] = subscription_id
|
|
202
|
+
if entity_type is not None:
|
|
203
|
+
kwargs['entity_type'] = entity_type
|
|
204
|
+
if limit is not None:
|
|
205
|
+
kwargs['limit'] = limit
|
|
206
|
+
if page is not None:
|
|
207
|
+
kwargs['page'] = page
|
|
208
|
+
if sort_order is not None:
|
|
209
|
+
kwargs['sort_order'] = sort_order
|
|
210
|
+
if sort_by is not None:
|
|
211
|
+
kwargs['sort_by'] = sort_by
|
|
212
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
213
|
+
client = cli_util.build_client('multicloud', 'metadata', ctx)
|
|
214
|
+
if all_pages:
|
|
215
|
+
if page_size:
|
|
216
|
+
kwargs['limit'] = page_size
|
|
217
|
+
|
|
218
|
+
result = cli_util.list_call_get_all_results(
|
|
219
|
+
client.list_external_location_summaries_metadata,
|
|
220
|
+
subscription_service_name=subscription_service_name,
|
|
221
|
+
compartment_id=compartment_id,
|
|
222
|
+
**kwargs
|
|
223
|
+
)
|
|
224
|
+
elif limit is not None:
|
|
225
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
226
|
+
client.list_external_location_summaries_metadata,
|
|
227
|
+
limit,
|
|
228
|
+
page_size,
|
|
229
|
+
subscription_service_name=subscription_service_name,
|
|
230
|
+
compartment_id=compartment_id,
|
|
231
|
+
**kwargs
|
|
232
|
+
)
|
|
233
|
+
else:
|
|
234
|
+
result = client.list_external_location_summaries_metadata(
|
|
235
|
+
subscription_service_name=subscription_service_name,
|
|
236
|
+
compartment_id=compartment_id,
|
|
237
|
+
**kwargs
|
|
238
|
+
)
|
|
239
|
+
cli_util.render_response(result, ctx)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.multicloud import MultiCloudsMetadataClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["multicloud"] = oci.multicloud.models.multicloud_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("multicloud") is None:
|
|
13
|
+
CLIENT_MAP["multicloud"] = {}
|
|
14
|
+
CLIENT_MAP["multicloud"]["multi_clouds_metadata"] = MultiCloudsMetadataClient
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
from __future__ import print_function
|
|
7
|
+
import click
|
|
8
|
+
import oci # noqa: F401
|
|
9
|
+
import six # noqa: F401
|
|
10
|
+
import sys # noqa: F401
|
|
11
|
+
from oci_cli import cli_constants # noqa: F401
|
|
12
|
+
from oci_cli import cli_util
|
|
13
|
+
from oci_cli import json_skeleton_utils
|
|
14
|
+
from oci_cli import custom_types # noqa: F401
|
|
15
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
16
|
+
from services.multicloud.src.oci_cli_multicloud.generated import multicloud_service_cli
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
@click.command(cli_util.override('multi_clouds_metadata.multi_clouds_metadata_root_group.command_name', 'multi-clouds-metadata'), cls=CommandGroupWithAlias, help=cli_util.override('multi_clouds_metadata.multi_clouds_metadata_root_group.help', """Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>."""), short_help=cli_util.override('multi_clouds_metadata.multi_clouds_metadata_root_group.short_help', """Oracle Multicloud API"""))
|
|
20
|
+
@cli_util.help_option_group
|
|
21
|
+
def multi_clouds_metadata_root_group():
|
|
22
|
+
pass
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@click.command(cli_util.override('multi_clouds_metadata.multi_cloud_metadata_collection_group.command_name', 'multi-cloud-metadata-collection'), cls=CommandGroupWithAlias, help="""Multicloud metadata information across clouds.""")
|
|
26
|
+
@cli_util.help_option_group
|
|
27
|
+
def multi_cloud_metadata_collection_group():
|
|
28
|
+
pass
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
@click.command(cli_util.override('multi_clouds_metadata.multi_cloud_metadata_group.command_name', 'multi-cloud-metadata'), cls=CommandGroupWithAlias, help="""Multicloud metadata information including base multicloud compartments information.""")
|
|
32
|
+
@cli_util.help_option_group
|
|
33
|
+
def multi_cloud_metadata_group():
|
|
34
|
+
pass
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
multicloud_service_cli.multicloud_service_group.add_command(multi_clouds_metadata_root_group)
|
|
38
|
+
multi_clouds_metadata_root_group.add_command(multi_cloud_metadata_collection_group)
|
|
39
|
+
multi_clouds_metadata_root_group.add_command(multi_cloud_metadata_group)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@multi_cloud_metadata_group.command(name=cli_util.override('multi_clouds_metadata.get_multi_cloud_metadata.command_name', 'get'), help=u"""Gets information about multicloud base compartment \n[Command Reference](getMultiCloudMetadata)""")
|
|
43
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
44
|
+
@cli_util.option('--subscription-id', required=True, help=u"""The [OCID] of the OCI subscription.""")
|
|
45
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
46
|
+
@cli_util.help_option
|
|
47
|
+
@click.pass_context
|
|
48
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'MultiCloudMetadata'})
|
|
49
|
+
@cli_util.wrap_exceptions
|
|
50
|
+
def get_multi_cloud_metadata(ctx, from_json, compartment_id, subscription_id):
|
|
51
|
+
|
|
52
|
+
if isinstance(subscription_id, six.string_types) and len(subscription_id.strip()) == 0:
|
|
53
|
+
raise click.UsageError('Parameter --subscription-id cannot be whitespace or empty string')
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
57
|
+
client = cli_util.build_client('multicloud', 'multi_clouds_metadata', ctx)
|
|
58
|
+
result = client.get_multi_cloud_metadata(
|
|
59
|
+
compartment_id=compartment_id,
|
|
60
|
+
subscription_id=subscription_id,
|
|
61
|
+
**kwargs
|
|
62
|
+
)
|
|
63
|
+
cli_util.render_response(result, ctx)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
@multi_cloud_metadata_collection_group.command(name=cli_util.override('multi_clouds_metadata.list_multi_cloud_metadata.command_name', 'list-multi-cloud-metadata'), help=u"""Gets a list of multicloud metadata with multicloud base compartment and subscription across Cloud Service Providers. \n[Command Reference](listMultiCloudMetadata)""")
|
|
67
|
+
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment in which to list resources.""")
|
|
68
|
+
@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].""")
|
|
69
|
+
@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].""")
|
|
70
|
+
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either ascending (`ASC`) or descending (`DESC`).""")
|
|
71
|
+
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.""")
|
|
72
|
+
@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.""")
|
|
73
|
+
@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.""")
|
|
74
|
+
@json_skeleton_utils.get_cli_json_input_option({})
|
|
75
|
+
@cli_util.help_option
|
|
76
|
+
@click.pass_context
|
|
77
|
+
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'multicloud', 'class': 'MultiCloudMetadataCollection'})
|
|
78
|
+
@cli_util.wrap_exceptions
|
|
79
|
+
def list_multi_cloud_metadata(ctx, from_json, all_pages, page_size, compartment_id, limit, page, sort_order, sort_by):
|
|
80
|
+
|
|
81
|
+
if all_pages and limit:
|
|
82
|
+
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
83
|
+
|
|
84
|
+
kwargs = {}
|
|
85
|
+
if limit is not None:
|
|
86
|
+
kwargs['limit'] = limit
|
|
87
|
+
if page is not None:
|
|
88
|
+
kwargs['page'] = page
|
|
89
|
+
if sort_order is not None:
|
|
90
|
+
kwargs['sort_order'] = sort_order
|
|
91
|
+
if sort_by is not None:
|
|
92
|
+
kwargs['sort_by'] = sort_by
|
|
93
|
+
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
94
|
+
client = cli_util.build_client('multicloud', 'multi_clouds_metadata', ctx)
|
|
95
|
+
if all_pages:
|
|
96
|
+
if page_size:
|
|
97
|
+
kwargs['limit'] = page_size
|
|
98
|
+
|
|
99
|
+
result = cli_util.list_call_get_all_results(
|
|
100
|
+
client.list_multi_cloud_metadata,
|
|
101
|
+
compartment_id=compartment_id,
|
|
102
|
+
**kwargs
|
|
103
|
+
)
|
|
104
|
+
elif limit is not None:
|
|
105
|
+
result = cli_util.list_call_get_up_to_limit(
|
|
106
|
+
client.list_multi_cloud_metadata,
|
|
107
|
+
limit,
|
|
108
|
+
page_size,
|
|
109
|
+
compartment_id=compartment_id,
|
|
110
|
+
**kwargs
|
|
111
|
+
)
|
|
112
|
+
else:
|
|
113
|
+
result = client.list_multi_cloud_metadata(
|
|
114
|
+
compartment_id=compartment_id,
|
|
115
|
+
**kwargs
|
|
116
|
+
)
|
|
117
|
+
cli_util.render_response(result, ctx)
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
from oci_cli.cli_root import cli
|
|
7
|
+
from oci_cli import cli_util
|
|
8
|
+
from oci_cli.aliasing import CommandGroupWithAlias
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@cli.command(cli_util.override('omhub_resource_anchor.multicloud_service_group.command_name', 'multicloud'), cls=CommandGroupWithAlias, help=cli_util.override('omhub_resource_anchor.multicloud_service_group.help', """Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see <link to docs>."""), short_help=cli_util.override('omhub_resource_anchor.multicloud_service_group.short_help', """Oracle Multicloud API"""))
|
|
12
|
+
@cli_util.help_option_group
|
|
13
|
+
def multicloud_service_group():
|
|
14
|
+
pass
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180828
|
|
5
|
+
|
|
6
|
+
import oci
|
|
7
|
+
from oci_cli.cli_clients import CLIENT_MAP
|
|
8
|
+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
|
|
9
|
+
from oci.multicloud import OmhubNetworkAnchorClient
|
|
10
|
+
|
|
11
|
+
MODULE_TO_TYPE_MAPPINGS["multicloud"] = oci.multicloud.models.multicloud_type_mapping
|
|
12
|
+
if CLIENT_MAP.get("multicloud") is None:
|
|
13
|
+
CLIENT_MAP["multicloud"] = {}
|
|
14
|
+
CLIENT_MAP["multicloud"]["omhub_network_anchor"] = OmhubNetworkAnchorClient
|