ResourceManagerModelFactory.Permission Method

Definition

Initializes a new instance of Permission.

public static Azure.ResourceManager.Resources.Models.Permission Permission (System.Collections.Generic.IEnumerable<string> allowedActions = default, System.Collections.Generic.IEnumerable<string> deniedActions = default, System.Collections.Generic.IEnumerable<string> allowedDataActions = default, System.Collections.Generic.IEnumerable<string> deniedDataActions = default);
static member Permission : seq<string> * seq<string> * seq<string> * seq<string> -> Azure.ResourceManager.Resources.Models.Permission
Public Shared Function Permission (Optional allowedActions As IEnumerable(Of String) = Nothing, Optional deniedActions As IEnumerable(Of String) = Nothing, Optional allowedDataActions As IEnumerable(Of String) = Nothing, Optional deniedDataActions As IEnumerable(Of String) = Nothing) As Permission

Parameters

allowedActions
IEnumerable<String>

Allowed actions.

deniedActions
IEnumerable<String>

Denied actions.

allowedDataActions
IEnumerable<String>

Allowed Data actions.

deniedDataActions
IEnumerable<String>

Denied Data actions.

Returns

A new Permission instance for mocking.

Applies to