リソース カタログにパブリッシュする
次の表で、Publish-ResourceCatalog.ps1
スクリプトで使用できるすべてのパラメーターについて説明します。
Parameter | Description |
---|---|
-action | Mandatory. Indicates the type of scenario you want to start. The following options are available:Deploy – specifies it is a clean installation.Update – specifies you are updating your Resource Catalog instance. |
-package | Mandatory. Indicate the full path or relative path of the UiPath.ResourceCatalogService-Win64.zip archive. |
-azureAccountPassword | Mandatory. The Azure token password for the service principal ID. |
-azureSubscriptionId | Mandatory. The Azure subscription ID for the App Service. |
-azureAccountTenantId | Mandatory. The Azure tenant ID. |
-resourceGroupName | Mandatory. The name of the Azure Resource Group that contains the Resource Catalog App Service. |
-appServiceName | Mandatory. The Resource Catalog Azure App Service name. |
-noAzureAuthentication | 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 UseServicePrincipal parameter set (which includes items such as the Azure application ID, password, subscription ID, and tenant ID) are no longer necessary. |
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>"
リソース カタログに移行する
次の表で、MigrateTo-ResourceCatalog.ps1
スクリプトで使用できるすべてのパラメーターについて説明します。
Parameter | Description |
---|---|
-cliPackage | Mandatory. Indicate the path to the UiPath.ResourceCatalogService.CLI-Win64.zip archive. |
-azureDetails | A hash table with the following values:azureAccountApplicationId – Mandatory. The Azure service principal ID..azureAccountPassword – Mandatory. The Azure token password for the service principal ID.azureSubscriptionId – Mandatory. The Azure subscription ID for the respective App Service.azureAccountTenantId – Mandatory. The Azure tenant ID. |
-orchDetails | A hash table with the following values:resourceGroupName – Mandatory. The name of the Azure Resource Group that contains the Orchestrator App Service.appServiceName – Mandatory. The Orchestrator App Service name.targetSlot – Mandatory. The Target App Service Slot set by Azure. |
-resourceCatalogDetails | A hash table with the following values:resourceGroupName – Mandatory. The name of the Azure Resource Group that contains the Resource Catalog App Service.appServiceName – Mandatory. The Resource Catalog App Service name.targetSlot – Mandatory. The Target App Service Slot set by Azure. |
-resourceCatalogUrl | Mandatory. The public address of the Resource Catalog. |
-identityServerUrl | Mandatory. The URL of Identity Server.![]() /identity . Example: https://[IdentityServer]/identity |
-noAzureAuthentication | 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 UseServicePrincipal parameter set (which includes items such as the Azure application ID, password, subscription ID, and tenant ID) are no longer necessary. |
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"
9 か月前に更新