Share via


ArmAuthorizationModelFactory.DenyAssignmentPermission Method

Definition

Initializes a new instance of DenyAssignmentPermission.

public static Azure.ResourceManager.Authorization.Models.DenyAssignmentPermission DenyAssignmentPermission (System.Collections.Generic.IEnumerable<string> actions = default, System.Collections.Generic.IEnumerable<string> notActions = default, System.Collections.Generic.IEnumerable<string> dataActions = default, System.Collections.Generic.IEnumerable<string> notDataActions = default, string condition = default, string conditionVersion = default);
static member DenyAssignmentPermission : seq<string> * seq<string> * seq<string> * seq<string> * string * string -> Azure.ResourceManager.Authorization.Models.DenyAssignmentPermission
Public Shared Function DenyAssignmentPermission (Optional actions As IEnumerable(Of String) = Nothing, Optional notActions As IEnumerable(Of String) = Nothing, Optional dataActions As IEnumerable(Of String) = Nothing, Optional notDataActions As IEnumerable(Of String) = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing) As DenyAssignmentPermission

Parameters

actions
IEnumerable<String>

Actions to which the deny assignment does not grant access.

notActions
IEnumerable<String>

Actions to exclude from that the deny assignment does not grant access.

dataActions
IEnumerable<String>

Data actions to which the deny assignment does not grant access.

notDataActions
IEnumerable<String>

Data actions to exclude from that the deny assignment does not grant access.

condition
String

The conditions on the Deny assignment permission. This limits the resources it applies to.

conditionVersion
String

Version of the condition.

Returns

A new DenyAssignmentPermission instance for mocking.

Applies to