Compartilhar via


NotificationHubIPRule Constructor

Definition

Initializes a new instance of NotificationHubIPRule.

public NotificationHubIPRule (string ipMask, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NotificationHubs.Models.AuthorizationRuleAccessRightExt> accessRights);
new Azure.ResourceManager.NotificationHubs.Models.NotificationHubIPRule : string * seq<Azure.ResourceManager.NotificationHubs.Models.AuthorizationRuleAccessRightExt> -> Azure.ResourceManager.NotificationHubs.Models.NotificationHubIPRule
Public Sub New (ipMask As String, accessRights As IEnumerable(Of AuthorizationRuleAccessRightExt))

Parameters

ipMask
String

IP mask.

accessRights
IEnumerable<AuthorizationRuleAccessRightExt>

List of access rights.

Exceptions

ipMask or accessRights is null.

Applies to