共用方式為


PolicyAssignment interface

原則指派。

屬性

definitionVersion

要使用的原則定義版本。

description

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

displayName

原則指派的顯示名稱。

effectiveDefinitionVersion

使用中之原則定義的有效版本。 只有在透過 $expand 查詢參數要求時,才會存在此狀況。 注意:這個屬性不會串行化。 它只能由伺服器填入。

enforcementMode

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

id

原則指派的標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

identity

與原則指派相關聯的受控識別。

latestDefinitionVersion

最新版的原則定義可用。 只有在透過 $expand 查詢參數要求時,才會存在此狀況。 注意:這個屬性不會串行化。 它只能由伺服器填入。

location

原則指派的位置。 只有在使用受控識別時才需要。

metadata

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

name

原則指派的名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

nonComplianceMessages

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

notScopes

原則的排除範圍。

overrides

原則屬性值覆寫。

parameters

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

policyDefinitionId

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

resourceSelectors

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

scope

原則指派的範圍。 注意:這個屬性不會串行化。 它只能由伺服器填入。

systemData

與此資源相關的系統元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type

原則指派的類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

definitionVersion

要使用的原則定義版本。

definitionVersion?: string

屬性值

string

description

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

description?: string

屬性值

string

displayName

原則指派的顯示名稱。

displayName?: string

屬性值

string

effectiveDefinitionVersion

使用中之原則定義的有效版本。 只有在透過 $expand 查詢參數要求時,才會存在此狀況。 注意:這個屬性不會串行化。 它只能由伺服器填入。

effectiveDefinitionVersion?: string

屬性值

string

enforcementMode

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

enforcementMode?: string

屬性值

string

id

原則指派的標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

identity

與原則指派相關聯的受控識別。

identity?: Identity

屬性值

latestDefinitionVersion

最新版的原則定義可用。 只有在透過 $expand 查詢參數要求時,才會存在此狀況。 注意:這個屬性不會串行化。 它只能由伺服器填入。

latestDefinitionVersion?: string

屬性值

string

location

原則指派的位置。 只有在使用受控識別時才需要。

location?: string

屬性值

string

metadata

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

metadata?: any

屬性值

any

name

原則指派的名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

nonComplianceMessages

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

nonComplianceMessages?: NonComplianceMessage[]

屬性值

notScopes

原則的排除範圍。

notScopes?: string[]

屬性值

string[]

overrides

原則屬性值覆寫。

overrides?: Override[]

屬性值

parameters

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

parameters?: {[propertyName: string]: ParameterValuesValue}

屬性值

{[propertyName: string]: ParameterValuesValue}

policyDefinitionId

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

policyDefinitionId?: string

屬性值

string

resourceSelectors

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

resourceSelectors?: ResourceSelector[]

屬性值

scope

原則指派的範圍。 注意:這個屬性不會串行化。 它只能由伺服器填入。

scope?: string

屬性值

string

systemData

與此資源相關的系統元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

systemData?: SystemData

屬性值

type

原則指派的類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string