DenyAssignment Constructors

Definition

Overloads

DenyAssignment()

Initializes a new instance of the DenyAssignment class.

DenyAssignment(String, String, String, String, String, IList<DenyAssignmentPermission>, String, Nullable<Boolean>, IList<Principal>, IList<Principal>, Nullable<Boolean>)

Initializes a new instance of the DenyAssignment class.

DenyAssignment()

Initializes a new instance of the DenyAssignment class.

public DenyAssignment ();
Public Sub New ()

Applies to

DenyAssignment(String, String, String, String, String, IList<DenyAssignmentPermission>, String, Nullable<Boolean>, IList<Principal>, IList<Principal>, Nullable<Boolean>)

Initializes a new instance of the DenyAssignment class.

public DenyAssignment (string id = default, string name = default, string type = default, string denyAssignmentName = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.DenyAssignmentPermission> permissions = default, string scope = default, bool? doNotApplyToChildScopes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Principal> principals = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Principal> excludePrincipals = default, bool? isSystemProtected = default);
new Microsoft.Azure.Management.Authorization.Models.DenyAssignment : string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.DenyAssignmentPermission> * string * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Principal> * System.Collections.Generic.IList<Microsoft.Azure.Management.Authorization.Models.Principal> * Nullable<bool> -> Microsoft.Azure.Management.Authorization.Models.DenyAssignment
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional denyAssignmentName As String = Nothing, Optional description As String = Nothing, Optional permissions As IList(Of DenyAssignmentPermission) = Nothing, Optional scope As String = Nothing, Optional doNotApplyToChildScopes As Nullable(Of Boolean) = Nothing, Optional principals As IList(Of Principal) = Nothing, Optional excludePrincipals As IList(Of Principal) = Nothing, Optional isSystemProtected As Nullable(Of Boolean) = Nothing)

Parameters

id
String

The deny assignment ID.

name
String

The deny assignment name.

type
String

The deny assignment type.

denyAssignmentName
String

The display name of the deny assignment.

description
String

The description of the deny assignment.

permissions
IList<DenyAssignmentPermission>

An array of permissions that are denied by the deny assignment.

scope
String

The deny assignment scope.

doNotApplyToChildScopes
Nullable<Boolean>

Determines if the deny assignment applies to child scopes. Default value is false.

principals
IList<Principal>

Array of principals to which the deny assignment applies.

excludePrincipals
IList<Principal>

Array of principals to which the deny assignment does not apply.

isSystemProtected
Nullable<Boolean>

Specifies whether this deny assignment was created by Azure and cannot be edited or deleted.

Applies to