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,431 +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('offer.offer_root_group.command_name', 'offer'), cls=CommandGroupWithAlias, help=cli_util.override('offer.offer_root_group.help', """Use the Marketplace Publisher API to manage the publishing of applications in Oracle Cloud Infrastructure Marketplace."""), short_help=cli_util.override('offer.offer_root_group.short_help', """MarketplacePublisherService API"""))
|
|
20
|
-
@cli_util.help_option_group
|
|
21
|
-
def offer_root_group():
|
|
22
|
-
pass
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
@click.command(cli_util.override('offer.offer_group.command_name', 'offer'), cls=CommandGroupWithAlias, help="""Description of Offer.""")
|
|
26
|
-
@cli_util.help_option_group
|
|
27
|
-
def offer_group():
|
|
28
|
-
pass
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
@click.command(cli_util.override('offer.offer_collection_group.command_name', 'offer-collection'), cls=CommandGroupWithAlias, help="""Results of a offers search. Contains boh OfferSummary items and other information, such as metadata.""")
|
|
32
|
-
@cli_util.help_option_group
|
|
33
|
-
def offer_collection_group():
|
|
34
|
-
pass
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
marketplace_publisher_service_cli.marketplace_publisher_service_group.add_command(offer_root_group)
|
|
38
|
-
offer_root_group.add_command(offer_group)
|
|
39
|
-
offer_root_group.add_command(offer_collection_group)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@offer_group.command(name=cli_util.override('offer.create_offer.command_name', 'create'), help=u"""Creates a new Offer. \n[Command Reference](createOffer)""")
|
|
43
|
-
@cli_util.option('--display-name', required=True, help=u"""Offers Identifier""")
|
|
44
|
-
@cli_util.option('--seller-compartment-id', required=True, help=u"""Compartment Identifier of the seller""")
|
|
45
|
-
@cli_util.option('--buyer-compartment-id', help=u"""Compartment Identifier of the buyer""")
|
|
46
|
-
@cli_util.option('--description', help=u"""Description of the Offer""")
|
|
47
|
-
@cli_util.option('--internal-notes', help=u"""Internal notes of the Offer""")
|
|
48
|
-
@cli_util.option('--time-start-date', type=custom_types.CLI_DATETIME, help=u"""The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
49
|
-
@cli_util.option('--duration', help=u"""Duration the Offer will be active after its start date. An ISO8601 extended formatted string.""")
|
|
50
|
-
@cli_util.option('--time-accept-by', type=custom_types.CLI_DATETIME, help=u"""The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
51
|
-
@cli_util.option('--pricing', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
52
|
-
@cli_util.option('--buyer-information', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
53
|
-
@cli_util.option('--seller-information', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
54
|
-
@cli_util.option('--resource-bundles', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of Resource Bundles associated with an Offer.
|
|
55
|
-
|
|
56
|
-
This option is a JSON list with items of type ResourceBundle. For documentation on ResourceBundle please see our API reference: https://docs.cloud.oracle.com/api/#/en/offer/20220901/datatypes/ResourceBundle.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
57
|
-
@cli_util.option('--custom-fields', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of key value pairs specified by the seller
|
|
58
|
-
|
|
59
|
-
This option is a JSON list with items of type CustomField. For documentation on CustomField please see our API reference: https://docs.cloud.oracle.com/api/#/en/offer/20220901/datatypes/CustomField.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
60
|
-
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
61
|
-
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
62
|
-
@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.""")
|
|
63
|
-
@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.""")
|
|
64
|
-
@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.""")
|
|
65
|
-
@json_skeleton_utils.get_cli_json_input_option({'pricing': {'module': 'marketplace_publisher', 'class': 'Pricing'}, 'buyer-information': {'module': 'marketplace_publisher', 'class': 'BuyerInformation'}, 'seller-information': {'module': 'marketplace_publisher', 'class': 'SellerInformation'}, 'resource-bundles': {'module': 'marketplace_publisher', 'class': 'list[ResourceBundle]'}, 'custom-fields': {'module': 'marketplace_publisher', 'class': 'list[CustomField]'}, 'freeform-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, dict(str, object))'}})
|
|
66
|
-
@cli_util.help_option
|
|
67
|
-
@click.pass_context
|
|
68
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'pricing': {'module': 'marketplace_publisher', 'class': 'Pricing'}, 'buyer-information': {'module': 'marketplace_publisher', 'class': 'BuyerInformation'}, 'seller-information': {'module': 'marketplace_publisher', 'class': 'SellerInformation'}, 'resource-bundles': {'module': 'marketplace_publisher', 'class': 'list[ResourceBundle]'}, 'custom-fields': {'module': 'marketplace_publisher', 'class': 'list[CustomField]'}, 'freeform-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'marketplace_publisher', 'class': 'Offer'})
|
|
69
|
-
@cli_util.wrap_exceptions
|
|
70
|
-
def create_offer(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, display_name, seller_compartment_id, buyer_compartment_id, description, internal_notes, time_start_date, duration, time_accept_by, pricing, buyer_information, seller_information, resource_bundles, custom_fields, freeform_tags, defined_tags):
|
|
71
|
-
|
|
72
|
-
kwargs = {}
|
|
73
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
74
|
-
|
|
75
|
-
_details = {}
|
|
76
|
-
_details['displayName'] = display_name
|
|
77
|
-
_details['sellerCompartmentId'] = seller_compartment_id
|
|
78
|
-
|
|
79
|
-
if buyer_compartment_id is not None:
|
|
80
|
-
_details['buyerCompartmentId'] = buyer_compartment_id
|
|
81
|
-
|
|
82
|
-
if description is not None:
|
|
83
|
-
_details['description'] = description
|
|
84
|
-
|
|
85
|
-
if internal_notes is not None:
|
|
86
|
-
_details['internalNotes'] = internal_notes
|
|
87
|
-
|
|
88
|
-
if time_start_date is not None:
|
|
89
|
-
_details['timeStartDate'] = time_start_date
|
|
90
|
-
|
|
91
|
-
if duration is not None:
|
|
92
|
-
_details['duration'] = duration
|
|
93
|
-
|
|
94
|
-
if time_accept_by is not None:
|
|
95
|
-
_details['timeAcceptBy'] = time_accept_by
|
|
96
|
-
|
|
97
|
-
if pricing is not None:
|
|
98
|
-
_details['pricing'] = cli_util.parse_json_parameter("pricing", pricing)
|
|
99
|
-
|
|
100
|
-
if buyer_information is not None:
|
|
101
|
-
_details['buyerInformation'] = cli_util.parse_json_parameter("buyer_information", buyer_information)
|
|
102
|
-
|
|
103
|
-
if seller_information is not None:
|
|
104
|
-
_details['sellerInformation'] = cli_util.parse_json_parameter("seller_information", seller_information)
|
|
105
|
-
|
|
106
|
-
if resource_bundles is not None:
|
|
107
|
-
_details['resourceBundles'] = cli_util.parse_json_parameter("resource_bundles", resource_bundles)
|
|
108
|
-
|
|
109
|
-
if custom_fields is not None:
|
|
110
|
-
_details['customFields'] = cli_util.parse_json_parameter("custom_fields", custom_fields)
|
|
111
|
-
|
|
112
|
-
if freeform_tags is not None:
|
|
113
|
-
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
114
|
-
|
|
115
|
-
if defined_tags is not None:
|
|
116
|
-
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
117
|
-
|
|
118
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
119
|
-
result = client.create_offer(
|
|
120
|
-
create_offer_details=_details,
|
|
121
|
-
**kwargs
|
|
122
|
-
)
|
|
123
|
-
if wait_for_state:
|
|
124
|
-
|
|
125
|
-
if hasattr(client, 'get_offer') and callable(getattr(client, 'get_offer')):
|
|
126
|
-
try:
|
|
127
|
-
wait_period_kwargs = {}
|
|
128
|
-
if max_wait_seconds is not None:
|
|
129
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
130
|
-
if wait_interval_seconds is not None:
|
|
131
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
132
|
-
|
|
133
|
-
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
134
|
-
result = oci.wait_until(client, client.get_offer(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
135
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
136
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
137
|
-
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
138
|
-
cli_util.render_response(result, ctx)
|
|
139
|
-
sys.exit(2)
|
|
140
|
-
except Exception:
|
|
141
|
-
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
142
|
-
cli_util.render_response(result, ctx)
|
|
143
|
-
raise
|
|
144
|
-
else:
|
|
145
|
-
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
146
|
-
cli_util.render_response(result, ctx)
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
@offer_group.command(name=cli_util.override('offer.delete_offer.command_name', 'delete'), help=u"""Deletes an Offer resource by identifier \n[Command Reference](deleteOffer)""")
|
|
150
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
151
|
-
@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.""")
|
|
152
|
-
@cli_util.confirm_delete_option
|
|
153
|
-
@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.""")
|
|
154
|
-
@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.""")
|
|
155
|
-
@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.""")
|
|
156
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
157
|
-
@cli_util.help_option
|
|
158
|
-
@click.pass_context
|
|
159
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
|
|
160
|
-
@cli_util.wrap_exceptions
|
|
161
|
-
def delete_offer(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, offer_id, if_match):
|
|
162
|
-
|
|
163
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
164
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
165
|
-
|
|
166
|
-
kwargs = {}
|
|
167
|
-
if if_match is not None:
|
|
168
|
-
kwargs['if_match'] = if_match
|
|
169
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
170
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
171
|
-
result = client.delete_offer(
|
|
172
|
-
offer_id=offer_id,
|
|
173
|
-
**kwargs
|
|
174
|
-
)
|
|
175
|
-
if wait_for_state:
|
|
176
|
-
|
|
177
|
-
if hasattr(client, 'get_work_request') and callable(getattr(client, 'get_work_request')):
|
|
178
|
-
try:
|
|
179
|
-
wait_period_kwargs = {}
|
|
180
|
-
if max_wait_seconds is not None:
|
|
181
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
182
|
-
if wait_interval_seconds is not None:
|
|
183
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
184
|
-
if 'opc-work-request-id' not in result.headers:
|
|
185
|
-
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state')
|
|
186
|
-
cli_util.render_response(result, ctx)
|
|
187
|
-
return
|
|
188
|
-
|
|
189
|
-
click.echo('Action completed. Waiting until the work request has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
190
|
-
result = oci.wait_until(client, client.get_work_request(result.headers['opc-work-request-id']), 'status', wait_for_state, **wait_period_kwargs)
|
|
191
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
192
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
193
|
-
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)
|
|
194
|
-
cli_util.render_response(result, ctx)
|
|
195
|
-
sys.exit(2)
|
|
196
|
-
except Exception:
|
|
197
|
-
click.echo('Encountered error while waiting for work request to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
198
|
-
cli_util.render_response(result, ctx)
|
|
199
|
-
raise
|
|
200
|
-
else:
|
|
201
|
-
click.echo('Unable to wait for the work request to enter the specified state', file=sys.stderr)
|
|
202
|
-
cli_util.render_response(result, ctx)
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
@offer_group.command(name=cli_util.override('offer.get_offer.command_name', 'get'), help=u"""Gets an Offer by identifier \n[Command Reference](getOffer)""")
|
|
206
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
207
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
208
|
-
@cli_util.help_option
|
|
209
|
-
@click.pass_context
|
|
210
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'Offer'})
|
|
211
|
-
@cli_util.wrap_exceptions
|
|
212
|
-
def get_offer(ctx, from_json, offer_id):
|
|
213
|
-
|
|
214
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
215
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
216
|
-
|
|
217
|
-
kwargs = {}
|
|
218
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
219
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
220
|
-
result = client.get_offer(
|
|
221
|
-
offer_id=offer_id,
|
|
222
|
-
**kwargs
|
|
223
|
-
)
|
|
224
|
-
cli_util.render_response(result, ctx)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
@offer_group.command(name=cli_util.override('offer.get_offer_internal_detail.command_name', 'get-offer-internal-detail'), help=u"""Gets an Offer internal details by identifier \n[Command Reference](getOfferInternalDetail)""")
|
|
228
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
229
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
230
|
-
@cli_util.help_option
|
|
231
|
-
@click.pass_context
|
|
232
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'OfferInternalDetail'})
|
|
233
|
-
@cli_util.wrap_exceptions
|
|
234
|
-
def get_offer_internal_detail(ctx, from_json, offer_id):
|
|
235
|
-
|
|
236
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
237
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
238
|
-
|
|
239
|
-
kwargs = {}
|
|
240
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
241
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
242
|
-
result = client.get_offer_internal_detail(
|
|
243
|
-
offer_id=offer_id,
|
|
244
|
-
**kwargs
|
|
245
|
-
)
|
|
246
|
-
cli_util.render_response(result, ctx)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
@offer_collection_group.command(name=cli_util.override('offer.list_offers.command_name', 'list-offers'), help=u"""Returns a list of Offers. Requires either the BuyerCompartmentId or the SellerCompartmentId params. If neither or both are provided, then the API will return a 400. \n[Command Reference](listOffers)""")
|
|
250
|
-
@cli_util.option('--buyer-compartment-id', help=u"""The ID of the buyer compartment this offer is associated with.""")
|
|
251
|
-
@cli_util.option('--seller-compartment-id', help=u"""The ID of the seller compartment this offer is associated with.""")
|
|
252
|
-
@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.""")
|
|
253
|
-
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given.""")
|
|
254
|
-
@cli_util.option('--id', help=u"""unique Offer identifier""")
|
|
255
|
-
@cli_util.option('--limit', type=click.INT, help=u"""The maximum number of items to return.""")
|
|
256
|
-
@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.""")
|
|
257
|
-
@cli_util.option('--sort-order', type=custom_types.CliCaseInsensitiveChoice(["ASC", "DESC"]), help=u"""The sort order to use, either 'ASC' or 'DESC'.""")
|
|
258
|
-
@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.""")
|
|
259
|
-
@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.""")
|
|
260
|
-
@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.""")
|
|
261
|
-
@json_skeleton_utils.get_cli_json_input_option({})
|
|
262
|
-
@cli_util.help_option
|
|
263
|
-
@click.pass_context
|
|
264
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'marketplace_publisher', 'class': 'OfferCollection'})
|
|
265
|
-
@cli_util.wrap_exceptions
|
|
266
|
-
def list_offers(ctx, from_json, all_pages, page_size, buyer_compartment_id, seller_compartment_id, lifecycle_state, display_name, id, limit, page, sort_order, sort_by):
|
|
267
|
-
|
|
268
|
-
if all_pages and limit:
|
|
269
|
-
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
|
|
270
|
-
|
|
271
|
-
kwargs = {}
|
|
272
|
-
if buyer_compartment_id is not None:
|
|
273
|
-
kwargs['buyer_compartment_id'] = buyer_compartment_id
|
|
274
|
-
if seller_compartment_id is not None:
|
|
275
|
-
kwargs['seller_compartment_id'] = seller_compartment_id
|
|
276
|
-
if lifecycle_state is not None:
|
|
277
|
-
kwargs['lifecycle_state'] = lifecycle_state
|
|
278
|
-
if display_name is not None:
|
|
279
|
-
kwargs['display_name'] = display_name
|
|
280
|
-
if id is not None:
|
|
281
|
-
kwargs['id'] = id
|
|
282
|
-
if limit is not None:
|
|
283
|
-
kwargs['limit'] = limit
|
|
284
|
-
if page is not None:
|
|
285
|
-
kwargs['page'] = page
|
|
286
|
-
if sort_order is not None:
|
|
287
|
-
kwargs['sort_order'] = sort_order
|
|
288
|
-
if sort_by is not None:
|
|
289
|
-
kwargs['sort_by'] = sort_by
|
|
290
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
291
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
292
|
-
if all_pages:
|
|
293
|
-
if page_size:
|
|
294
|
-
kwargs['limit'] = page_size
|
|
295
|
-
|
|
296
|
-
result = cli_util.list_call_get_all_results(
|
|
297
|
-
client.list_offers,
|
|
298
|
-
**kwargs
|
|
299
|
-
)
|
|
300
|
-
elif limit is not None:
|
|
301
|
-
result = cli_util.list_call_get_up_to_limit(
|
|
302
|
-
client.list_offers,
|
|
303
|
-
limit,
|
|
304
|
-
page_size,
|
|
305
|
-
**kwargs
|
|
306
|
-
)
|
|
307
|
-
else:
|
|
308
|
-
result = client.list_offers(
|
|
309
|
-
**kwargs
|
|
310
|
-
)
|
|
311
|
-
cli_util.render_response(result, ctx)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
@offer_group.command(name=cli_util.override('offer.update_offer.command_name', 'update'), help=u"""Updates the Offer \n[Command Reference](updateOffer)""")
|
|
315
|
-
@cli_util.option('--offer-id', required=True, help=u"""unique Offer identifier""")
|
|
316
|
-
@cli_util.option('--display-name', help=u"""Offers Identifier""")
|
|
317
|
-
@cli_util.option('--buyer-compartment-id', help=u"""OCID of the buyer's tenancy (root compartment).""")
|
|
318
|
-
@cli_util.option('--description', help=u"""Description of the Offer""")
|
|
319
|
-
@cli_util.option('--internal-notes', help=u"""Internal notes of the Offer""")
|
|
320
|
-
@cli_util.option('--time-start-date', type=custom_types.CLI_DATETIME, help=u"""The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
321
|
-
@cli_util.option('--duration', help=u"""Duration the Offer will be active after its start date. An ISO8601 extended formatted string.""")
|
|
322
|
-
@cli_util.option('--time-accept-by', type=custom_types.CLI_DATETIME, help=u"""The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string""" + custom_types.CLI_DATETIME.VALID_DATETIME_CLI_HELP_MESSAGE)
|
|
323
|
-
@cli_util.option('--pricing', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
324
|
-
@cli_util.option('--buyer-information', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
325
|
-
@cli_util.option('--seller-information', type=custom_types.CLI_COMPLEX_TYPE, help=u"""""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
326
|
-
@cli_util.option('--resource-bundles', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of Resource Bundles associated with an Offer.
|
|
327
|
-
|
|
328
|
-
This option is a JSON list with items of type ResourceBundle. For documentation on ResourceBundle please see our API reference: https://docs.cloud.oracle.com/api/#/en/offer/20220901/datatypes/ResourceBundle.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
329
|
-
@cli_util.option('--custom-fields', type=custom_types.CLI_COMPLEX_TYPE, help=u"""A list of key value pairs specified by the seller
|
|
330
|
-
|
|
331
|
-
This option is a JSON list with items of type CustomField. For documentation on CustomField please see our API reference: https://docs.cloud.oracle.com/api/#/en/offer/20220901/datatypes/CustomField.""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
332
|
-
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
333
|
-
@cli_util.option('--defined-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
|
|
334
|
-
@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.""")
|
|
335
|
-
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
|
|
336
|
-
@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.""")
|
|
337
|
-
@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.""")
|
|
338
|
-
@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.""")
|
|
339
|
-
@json_skeleton_utils.get_cli_json_input_option({'pricing': {'module': 'marketplace_publisher', 'class': 'Pricing'}, 'buyer-information': {'module': 'marketplace_publisher', 'class': 'BuyerInformation'}, 'seller-information': {'module': 'marketplace_publisher', 'class': 'SellerInformation'}, 'resource-bundles': {'module': 'marketplace_publisher', 'class': 'list[ResourceBundle]'}, 'custom-fields': {'module': 'marketplace_publisher', 'class': 'list[CustomField]'}, 'freeform-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, dict(str, object))'}})
|
|
340
|
-
@cli_util.help_option
|
|
341
|
-
@click.pass_context
|
|
342
|
-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'pricing': {'module': 'marketplace_publisher', 'class': 'Pricing'}, 'buyer-information': {'module': 'marketplace_publisher', 'class': 'BuyerInformation'}, 'seller-information': {'module': 'marketplace_publisher', 'class': 'SellerInformation'}, 'resource-bundles': {'module': 'marketplace_publisher', 'class': 'list[ResourceBundle]'}, 'custom-fields': {'module': 'marketplace_publisher', 'class': 'list[CustomField]'}, 'freeform-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, string)'}, 'defined-tags': {'module': 'marketplace_publisher', 'class': 'dict(str, dict(str, object))'}}, output_type={'module': 'marketplace_publisher', 'class': 'Offer'})
|
|
343
|
-
@cli_util.wrap_exceptions
|
|
344
|
-
def update_offer(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, offer_id, display_name, buyer_compartment_id, description, internal_notes, time_start_date, duration, time_accept_by, pricing, buyer_information, seller_information, resource_bundles, custom_fields, freeform_tags, defined_tags, if_match):
|
|
345
|
-
|
|
346
|
-
if isinstance(offer_id, six.string_types) and len(offer_id.strip()) == 0:
|
|
347
|
-
raise click.UsageError('Parameter --offer-id cannot be whitespace or empty string')
|
|
348
|
-
if not force:
|
|
349
|
-
if pricing or buyer_information or seller_information or resource_bundles or custom_fields or freeform_tags or defined_tags:
|
|
350
|
-
if not click.confirm("WARNING: Updates to pricing and buyer-information and seller-information and resource-bundles and custom-fields and freeform-tags and defined-tags will replace any existing values. Are you sure you want to continue?"):
|
|
351
|
-
ctx.abort()
|
|
352
|
-
|
|
353
|
-
kwargs = {}
|
|
354
|
-
if if_match is not None:
|
|
355
|
-
kwargs['if_match'] = if_match
|
|
356
|
-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
|
|
357
|
-
|
|
358
|
-
_details = {}
|
|
359
|
-
|
|
360
|
-
if display_name is not None:
|
|
361
|
-
_details['displayName'] = display_name
|
|
362
|
-
|
|
363
|
-
if buyer_compartment_id is not None:
|
|
364
|
-
_details['buyerCompartmentId'] = buyer_compartment_id
|
|
365
|
-
|
|
366
|
-
if description is not None:
|
|
367
|
-
_details['description'] = description
|
|
368
|
-
|
|
369
|
-
if internal_notes is not None:
|
|
370
|
-
_details['internalNotes'] = internal_notes
|
|
371
|
-
|
|
372
|
-
if time_start_date is not None:
|
|
373
|
-
_details['timeStartDate'] = time_start_date
|
|
374
|
-
|
|
375
|
-
if duration is not None:
|
|
376
|
-
_details['duration'] = duration
|
|
377
|
-
|
|
378
|
-
if time_accept_by is not None:
|
|
379
|
-
_details['timeAcceptBy'] = time_accept_by
|
|
380
|
-
|
|
381
|
-
if pricing is not None:
|
|
382
|
-
_details['pricing'] = cli_util.parse_json_parameter("pricing", pricing)
|
|
383
|
-
|
|
384
|
-
if buyer_information is not None:
|
|
385
|
-
_details['buyerInformation'] = cli_util.parse_json_parameter("buyer_information", buyer_information)
|
|
386
|
-
|
|
387
|
-
if seller_information is not None:
|
|
388
|
-
_details['sellerInformation'] = cli_util.parse_json_parameter("seller_information", seller_information)
|
|
389
|
-
|
|
390
|
-
if resource_bundles is not None:
|
|
391
|
-
_details['resourceBundles'] = cli_util.parse_json_parameter("resource_bundles", resource_bundles)
|
|
392
|
-
|
|
393
|
-
if custom_fields is not None:
|
|
394
|
-
_details['customFields'] = cli_util.parse_json_parameter("custom_fields", custom_fields)
|
|
395
|
-
|
|
396
|
-
if freeform_tags is not None:
|
|
397
|
-
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
|
|
398
|
-
|
|
399
|
-
if defined_tags is not None:
|
|
400
|
-
_details['definedTags'] = cli_util.parse_json_parameter("defined_tags", defined_tags)
|
|
401
|
-
|
|
402
|
-
client = cli_util.build_client('marketplace_publisher', 'offer', ctx)
|
|
403
|
-
result = client.update_offer(
|
|
404
|
-
offer_id=offer_id,
|
|
405
|
-
update_offer_details=_details,
|
|
406
|
-
**kwargs
|
|
407
|
-
)
|
|
408
|
-
if wait_for_state:
|
|
409
|
-
|
|
410
|
-
if hasattr(client, 'get_offer') and callable(getattr(client, 'get_offer')):
|
|
411
|
-
try:
|
|
412
|
-
wait_period_kwargs = {}
|
|
413
|
-
if max_wait_seconds is not None:
|
|
414
|
-
wait_period_kwargs['max_wait_seconds'] = max_wait_seconds
|
|
415
|
-
if wait_interval_seconds is not None:
|
|
416
|
-
wait_period_kwargs['max_interval_seconds'] = wait_interval_seconds
|
|
417
|
-
|
|
418
|
-
click.echo('Action completed. Waiting until the resource has entered state: {}'.format(wait_for_state), file=sys.stderr)
|
|
419
|
-
result = oci.wait_until(client, client.get_offer(result.data.id), 'lifecycle_state', wait_for_state, **wait_period_kwargs)
|
|
420
|
-
except oci.exceptions.MaximumWaitTimeExceeded as e:
|
|
421
|
-
# If we fail, we should show an error, but we should still provide the information to the customer
|
|
422
|
-
click.echo('Failed to wait until the resource entered the specified state. Outputting last known resource state', file=sys.stderr)
|
|
423
|
-
cli_util.render_response(result, ctx)
|
|
424
|
-
sys.exit(2)
|
|
425
|
-
except Exception:
|
|
426
|
-
click.echo('Encountered error while waiting for resource to enter the specified state. Outputting last known resource state', file=sys.stderr)
|
|
427
|
-
cli_util.render_response(result, ctx)
|
|
428
|
-
raise
|
|
429
|
-
else:
|
|
430
|
-
click.echo('Unable to wait for the resource to enter the specified state', file=sys.stderr)
|
|
431
|
-
cli_util.render_response(result, ctx)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|