Share via


RoleAssignmentsOperationsExtensions.ValidateById Method

Definition

Validate a role assignment create or update operation by ID.

public static Microsoft.Azure.Management.Authorization.Models.ValidationResponse ValidateById (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string roleAssignmentId, Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters parameters);
static member ValidateById : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters -> Microsoft.Azure.Management.Authorization.Models.ValidationResponse
<Extension()>
Public Function ValidateById (operations As IRoleAssignmentsOperations, roleAssignmentId As String, parameters As RoleAssignmentCreateParameters) As ValidationResponse

Parameters

operations
IRoleAssignmentsOperations

The operations group for this extension method.

roleAssignmentId
String

The fully qualified ID of the role assignment including scope, resource name, and resource type. Format: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/<SUB_ID>/resourcegroups/<RESOURCE_GROUP>/providers/Microsoft.Authorization/roleAssignments/<ROLE_ASSIGNMENT_NAME>

parameters
RoleAssignmentCreateParameters

Parameters for the role assignment.

Returns

Applies to