Udostępnij za pośrednictwem


ArmNotificationHubsModelFactory.SharedAccessAuthorizationRuleProperties Method

Definition

Initializes a new instance of SharedAccessAuthorizationRuleProperties.

public static Azure.ResourceManager.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties SharedAccessAuthorizationRuleProperties (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 SharedAccessAuthorizationRuleProperties : seq<Azure.ResourceManager.NotificationHubs.Models.AuthorizationRuleAccessRightExt> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int> -> Azure.ResourceManager.NotificationHubs.Models.SharedAccessAuthorizationRuleProperties
Public Shared Function SharedAccessAuthorizationRuleProperties (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 SharedAccessAuthorizationRuleProperties

Parameters

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 SharedAccessAuthorizationRuleProperties instance for mocking.

Applies to