oci-cli 3.62.2__py3-none-any.whl → 3.63.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/help_text_producer/data_files/text/cmdref/autoscaling/configuration/list.txt +7 -0
- oci_cli/help_text_producer/data_files/text/cmdref/autoscaling.txt +3 -8
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer/get-offer-internal-detail.txt → database-management/cloud-asm/get-cloud-asm-configuration.txt} +13 -11
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer → database-management/cloud-asm}/get.txt +6 -9
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list-cloud-asm-disk-groups.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list-cloud-asm-users.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/summarize-cloud-asm-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm-instance/update.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer.txt → database-management/cloud-asm-instance.txt} +4 -8
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-asm.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/summarize-cloud-cluster-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance/update.txt +162 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster-instance.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-cluster.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-database-collection/list-cloud-databases.txt +144 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-database-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home/update.txt +157 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-home.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/summarize-cloud-db-node-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-node.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/create.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/offer/offer → database-management/cloud-db-system}/delete.txt +9 -9
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/disable-cloud-db-system-database-management.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/disable-cloud-db-system-stack-monitoring.txt +129 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/enable-cloud-db-system-database-management.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/enable-cloud-db-system-stack-monitoring.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/get.txt +95 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/list.txt +156 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/summarize-cloud-db-system-availability-metrics.txt +126 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system/update.txt +165 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/check-cloud-db-system-connector-connection-status.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/create-cloud-db-system-connector-create-cloud-db-system-macs-connector-details.txt +170 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment → database-management/cloud-db-system-connector}/create.txt +19 -20
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/get.txt +98 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/update-cloud-db-system-connector-update-cloud-db-system-macs-connector-details.txt +174 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector/update.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-connector.txt +30 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/create.txt +173 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/delete.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment → database-management/cloud-db-system-discovery}/get.txt +11 -16
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/list.txt +137 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/patch.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery/update.txt +168 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system-discovery.txt +24 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-db-system.txt +32 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/get.txt +92 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/list-cloud-listener-services.txt +139 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/list.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/summarize-cloud-listener-metrics.txt +121 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener/update.txt +161 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/cloud-listener.txt +22 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update-result-location.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update-sql-job-details.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job/update.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job-execution/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/job-run/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-pluggable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/enable-pluggable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/get-awr-db-sql-report.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-pluggable-database-management-feature-database-diagnostics-and-management-feature-details.txt +2 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database/modify-pluggable-database-management-feature-database-sql-watch-feature-details.txt +10 -0
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-database-group/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/get-binary-log-information.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/get-general-replication-information.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/list-high-availability-members.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/managed-my-sql-databases/managed-my-sql-database/list-outbound-replications.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/work-request/get.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/database-management/work-request/list.txt +1 -2
- oci_cli/help_text_producer/data_files/text/cmdref/database-management.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create-autonomous-container-database-create-autonomous-container-database-from-backup-details.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/create.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-container-database/update.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/db/autonomous-database/update.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log/{list-logs.txt → list.txt} +5 -5
- oci_cli/help_text_producer/data_files/text/cmdref/delegate-access-control/work-request/work-request-log.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/generative-ai-agent/tool/create-tool-agent-tool-config.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/create-tool-sql-tool-config.txt +12 -17
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-agent-tool-config.txt +202 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool/update-tool-sql-tool-config.txt +12 -14
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent/tool.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent-runtime/agent-endpoint/chat.txt +21 -3
- oci_cli/help_text_producer/data_files/text/cmdref/generative-ai-agent.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane/work-request/work-request-error/{list.txt → list-errors.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.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/governance-rules-control-plane.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/{marketplace-publisher/attachment/attachment/delete.txt → management-agent/agent/delete-named-credential.txt} +18 -19
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/get-named-credential.txt +100 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent/update-named-credential.txt +182 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/agent.txt +6 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/create.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/get-named-cred-metadata.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential/list.txt +150 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/named-credential.txt +18 -0
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/plugin/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent/work-request/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/management-agent.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create-artifact-create-machine-image-artifact-details.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create-artifact-create-stack-artifact-details.txt +181 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/create.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update-artifact-update-machine-image-artifact-details.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update-artifact-update-stack-artifact-details.txt +177 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact/update.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/artifact.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer-collection/list-offers.txt → available-service-collection/list-available-services.txt} +21 -33
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/available-service-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{attachment/attachment-collection/list-attachments.txt → customer-instance-report-record-collection/list-customer-instance-report-records.txt} +21 -39
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/customer-instance-report-record-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/disbursement-report-record-collection/list-disbursement-report-records.txt +142 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/disbursement-report-record-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead-collection/list-leads.txt +135 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/lead.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing/create.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-collection/list-listings.txt +8 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/cascading-delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/change-listing-revision-to-new-status.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/clone.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer/create.txt → listing-revision/create-listing-revision-create-lead-gen-listing-revision-details.txt} +120 -207
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create-listing-revision-create-oci-listing-revision-details.txt +318 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create-listing-revision-create-service-listing-revision-details.txt +312 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/create.txt +10 -51
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/get-listing-revision-icon-content.txt +105 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/publish-listing-revision-as-private.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/submit-listing-revision-for-review.txt +6 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-icon-content.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{offer/offer/update.txt → listing-revision/update-listing-revision-update-lead-gen-listing-revision-details.txt} +113 -206
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-update-oci-listing-revision-details.txt +326 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update-listing-revision-update-service-listing-revision-details.txt +316 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/update.txt +12 -53
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision/withdraw.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-customer-success-attachment.txt +180 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-related-document-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-review-support-document-attachment.txt +169 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-screen-shot-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-supported-service-attachment.txt +172 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create-listing-revision-attachment-create-video-attachment-details.txt +1 -4
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/get-listing-revision-attachment-content.txt +108 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-content.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-customer-success-attachment.txt +195 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-related-document-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-review-support-document-attachment.txt +184 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-screen-shot-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-supported-service-attachment.txt +187 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update-listing-revision-attachment-update-video-attachment-details.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment-collection/list-listing-revision-attachments.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-attachment.txt +20 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note/update.txt +166 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note-collection/list-listing-revision-notes.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-note.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/create.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/delete.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/get.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/mark-listing-revision-package-as-default.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/un-publish.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package/update.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision-package-collection/list-listing-revision-packages.txt +1 -7
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/listing-revision.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/market-collection/list-markets.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/product-collection/list-products.txt +4 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc/get-support-doc-content.txt +97 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc/get.txt +91 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc-collection/list-support-docs.txt +140 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/support-doc.txt +16 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-currency-collection/list-supported-currencies.txt +132 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-currency-collection.txt +15 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-shape-collection/list-supported-shapes.txt +133 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/supported-shape-collection.txt +14 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/term/change-compartment.txt +26 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/{attachment/attachment/get-attachment-content.txt → term-version/get-term-version-content.txt} +13 -17
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/term-version.txt +2 -0
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher.txt +78 -28
- 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-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 +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/create.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/get.txt +2 -2
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/list.txt +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident/update.txt +4 -4
- oci_cli/help_text_producer/data_files/text/cmdref/support/incident-resource-type/list.txt +3 -3
- oci_cli/help_text_producer/data_files/text/cmdref/support/validation-response/validate-user.txt +1 -1
- oci_cli/version.py +1 -1
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/METADATA +2 -2
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/RECORD +248 -161
- services/autoscaling/src/oci_cli_auto_scaling/generated/autoscaling_cli.py +8 -7
- services/database/src/oci_cli_database/generated/database_cli.py +98 -10
- services/database_management/src/oci_cli_db_management/dbmanagement_cli_extended.py +13 -0
- services/database_management/src/oci_cli_db_management/generated/dbmanagement_cli.py +8336 -5389
- services/database_management/src/oci_cli_managed_my_sql_databases/generated/managedmysqldatabases_cli.py +4 -4
- services/generative_ai_agent/src/oci_cli_generative_ai_agent/generated/generativeaiagent_cli.py +185 -6
- services/generative_ai_agent_runtime/src/oci_cli_generative_ai_agent_runtime/generated/generativeaiagentruntime_cli.py +10 -4
- services/management_agent/src/oci_cli_management_agent/generated/managementagent_cli.py +328 -3
- services/marketplace_publisher/__init__.py +1 -1
- services/marketplace_publisher/src/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/__init__.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/client_mappings.py +1 -1
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/marketplacepublisher_cli.py +4035 -1530
- services/marketplace_publisher/tests/__init__.py +1 -1
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment/attachment-collection.txt +0 -14
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment/attachment.txt +0 -20
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/attachment.txt +0 -27
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/offer/offer-collection.txt +0 -15
- oci_cli/help_text_producer/data_files/text/cmdref/marketplace-publisher/offer.txt +0 -29
- services/marketplace_publisher/src/oci_cli_attachment/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_attachment/generated/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_attachment/generated/attachment_cli.py +0 -307
- services/marketplace_publisher/src/oci_cli_attachment/generated/client_mappings.py +0 -14
- services/marketplace_publisher/src/oci_cli_marketplace_publisher/generated/marketplace_publisher_service_cli.py +0 -14
- services/marketplace_publisher/src/oci_cli_offer/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_offer/generated/__init__.py +0 -4
- services/marketplace_publisher/src/oci_cli_offer/generated/client_mappings.py +0 -14
- services/marketplace_publisher/src/oci_cli_offer/generated/offer_cli.py +0 -431
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/LICENSE.txt +0 -0
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/WHEEL +0 -0
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/entry_points.txt +0 -0
- {oci_cli-3.62.2.dist-info → oci_cli-3.63.0.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
# Copyright (c) 2016, 2025, 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
|
-
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version:
|
|
4
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20241201
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
attachment
|
|
2
|
-
**********
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Description
|
|
6
|
-
===========
|
|
7
|
-
|
|
8
|
-
Use the Marketplace Publisher CLI to manage the publishing of
|
|
9
|
-
applications in Oracle Cloud Infrastructure Marketplace.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Available Commands
|
|
13
|
-
==================
|
|
14
|
-
|
|
15
|
-
* attachment
|
|
16
|
-
|
|
17
|
-
* create
|
|
18
|
-
|
|
19
|
-
* delete
|
|
20
|
-
|
|
21
|
-
* get
|
|
22
|
-
|
|
23
|
-
* get-attachment-content
|
|
24
|
-
|
|
25
|
-
* attachment-collection
|
|
26
|
-
|
|
27
|
-
* list-attachments
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
offer
|
|
2
|
-
*****
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Description
|
|
6
|
-
===========
|
|
7
|
-
|
|
8
|
-
Use the Marketplace Publisher CLI to manage the publishing of
|
|
9
|
-
applications in Oracle Cloud Infrastructure Marketplace.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Available Commands
|
|
13
|
-
==================
|
|
14
|
-
|
|
15
|
-
* offer
|
|
16
|
-
|
|
17
|
-
* create
|
|
18
|
-
|
|
19
|
-
* delete
|
|
20
|
-
|
|
21
|
-
* get
|
|
22
|
-
|
|
23
|
-
* get-offer-internal-detail
|
|
24
|
-
|
|
25
|
-
* update
|
|
26
|
-
|
|
27
|
-
* offer-collection
|
|
28
|
-
|
|
29
|
-
* list-offers
|
|
@@ -1,4 +0,0 @@
|
|
|
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: 20220901
|
|
@@ -1,4 +0,0 @@
|
|
|
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: 20220901
|
|
@@ -1,307 +0,0 @@
|
|
|
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: 20220901
|
|
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.marketplace_publisher.src.oci_cli_marketplace_publisher.generated import marketplace_publisher_service_cli
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
@click.command(cli_util.override('attachment.attachment_root_group.command_name', 'attachment'), cls=CommandGroupWithAlias, help=cli_util.override('attachment.attachment_root_group.help', """Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace."""), short_help=cli_util.override('attachment.attachment_root_group.short_help', """MarketplacePublisherService API"""))
|
|
20
|
-
@cli_util.help_option_group
|
|
21
|
-
def attachment_root_group():
|
|
22
|
-
pass
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@click.command(cli_util.override('attachment.attachment_group.command_name', 'attachment'), cls=CommandGroupWithAlias, help="""Description of Attachment.""")
|
|
26
|
-
@cli_util.help_option_group
|
|
27
|
-
def attachment_group():
|
|
28
|
-
pass
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@click.command(cli_util.override('attachment.attachment_collection_group.command_name', 'attachment-collection'), cls=CommandGroupWithAlias, help="""Results of a offers search. Contains boh AttachmentSummary items.""")
|
|
32
|
-
@cli_util.help_option_group
|
|
33
|
-
def attachment_collection_group():
|
|
34
|
-
pass
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
marketplace_publisher_service_cli.marketplace_publisher_service_group.add_command(attachment_root_group)
|
|
38
|
-
attachment_root_group.add_command(attachment_group)
|
|
39
|
-
attachment_root_group.add_command(attachment_collection_group)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@attachment_group.command(name=cli_util.override('attachment.create_attachment.command_name', 'create'), help=u"""Creates a new Attachment. \n[Command Reference](createAttachment)""")
|
|
43
|
-
@cli_util.option('--file-base64-encoded', required=True, help=u"""Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB""")
|
|
44
|
-
@cli_util.option('--display-name', required=True, help=u"""The name used to refer to the uploaded data.""")
|
|
45
|
-
@cli_util.option('--type', required=True, help=u"""The type of offer attachment.""")
|
|
46
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
47
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
48
|
-
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the resource to reach the lifecycle state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
49
|
-
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the resource has reached the lifecycle state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
50
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
51
|
-
@cli_util.help_option
|
|
52
|
-
@click.pass_context
|
|
53
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'Attachment'})
|
|
54
|
-
@cli_util.wrap_exceptions
|
|
55
|
-
def create_attachment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, file_base64_encoded, display_name, type, offer_id):
|
|
56
|
-
|
|
57
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
58
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
59
|
-
|
|
60
|
-
kwargs = {}
|
|
61
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
62
|
-
|
|
63
|
-
_details = {}
|
|
64
|
-
_details['fileBase64Encoded'] = file_base64_encoded
|
|
65
|
-
_details['displayName'] = display_name
|
|
66
|
-
_details['type'] = type
|
|
67
|
-
|
|
68
|
-
client = cli_util.build_client('marketplace_publisher', 'attachment', ctx)
|
|
69
|
-
result = client.create_attachment(
|
|
70
|
-
offer_id=offer_id,
|
|
71
|
-
create_attachment_details=_details,
|
|
72
|
-
**kwargs
|
|
73
|
-
)
|
|
74
|
-
if wait_for_state:
|
|
75
|
-
|
|
76
|
-
if hasattr(client, 'get_attachment') and callable(getattr(client, 'get_attachment')):
|
|
77
|
-
try:
|
|
78
|
-
wait_period_kwargs = {}
|
|
79
|
-
if max_wait_seconds is not None:
|
|
80
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
81
|
-
if wait_interval_seconds is not None:
|
|
82
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
83
|
-
|
|
84
|
-
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
85
|
-
result = oci.wait_until(client, client.get_attachment(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
86
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
87
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
88
|
-
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
89
|
-
cli_util.render_response(result, ctx)
|
|
90
|
-
sys.exit(2)
|
|
91
|
-
except Exception:
|
|
92
|
-
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
93
|
-
cli_util.render_response(result, ctx)
|
|
94
|
-
raise
|
|
95
|
-
else:
|
|
96
|
-
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
97
|
-
cli_util.render_response(result, ctx)
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
@attachment_group.command(name=cli_util.override('attachment.delete_attachment.command_name', 'delete'), help=u"""Deletes a Attachment resource by identifier \n[Command Reference](deleteAttachment)""")
|
|
101
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
102
|
-
@cli_util.option('--attachment-id', required=True, help=u"""unique Offer identifier""")
|
|
103
|
-
@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.""")
|
|
104
|
-
@cli_util.confirm_delete_option
|
|
105
|
-
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
|
|
106
|
-
@cli_util.option('--max-wait-seconds', type=click.INT, help="""The maximum time to wait for the work request to reach the state defined by --wait-for-state. Defaults to 1200 seconds.""")
|
|
107
|
-
@cli_util.option('--wait-interval-seconds', type=click.INT, help="""Check every --wait-interval-seconds to see whether the work request has reached the state defined by --wait-for-state. Defaults to 30 seconds.""")
|
|
108
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
109
|
-
@cli_util.help_option
|
|
110
|
-
@click.pass_context
|
|
111
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
112
|
-
@cli_util.wrap_exceptions
|
|
113
|
-
def delete_attachment(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, offer_id, attachment_id, if_match):
|
|
114
|
-
|
|
115
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
116
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
117
|
-
|
|
118
|
-
if isinstance(attachment_id, six.string_types) and len(attachment_id.strip()) == 0:
|
|
119
|
-
raise click.UsageError('Parameter --attachment-id cannot be whitespace or empty string')
|
|
120
|
-
|
|
121
|
-
kwargs = {}
|
|
122
|
-
if if_match is not None:
|
|
123
|
-
kwargs['if_match'] = if_match
|
|
124
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
125
|
-
client = cli_util.build_client('marketplace_publisher', 'attachment', ctx)
|
|
126
|
-
result = client.delete_attachment(
|
|
127
|
-
offer_id=offer_id,
|
|
128
|
-
attachment_id=attachment_id,
|
|
129
|
-
**kwargs
|
|
130
|
-
)
|
|
131
|
-
if wait_for_state:
|
|
132
|
-
|
|
133
|
-
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
134
|
-
try:
|
|
135
|
-
wait_period_kwargs = {}
|
|
136
|
-
if max_wait_seconds is not None:
|
|
137
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
138
|
-
if wait_interval_seconds is not None:
|
|
139
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
140
|
-
if 'opc-work-request-id' not in result.headers:
|
|
141
|
-
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
142
|
-
cli_util.render_response(result, ctx)
|
|
143
|
-
return
|
|
144
|
-
|
|
145
|
-
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
146
|
-
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
147
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
148
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
149
|
-
click.echo('Failed to wait until the work request entered the specified state. Please retrieve the work request to find its current state', file=sys.stderr)
|
|
150
|
-
cli_util.render_response(result, ctx)
|
|
151
|
-
sys.exit(2)
|
|
152
|
-
except Exception:
|
|
153
|
-
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
154
|
-
cli_util.render_response(result, ctx)
|
|
155
|
-
raise
|
|
156
|
-
else:
|
|
157
|
-
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
158
|
-
cli_util.render_response(result, ctx)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
@attachment_group.command(name=cli_util.override('attachment.get_attachment.command_name', 'get'), help=u"""Gets a Attachment by identifier \n[Command Reference](getAttachment)""")
|
|
162
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
163
|
-
@cli_util.option('--attachment-id', required=True, help=u"""unique Offer identifier""")
|
|
164
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
165
|
-
@cli_util.help_option
|
|
166
|
-
@click.pass_context
|
|
167
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'Attachment'})
|
|
168
|
-
@cli_util.wrap_exceptions
|
|
169
|
-
def get_attachment(ctx, from_json, offer_id, attachment_id):
|
|
170
|
-
|
|
171
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
172
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
173
|
-
|
|
174
|
-
if isinstance(attachment_id, six.string_types) and len(attachment_id.strip()) == 0:
|
|
175
|
-
raise click.UsageError('Parameter --attachment-id cannot be whitespace or empty string')
|
|
176
|
-
|
|
177
|
-
kwargs = {}
|
|
178
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
179
|
-
client = cli_util.build_client('marketplace_publisher', 'attachment', ctx)
|
|
180
|
-
result = client.get_attachment(
|
|
181
|
-
offer_id=offer_id,
|
|
182
|
-
attachment_id=attachment_id,
|
|
183
|
-
**kwargs
|
|
184
|
-
)
|
|
185
|
-
cli_util.render_response(result, ctx)
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
@attachment_group.command(name=cli_util.override('attachment.get_attachment_content.command_name', 'get-attachment-content'), help=u"""Gets a Attachment content by identifier \n[Command Reference](getAttachmentContent)""")
|
|
189
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
190
|
-
@cli_util.option('--attachment-id', required=True, help=u"""unique Offer identifier""")
|
|
191
|
-
@cli_util.option('--file', type=click.File(mode='wb'), required=True, help="The name of the file that will receive the response data, or '-' to write to STDOUT.")
|
|
192
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
193
|
-
@cli_util.help_option
|
|
194
|
-
@click.pass_context
|
|
195
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
196
|
-
@cli_util.wrap_exceptions
|
|
197
|
-
def get_attachment_content(ctx, from_json, file, offer_id, attachment_id):
|
|
198
|
-
|
|
199
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
200
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
201
|
-
|
|
202
|
-
if isinstance(attachment_id, six.string_types) and len(attachment_id.strip()) == 0:
|
|
203
|
-
raise click.UsageError('Parameter --attachment-id cannot be whitespace or empty string')
|
|
204
|
-
|
|
205
|
-
kwargs = {}
|
|
206
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
207
|
-
client = cli_util.build_client('marketplace_publisher', 'attachment', ctx)
|
|
208
|
-
result = client.get_attachment_content(
|
|
209
|
-
offer_id=offer_id,
|
|
210
|
-
attachment_id=attachment_id,
|
|
211
|
-
**kwargs
|
|
212
|
-
)
|
|
213
|
-
|
|
214
|
-
# If outputting to stdout we don't want to print a progress bar because it will get mixed up with the output
|
|
215
|
-
# Also we need a non-zero Content-Length in order to display a meaningful progress bar
|
|
216
|
-
bar = None
|
|
217
|
-
if hasattr(file, 'name') and file.name != '<stdout>' and 'Content-Length' in result.headers:
|
|
218
|
-
content_length = int(result.headers['Content-Length'])
|
|
219
|
-
if content_length > 0:
|
|
220
|
-
bar = click.progressbar(length=content_length, label='Downloading file')
|
|
221
|
-
|
|
222
|
-
try:
|
|
223
|
-
if bar:
|
|
224
|
-
bar.__enter__()
|
|
225
|
-
|
|
226
|
-
# TODO: Make the download size a configurable option
|
|
227
|
-
# use decode_content=True to automatically unzip service responses (this should be overridden for object storage)
|
|
228
|
-
for chunk in result.data.raw.stream(cli_constants.MEBIBYTE, decode_content=True):
|
|
229
|
-
if bar:
|
|
230
|
-
bar.update(len(chunk))
|
|
231
|
-
file.write(chunk)
|
|
232
|
-
finally:
|
|
233
|
-
if bar:
|
|
234
|
-
bar.render_finish()
|
|
235
|
-
file.close()
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
@attachment_collection_group.command(name=cli_util.override('attachment.list_attachments.command_name', 'list-attachments'), help=u"""Returns a list of Attachments. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400. \n[Command Reference](listAttachments)""")
|
|
239
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
240
|
-
@cli_util.option('--buyer-compartment-id', help=u"""The ID of the buyer compartment this offer is associated with.""")
|
|
241
|
-
@cli_util.option('--seller-compartment-id', help=u"""The ID of the seller compartment this offer is associated with.""")
|
|
242
|
-
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]), help=u"""A filter to return only resources their lifecycleState matches the given lifecycleState.""")
|
|
243
|
-
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
244
|
-
@cli_util.option('--id', help=u"""unique Offer identifier""")
|
|
245
|
-
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
246
|
-
@cli_util.option('--page', help=u"""A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.""")
|
|
247
|
-
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
248
|
-
@cli_util.option('--sort-by', type=custom_types.CliCaseInsensitiveChoice(["timeCreated", "displayName"]), help=u"""The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.""")
|
|
249
|
-
@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.""")
|
|
250
|
-
@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.""")
|
|
251
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
252
|
-
@cli_util.help_option
|
|
253
|
-
@click.pass_context
|
|
254
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'AttachmentCollection'})
|
|
255
|
-
@cli_util.wrap_exceptions
|
|
256
|
-
def list_attachments(ctx, from_json, all_pages, page_size, offer_id, buyer_compartment_id, seller_compartment_id, lifecycle_state, display_name, id, limit, page, sort_order, sort_by):
|
|
257
|
-
|
|
258
|
-
if all_pages and limit:
|
|
259
|
-
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
260
|
-
|
|
261
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
262
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
263
|
-
|
|
264
|
-
kwargs = {}
|
|
265
|
-
if buyer_compartment_id is not None:
|
|
266
|
-
kwargs['buyer_compartment_id'] = buyer_compartment_id
|
|
267
|
-
if seller_compartment_id is not None:
|
|
268
|
-
kwargs['seller_compartment_id'] = seller_compartment_id
|
|
269
|
-
if lifecycle_state is not None:
|
|
270
|
-
kwargs['lifecycle_state'] = lifecycle_state
|
|
271
|
-
if display_name is not None:
|
|
272
|
-
kwargs['display_name'] = display_name
|
|
273
|
-
if id is not None:
|
|
274
|
-
kwargs['id'] = id
|
|
275
|
-
if limit is not None:
|
|
276
|
-
kwargs['limit'] = limit
|
|
277
|
-
if page is not None:
|
|
278
|
-
kwargs['page'] = page
|
|
279
|
-
if sort_order is not None:
|
|
280
|
-
kwargs['sort_order'] = sort_order
|
|
281
|
-
if sort_by is not None:
|
|
282
|
-
kwargs['sort_by'] = sort_by
|
|
283
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
284
|
-
client = cli_util.build_client('marketplace_publisher', 'attachment', ctx)
|
|
285
|
-
if all_pages:
|
|
286
|
-
if page_size:
|
|
287
|
-
kwargs['limit'] = page_size
|
|
288
|
-
|
|
289
|
-
result = cli_util.list_call_get_all_results(
|
|
290
|
-
client.list_attachments,
|
|
291
|
-
offer_id=offer_id,
|
|
292
|
-
**kwargs
|
|
293
|
-
)
|
|
294
|
-
elif limit is not None:
|
|
295
|
-
result = cli_util.list_call_get_up_to_limit(
|
|
296
|
-
client.list_attachments,
|
|
297
|
-
limit,
|
|
298
|
-
page_size,
|
|
299
|
-
offer_id=offer_id,
|
|
300
|
-
**kwargs
|
|
301
|
-
)
|
|
302
|
-
else:
|
|
303
|
-
result = client.list_attachments(
|
|
304
|
-
offer_id=offer_id,
|
|
305
|
-
**kwargs
|
|
306
|
-
)
|
|
307
|
-
cli_util.render_response(result, ctx)
|
|
@@ -1,14 +0,0 @@
|
|
|
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: 20220901
|
|
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.marketplace_publisher import AttachmentClient
|
|
10
|
-
|
|
11
|
-
MODULE_TO_TYPE_MAPPINGS["marketplace_publisher"] = oci.marketplace_publisher.models.marketplace_publisher_type_mapping
|
|
12
|
-
if CLIENT_MAP.get("marketplace_publisher") is None:
|
|
13
|
-
CLIENT_MAP["marketplace_publisher"] = {}
|
|
14
|
-
CLIENT_MAP["marketplace_publisher"]["attachment"] = AttachmentClient
|
|
@@ -1,14 +0,0 @@
|
|
|
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: 20220901
|
|
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('offer.marketplace_publisher_service_group.command_name', 'marketplace-publisher'), cls=CommandGroupWithAlias, help=cli_util.override('offer.marketplace_publisher_service_group.help', """Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace."""), short_help=cli_util.override('offer.marketplace_publisher_service_group.short_help', """MarketplacePublisherService API"""))
|
|
12
|
-
@cli_util.help_option_group
|
|
13
|
-
def marketplace_publisher_service_group():
|
|
14
|
-
pass
|
|
@@ -1,4 +0,0 @@
|
|
|
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: 20220901
|
|
@@ -1,4 +0,0 @@
|
|
|
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: 20220901
|
|
@@ -1,14 +0,0 @@
|
|
|
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: 20220901
|
|
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.marketplace_publisher import OfferClient
|
|
10
|
-
|
|
11
|
-
MODULE_TO_TYPE_MAPPINGS["marketplace_publisher"] = oci.marketplace_publisher.models.marketplace_publisher_type_mapping
|
|
12
|
-
if CLIENT_MAP.get("marketplace_publisher") is None:
|
|
13
|
-
CLIENT_MAP["marketplace_publisher"] = {}
|
|
14
|
-
CLIENT_MAP["marketplace_publisher"]["offer"] = OfferClient
|