你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

INonComplianceMessage Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.NonComplianceMessageTypeConverter))]
public interface INonComplianceMessage : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.NonComplianceMessageTypeConverter))>]
type INonComplianceMessage = interface
    interface IJsonSerializable
Public Interface INonComplianceMessage
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Message

A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.

PolicyDefinitionReferenceId

The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to