共用方式為


PolicyExemption interface

原則豁免。

屬性

assignmentScopeValidation

驗證豁免的選項位於指派範圍或指派範圍內。

description

原則豁免的描述。

displayName

原則豁免的顯示名稱。

exemptionCategory

原則豁免類別。 可能的值為「豁免」和「緩和」。

expiresOn

原則豁免的到期日期和時間 (UTC ISO 8601 格式 yyyy-MM-ddTHH:mm:ssZ)。

id

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

metadata

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

name

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

policyAssignmentId

要豁免的原則指派標識碼。

policyDefinitionReferenceIds

當相關聯的原則指派是原則集定義的指派時,原則定義參考標識符清單。

resourceSelectors

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

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type

資源的類型(Microsoft.Authorization/policyExemptions)。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

assignmentScopeValidation

驗證豁免的選項位於指派範圍或指派範圍內。

assignmentScopeValidation?: string

屬性值

string

description

原則豁免的描述。

description?: string

屬性值

string

displayName

原則豁免的顯示名稱。

displayName?: string

屬性值

string

exemptionCategory

原則豁免類別。 可能的值為「豁免」和「緩和」。

exemptionCategory: string

屬性值

string

expiresOn

原則豁免的到期日期和時間 (UTC ISO 8601 格式 yyyy-MM-ddTHH:mm:ssZ)。

expiresOn?: Date

屬性值

Date

id

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

id?: string

屬性值

string

metadata

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

metadata?: any

屬性值

any

name

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

name?: string

屬性值

string

policyAssignmentId

要豁免的原則指派標識碼。

policyAssignmentId: string

屬性值

string

policyDefinitionReferenceIds

當相關聯的原則指派是原則集定義的指派時,原則定義參考標識符清單。

policyDefinitionReferenceIds?: string[]

屬性值

string[]

resourceSelectors

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

resourceSelectors?: ResourceSelector[]

屬性值

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

systemData?: SystemData

屬性值

type

資源的類型(Microsoft.Authorization/policyExemptions)。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string