(預告)管理基於規則的資料政策與跨租戶連線報告。
Commands
pac governance create-cross-tenant-connection-report
(預告)產生或擷取跨租戶連線報告。
pac governance create-enviornment-group-rule-based-assignment
(預告)為環境群組建立基於規則的政策指派。
所需參數 governance create-enviornment-group-rule-based-assignment
--group-id
環境群組的唯一識別碼。
--policy-id
原則的唯一識別碼。
可選參數 governance create-enviornment-group-rule-based-assignment
--assignment-overrides
政策指派覆蓋列表。 提供 JSON 陣列的值。
pac governance create-environment-rule-based-assignment
(預告)為環境建立基於規則的政策指派。
所需參數 governance create-environment-rule-based-assignment
--policy-id
原則的唯一識別碼。
可選參數 governance create-environment-rule-based-assignment
--assignment-overrides
政策指派覆蓋列表。 提供 JSON 陣列的值。
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac governance create-rule-based-policy
(預告)建立基於規則的政策,包含規則集和元資料。
可選參數 governance create-rule-based-policy
--name
保單名稱。
--rule-sets
提供 JSON 陣列的值。
pac governance create-rule-set
(預告)建立環境群組的規則集。
所需參數 governance create-rule-set
--group-id
環境群組的唯一識別碼。
可選參數 governance create-rule-set
--environment-filter-type
環境過濾器的種類。
使用下列其中一個值:
NotSpecifiedIncludeExclude
--environment-filter-values
環境資訊。 提供 JSON 陣列的值。
--id
規則集的識別碼。
--last-modified
最後修改的時間戳。
--parameters
規則集參數。 提供 JSON 陣列的值。
pac governance delete-rule-set
(預告)刪除規則集。 只有租戶管理員可以刪除。
所需參數 governance delete-rule-set
--rule-set-id
規則集的唯一識別碼。
pac governance get-cross-tenant-connection-report
(預告)為租戶取得跨租戶連結報告。
所需參數 governance get-cross-tenant-connection-report
--report-id
報表標識碼。
可選參數 governance get-cross-tenant-connection-report
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance get-rule-based-policy-by-id
(預告)依 ID 取得政策細節,包括規則集和元資料。
所需參數 governance get-rule-based-policy-by-id
--policy-id
原則的唯一識別碼。
可選參數 governance get-rule-based-policy-by-id
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance get-rule-set
(預告)回傳給定環境群組的規則集。
所需參數 governance get-rule-set
--group-id
環境群組的唯一識別碼。
可選參數 governance get-rule-set
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance get-rule-set-list-for-tenant
(預告)回傳所有在指定租戶下,並支援 OData 分頁的規則集。
可選參數 governance get-rule-set-list-for-tenant
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
--expand
OData 展開查詢選項。
--filter
OData 篩選查詢選項。
--select
OData 選擇查詢選項。
--skiptoken
OData 跳過標記用於分頁。
--top
OData 頂尖查詢選項以限制結果。
pac governance list-cross-tenant-connection-reports
(預告)列出租戶間的跨租戶連線報告。
可選參數 governance list-cross-tenant-connection-reports
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance list-rule-assignments
(預告)列出租戶的規則指派及規則集細節。
所需參數 governance list-rule-assignments
--include-rule-set-counts
旗標以在回應中包含規則集計數。
可選參數 governance list-rule-assignments
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance list-rule-assignments-by-environment-group-id
(預告)列出環境群組的規則指派。
所需參數 governance list-rule-assignments-by-environment-group-id
--environment-group-id
環境群組的唯一識別碼。
--include-rule-set-counts
旗標以在回應中包含規則集計數。
可選參數 governance list-rule-assignments-by-environment-group-id
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance list-rule-assignments-by-environment-id
(預告)列出特定環境下的規則指派。
所需參數 governance list-rule-assignments-by-environment-id
--include-rule-set-counts
旗標以在回應中包含規則集計數。
可選參數 governance list-rule-assignments-by-environment-id
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
--environment
-env
指定目標 Dataverse。 值可以是 Guid 或絕對 https URL。 如果未指定,則會使用為目前驗證設定檔選取的作用中組織。
pac governance list-rule-assignments-by-policy-id
(預告)列出政策的規則指派及規則集細節。
所需參數 governance list-rule-assignments-by-policy-id
--include-rule-set-counts
旗標以在回應中包含規則集計數。
--policy-id
原則的唯一識別碼。
可選參數 governance list-rule-assignments-by-policy-id
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance list-rule-based-policies
(預告)列出租戶中可用的規則基礎政策。
可選參數 governance list-rule-based-policies
--columns
表格輸出中包含的回應屬性,並以逗號分隔。 完整回應請使用 --json。
pac governance patch-rule-based-policy
(預告)允許在現有政策中新增或更新一個或多個規則集。
所需參數 governance patch-rule-based-policy
--policy-id
原則的唯一識別碼。
可選參數 governance patch-rule-based-policy
--name
保單名稱。
--rule-sets
提供 JSON 陣列的值。
pac governance remove-rule-from-rule-based-policy
(預告)移除現有政策中的規則集。
所需參數 governance remove-rule-from-rule-based-policy
--policy-id
原則的唯一識別碼。
可選參數 governance remove-rule-from-rule-based-policy
--name
保單名稱。
--rule-sets
提供 JSON 陣列的值。
pac governance update-rule-based-policy-by-id
(預告)依據 ID 更新政策,包括規則集與元資料。
所需參數 governance update-rule-based-policy-by-id
--policy-id
原則的唯一識別碼。
可選參數 governance update-rule-based-policy-by-id
--name
保單名稱。
--rule-sets
提供 JSON 陣列的值。
pac governance update-rule-set
(預告)更新規則集。
所需參數 governance update-rule-set
--rule-set-id
規則集的唯一識別碼。
可選參數 governance update-rule-set
--environment-filter-type
環境過濾器的種類。
使用下列其中一個值:
NotSpecifiedIncludeExclude
--environment-filter-values
環境資訊。 提供 JSON 陣列的值。
--id
規則集的識別碼。
--last-modified
最後修改的時間戳。
--parameters
規則集參數。 提供 JSON 陣列的值。
另請參閱
Microsoft Power Platform CLI 指令群組
Microsoft Power Platform CLI 概述