ResourceManagerModelFactory.Permission Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET