Compartilhar via


ArmAuthorizationModelFactory.AuthorizationRoleDefinitionData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

roleName
String

O nome da função.

description
String

A descrição da definição de função.

roleType
Nullable<AuthorizationRoleType>

O tipo de função.

permissions
IEnumerable<RoleDefinitionPermission>

Permissões de definição de função.

assignableScopes
IEnumerable<String>

Escopos atribuíveis à definição de função.

Retornos

Uma nova AuthorizationRoleDefinitionData instância para zombar.

Aplica-se a