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

PolicyDefinitionPropertiesPolicyRule Class

Definition

The policy rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionPropertiesPolicyRuleTypeConverter))]
public class PolicyDefinitionPropertiesPolicyRule : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionPropertiesPolicyRule, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IAssociativeArray<object>
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionPropertiesPolicyRuleTypeConverter))>]
type PolicyDefinitionPropertiesPolicyRule = class
    interface IPolicyDefinitionPropertiesPolicyRule
    interface IJsonSerializable
    interface IAssociativeArray<obj>
Public Class PolicyDefinitionPropertiesPolicyRule
Implements IAssociativeArray(Of Object), IPolicyDefinitionPropertiesPolicyRule
Inheritance
PolicyDefinitionPropertiesPolicyRule
Attributes
Implements

Constructors

PolicyDefinitionPropertiesPolicyRule()

Creates an new PolicyDefinitionPropertiesPolicyRule instance.

Fields

__additionalProperties

Properties

Item[String]

Methods

Add(String, Object)
Clear()
ContainsKey(String)
CopyFrom(IDictionary)
CopyFrom(PSObject)
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyDefinitionPropertiesPolicyRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyDefinitionPropertiesPolicyRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionPropertiesPolicyRule.

FromJsonString(String)

Creates a new instance of PolicyDefinitionPropertiesPolicyRule, deserializing the content from a json string.

Remove(String)
ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyDefinitionPropertiesPolicyRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

TryGetValue(String, Object)

Operators

Implicit(PolicyDefinitionPropertiesPolicyRule to Dictionary<String,Object>)

Explicit Interface Implementations

IAssociativeArray<Object>.AdditionalProperties

Applies to