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

uip platform tenants

「uip platform tenants」の構文とオプション - テナントごとのライセンス割り当てを読み取って更新します。

uip platform tenants reads and updates per-tenant license allocations, and manages per-folder outcome billing configuration. licenses get returns the active product allocation for a tenant (allocated, available, consumed, validity window); licenses set overlays a JSON delta of {code, quantity} entries, routing each product code to the service license that already owns it within the tenant. folder-outcome-billing get/set reads and toggles whether a specific folder in a tenant has outcome billing enabled.

概要

uip platform tenants licenses <verb> [options] <tenant-key>
uip platform tenants folder-outcome-billing <verb> [options] <tenant-id> <folder-key>
uip platform tenants licenses <verb> [options] <tenant-key>
uip platform tenants folder-outcome-billing <verb> [options] <tenant-id> <folder-key>

動詞

グループ動詞目的
licensesgetテナントのアクティブなライセンスの概要を取得します (製品ごとに 1 行、日付は ISO で表されます)。
licensessetテナントのランタイム ライセンスと消費状況に {code, quantity} エントリの差分を適用し、サービスの種類間で自動ルーティングします。
folder-outcome-billinggetGet the outcome billing configuration for a folder in a tenant.
folder-outcome-billingsetEnable or disable outcome billing for a folder in a tenant.

uip platform tenants licenses get

テナントのライセンスの概要 (割り当て済み、利用可能、消費済みの、製品コードごとの消費数) をわかりやすい名前で取得します。アクティブな製品 (消費ライセンスとランタイム ライセンスの両方) ごとに 1 行を返します。

引数

名前Required目的
<tenant-key>テナント キー (GUID)。

オプション

長押し値 (Value)既定 (Default)説明
--organizationaccount-idセッションの既定値組織アカウントの GUID。現在のログインから解決された組織を上書きします。

uip platform tenants licenses get 296b7134-6691-43db-b48a-2d95ed3ab031
uip platform tenants licenses get 296b7134-6691-43db-b48a-2d95ed3ab031

データシェイプ(--output json)

{
  "Code": "TenantLicenses",
  "Data": [
    {
      "code": "PLTU",
      "name": "Platform Units",
      "allocated": 300,
      "availableForAllocation": 4700,
      "allocatedAcrossOtherTenants": 0,
      "totalUnitsInAccount": 5000,
      "consumed": 50,
      "startDate": "2023-11-14T22:13:20.000Z",
      "endDate": "2027-09-15T18:40:00.000Z"
    }
  ]
}
{
  "Code": "TenantLicenses",
  "Data": [
    {
      "code": "PLTU",
      "name": "Platform Units",
      "allocated": 300,
      "availableForAllocation": 4700,
      "allocatedAcrossOtherTenants": 0,
      "totalUnitsInAccount": 5000,
      "consumed": 50,
      "startDate": "2023-11-14T22:13:20.000Z",
      "endDate": "2027-09-15T18:40:00.000Z"
    }
  ]
}

uip platform tenants licenses set

テナントのランタイム ライセンスと消費状況を設定する。CLI は、テナントの既存のサービス ライセンスを取得し、 code別に製品のインデックスを作成して、各入力エントリを、そのコードを既に所有しているサービス ライセンスにルーティングします。--inputの数量は、コードによる現在の割り当てにオーバーレイされます。出品しない商品は、既存の数量を保持します。

入力コードがある場合、このコマンドは書き込み前に失敗します。

  • がテナントの既存のサービス ライセンスのいずれにも存在しない (ルーティングされていない)
  • テナントの複数のサービス ライセンスの下に表示されます (あいまいなルーティング)。

部分的な失敗 (あるサービス タイプがすでに成功した後に更新に失敗する) は、エラー メッセージにすでに適用されているサービス タイプがリストされるため、同じ入力でべき等に再実行できます。

引数

名前Required目的
<tenant-key>テナント キー (GUID)。

オプション

