copyFromObjectStorage2

以單一、非分段的檔案方式,將檔案或備份快照從 Oracle Object Storage 分組複製到目前的環境。此命令使用 API 簽署驗證,以數位方式簽署要求以確保安全。

適用於

Planning、Planning 模組、FreeForm、Financial Consolidation and Close、Tax Reporting、Account Reconciliation、Profitability and Cost Management、Enterprise Profitability and Cost Management、Oracle Enterprise Data Management Cloud、Narrative Reporting、Strategic Workforce Planning 及 Sales Planning。

必要角色

服務管理員

用法

epmautomate copyFromObjectStorage2 URL tenancyOCID userOCID fingerprint keyFile targetFile,其中:

  • URL 是 Cloud Object Storage URL,包含要從中將檔案複製到 Oracle Fusion Cloud Enterprise Performance Management 環境的分組名稱。
  • tenancyOCID 是其中儲存所要複製之檔案的租用戶 OCID。此 ID 可從 Oracle Cloud Identity Console 的租用戶詳細資料頁面取得。
  • userOCID 是具備從 Cloud Object Storage 複製檔案的存取權限之使用者的 Oracle Cloud Identity。此 ID 可從 Oracle Cloud Identity Console 的使用者詳細資料頁面取得。
  • fingerprint 是 RSA 公用 API 金鑰的指紋 (雜湊)。您可以執行 OpenSSL 命令 openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -cs 來擷取 RSA 非對稱加密演算法指紋
  • keyFile 是儲存在電腦上私密金鑰檔案的名稱 (含路徑)。
  • targetFile 是要從 Object Storage 複製到目前環境之檔案的唯一名稱。

範例

epmautomate CopyFromObjectStorage2 https://objectstorage.region_identifier.oraclecloud.com/n/namespace/b/Example_bucket/o/epm_artifact_snapshot "ocid1.tenancy.oc1..ccca?" "ocid1.user.oc1..aaad?" "5b:51:4b:12:6d:7c:?:a0:11:b7:11:0b:1f" "~/.oci/oci_api_key.pem" "Artifact Snapshot"