Share via


NotificationHubAuthorizationRuleData Class

Definition

A class representing the NotificationHubAuthorizationRule data model. Description of a Namespace AuthorizationRules.

public class NotificationHubAuthorizationRuleData : Azure.ResourceManager.Models.TrackedResourceData
public class NotificationHubAuthorizationRuleData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NotificationHubs.NotificationHubAuthorizationRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NotificationHubs.NotificationHubAuthorizationRuleData>
type NotificationHubAuthorizationRuleData = class
    inherit TrackedResourceData
type NotificationHubAuthorizationRuleData = class
    inherit TrackedResourceData
    interface IJsonModel<NotificationHubAuthorizationRuleData>
    interface IPersistableModel<NotificationHubAuthorizationRuleData>
Public Class NotificationHubAuthorizationRuleData
Inherits TrackedResourceData
Public Class NotificationHubAuthorizationRuleData
Inherits TrackedResourceData
Implements IJsonModel(Of NotificationHubAuthorizationRuleData), IPersistableModel(Of NotificationHubAuthorizationRuleData)
Inheritance
NotificationHubAuthorizationRuleData
Implements

Constructors

NotificationHubAuthorizationRuleData(AzureLocation)

Initializes a new instance of NotificationHubAuthorizationRuleData.

Properties

AccessRights

Gets or sets the rights associated with the rule.

ClaimType

Gets a string that describes the claim type.

ClaimValue

Gets a string that describes the claim value.

CreatedOn

Gets the created time for this rule.

Id

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

(Inherited from ResourceData)
KeyName

Gets a string that describes the authorization rule.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
ModifiedOn

Gets the last modified time for this rule.

Name

The name of the resource.

(Inherited from ResourceData)
PrimaryKey

Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Revision

Gets the revision number for the rule.

SecondaryKey

Gets a base64-encoded 256-bit primary key for signing and validating the SAS token.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<NotificationHubAuthorizationRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NotificationHubAuthorizationRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NotificationHubAuthorizationRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NotificationHubAuthorizationRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NotificationHubAuthorizationRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to