Partilhar via


DataProductResource.AddUserRole Método

Definição

Atribuir função ao produto de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/addUserRole
  • IdDataProducts_AddUserRole de operação
public virtual Azure.Response<Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail> AddUserRole (Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentCommonProperties body, System.Threading.CancellationToken cancellationToken = default);
abstract member AddUserRole : Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentCommonProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail>
override this.AddUserRole : Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentCommonProperties * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail>
Public Overridable Function AddUserRole (body As RoleAssignmentCommonProperties, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentDetail)

Parâmetros

body
RoleAssignmentCommonProperties

O conteúdo da solicitação de ação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

body é nulo.

Aplica-se a