Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SharedAccessAuthorizationRule Class

Definition

Namespace:
Azure.Messaging.ServiceBus.Administration
Assembly:
Azure.Messaging.ServiceBus.dll
Package:
Azure.Messaging.ServiceBus v7.20.1
Package:
Azure.Messaging.ServiceBus v7.18.0-beta.1
Source:
SharedAccessAuthorizationRule.cs
Source:
SharedAccessAuthorizationRule.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Defines the authorization rule for an entity using SAS.

public class SharedAccessAuthorizationRule : Azure.Messaging.ServiceBus.Administration.AuthorizationRule
type SharedAccessAuthorizationRule = class
 inherit AuthorizationRule
Public Class SharedAccessAuthorizationRule
Inherits AuthorizationRule
Inheritance
SharedAccessAuthorizationRule

Constructors

Name Description
SharedAccessAuthorizationRule(String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

SharedAccessAuthorizationRule(String, String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

SharedAccessAuthorizationRule(String, String, String, IEnumerable<AccessRights>)

Initializes a new instance of the SharedAccessAuthorizationRule class.

Properties

Name Description
ClaimType

Gets or sets the claim type.

CreatedTime

Gets or sets the date and time when the authorization rule was created.

(Inherited from AuthorizationRule)
KeyName

Gets or sets the authorization rule key name.

ModifiedTime

Gets or sets the date and time when the authorization rule was modified.

(Inherited from AuthorizationRule)
PrimaryKey

Gets or sets the primary key for the authorization rule.

Rights

Gets or sets the list of rights.

SecondaryKey

Gets or sets the secondary key for the authorization rule.

Methods

Name Description
Equals(AuthorizationRule)

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

Equals(Object)

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

GetHashCode()

Returns the hash code for this instance.

Operators

Name Description
Equality(SharedAccessAuthorizationRule, SharedAccessAuthorizationRule)
Inequality(SharedAccessAuthorizationRule, SharedAccessAuthorizationRule)

Applies to


Feedback

Was this page helpful?