共用方式為


PolicyDefinitionVersion interface

原則定義版本的標識碼。

Extends

屬性

description

原則定義描述。

displayName

原則定義的顯示名稱。

externalEvaluationEnforcementSettings

原則在強制評估期間所需的外部評估結果來源詳細數據。

metadata

原則定義元數據。 元數據是開放式物件,通常是索引鍵值組的集合。

mode

原則定義模式。 有些範例包括 All、Indexed、Microsoft.KeyVault.Data。

parameters

原則規則中使用的參數參數定義。 索引鍵是參數名稱。

policyRule

原則規則。

policyType

原則定義的類型。 可能的值為 NotSpecified、BuiltIn、Custom 和 Static。

version

#.#.# 格式的原則定義版本。

繼承的屬性

id

資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

資源的名稱

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

type

資源的類型。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts”

屬性詳細資料

description

原則定義描述。

description?: string

屬性值

string

displayName

原則定義的顯示名稱。

displayName?: string

屬性值

string

externalEvaluationEnforcementSettings

原則在強制評估期間所需的外部評估結果來源詳細數據。

externalEvaluationEnforcementSettings?: ExternalEvaluationEnforcementSettings

屬性值

metadata

原則定義元數據。 元數據是開放式物件,通常是索引鍵值組的集合。

metadata?: any

屬性值

any

mode

原則定義模式。 有些範例包括 All、Indexed、Microsoft.KeyVault.Data。

mode?: string

屬性值

string

parameters

原則規則中使用的參數參數定義。 索引鍵是參數名稱。

parameters?: Record<string, ParameterDefinitionsValue>

屬性值

Record<string, ParameterDefinitionsValue>

policyRule

原則規則。

policyRule?: any

屬性值

any

policyType

原則定義的類型。 可能的值為 NotSpecified、BuiltIn、Custom 和 Static。

policyType?: string

屬性值

string

version

#.#.# 格式的原則定義版本。

version?: string

屬性值

string

繼承的屬性詳細資料

id

資源的完整資源標識碼。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

屬性值

string

繼承自ProxyResource.id

name

資源的名稱

name?: string

屬性值

string

繼承自ProxyResource.name

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

systemData?: SystemData

屬性值

繼承自ProxyResource.systemData

type

資源的類型。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts”

type?: string

屬性值

string

繼承自ProxyResource.type