ArmNotificationHubsModelFactory.NotificationHubAuthorizationRuleData Method

Definition

Initializes a new instance of NotificationHubAuthorizationRuleData.

public static Azure.ResourceManager.NotificationHubs.NotificationHubAuthorizationRuleData NotificationHubAuthorizationRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NotificationHubs.Models.AuthorizationRuleAccessRightExt> accessRights = default, string primaryKey = default, string secondaryKey = default, string keyName = default, DateTimeOffset? modifiedOn = default, DateTimeOffset? createdOn = default, string claimType = default, string claimValue = default, int? revision = default);
static member NotificationHubAuthorizationRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<Azure.ResourceManager.NotificationHubs.Models.AuthorizationRuleAccessRightExt> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int> -> Azure.ResourceManager.NotificationHubs.NotificationHubAuthorizationRuleData
Public Shared Function NotificationHubAuthorizationRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional accessRights As IEnumerable(Of AuthorizationRuleAccessRightExt) = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional keyName As String = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional claimType As String = Nothing, Optional claimValue As String = Nothing, Optional revision As Nullable(Of Integer) = Nothing) As NotificationHubAuthorizationRuleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

accessRights
IEnumerable<AuthorizationRuleAccessRightExt>

Gets or sets the rights associated with the rule.

primaryKey
String

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

secondaryKey
String

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

keyName
String

Gets a string that describes the authorization rule.

modifiedOn
Nullable<DateTimeOffset>

Gets the last modified time for this rule.

createdOn
Nullable<DateTimeOffset>

Gets the created time for this rule.

claimType
String

Gets a string that describes the claim type.

claimValue
String

Gets a string that describes the claim value.

revision
Nullable<Int32>

Gets the revision number for the rule.

Returns

A new NotificationHubAuthorizationRuleData instance for mocking.

Applies to