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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET