共用方式為


az policy

管理 Azure 原則服務所定義和使用的資源。

Azure 原則 是一項 Azure 服務,提供 API 以規則型宣告方式管理 Azure 資源。 原則指令群組提供建立、更新、顯示及列出指令,以管理原則定義、原則集定義 (也稱為原則計劃)、原則指派及原則豁免。

命令

名稱 Description 類型 狀態
az policy assignment

管理原則指派。

Core GA
az policy assignment create

建立原則指派。

Core GA
az policy assignment delete

刪除原則指派。

Core GA
az policy assignment identity

原則指派的受控識別。

Core GA
az policy assignment identity assign

指派受控識別。

Core GA
az policy assignment identity remove

移除受控識別。

Core GA
az policy assignment identity show

擷取受控識別。

Core GA
az policy assignment list

擷取所有適用的原則指派。

Core GA
az policy assignment non-compliance-message

原則指派所使用的不合規訊息。

Core GA
az policy assignment non-compliance-message create

建立不合規訊息。

Core GA
az policy assignment non-compliance-message delete

刪除不合規訊息。

Core GA
az policy assignment non-compliance-message list

擷取不合規訊息。

Core GA
az policy assignment non-compliance-message show

擷取不合規訊息。

Core GA
az policy assignment non-compliance-message update

更新不合規訊息。

Core GA
az policy assignment show

擷取原則指派。

Core GA
az policy assignment update

更新原則指派。

Core GA
az policy attestation

管理資源原則證明。

Core GA
az policy attestation create

建立原則證明。

Core GA
az policy attestation delete

刪除現有的原則證明。

Core GA
az policy attestation list

列出資源的所有證明。

Core GA
az policy attestation show

取得原則證明。

Core GA
az policy attestation update

更新現有的原則證明。

Core GA
az policy definition

管理原則定義。

Core GA
az policy definition create

建立原則定義。

Core GA
az policy definition delete

刪除原則定義。

Core GA
az policy definition list

擷取原則定義。

Core GA
az policy definition show

擷取原則定義。

Core GA
az policy definition update

更新原則定義。

Core GA
az policy event

管理原則事件。

Core GA
az policy event list

列出原則事件。

Core GA
az policy exemption

管理政策豁免。

Core GA
az policy exemption create

建立原則豁免。

Core GA
az policy exemption delete

刪除原則豁免。

Core GA
az policy exemption list

擷取所有適用的保單豁免。

Core GA
az policy exemption show

擷取原則豁免。

Core GA
az policy exemption update

更新原則豁免。

Core GA
az policy metadata

取得原則元數據資源。

Core GA
az policy metadata list

列出原則元數據資源。

Core GA
az policy metadata show

取得單一原則元數據資源。

Core GA
az policy remediation

管理資源原則補救。

Core GA
az policy remediation cancel

取消資源原則補救。

Core GA
az policy remediation create

建立資源原則補救。

Core GA
az policy remediation delete

刪除資源原則補救。

Core GA
az policy remediation deployment

管理資源原則補救部署。

Core GA
az policy remediation deployment list

列出資源原則補救的部署。

Core GA
az policy remediation list

列出資源原則補救。

Core GA
az policy remediation show

顯示資源原則補救。

Core GA
az policy set-definition

管理原則集定義。

Core GA
az policy set-definition create

建立原則集定義。

Core GA
az policy set-definition delete

刪除原則集定義。

Core GA
az policy set-definition list

擷取原則集定義。

Core GA
az policy set-definition show

擷取原則集定義。

Core GA
az policy set-definition update

更新原則集定義。

Core GA
az policy state

管理原則合規性狀態。

Core GA
az policy state list

列出原則合規性狀態。

Core GA
az policy state summarize

摘要說明原則合規性狀態。

Core GA
az policy state trigger-scan

觸發範圍的原則合規性評估。

Core GA