Bagikan melalui


Rule Class

Definition

Description of Rule Resource.

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

Constructors

Rule()

Creates an new Rule instance.

Properties

ActionCompatibilityLevel

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

ActionRequiresPreprocessing

Value that indicates whether the rule action requires preprocessing.

ActionSqlExpression

SQL expression. e.g. MyProperty='ABC'

ContentType

Content type of the message.

CorrelationFilterProperty

dictionary object for custom filters

CorrelationFilterRequiresPreprocessing

Value that indicates whether the rule action requires preprocessing.

CorrelationId

Identifier of the correlation.

FilterType

Filter type that is evaluated against a BrokeredMessage.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Label

Application specific label.

Location

The geo-location where the resource lives

MessageId

Identifier of the message.

Name

The name of the resource

ReplyTo

Address of the queue to reply to.

ReplyToSessionId

Session identifier to reply to.

ResourceGroupName

Gets the resource group name

SessionId

Session identifier.

SqlExpression

The SQL expression. e.g. MyProperty='ABC'

SqlFilterCompatibilityLevel

This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

SqlFilterRequiresPreprocessing

Value that indicates whether the rule action requires preprocessing.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The type of identity that last modified the resource.

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

To

Address to send to.

Type

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

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.ServiceBus.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()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to