ArmAuthorizationModelFactory.AuthorizationRoleDefinitionData Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia 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
El identificador.
- name
- String
Nombre.
- resourceType
- ResourceType
ResourceType.
- systemData
- SystemData
SystemData.
- roleName
- String
Nombre del rol.
- description
- String
Descripción de la definición de roles.
- roleType
- Nullable<AuthorizationRoleType>
Tipo de rol.
- permissions
- IEnumerable<RoleDefinitionPermission>
Permisos de definición de roles.
- assignableScopes
- IEnumerable<String>
Ámbitos asignables de definición de roles.
Devoluciones
AuthorizationRoleDefinitionData Nueva instancia para simular.
Se aplica a
Azure SDK for .NET