Partilhar via


Rule Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.RuleTypeConverter))]
public class Rule : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.RuleTypeConverter))>]
type Rule = class
    interface IRule
    interface IJsonSerializable
Public Class Rule
Implements IRule
Inheritance
Rule
Attributes
Implements

Constructors

Rule()

Creates an new Rule instance.

Properties

Type

Rule type

Value

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Rule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Rule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IRule.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Rule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to