UiPath Documentation
cicd-integrations
2023.4
false
CI/CD 連携ユーザー ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Orchestrator からアセットを削除する

前提条件:

  • Orchestrator 内にアセットを作成します。
  • 削除するアセットを含む CSV ファイルを作成します。CSV ファイルには、name、type、value の 3 つの列が必要です。type 列と value 列の下のデータ セルは空のままで構いません。
  • CLI の exe ファイル (Windows の場合) または dll ファイル (Linux の場合) を実行します。
  • Add the required Orchestrator API access application scopes.

CSV ファイルについて詳しくは、以下の表の例をご覧ください。

nametypevalue
asset1_nameN/AN/A
asset2_nameBooltrue
asset3_nameintegerN/A
asset4_nameCredentialusername:password

Orchestrator からアセットを削除するには、次の手順に従います。

  1. uipcli asset を使用して asset タスクを実行します。利用可能なサブタスクのリストが表示されます。

  2. 必要なパラメーターを指定し、delete サブタスクを実行します。

    以下のパラメーターのリストをご覧ください。

    パラメーター 説明
    -u, または --username (ユーザー名とパスワードによる基本認証を使用する場合は必須) Orchestrator への認証に使用するユーザー名です。対応するパスワードと組み合わせて使用する必要があります。
    -p または --password (ユーザー名とパスワードによる基本認証を使用する場合は必須) Orchestrator への認証に使用するパスワードです。対応するユーザー名と組み合わせて使用する必要があります。
    -t, or --token (Required if you use token-based authentication) Orchestrator への認証に使用する OAuth2 更新トークンです。アカウント名およびクライアント ID と組み合わせて使用する必要があります。
    -a, or --accountName (Required if you use token-based authentication) Orchestrator Cloud RPA のアカウント名です。OAuth2 更新トークンおよびクライアント ID と組み合わせて使用する必要があります。

    -A または --accountForApp

    The Orchestrator CloudRPA account name(organization name). You must pair it with the Application ID, Application Secret, and Application scope for external application.

    -I, or --applicationId (Required if you use external application authentication)

    外部アプリケーション ID です。アプリケーション アカウント、アプリケーション シークレット、アプリケーション スコープと組み合わせて使用する必要があります。

    -S, or --applicationSecret (Required if you use external application authentication)

    外部アプリケーション シークレットです。アプリケーション アカウント、アプリケーション ID、アプリケーション スコープと組み合わせて使用する必要があります。

    --applicationScope (Required if you use external application authentication)

    アプリケーション スコープを単一のスペースで区切って列挙したリストです。外部アプリケーションのアプリケーション アカウント、アプリケーション ID、アプリケーション シークレットと組み合わせて使用する必要があります。

    -o または --organizationUnit

    Orchestrator フォルダー (組織単位) の名前です。

    サブフォルダーを入力するには、親フォルダーの名前とサブフォルダーの名前の両方を入力してください。例: AccountingTeam\TeamJohn

    -l または --language

    Orchestrator のユーザー インターフェイスで使用する言語です。

    -y または --disableTelemetry

    テレメトリ データを無効化します。

    --traceLevel

    イベントのトレースを表示します。

    --identityUrl (PaaS デプロイの場合のみ必須)

    Identity Server の URL です。

    --help

    このコマンドのパラメーターと例を表示します。

    --version

    バージョン情報を表示します。

    Assets File (pos. 0) (必須) 削除するアセットが含まれる CSV ファイルの名前です。
    Orchestrator URL (pos.1) (必須) Orchestrator インスタンスの URL です。

    Orchestrator Tenant (pos.2)

    • (必須) SaaS デプロイの場合。
    • (任意) PaaS デプロイの場合。
    アセットを管理する Orchestrator インスタンスのテナントです。

使用状況:

asset delete <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]
asset delete <assets_file> <orchestrator_url> <orchestrator_tenant> [-u <orchestrator_user> -p <orchestrator_pass>] [-t <auth_token> -a <account_name>] [-A <account_for_app> -I <application_id> -S <application_secret> --applicationScope] [-o <folder>] [-l <language>]

例:

  • asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -l en-US
  • asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -u admin -p 123456 -o OurOrganization
  • asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -t a7da29a2c93a717110a82 -a myAccount
  • asset delete assets_file.csv "https://uipath-orchestrator.myorg.com" default -A accountForExternalApp -I myExternalAppId -S myExternalAppSecret --applicationScope "OR.Folders.Read OR.Settings.Read"

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得