PolicyAssignment interface

ポリシーの割り当て。

Extends

プロパティ

assignmentType

ポリシー割り当ての種類。 指定できる値は、NotSpecified、System、SystemHidden、Custom です。 不変です。

definitionVersion

使用するポリシー定義のバージョン。

description

このメッセージは、ポリシー違反が発生した場合の応答の一部になります。

displayName

ポリシー割り当ての表示名。

effectiveDefinitionVersion

使用されている政策定義の実効バージョン。 これは$expandクエリパラメータでリクエストされた場合のみ存在します。

enforcementMode

ポリシー割り当て適用モード。 使用できる値は、既定値、DoNotEnforce、および登録です

identity

ポリシーの割り当てに関連付けられているマネージド ID。

instanceId

ポリシー割り当てのインスタンスID。 このIDは割り当てが削除されて再作成された時にのみ、そして必ず変わります。

latestDefinitionVersion

最新のポリシー定義が利用可能です。 これは$expandクエリパラメータでリクエストされた場合のみ存在します。

location

ポリシー割り当ての場所。 マネージド ID を使用する場合にのみ必要です。

metadata

ポリシー割り当てのメタデータ。 メタデータはオープン エンド オブジェクトであり、通常はキーと値のペアのコレクションです。

nonComplianceMessages

リソースがポリシーに準拠していない理由を説明するメッセージ。

notScopes

ポリシーの除外されたスコープ。

overrides

ポリシー プロパティ値のオーバーライド。

parameters

割り当てられたポリシー ルールのパラメーター値。 キーはパラメーター名です。

policyDefinitionId

割り当てられているポリシー定義またはポリシー セット定義の ID。

resourceSelectors

リソース のプロパティでポリシーをフィルター処理するリソース セレクターの一覧。

scope

ポリシー割り当てのスコープ。

継承されたプロパティ

id

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

リソースの名前

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

type

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

プロパティの詳細

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

ポリシー割り当て適用モード。 使用できる値は、既定値、DoNotEnforce、および登録です

enforcementMode?: string

プロパティ値

string

identity

ポリシーの割り当てに関連付けられているマネージド ID。

identity?: Identity

プロパティ値

instanceId

ポリシー割り当てのインスタンスID。 このIDは割り当てが削除されて再作成された時にのみ、そして必ず変わります。

instanceId?: string

プロパティ値

string

latestDefinitionVersion

最新のポリシー定義が利用可能です。 これは$expandクエリパラメータでリクエストされた場合のみ存在します。

latestDefinitionVersion?: string

プロパティ値

string

location

ポリシー割り当ての場所。 マネージド ID を使用する場合にのみ必要です。

location?: 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

割り当てられているポリシー定義またはポリシー セット定義の ID。

policyDefinitionId?: string

プロパティ値

string

resourceSelectors

リソース のプロパティでポリシーをフィルター処理するリソース セレクターの一覧。

resourceSelectors?: ResourceSelector[]

プロパティ値

scope

ポリシー割り当てのスコープ。

scope?: string

プロパティ値

string

継承されたプロパティの詳細

id

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

プロパティ値

string

承元ExtensionResource.id

name

リソースの名前

name?: string

プロパティ値

string

承元ExtensionResource.name

systemData

createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。

systemData?: SystemData

プロパティ値

承元ExtensionResource.systemData

type

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

type?: string

プロパティ値

string

承元ExtensionResource.type