長押し値 (Value)既定 (Default)説明
--inputパス必須製品デルタを含む JSON ファイルへのパス (例: [{"code":"UNATT","quantity":5}]) です。数量は、製品コードによる現在の配賦を重ね合わせます。
--organizationaccount-idセッションの既定値組織アカウントの GUID。現在のログインから解決された組織を上書きします。

uip platform tenants licenses set 296b7134-6691-43db-b48a-2d95ed3ab031 \
    --input ./delta.json
uip platform tenants licenses set 296b7134-6691-43db-b48a-2d95ed3ab031 \
    --input ./delta.json

delta.json:

[
  { "code": "PLTU", "quantity": 500 },
  { "code": "RU",   "quantity": 100 }
]
[
  { "code": "PLTU", "quantity": 500 },
  { "code": "RU",   "quantity": 100 }
]

データシェイプ(--output json)

{
  "Code": "TenantLicensesSet",
  "Data": [
    {
      "serviceType": "orchestrator",
      "code": "PLTU",
      "name": "Platform Units",
      "quantity": 500
    },
    {
      "serviceType": "orchestrator",
      "code": "RU",
      "name": "Robot Units",
      "quantity": 100
    }
  ]
}
{
  "Code": "TenantLicensesSet",
  "Data": [
    {
      "serviceType": "orchestrator",
      "code": "PLTU",
      "name": "Platform Units",
      "quantity": 500
    },
    {
      "serviceType": "orchestrator",
      "code": "RU",
      "name": "Robot Units",
      "quantity": 100
    }
  ]
}

uip platform tenants folder-outcome-billing

View and manage the outcome billing configuration of a tenant's folders.

uip platform tenants folder-outcome-billing get

Get the outcome billing configuration for a folder: whether outcome billing is enabled.

引数
名前Required目的
<tenant-id>Tenant id (GUID).
<folder-key>フォルダー キー (GUID)。
オプション
長押し値 (Value)既定 (Default)説明
--organizationaccount-idセッションの既定値Organization account GUID.
uip platform tenants folder-outcome-billing get 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111
uip platform tenants folder-outcome-billing get 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111
データシェイプ(--output json)
{
  "Code": "TenantFolderOutcomeBilling",
  "Data": {
    "FolderKey": "11111111-1111-1111-1111-111111111111",
    "IsOutcomeBillingEnabled": true
  }
}
{
  "Code": "TenantFolderOutcomeBilling",
  "Data": {
    "FolderKey": "11111111-1111-1111-1111-111111111111",
    "IsOutcomeBillingEnabled": true
  }
}

uip platform tenants folder-outcome-billing set

Enable or disable outcome billing for a folder. Returns the configuration now in effect.

引数
名前Required目的
<tenant-id>Tenant id (GUID).
<folder-key>フォルダー キー (GUID)。
オプション
長押し値 (Value)既定 (Default)説明
--enabledtruefalse必須
--organizationaccount-idセッションの既定値Organization account GUID.
uip platform tenants folder-outcome-billing set 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111 --enabled true
uip platform tenants folder-outcome-billing set 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111 --enabled false
uip platform tenants folder-outcome-billing set 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111 --enabled true
uip platform tenants folder-outcome-billing set 296b7134-6691-43db-b48a-2d95ed3ab031 11111111-1111-1111-1111-111111111111 --enabled false
データシェイプ(--output json)
{
  "Code": "TenantFolderOutcomeBillingSet",
  "Data": {
    "FolderKey": "11111111-1111-1111-1111-111111111111",
    "IsOutcomeBillingEnabled": true
  }
}
{
  "Code": "TenantFolderOutcomeBillingSet",
  "Data": {
    "FolderKey": "11111111-1111-1111-1111-111111111111",
    "IsOutcomeBillingEnabled": true
  }
}

終了コード

「終了コード」を参照してください。動詞固有の上書きはありません。

  • uip platform licenses consumables — 組織レベルの消費状況レポート (テナントごとのプールの使用状況、日次およびフォルダーの内訳)。
  • uip platform users — ユーザーごとのライセンス バンドル。
  • uip or licenses — Orchestrator レベルのマシンおよびネームド ユーザー用のライセンスの割り当て。

参照

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

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得