Share via


DataProductResource.RemoveUserRoleAsync Method

Definition

Remove role from the data product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/removeUserRole
  • Operation Id: DataProducts_RemoveUserRole
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
public virtual System.Threading.Tasks.Task<Azure.Response> RemoveUserRoleAsync (Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail body, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveUserRoleAsync : Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RemoveUserRoleAsync : Azure.ResourceManager.NetworkAnalytics.Models.RoleAssignmentDetail * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RemoveUserRoleAsync (body As RoleAssignmentDetail, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

body
RoleAssignmentDetail

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

body is null.

Applies to