UiPath Documentation
uipath-cli
latest
false
UiPath CLI ユーザー ガイド
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UIP またはバケット

「uip またはバケット」の構文とオプション - オートメーションで使用される Orchestrator のストレージ コンテナーを管理します。

Orchestrator バケット (オートメーションで使用されるファイル用のストレージ コンテナー) を管理します。バケットの操作はフォルダー範囲です。バケット内のファイルごとの操作については、「 uip or bucket-files」をご覧ください。

リソース間の規則 (認証、フォルダー スコープ、キーの種類、出力エンベロープ) については、「 uip or の概要」をご覧ください。

概要​

uip or buckets list          [--folder-path <path> | --folder-key <key> | --all-folders] [-n <name>] [--exclude-folder-path <path>] [--exclude-folder-key <key>] [-l, --limit <n>] [--offset <n>] [--sort-by <field>] [--all-fields]
uip or buckets get           <bucket-key> [--folder-path <path> | --folder-key <key>] [--all-fields]
uip or buckets create        <name> --folder-path <path> | --folder-key <key> [options below]
uip or buckets update        <bucket-key> [options as for create]
uip or buckets delete        <bucket-key> --yes | --force
uip or buckets share         <bucket-key> --folder-path <path> | --folder-key <key>
uip or buckets unshare       <bucket-key> --folder-path <path> | --folder-key <key>
uip or buckets list-folders  <bucket-key>
uip or buckets list          [--folder-path <path> | --folder-key <key> | --all-folders] [-n <name>] [--exclude-folder-path <path>] [--exclude-folder-key <key>] [-l, --limit <n>] [--offset <n>] [--sort-by <field>] [--all-fields]
uip or buckets get           <bucket-key> [--folder-path <path> | --folder-key <key>] [--all-fields]
uip or buckets create        <name> --folder-path <path> | --folder-key <key> [options below]
uip or buckets update        <bucket-key> [options as for create]
uip or buckets delete        <bucket-key> --yes | --force
uip or buckets share         <bucket-key> --folder-path <path> | --folder-key <key>
uip or buckets unshare       <bucket-key> --folder-path <path> | --folder-key <key>
uip or buckets list-folders  <bucket-key>

リスト (List)​

バケットのリストを取得します。--folder-path、--folder-key、または --all-foldersが必要です。フォルダーがある場合、そのフォルダー内のバケットのリストが表示されます。--all-foldersを使用すると、アクセス可能なすべてのフォルダーのリストが表示されます (任意で、--exclude-folder-path/--exclude-folder-keyを介して 1 つを除外します。これはそのモードでのみ適用されます)。フィルター: -n, --name <name>--sort-by <field> 結果を並べ替えます (既定 Id desc)。 --all-fields 完全な API 応答を返します。

uip or buckets list --folder-path Shared
uip or buckets list --folder-path Shared

バケットの詳細をキーで取得。--all-fields は、ストレージ コンテナー、資格情報ストア リンク、タグを含む完全な API 応答を返します。

uip or buckets get a1b2c3d4-0000-0000-0000-000000000001
uip or buckets get a1b2c3d4-0000-0000-0000-000000000001

作成​

フォルダーにバケットを作成します。<name>が必要です。任意のフラグには、 --identifier <guid> (省略すると自動生成)、 -d, --description、 --storage-provider <Azure|Amazon|Minio|S3Compatible|FileSystem> (Orchestrator 組み込みの場合は省略)、 --storage-parameters、 --storage-container、 --credential-store-key ( Azure と Amazonに必須)、 --external-name、 --password、 --options <None|ReadOnly|AuditReadAccess|AccessDataThroughOrchestrator>、 --tags <json> (JSON 配列、例:'[{"name":"env","value":"prod"}]')。

uip or buckets create invoices --folder-path Shared \
  --description "Invoice attachments"
uip or buckets create invoices --folder-path Shared \
  --description "Invoice attachments"

更新​

バケットのプロパティをキーで更新する。create と同じフラグ (すべて任意、-n, --name でバケットの名前を変更update)。

削除​

キーでバケットを削除する-y, --yesが必要 — CLI で破壊的な操作が求められることはありません。-f, --forceファイルも渡さない限り、ファイルが残っているバケットの削除を拒否します (ファイルも削除され、 --yesを意味します)。

uip or buckets delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or buckets delete a1b2c3d4-0000-0000-0000-000000000010 --force
uip or buckets delete a1b2c3d4-0000-0000-0000-000000000010 --yes
uip or buckets delete a1b2c3d4-0000-0000-0000-000000000010 --force

共有/共有解除​

フォルダーにバケットを追加または削除します。

リストフォルダ​

バケットが共有されているフォルダーのリストを取得します。

終了コード​

共有コントラクトの 終了コード を参照してください。delete -y, --yes / -f, --force が省略されている場合、またはバケットにまだファイルがあり、--forceが渡されなかった場合、1終了します。

参照​

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得