def create_with_http_info(scope, role_assignment_name, parameters, custom_headers:nil)
      create_async(scope, role_assignment_name, parameters, custom_headers:custom_headers).value!
    end
def create_with_http_info(scope, role_assignment_name, parameters, custom_headers:nil)
      create_async(scope, role_assignment_name, parameters, custom_headers:custom_headers).value!
    end
Creates a role assignment.

 @param scope [String] The scope of the role assignment to create. The scope
 can be any REST resource instance. For example, use
 '/subscriptions/{subscription-id}/' for a subscription,
 '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a
 resource group, and
 '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}'
 for a resource.
 @param role_assignment_name [String] The name of the role assignment to
 create. It can be any valid GUID.
 @param parameters [RoleAssignmentCreateParameters] Parameters for the role
 assignment.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.