Share via


AuthorizationRule Constructors

Definition

Overloads

AuthorizationRule()

Initializes a new instance of the AuthorizationRule class.

AuthorizationRule(String, String, String, IList<Nullable<AccessRights>>)

Initializes a new instance of the AuthorizationRule class.

AuthorizationRule()

Initializes a new instance of the AuthorizationRule class.

public AuthorizationRule ();
Public Sub New ()

Applies to

AuthorizationRule(String, String, String, IList<Nullable<AccessRights>>)

Initializes a new instance of the AuthorizationRule class.

public AuthorizationRule (string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Relay.Models.AccessRights?> rights = default);
new Microsoft.Azure.Management.Relay.Models.AuthorizationRule : string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Relay.Models.AccessRights>> -> Microsoft.Azure.Management.Relay.Models.AuthorizationRule
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional rights As IList(Of Nullable(Of AccessRights)) = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

rights
IList<Nullable<AccessRights>>

The rights associated with the rule.

Applies to