UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip ou buckets

Sintaxe e opções para "uip ou buckets", que gerenciam contêineres de armazenamento do Orchestrator usados por automações.

Gerenciar buckets do Orchestrator — contêineres de armazenamento para arquivos usados por automações. As operações de bucket são de pasta. Para operações por arquivo dentro de um bucket, consulte uip or bucket-files.

Para as convenções entre recursos (autenticação, escopo de pasta, tipos de chave, envelope de saída), consulte a visão geraluip or .

Resumo​

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>

Listar buckets. Requer --folder-path, --folder-key ou --all-folders. Com uma pasta, lista buckets dentro dessa pasta. Com --all-folders, listas em cada pasta acessível (excluindo opcionalmente uma por meio de --exclude-folder-path / --exclude-folder-key, que se aplicam apenas nesse modo). Filtro: -n, --name <name>. --sort-by <field> classifica resultados (padrão Id desc); --all-fields retorna a resposta completa da API.

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

Obtenha os detalhes do bucket por chave. --all-fields retorna a resposta completa da API, incluindo contêiner de armazenamento, link de armazenamento de credenciais e tags.

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

Criar​

Crie um bucket em uma pasta. Requer <name>. Os sinalizadores opcionais incluem --identifier <guid> (gerado automaticamente se omitido), -d, --description, --storage-provider <Azure|Amazon|Minio|S3Compatible|FileSystem> (omitir para o Orchestrator integrado), --storage-parameters, --storage-container, --credential-store-key (necessário para Azure e Amazon), --external-name, --password, --options <None|ReadOnly|AuditReadAccess|AccessDataThroughOrchestrator>, --tags <json> (uma matriz JSON, por exemplo '[{"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"

Atualizar​

Atualize as propriedades do bucket por chave. Mesmos sinalizadores que create (todos opcionais; -n, --name renomeia o bucket em update).

Excluir​

Exclui um bucket por chave. Requer -y, --yes — a CLI nunca solicita operações destrutivas. Recusa-se a excluir um bucket que ainda tem arquivos, a menos que você também passe -f, --force (que também exclui os arquivos e implica --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

compartilhar/descompartilhar​

Adicione ou remova o bucket de uma pasta.

listar pastas​

Liste as pastas com as quais um bucket é compartilhado.

Códigos de saída​

Consulte Códigos de saída para o contrato compartilhado. delete sai de 1 se -y, --yes / -f, --force for omitido ou se o bucket ainda tiver arquivos e --force não tiver sido passado.

Veja também​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades