public function getRoleAssignmentInfo($subscriptionId, $roleAssignmentId)
{
$result = null;
$path = '/subscriptions/' . $subscriptionId . '/providers/Microsoft.Authorization/roleAssignments/' . $roleAssignmentId;
$headers = ['Authorization' => 'Bearer ' . $this->getAccessToken()->token];
$request = $this->getClient()->prepareRequest($path, 'GET', self::RESOURCE_API_VERSION, Azure::URL_MANAGEMENT_WINDOWS, [], [], $headers);
$response = $this->getClient()->call($request);
if (!$response->hasError()) {
$result = RoleAssignmentData::initArray($response->getResult());
}
return $result;
}