共用方式為


PolicyAssignmentProperties interface

保單指派屬性。

屬性

assignmentType

原則指派的類型。 可能的值為 NotSpecified、System、SystemHidden 和 Custom。 不可改變。

definitionVersion

要使用的原則定義版本。

description

如果違反原則,此訊息將會是回應的一部分。

displayName

原則指派的顯示名稱。

effectiveDefinitionVersion

目前使用的政策定義的有效版本。 只有在透過 $expand 查詢參數請求時才會存在。

enforcementMode

原則指派強制模式。 可能的值為 Default、DoNotEnforce 和 Enroll

instanceId

政策指派的實例 ID。 這個 ID 只有在刪除並重新建立指派時才會改變。

latestDefinitionVersion

最新版本的保單定義可供參考。 只有在透過 $expand 查詢參數請求時才會存在。

metadata

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

nonComplianceMessages

描述資源不符合原則之原因的訊息。

notScopes

原則的排除範圍。

overrides

原則屬性值覆寫。

parameters

指派原則規則的參數值。 索引鍵是參數名稱。

policyDefinitionId

要指派的原則定義或原則集定義的標識碼。

resourceSelectors

依資源屬性篩選原則的資源選取器清單。

scope

原則指派的範圍。

屬性詳細資料

assignmentType

原則指派的類型。 可能的值為 NotSpecified、System、SystemHidden 和 Custom。 不可改變。

assignmentType?: string

屬性值

string

definitionVersion

要使用的原則定義版本。

definitionVersion?: string

屬性值

string

description

如果違反原則,此訊息將會是回應的一部分。

description?: string

屬性值

string

displayName

原則指派的顯示名稱。

displayName?: string

屬性值

string

effectiveDefinitionVersion

目前使用的政策定義的有效版本。 只有在透過 $expand 查詢參數請求時才會存在。

effectiveDefinitionVersion?: string

屬性值

string

enforcementMode

原則指派強制模式。 可能的值為 Default、DoNotEnforce 和 Enroll

enforcementMode?: string

屬性值

string

instanceId

政策指派的實例 ID。 這個 ID 只有在刪除並重新建立指派時才會改變。

instanceId?: string

屬性值

string

latestDefinitionVersion

最新版本的保單定義可供參考。 只有在透過 $expand 查詢參數請求時才會存在。

latestDefinitionVersion?: string

屬性值

string

metadata

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

metadata?: any

屬性值

any

nonComplianceMessages

描述資源不符合原則之原因的訊息。

nonComplianceMessages?: NonComplianceMessage[]

屬性值

notScopes

原則的排除範圍。

notScopes?: string[]

屬性值

string[]

overrides

原則屬性值覆寫。

overrides?: Override[]

屬性值

parameters

指派原則規則的參數值。 索引鍵是參數名稱。

parameters?: Record<string, ParameterValuesValue>

屬性值

Record<string, ParameterValuesValue>

policyDefinitionId

要指派的原則定義或原則集定義的標識碼。

policyDefinitionId?: string

屬性值

string

resourceSelectors

依資源屬性篩選原則的資源選取器清單。

resourceSelectors?: ResourceSelector[]

屬性值

scope

原則指派的範圍。

scope?: string

屬性值

string