Table of Contents

Class VirtualNetworkAuthorizationRule

Namespace
Microsoft.ServiceBus.Messaging
Assembly
Microsoft.ServiceBus.dll
[DataContract(Name = "VirtualNetworkAuthorizationRule", Namespace = "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class VirtualNetworkAuthorizationRule : AuthorizationRule
Inheritance
VirtualNetworkAuthorizationRule
Inherited Members

Constructors

VirtualNetworkAuthorizationRule(string, string, bool, string, string)

public VirtualNetworkAuthorizationRule(string ruleName, string virtualNetworkSubnetId, bool ignoreMissingVnetServiceEndpoint, string vnetTrafficTag, string subnetTrafficTag)

Parameters

ruleName string
virtualNetworkSubnetId string
ignoreMissingVnetServiceEndpoint bool
vnetTrafficTag string
subnetTrafficTag string

Properties

IgnoreMissingVnetServiceEndpoint

[DataMember(Name = "IgnoreMissingVnetServiceEndpoint", IsRequired = false, Order = 1003, EmitDefaultValue = false)]
public bool IgnoreMissingVnetServiceEndpoint { get; set; }

Property Value

bool

KeyName

Gets or sets the authorization rule key name.

public override string KeyName { get; set; }

Property Value

string

The authorization rule key name.

VirtualNetworkSubnetId

[DataMember(Name = "VirtualNetworkSubnetId", IsRequired = true, Order = 1002, EmitDefaultValue = false)]
public string VirtualNetworkSubnetId { get; set; }

Property Value

string

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

The hash code for this instance.

ValidateRights(IEnumerable<AccessRights>)

Checks the validity of the specified access rights.

protected override void ValidateRights(IEnumerable<AccessRights> value)

Parameters

value IEnumerable<AccessRights>

The access rights to check.