- 基本情報
- 要件
- ベスト プラクティス
- インストール
- 更新
- Identity Server
- 起動エラーのトラブルシューティング
Publish-ResourceCatalog.ps1 のデプロイおよび更新スクリプトのパラメーターと使用方法のリファレンス
リソース カタログにパブリッシュする
次の表で、Publish-ResourceCatalog.ps1 スクリプトで使用できるすべてのパラメーターについて説明します。
| パラメーター | 説明 |
|---|---|
|
| Mandatory . Indicates the type of scenario you want to start. The following options are available:
|
|
| Mandatory .
|
|
| 必須。サービス プリンシパル ID の Azure トークン パスワード。 |
|
| 必須。App Service の Azure サブスクリプション ID。 |
|
| 必須。Azure テナント ID。 |
|
| 必須。リソース カタログの App Service を含む Azure リソース グループの名前。 |
|
| 必須。リソース カタログの Azure App Service の名前。 |
|
| Optional. Allows you to publish to the Azure App Service by relying on your own user identity, without having to create a service principal.
If this parameter is used, the |
-azureUSGovernmentLogin | 任意です。このパラメーターは、米国政府機関のデプロイにのみ使用されます。 |
Publish-ResourceCatalog.ps1 スクリプトは、初期デプロイまたはリソース カタログの更新に使用されます。このスクリプトは、Web アプリで既にデータベースの接続文字列 DefaultConnection を設定済みであることを前提としています。
.\Publish-ResourceCatalog.ps1
-action deploy
-package ".\UiPath.ResourceCatalogService-Win64.zip"
-azureAccountApplicationId "<azure_application_id>"
-azureAccountPassword "<azure_account_password>"
-azureSubscriptionId "<subscription_id>"
-azureAccountTenantId "<azure_tenant_id>"
-resourceGroupName "<resourcegroup_name>"
-appServiceName "<appservice_name>"
.\Publish-ResourceCatalog.ps1
-action deploy
-package ".\UiPath.ResourceCatalogService-Win64.zip"
-azureAccountApplicationId "<azure_application_id>"
-azureAccountPassword "<azure_account_password>"
-azureSubscriptionId "<subscription_id>"
-azureAccountTenantId "<azure_tenant_id>"
-resourceGroupName "<resourcegroup_name>"
-appServiceName "<appservice_name>"
リソース カタログに移行する
次の表で、MigrateTo-ResourceCatalog.ps1 スクリプトで使用できるすべてのパラメーターについて説明します。
| パラメーター | 説明 |
|---|---|
|
| Mandatory .
|
|
| 次の値を持つハッシュ テーブルです。
|
|
| 次の値を持つハッシュ テーブルです。
|
|
| 次の値を持つハッシュ テーブルです。
|
|
| このプロパティは必須です。 リソース カタログのパブリック アドレス。 |
|
| 必須。Identity Server の URL です。 /identity .
例: |
|
| Optional. Allows you to publish to the Azure App Service by relying on your own user identity, without having to create a service principal.
If this parameter is used, the |
|
| Mandatory . The Orchestrator public URL. |
MigrateTo-ResourceCatalog.ps1 スクリプトは、Orchestrator からリソース カタログへのユーザー データの移行に使用されます。データベース構造を作成し、関連するアプリ設定を追加します。
このスクリプトは Orchestrator とリソース カタログがパブリッシュ済みであることを前提としています。
.\MigrateTo-ResourceCatalog.ps1
-cliPackage ".\UiPath.ResourceCatalogService.CLI-Win64.zip"
-azureDetails @{ azureSubscriptionId = "<subscription_id>"; azureAccountTenantId = "<azure_tenant_id>"; azureAccountApplicationId = "<azure_application_id>"; azureAccountPassword = "<azure_account_password>" }
-orchDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" }
-resourceCatalogDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production"}
-resourceCatalogUrl "https://<ResourceCatalogURL>"
-identityServerUrl "https://<IdentityServerURL>/identity" -orchestratorUrl "https://<OrchestratorURL>"
.\MigrateTo-ResourceCatalog.ps1
-cliPackage ".\UiPath.ResourceCatalogService.CLI-Win64.zip"
-azureDetails @{ azureSubscriptionId = "<subscription_id>"; azureAccountTenantId = "<azure_tenant_id>"; azureAccountApplicationId = "<azure_application_id>"; azureAccountPassword = "<azure_account_password>" }
-orchDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production" }
-resourceCatalogDetails @{ resourceGroupName = "<resourcegroup_name>"; appServiceName = "<appservice_name>"; targetSlot = "Production"}
-resourceCatalogUrl "https://<ResourceCatalogURL>"
-identityServerUrl "https://<IdentityServerURL>/identity" -orchestratorUrl "https://<OrchestratorURL>"
リソース カタログ サービスをアップグレードするときには、 MigrateTo-ResourceCatalog.ps1 スクリプトを実行する必要があります。