ArmAuthorizationModelFactory.AuthorizationRoleDefinitionData 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 AuthorizationRoleDefinitionData.
public static Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionData AuthorizationRoleDefinitionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string roleName = default, string description = default, Azure.ResourceManager.Authorization.Models.AuthorizationRoleType? roleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Authorization.Models.RoleDefinitionPermission> permissions = default, System.Collections.Generic.IEnumerable<string> assignableScopes = default);
static member AuthorizationRoleDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.Authorization.Models.AuthorizationRoleType> * seq<Azure.ResourceManager.Authorization.Models.RoleDefinitionPermission> * seq<string> -> Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionData
Public Shared Function AuthorizationRoleDefinitionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional roleName As String = Nothing, Optional description As String = Nothing, Optional roleType As Nullable(Of AuthorizationRoleType) = Nothing, Optional permissions As IEnumerable(Of RoleDefinitionPermission) = Nothing, Optional assignableScopes As IEnumerable(Of String) = Nothing) As AuthorizationRoleDefinitionData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- roleName
- String
The role name.
- description
- String
The role definition description.
- roleType
- Nullable<AuthorizationRoleType>
The role type.
- permissions
- IEnumerable<RoleDefinitionPermission>
Role definition permissions.
- assignableScopes
- IEnumerable<String>
Role definition assignable scopes.
Returns
A new AuthorizationRoleDefinitionData instance for mocking.