ArmNotificationHubsModelFactory.SharedAccessAuthorizationRuleProperties Method
Definition
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.
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.
Returns
A new SharedAccessAuthorizationRuleProperties instance for mocking.
Applies to
Azure SDK for .NET